Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BeagleBone can't find boot/root device w/netbsd-9?



jdbaker%consolidated.net@localhost ("John D. Baker") writes:

>Booting from on-board eMMC with the uSD card installed is a bit more
>manual up front, but the kernel still ignores the bootargs "root=ld1a"
>and promps for the root device.

The BBB kernel (and a few others) are still tagged as NetBSD kernels
and U-Boot passes bootm arguments to the kernel.

Other boards use a kernel tagged as Linux, U-Boot uses then the Linux startup
convention and the kernel can read the bootargs variable.

Here is a uEnv.txt for the SD card.

-----------------------------------------------------------------------

### setenv mmcdev 0
### run loadbootenv  
### run importbootenv
### run loaduimage
### run mmcboot
###
# loaduimage $bootpart $kloadaddr $bootdir/$bootfile
bootpart=0:1
kloadaddr=0x82000000
bootdir=
bootfile=netbsd9-BEAGLEBONE.ub

### Linux style kernels get this
## bootm $kloadaddr - $fdtaddr
#fdtaddr=-
## bootargs = $console $optargs root=$mmcroot rootfstype=$mmcrootfstype
optargs=
#mmcroot=ld0a
#mmcrootfstype=generic # ignored

### NetBSD style kernels get this
# bootm $kloadaddr args...
mmcboot=bootm $kloadaddr root=ld0a

-----------------------------------------------------------------------
-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index