Here are my instructions how to solve boot issue on eMMC (see one warning 
which I get below):

All commands should be run on BBB as root or add sudo.

Checkout and patch u-boot as described 
here: 
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
Do not build yet.


```
nano configs/am335x_boneblack_defconfig
```
Add these lines to the end of the file:
```
CONFIG_AUTOBOOT_KEYED=y
CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, enter \"stop\" to stop\n"
CONFIG_AUTOBOOT_STOP_STR="stop"
CONFIG_AUTOBOOT_DELAY_STR="delay"
```
Then compile u-boot running these commands:
```
make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} am335x_boneblack_defconfig
make ARCH=arm CROSS_COMPILE=${CC}
```
Now you should have u-boot.img and MLO files compiled.
Write them to eMMC boot calling these commands:
```
dd if=MLO of=/dev/mmcblk0 count=1 seek=1 conv=notrunc bs=128k
dd if=u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k
```
Done. Try to restart. If you have serial connection, check if you will see 
message when BBB starts "Autobooting in 1 seconds, enter "stop" to stop"

Warning: After applying this I see warning when u-boot starts "*** Warning 
- bad CRC, using default environment". By this warning description here 
(http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironment) 
seems like it's not critical or even important, but still, maybe someone 
has an idea how to solve it?

Thanks.

Gedas

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to