[<<][am335x][>>][..]
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
partition.

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
reading uEnv.txt
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.

Current: 3.8.13-bone47

It seems the kernel and the modules are not installed from a debian
package.  Is there a standard way?  See [1].  Here [2] is a collection
of kernels.

Currently the latest one is:
wget https://rcn-ee.net/deb/wheezy-armhf/v3.17.0-rc4-bone2/install-me.sh

Looks like a couple of things need to be taken care of:
- dts
- firmware

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
script.


This is what I did:

cd /boot
umount uboot
wget https://rcn-ee.net/deb/wheezy-armhf/v3.17.0-rc4-bone2/install-me.sh
mv install-me.sh install-me-v3.17.0-rc4-bone2.sh 
chmod +x install-me-v3.17.0-rc4-bone2.sh
./install-me-v3.17.0-rc4-bone2.sh
mv uboot uboot-3.17.0-rc4-bone2
mkdir uboot
tar zcf uboot-3.17.0-rc4-bone2.tar.gz uboot-3.17.0-rc4-bone2
mount uboot

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


[1] http://datko.net/2014/03/21/bbb_upgrade_3_13/
[2] https://rcn-ee.net/deb/wheezy-armhf/



[Reply][About]
[<<][am335x][>>][..]