Sun Sep 14 16:59:57 CEST 2014
Boot from uSD (and installing new kernel)
Using the card from my phone which incidentally has a FAT and a linux
root@beaglebone:/media/A787-15E1# cp /boot/uboot/MLO .
root@beaglebone:/media/A787-15E1# cp /boot/uboot/u-boot.img .
root@beaglebone:/media/A787-15E1# cp /boot/uboot/initrd.img .
root@beaglebone:/media/A787-15E1# cp /boot/uboot/zImage .
root@beaglebone:/media/A787-15E1# cp /boot/uboot/uEnv.txt .
(EDIT: also copy SOC.sh - file with info stored as shell variables)
It seems to boot from device 0 (uSD) instead of 1 (eMMC).
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
1430 bytes read in 6 ms (232.4 KiB/s)
Now need to edit the U-Boot config.
My uSD isn't large enough to copy the whole system, but it should be
enough to safely boot with a different kernel.
It seems the kernel and the modules are not installed from a debian
package. Is there a standard way? See . Here  is a collection
Currently the latest one is:
Looks like a couple of things need to be taken care of:
So maybe best to let the script do this, but not yet overwrite the
files in the /boot/uboot FAT partition.
Simplest way seems to be to unmount /boot/uboot before running the
This is what I did:
mv install-me.sh install-me-v3.17.0-rc4-bone2.sh
chmod +x install-me-v3.17.0-rc4-bone2.sh
mv uboot uboot-3.17.0-rc4-bone2
tar zcf uboot-3.17.0-rc4-bone2.tar.gz uboot-3.17.0-rc4-bone2
Then copy the contents of uboot-3.17.0-rc4-bone2 to the root of the SD card FAT partition:
cp -av uboot-3.17.0-rc4-bone2/* /media/A787-15E1/
root@beaglebone:~# cat /proc/version
Linux version 3.17.0-rc4-bone2 (root@a5-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Mon Sep 8 21:15:00 UTC 2014