Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 902

uboot not loading/boot/uImage for archlinux (10 replies)

$
0
0
I am running davy's uboot to boot from an SD card. It works fine with bodhi's Debian rootfs. When I use an ArchLinux rootfs, it has trouble finding files, even though the files are there when I put the SD card into a separate Linux machine.

Here is what I see in netconsole:
Pogov4> ext2ls mmc 0:1 /

ext2ls mmc 0:1 /
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<SYM>          7 bin
<DIR>          0 boot
<DIR>       4096 dev
<DIR>          0 etc
<DIR>       4096 home
<SYM>          7 lib
<DIR>      98306 mnt
<DIR>       4096 opt
<DIR>       4096 proc
<DIR>       4096 root
<DIR>       4096 run
<SYM>          7 sbin
<DIR>          0 srv
<DIR>       4096 sys
<DIR>          0 tmp
<DIR>          0 usr
<DIR>       4096 var
Pogov4> ext2ls mmc 0:1 /boot          # empty directory?!
ext2ls mmc 0:1 /boot

Any idea why this bootloader cannot find the /boot/uImage file?

Certain directories are fine, but others have no content even though I verified on a separate box that the SD card does have content.

Pogov4> ext2ls mmc 0:1 /root          # this is fine, has content

ext2ls mmc 0:1 /root
<DIR>       4096 .
<DIR>       4096 ..
<DIR>       4096 empty
<DIR>       4096 games
<DIR>       4096 opt
<DIR>       4096 spool
<SYM>         10 mail
<SYM>          6 run
<DIR>       4096 tmp
<DIR>       4096 local
<DIR>       4096 log
<DIR>       4096 lib
<DIR>       4096 cache
<SYM>         11 lock
<DIR>       4096 db
Pogov4> ext2ls mmc 0:1 /usr           # no content?!
ext2ls mmc 0:1 /usr
Pogov4> ext2ls mmc 0:1 /dev           # no content?!
ext2ls mmc 0:1 /dev
<DIR>       4096 .
<DIR>       4096 ..

Pogov4> ext2load mmc 0:1 /boot/uImage # cannot find /boot/uImage?!
ext2load mmc 0:1 /boot/uImage
** No boot file defined **

If I put in an SD card with Debian, then it works fine.

Any ideas? Does anyone have a different ArchLinux rootfs I can try?

Viewing all articles
Browse latest Browse all 902

Trending Articles