To: | "" <> |
---|---|
Subject: | Re: [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method. |
From: | Walter Marvin <> |
Date: | Fri, 26 Aug 2011 07:24:04 -0700 (PDT) |
I'm not from Technologic but it does appear that you have a kernel source difference problem. I'd start with the latest Technologic distribution
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/distributions/ then re-add your mods. Slow but sure From: osogoet <> To: Sent: Friday, August 26, 2011 9:03 AM Subject: [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method. Yes, it is an option, and I bought 8 TS-7800s with OP-BBRTC.
Please check the invoice #50491. Also, the RTC works fine when booting from NAND Flash. Well, I had compiled kernel of PC Linux many times, although I have not been doing so for these a few(or several) years. Then, if possible I will self-compile the 2.6.34 kernel on TS-7800, running Linux 2.6.34. And would you suggest where I do download source tree from? BTW, the reason why I use kernel 2.6.34 (and GCC 4.3.2) is that accessing PC-104 via mmap() requires EABI based on GCC 4.3.2 which runs on kernel 2.6.34. --- In , Walter Marvin <> wrote: > > I checked and a RTC is optional on the TS-7800 (e.g. you have to buy it extra) Check you original invoice and see if you have one installed > > > > ________________________________ > From: osogoet <> > To: > Sent: Thursday, August 25, 2011 10:24 AM > Subject: [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method. > > > Â > > I downloaded 7800_avr_reflash.tar.gz, and following the README, execute ./refresh script. > However, kernel 2.6.34 could still not find the RTC. > > I got the file system of 2.6.34 somewhere. It was only a few months ago, but I can't remember where I got the image from, or what did I do to setup micorSD. > > Well, should I make/compile the 2.6.34 kernel from sources? > But, I am not so smart to do so. > > So, I would like to reflash the AVR on 7800 with the older image, unless the bug in > the older AVR image is serious. > > Would you supply the older 7800_avr flash image? > > Regards, > > --- In , Mark Featherston <mark@> wrote: > > > > Is this a new TS-7800, or did you recently update the AVR following the > > errata here? > > http://www.embeddedarm.com/about/resource.php?item=563 > > > > Walter is correct that it is optional, so make sure you ordered with > > OP-BBRTC. However there was a recently discovered bug with the 2.6.34 > > kernel and the latest FPGA revision. From > > /arch/arm/mach-orion5x/ts78xx-setup.c: > > > > static void ts78xx_fpga_supports(void) > > { > > /* TODO: put this 'table' into ts78xx-fpga.h */ > > switch (ts78xx_fpga.id) { > > case TS7800_REV_1: > > case TS7800_REV_2: > > case TS7800_REV_3: > > case TS7800_REV_4: > > case TS7800_REV_5: > > case TS7800_REV_9: > > ts78xx_fpga.supports.ts_rtc.present = 1; > > ts78xx_fpga.supports.ts_nand.present = 1; > > ts78xx_fpga.supports.ts_rng.present = 1; > > > > break; > > default: > > ts78xx_fpga.supports.ts_rtc.present = 0; > > ts78xx_fpga.supports.ts_nand.present = 0; > > ts78xx_fpga.supports.ts_rng.present = 0; > > > > } > > } > > > > If you have a new board, or applied the AVR update, you will be running > > revision 10. As you can see there, it will assume there is no RTC, > > NAND, or RNG. We only officially support the 2.6.21 kernel, but a > > simple change would be to make the defaults assume presence of the RTC > > when it doesn't recognize the revision. Once it is working you can just > > use hwclock to interface with the RTC. > > > > Keep in mind this board does have support in the vanilla kernels from > > kernel.org. A fix was already submitted: > > https://lkml.org/lkml/2011/3/4/223 > > > > Best Regards, > > __________________________________________________________ > > Mark Featherston, Technologic Systems | voice: (480) 837-5200 > > 16525 East Laser Drive | fax: (480) 837-5300 > > Fountain Hills, AZ 85268 | web: www.embeddedARM.com > > > > On 08/24/2011 04:11 PM, Walter Marvin wrote: > > > First check you have a RTC. on the 7500 it is optional. > > > > > > ---------------------------------------------------------- > > > *From:* osogoet <mah01422@> > > > *To:* > > > *Sent:* Wednesday, August 24, 2011 1:23 PM > > > *Subject:* [ts-7000] TS-7800, Cannot access the Hardware Clock via any > > > known method. > > > > > > I have been running kernel 2.6.34 from microSD on TS-7800, and > > > everything goes well. > > > However, recently I encounter the problem of RTC. > > > > > > While, it's OK for TS-7800 board with 'BOOTROM - built Jun 10 2009', > > > the RTC of TS-7800 board with 'BOOTROM - built May 11 2011' is not > > > recognized. > > > > > > The related boot message is: > > > > > > Setting the system clock. > > > Cannot access the Hardware Clock via any known method. > > > Use the --debug option to see the details of our search for an access > > > method. > > > Unable to set System Clock to: Thu Jan 1 00:00:12 UTC 1970 (warning). > > > > > > and the results of 'hwclock' and 'hwclock --debug' are: > > > > > > ts7800:~# hwclock > > > Cannot access the Hardware Clock via any known method. > > > Use the --debug option to see the details of our search for an access > > > method. > > > > > > ts7800:~# hwclock --debug > > > hwclock from util-linux-ng 2.13.1.1 > > > hwclock: Open of /dev/rtc failed, errno=2: No such file or directory. > > > No usable clock interface found. > > > Cannot access the Hardware Clock via any known method. > > > > > > Also, there are /dev/rtc and /dev/rtc0 on TS-7800 board with 'BOOTROM - > > > built Jun 10 2009', > > > there is neither /dev/rtc nor /dev/rtc0 on TS-7800 board with 'BOOTROM - > > > built May 11 2011'. > > > > > > How could it be fixed? > > > > > > > > > > > > > > > __._,_.___
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe __,_._,___ |
Previous by Date: | [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method., osogoet |
---|---|
Next by Date: | Re: [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method., Mark Featherston |
Previous by Thread: | [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method., osogoet |
Next by Thread: | Re: [ts-7000] Re: TS-7800, Cannot access the Hardware Clock via any known method., Mark Featherston |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU