On Mon, Jun 24, 2019 at 2:06 PM Punit Salian <[email protected]> wrote: > > Hey, I have tried booting linux image in the eMMC through u-boot but it > always drops to busybox shell. As suggested by the busybox shell I double > checked the PARTUUID using blkid it's a match so why can't it load the rfs? > > My emmc has a single partition debian image. U-boot lies in the first > partiition of my sd card(boot by pressing s2 switch.Here are my logs,uEnv.txt. > > Standalone beaglebone boots just fine that is without my u-boot and sd card > not inserted it boots fine from the emmc(which means emmc image is good) just > when I try uboot from sd card this happensEnter code here > > > > uEnv.txt > ipaddr=192.168.7.2 > serverip=192.168.7.1 > console=ttyO0,115200n8 > finduuid=part uuid mmc 1:1 uuid > netargs=setenv bootargs console=ttyO0,115200n8 > root=UUID=aa9109fe-2099-47e0-b8a5-e1a3f87848b0 rootwait rw rootfstype=ext4 > rootwait coherent_pool=1M net.ifnames=0 quiet > loadaddr=0x82000000 > ftdaddr=0x88000000 > initramaddr=0x88080000 > initrdsize=452040 > netboot=echo Booting from emmc ...; setenv autoload no ;echo moving zimage > from emmc to DRAM...;load mmc 1:1 ${loadaddr} > /boot/vmlinuz-4.14.71-ti-r80;echo moving dtb from emmc to DRAM... ; load mmc > 1:1 ${fdtaddr} /boot/dtbs/4.14.71-ti-r80/am335x-boneblack-uboot-univ.dtb ; > echo moving initrd from emmc to DRAM...;load mmc 1:1 ${initramaddr} > /boot/initrd.img-4.14.71-ti-r80;echo running netargs ...; run netargs ; echo > bootzzzz...;bootz ${loadaddr} ${initramaddr}:${initrdsize} ${ftdaddr} > uenvcmd=echo running netboot...;run netboot
"am335x-boneblack-uboot-univ.dtb" is the base dtb that u-boot will use to build all final "Bone Black Compatible" devices, with cape-universal enabled. This "base" does not include the eMMC. https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/v4.14.x-ti/src/arm/am335x-boneblack-uboot-univ.dts Simple solution just use: "am335x-boneblack.dtb" Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhf8Nu7x6GSsuhX8aShO4jXTYBfLQd7VQ11U6Eq8Ty54g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
