<div dir="ltr"><div>Hi,</div><div><br></div><div></div><div>I
 have made an image for my Beaglebone Black using buildroot, great 
project, thanks. The sdcard.img boots fine, but I can not get it to boot
 from power up from the eMMC.</div><div><div><br></div><div>What I have done:</div><div>1) Build an image using buildroot (with beaglebone_defconfig).</div><div>The sdcard.img boots just fine.</div><div>2) Boot from the SDCard and configure the eMMC using fdisk. I followed the instructions shown <a href="https://e2e.ti.com/support/processors/f/processors-forum/344528/u-boot-write-mlo-uboot-uimage-rootfs-on-to-emmc-mnand-of-am335x-evm-j5-echo-based-custom-board/1204926#1204926" target="_blank">here</a>.</div><div><br></div><div>Once
 the eMMC is configured I perform a power cycle at which point the boot 
fails. I end up at the uboot prompt (UART port), if I then type "boot" 
the OS boots correctly.<br></div><div>What I have noticed is that the 
variable mmcdev is set to 0 at startup. After it has failed if I do 
another printenv mmcdev and then it is set to 1.</div><div><br></div><div>I suspect this is the reason it does not boot successfully at power up, but I may be very wrong!</div><div><br></div><div>How can I set the env var mccdev to be 1 as default at startup? Is this possible, perhaps with uboot-menuconfig? Is that the correct way to solve this problem?<br></div><div><br></div><div>Any information would be much appreciated.</div><div><br></div><div>Thank you</div></div></div>