ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #01248
Re: [Question #247588]: Dual-boot Android (internal storage )- Ubuntu (external SD)
Question #247588 on AC100_enablement changed:
https://answers.launchpad.net/ac100/+question/247588
Description changed to:
Hello
I am trying to boot an Ubuntu kernel located in the SD card connected to a Toshiba AC100.
These are the specs:
Model Name: TOSHIBA AC100-10D
Kernel Version: 3.1.10.6.2
Ubuntu Distro: trusty-preinstalled-desktop-armhf+ac100 http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/pending/
I have follow thoroughly the guide to install android 4.4.2 CyanogenMod
11.0 at this link https://code.google.com/p/cm-paz00/wiki/InstallGuide
and all went well. I can use android flawlessly.
I have extracted the trusty-preinstalled-desktop-armhf+ac100.tar.gz in
the 7th partition as suggested in that guide and I have created a boot
directory in the sd card. In this directory there are the zImage, the
initrd.gz (compressed by me with gz) and the boot.src script. The script
has been produced in this way:
This is the boot.cmd file:
echo === boot.scr: Loading Lubuntu 14.04 from SD partition 1 ===
mmc dev 1
setenv bootargs 'mem=512M@0 tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 console=tty0 root=/dev/mmcblk0p7 rootfstype=ext4 quiet splash'
fatload mmc 1:1 0x10008000 /boot/zImage
fatload mmc 1:1 0x12000000 /boot/initrd.gz
bootz 0x10008000 0x12000000
This is the command I used to create the boot.scr script:
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "ubootscript" -d
boot.cmd boot.scr
When I try to boot the Ubuntu kernel from u-boot menu (boot from sd
card) I always get the same error:
reading /boot/zImage
3472448 bytes read in 189 ms (17.5 MiB/s)
reading /boot/initrd.gz
2103024 bytes read in 117 ms (17.1 MiB/s)
Kernel image @ 0x1000000 [ 0x000000 - 0x34fc40 ]
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
This is the bootimg.cfg file that came along with the kernel image:
bootsize = 0x800000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x12000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name = Ubuntu Boot Img
cmdline = mem=512M@0 tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 console=tty0 root=/dev/mmcblk0p7 quiet splash
--
You received this question notification because you are a member of
AC100 Team, which is an answer contact for AC100_enablement.