[Buildroot] BeagleBoard-xM, booting 2.6.37, root=/dev/mmcblk0p2, kernel hangs

Steve Calfee stevecalfee at gmail.com
Wed Mar 23 23:31:31 UTC 2011

On 03/23/11 15:53, bruce bushby wrote:
> I've only just started using buildroot but I found the NFS setup simplifies
> things and it also makes testing new builds very easy.
> I can help with the NFS setup if you need.....it's about the only part of
> things I'm any good at :)
> my uboot settings:
> U-Boot>  printenv
> bootdelay=3
> baudrate=115200
> AutoRamSizeCfg=ON
> AutoLinuxEnvCfg=ON
> ethact=macb0
> autostart=
> autoload=no
> ipaddr=
> ethaddr=
> bootcmd=ethinit $ipaddr ; tftp 0x20200000 uImage ; bootm 0x20200000
> serverip=
> bootargs=console=ttyS0,115200 mem=64M ver=4384k icofat=257k root=/dev/nfs
> nfsroot= ip=
> mtdparts=atmel_nand:7936k(ARMboot)ro,- at 7936k(root)
> stdin=serial
> stdout=serial
> stderr=serial
> Environment size: 431/32764 bytes
> U-Boot>
> 1. setup tftpboot (I use /tftpboot)
> 2. Create an nfs share (I use /nfsroot)
> 2. Copy uImage to /tftpboot/uImage (give /tftpboot 777 file perms)
> 4. Copy rootfs.tar to /nfsroot ; tar -xf rootfs.tar
> uboot:
> setenv ipaddr
> setenv bootcmd "...your bootcmd"
> setenv bootargs "..your bootargs"
> saveenv
> I set my bootcmd to include "ethinit $ipaddr;" .... otherwise you have to
> manually "ethinit $ipaddr"
Hi Bruce,

What u-boot are you using and what is it's config. I see here you got 
both usb ethernet to work and also saveenv to mmc. I would like to see 
your u-boot config.

I gave up on u-boot, but do mount nfs from the bb-xm. then if needed I 
copy over a new uImage and reboot. Obviously either tftp or nfs booting 
would be even nicer.

I tried to get kexec to work on the bb, but it doesn't. Lots of people 
are saying kexec is not working in 2.6.38, but I haven't seen fixes yet. 
The nice thing about kexec is it uses a less bloated u-boot, gives 
better scripting capability (and for me without the ability to saveenv), 
easier customizing. But alas....

Regards, Steve

More information about the buildroot mailing list