ghbolivar / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
0 stars 0 forks source link

Kernel hangs, fails to start init script #163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Using the latest froyo: android-on-freerunner-froyo-sd-201101.tar.gz
2. Flashing the SD card as described under installation guide
3. Putting into the phone GTA02 DateCode: 20080925

What is the expected output? What do you see instead?

Says the uImage is not found. So I have moved it into root and renamed into 
uImage.img.

After power-up, uImage is loaded successfully, but after kernel hangs with the 
following message:

[ 1.600000] enetering (old_state=off, new_state=normal)
[ 8.050000] Kernel panic - not synching: No init found. Try passing init= 
option to kernel.

What version of the product are you using? On what operating system?

SDcard formatted from Linux/Fedora F14.

Original issue reported on code.google.com by andeu...@gmail.com on 12 Feb 2011 at 1:59

GoogleCodeExporter commented 9 years ago
Hello
> So I have moved it into root and renamed into uImage.img
The subj should be extracted to second ( ext ) partition of
standart ( fat/ext ) prepared SD. It is better to have fat
part empty ( at least first time ). I suppose the qi bootloader was
installed, so no other step need.
Only prepare SD and boot by pressing power button and
wait...

Original comment by Alexandr...@gmail.com on 12 Feb 2011 at 3:05

GoogleCodeExporter commented 9 years ago
Thanks for pointing this out. Now it is staring up. ;)

To sum up my difficulties I would suggest to update the wiki in the following 
way (http://code.google.com/p/android-on-freerunner/wiki/GetIt#Installing):

 - Missing the part of how to partition the SDcard found at (http://wiki.openmoko.org/wiki/Android_on_Freerunner); The default 512 MB SDcard have now configured as (196M for FAT and remaining for system ext3). Less than 256 MB is too little for system to start successfully.

 - To extract the system on the ext3 (wiki says on fat)

 - To update the bootloader as described at http://wiki.openmoko.org/wiki/Qi and maybe a short note that Free-runner has two bootloaders, uBoot persistent in NOR and Qi installed in NAND

Best regards, Uros.

Original comment by andeu...@gmail.com on 14 Feb 2011 at 9:25

GoogleCodeExporter commented 9 years ago
I had a similar problem with installing the same release.
I partitioned a 512MB card into 256MB FAT and 256MB EXT2 or EXT3 (both work).
In order to install I had to extract the installation to both partitions and 
copied the uImage.img and copied to both the partition roots.

The installation failed with the kernel panic message if the installation was 
on either the FAT or EXT3 partitions and not both. After installation I presume 
that I can delete everything from the FAT partition, but I have not had time to 
do this yet.  

This worked even though I have not installed Qi and am using U-Boot.

Original comment by Donald.B...@gmail.com on 15 Feb 2011 at 10:56

GoogleCodeExporter commented 9 years ago
Hello!

I have installed last stable cupcake build into GTA2 (works fine), so Qi is 
already there.
Now I am trying to launch cupcake from sd, which is partitioned the following 
way: 128MB FAT followed by 374MB Ext3. FAT is empty. Ext3 is filled with the 
contents of android-on-freerunner-cupcake-sd-stable-201101.tar.gz. All 
permissions are 777.
I ansert the sd-card into Freerunner and hit power button once. After a few 
second android logo appears and never goes away.
What could be wrong?
Thanks.

Original comment by Yuriy.Kulikov.87@gmail.com on 16 Mar 2011 at 1:57

GoogleCodeExporter commented 9 years ago
The android-on-freerunner-cupcake-sd-stable-201101.tar.gz build has checked 
many times.
So you have to find a local problem.
I suggest:
1) Be sure that SD - card is from supported list 
http://wiki.openmoko.org/wiki/Supported_microSD_cards
2) Be sure that FS on SD is ok.  Run at Linux PC
   fsck.vfat -rw /dev/sdb1
   fsck.ext3 -f /dev/sdb2  ( in suggestion that b is your SD card )

Original comment by Alexandr...@gmail.com on 16 Mar 2011 at 5:07

GoogleCodeExporter commented 9 years ago
Alexandr, thank you for tips.
I use 2 SD cards (512MB "openmoko" and 2GB something), from both I have 
installed non-sd builds.
I have just tried to install froyo-sd. Log on the screen says, that init cannot 
exec files from system/bin due to permissions. I believe cupcake has the same 
problem in my case.
Could it be that I take the ownership of ext2 file system, when formatting it 
in Ubuntu?
Thanks,
Yuriy

Original comment by Yuriy.Kulikov.87@gmail.com on 16 Mar 2011 at 8:08

GoogleCodeExporter commented 9 years ago
Hello
It looks that you have done something wrong at SD-preparation stage. Please, 
follow the manual and  attach a terminal log of SD-preparation for detail 
analyse if you will get a problem again.
Alexandre

Original comment by Alexandr...@gmail.com on 17 Mar 2011 at 6:49