>
> Hi Michael
>
> I'm booting from on-board flash.
> Well I can't exactly tell you the md5sum for ts7800_nand.ko
> Because if I say lsmod I don't see any nand driver.
> I only have ts7800 and tssdcard drivers so I guess the nand driver is
> inside the kernel or something?
No, it's in the initrd in the NAND flash... which makes it a bit trickier to
replace the driver. Basically you'll need to mount the second partition
(the initrd) and then replace ts7800.ko. In some places this is called
ts7800.ko, while in others it's called ts7800_nand.ko - not sure why the
confusion there.
> in my /lib/modules/2.6.21-ts/kernel/drivers/mtd/nand folder I have:
> 560595f538f83bf360aec50a05ca859b ts7800.ko
> (on the nand flash itself)
The latest ts7800_nand.ko / ts7800.ko should have this md5sum:
a38658a7e99a584cd514aa0a22412127
It looks like it was just officially released to the ftp site at the end of
last week.
(ftp://ftp.embeddedARM.com/ts-arm-sbc/ts-7800-linux/binaries/ts-modules/ts7800_nand.ko)
I'm attaching the driver with this e-mail. Note that copying it to the
/lib/modules/... directory is insufficient, you will also need to copy it to
the initrd on the flash (and possibly SD as well, if you boot from that). I
believe in the initrd it is called ts7800_nand.ko, whereas in the
/lib/modules... directory it is called ts7800.ko. You'll need to replace
the appropriately named file in both places with the attached driver.
> Somebody else said that the nand driver corrupts the flash..
Indirectly. It's the NAND driver that is at fault, but the problem doesn't
show up until certain, seemingly unrelated things occur, such as certain
drivers being loaded which enable ISA IRQ lines.
> But it all seem rather random. So I don't think the errors are directly
> related to the bug/problem.
The random nature of the problems is the manifestation of the bug fixed in
the flash driver.
> btw. Is there somewhere an example program which can use these ts-uarts
> (8 and 9-bit) using the /dev/tt(t/8)s? devices.
> Because it really seems that program like setserial doesn't really
> change the settings - which worries me.
Hmm, that's odd... I've noticed various strange things with Linux serial
ports, so I wrote some C code that sets up the serial port in a mode which
has worked pretty well for me:
ftp://ftp.embeddedarm.com/tmp/term.c
> Thanks
> -Heinrich
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
ts7800_nand.ko
Description: Binary data
|