Page 1 of 1
Install ICS on internal flash? Was stuck - now SOLVED!
Posted: Tue Jan 31, 2012 11:02 pm
by offbeatdave
Having spent a while learning to installing Ubuntu stuff on internal flash (and having spent almost as long reflashing following errors until I got it right), I figured I'd have a go at popping the ICS image on it.
I repartitioned flash, popped the files from ICS on mmcblk0p1, copied the DATA stuff to mmcblk0p2, copied the SD card to mmcblk0p3, modified the grub.cfg to point root to /dev/mmcblk0p1
Code: Select all
set timeout=0
menuentry "Android" {
linux /android/kernel quiet acpi_sleep=s3_bios,s3_mode rootdelay=1 LANG=en SRC=android root=/dev/mmcblk0p1 DATA=/dev/mmcblk0p2 SDCARD=/dev/block/mmcblk0p3 DPI=120 ETH_MAC=00:11:22:33:44:55
initrd /android/initrd.img
}
When I get to detecting Androidx86... I get no further until I pop my Android USB stick in, whereupon it detects /dev/sda2 and continues to boot from the USB. I am guessing that somewhere, the Android image needs to be directed to boot from mmcblk0p1 (a bit like linux in its etc/fstab file) but that this is built into the image?
Any pointers much appreciated.
Re: Install ICS on internal flash? Stuck!
Posted: Wed Feb 01, 2012 9:33 pm
by offbeatdave
Can anyone put an end to my tinkering and tell me what I'm doing wrong or if it can't be done?
I've tried various things in the grub.cfg file such as root=/dev/mmcblk0p1, root=/dev/ram0 and even missing out the root= bit altogether but I can't detect Android-x86 until I plug in a use stick.
Re: Install ICS on internal flash? Stuck!
Posted: Wed Feb 01, 2012 11:21 pm
by offbeatdave
Grr. Tinkering is soooo frustrating at times but (usually) rewarding! Not feeling very rewarded at the moment though so giving up for the night.

Re: Install ICS on internal flash? Stuck!
Posted: Thu Feb 02, 2012 7:29 pm
by swifty
You might want to boot to ics from USB and confirm that you can see /dev/mmcblk0p* from terminal... it may not have any support for the internal flash.
Re: Install ICS on internal flash? Stuck!
Posted: Thu Feb 02, 2012 7:37 pm
by offbeatdave
Thanks. I'll have a look at this shortly. It's so frustrating as I can setup 1.2.x to boot internally with a grub.cfg of
Code: Select all
set timeout=0
menuentry "Android" {
linux /android/kernel RAMZ=409600 video=efifb:off acpi_sleep=s3_bios,s3_mode rootdelay=1 LANG=en SRC=android DATA=dev/mmcblk0p2 SDCARD=/dev/block/mmcblk0p3 DPI=160 ETH_MAC=00:11:22:33:44:55
initrd /android/initrd.img
}
with no problems at all.
Re: Install ICS on internal flash? Stuck!
Posted: Thu Feb 02, 2012 9:44 pm
by offbeatdave
swifty wrote:You might want to boot to ics from USB and confirm that you can see /dev/mmcblk0p* from terminal... it may not have any support for the internal flash.
...and I might do this by...
Am gradually getting out of my depth again and having to rapidly learn to swim a new stroke once more!
Re: Install ICS on internal flash? Stuck!
Posted: Fri Feb 03, 2012 12:18 am
by offbeatdave
Given that I can't suss it out but can get other versions running I'm presuming it can be done yet, unless you Android experts want to tell me otherwise!
Re: Install ICS on internal flash? Stuck!
Posted: Fri Feb 10, 2012 12:06 am
by verg0
Id too like to see ICS on the internal flash, maybe a modified version of the joggler reflashing tool could help here!...
Re: Install ICS on internal flash? Stuck!
Posted: Tue Feb 21, 2012 3:50 pm
by markeh
Apologies for going off topic a little, but the first post mentioned installing ubuntu to the internal flash? Can this be done? Is there a guide anywhere?
Re: Install ICS on internal flash? Stuck!
Posted: Tue Feb 21, 2012 4:43 pm
by roobarb!
markeh wrote:Apologies for going off topic a little, but the first post mentioned installing ubuntu to the internal flash? Can this be done? Is there a guide anywhere?
Yup. The
wiki is your friend.
That article could do with a little revision, though; I've never had an issue with arbitrarily resizing the internal partitions.
Re: Install ICS on internal flash? Stuck!
Posted: Thu Mar 01, 2012 9:20 pm
by sjjg
OK, I spent some time looking at this today. mmcblk0 (i.e internal memory) does not appear either in /dev or /dev/block when the device is booted from a sda device or when switching to the tempfs that is created when the boot process goes looking for an ext2 partition to work with. (You get to the tempfs by adding DEBUG=1 to the kernel cmdline in grub and pressing Alt+2 or Alt+3 when it searches for a partition).
When in debug mode running
brings up block devices, including some labelled 'sd'... I think that we're getting this behaviour either because:
i) The SD 'auto-mount' feature is cacking things up. (Would still have to appear in /dev though?)
or
ii) The kernel hasn't been compiled correctly. We don't have the kernel config though, so there's no real way to tell for sure. My best guess is that something that needed to have been compiled in to the kernel either wasn't or was set to be compiled as a module. There don't seem to be any kernel modules in this release (perhaps this is standard for android?).
I've run out of time now, but it would be great if someone could take up the slack! I am pleased with the performance via usb and I'd like to ditch the stick asap!
Re: Install ICS on internal flash? Stuck!
Posted: Sat Mar 03, 2012 10:55 am
by verg0
+1 "Ditch the stick!"
Re: Install ICS on internal flash? Stuck!
Posted: Sun Mar 04, 2012 3:28 pm
by sjjg
OK spent some more time on this today. My conclusion is that either:
The kernel has been compiled without mmc_block and sdhci modules or it lacks the SCH15 modules required to interface with everything successfully. One way or another we're not going to get internal booting with this kernel.
Ideally we'd have the kernel config file so that we could have a play with compilation. I am able to compile kernels, but they won't boot on the Joggler. I've tried using a kernel config file from a joggler kernel that I know works, but the ICS build doesn't seem to want to take either froyo or ubuntu kernel configs.
Hopefully mijuu will supply the information we need.
Re: Install ICS on internal flash? Stuck!
Posted: Tue Apr 03, 2012 8:55 pm
by offbeatdave
Not had a chance to try this yet but...
http://translate.google.co.uk/translate ... %3Dimvnsfd
Fingers crossed...
Re: Install ICS on internal flash? Stuck!
Posted: Thu Apr 05, 2012 11:19 am
by offbeatdave