[oe] IO Error in Acer n30

Dr. H. Nikolaus Schaller hns at computer.org
Wed Aug 5 16:21:26 UTC 2009


It is quite a while that we had made an Angstrom based SD-Card for the  
Acer N30 (http://www.handheld-linux.com/wiki.php?page=Acer%20n30%20with%20Letux 
) but I remember that the SD-driver of Linux was much more critical  
with SD cards than WinCE or any other device. I.e. only some variants  
(even from single Manufacturer) did work well.

Nikolaus

Am 05.08.2009 um 18:06 schrieb Denis Klykvin:

> Greetings!
>
> Can someone help me with little problem?
>
> I try to run OE in my Acer n30. After unsucsessfull loading it into
> internal flash, i try to run OE from SD-card.

Internal Flash did not work for us as well.

> # fdisk -l /dev/sdb
>
> Disk /dev/sdb: 1995 MB, 1995440128 bytes
> 39 heads, 38 sectors/track, 2629 cylinders
> Units = cylinders of 1482 * 512 = 758784 bytes
> Disk identifier: 0x00000000
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1         277      205238    b  W95 FAT32
> /dev/sdb2             278        2629     1742832   83  Linux

Looks ok.

>
> After build "bitbake helloworld-image" i have in deploy directory:
>
> Angstrom-helloworld-image-glibc-ipk-2009.X-test-20090805- 
> acern30.rootfs.tar
> Angstrom-helloworld-image-glibc-ipk-2009.X-test-20090805- 
> acern30.rootfs.jffs2
> zImage-2.6.14-r0-acern30.bin
>
> I unpack Angstrom...tar into /dev/sdb2 , and put zImage into fat  
> partition.
>
> So, in far partition I have:
> boot.exe (which kill windows and run linux)

We had used "autorun.exe" - I don't know the differences.

> zImage ( zImage-2.6.14-r0-acern30.bin )
> default.txt (sent parameters to kernel, if i'm not mistake)

Looks good.

>
> in default.txt kernel got:
> "console=tty verbose root=0xfe02 rootdelay=5 rw noinitrd"

We have used ar.txt (with autorun.exe)

# N30
set MTYPE 656
# N35
#set MTYPE 927

set KERNEL "2577\zImage"
set INITRD "2577\initrd.gz"
set RAMADDR 0x30000000
#set CMDLINE "console=tty0 console=ttySAC0,115200n8 verbose root=/dev/ 
ram0 rw keepinitrd ramdisk_size=16384 init=/linuxrc"
# rdinit=/sbin/bootchoice"
set CMDLINE "console=tty0 console=ttySAC0,115200n8 verbose root=0xfe02  
rootdelay=0 rw noinitrd init=/sbin/init"

bootlinux


>
> When I run boot.exe, it restarts to linux, trying to boot, and show
> something like:
> mmcblk0:<3>mmcblk0: error 2 transferring data
> end_request: I/O error, dev mmcblk0, sector 0
> Buffer I/O error on device mmcblk0, logical block 0
> mmcblk0: error 2 transferring data
> end_request: I/O error, dev mmcblk0, sector 0
> Buffer I/O error on device mmcblk0, logical block 0
> unable to read partition table
>
> But in card-reader SD-card works fine.
> What i must do? Try to compile another kernel?
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list