Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
U-Boot# fatls mmc 0:1
76868 mlo
329548 u-boot.img
4964640 uimage
26024 am335x-boneblack.dtb
system volume information/
Thanks Madhu for replying ...
I am a newbie, please correct my understanding about uEnv.txt if i am wrong, i am setting the env variables manually like-
U-Boot# setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw'
Not sure whether this file is still needed?
If yes, then please guide me through the process how to get that.
Thank you very much for your time.
There are two options to boot the beaglebone black.
1) Boot the beaglebone black from U-boot : In this method whenever
u-boot prompt comes, you can load the uImage and device tree from
u-boot prompt and let the board boot, in this case uEnv.txt is not
required. You can specify the load address and environment in u-boot
itself.
2) Boot the beaglebone black automatically: In this cas, what ever you
are doing above you neeed to specify in the uEnv.txt file.
So I wanted to know which method you are following.
HI Madhu,
Problem got solved with second method, i.e with uEnv.txt file and zImage instead of uImage.
But now it is getting panic at rootfs mounting at VFS:
[ 1.906886] VFS: Cannot open root device “mmcblk0p2” or unknown-block(179,2): error -2
[ 1.915395] Please append a correct “root=” boot option; here are the available partitions:
[ 1.924330] b300 253440 mmcblk0 driver: mmcblk
[ 1.929996] b301 72261 mmcblk0p1 8d75861a-01
[ 1.935575] b302 176715 mmcblk0p2 8d75861a-02
[ 1.941207] b308 3833856 mmcblk1 driver: mmcblk
[ 1.946786] b309 98304 mmcblk1p1 00000000-01
[ 1.952391] b30a 3734528 mmcblk1p2 00000000-02
[ 1.958017] b318 1024 mmcblk1boot1 (driver?)
[ 1.963599] b310 1024 mmcblk1boot0 (driver?)
[ 1.969294] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
Hi all,
Thanks for your replies and time.
Problem got solved after properly understanding boot process and so many failed attempts.
Problem was that /dev/mmcblk0p2 entry was not present in /etc/fstab of the rootfs for beaglebone-black
Adding the entry mounted fs properly.
root@beaglebone:~# cat /etc/fstab # stock fstab - you probably want to override this with a machine specific one
/dev/mmcblk0p2 / auto defaults,sync,noauto,errors=remount-ro 0 1