← Back to team overview

ac100 team mailing list archive

Re: [Question #247588]: Dual-boot Android (internal storage )- Ubuntu (external SD)

 

Question #247588 on AC100_enablement changed:
https://answers.launchpad.net/ac100/+question/247588

LastStarDust posted a new comment:
I used the sos-uboot you linked and repartitioned again the AC100 successfully. Also Android installation went fine.
But when I try to boot from sd card the ubuntu kernel it fails to find the rootfs in partition /dev/mmcblk0p7 and complains that it can find the tarball archive.
This is the boot.cmd I am using to compile boot.src located in the sd card

echo "=== boot.scr: Loading Lubuntu 14.04 from SD partition 1 ==="
mmc dev 1
setenv bootargs 'mem=512M@0M console=tty0 root=/dev/mmcblk0p7 rootfstype=ext4 splash'
fatload mmc 1:1 0x10008000 /boot/zImage
fatload mmc 1:1 0x12000000 /boot/initrd.gz
bootz 0x10008000 0x12000000

PS
in order to "merge" the two boot.src menus (the one on the sd card and the one in internal memory) I used this boot.src, but it seems that this change is being ignored and the usual 5 buttons menu is displayed:

echo "=== boot.scr: Loading Lubuntu 14.04 from SD partition 1 ==="
setenv bootmenu_5 'Boot UBUNTU=setenv bootargs "mem=512M@0M console=tty0 root=/dev/mmcblk0p7 rootfstype=ext4 splash";\
mmc dev 1;\
fatload mmc 1:1 0x10008000 /boot/zImage;\
fatload mmc 1:1 0x12000000 /boot/initrd.gz;\
bootz 0x10008000 0x12000000';

-- 
You received this question notification because you are a member of
AC100 Team, which is an answer contact for AC100_enablement.