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?
Here is the uEnv.txt I've been using since I first started messing with
the BBG/BBB:
bad_dog=mw 44e35048 aaaa; sleep 1; mw 44e35048 5555
uenvcmd=run bad_dog; setenv bootargs root=ld${mmcdev}a; if test $board = am335x; then setenv bootfile netbsd-BEAGLEBONE.ub; setenv loadaddr 82000000; else setenv bootfile netbsd-BEAGLEBOARD.ub; setenv loadaddr 81000000; fi; fatload ${interface} ${mmcdev} ${loadaddr} ${bootfile}; bootm
The "bad_dog" command disables the watchdog so it doesn't time out before
the kernel can get far enough along to attach and disable it.
I forget now where the bulk of the file content came from. I think it was
mostly the stock boot script that came in the armv7img.gz FAT partition.
I just tweaked it for my boards.
It worked fine with netbsd-8.
I'll see how the posted example does when I have an opportunity to reboot.
That still doesn't seem to address how to make sure the kernel gets the
correct boot/root device when net-booting.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index