ghbolivar / android-on-freerunner

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

compiled froyo-sd don't boot #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sync with repository on froyo-sd branch and make the source
2.copy compiled files from out/target/pruduct/generic to microSD using the 
script on 
http://code.google.com/p/android-on-freerunner/wiki/AndroidOnSd#Copy_to_/_Update
_your_SD_installation
3.Try to boot with the sd

What is the expected output? What do you see instead?
Freerunner should boot without error, instead boot fails with "kernel panic: 
not syncing attempted to kill init"

What version of the product are you using? On what operating system?
Freerunner GTA02. Operative system: Android froyo 2.2

Please provide any additional information below.
I see that in compiled version there aren't files init.gta02.rc and initlogo.rle

Original issue reported on code.google.com by alessand...@gmail.com on 22 Jul 2011 at 10:35

GoogleCodeExporter commented 9 years ago
The SD card is partitioned with a FAT and a ext2. I installed on this SD card 
froyo-sd downloaded here http://serdar-dere.net/~ran/ and it boots without 
error.

Original comment by alessand...@gmail.com on 22 Jul 2011 at 12:56

GoogleCodeExporter commented 9 years ago
1)In case that your compiled version have not init.gta02.rc I am sure that 
something wrong with your compilation. Check, please.
2)I hope you understend that  http://serdar-dere.net/~ran/ builds differ from 
repository. Look please here: 
http://groups.google.com/group/android-on-freerunner/browse_thread/thread/80a8be
72984c9145/49bd6126cffab794

Original comment by Alexandr...@gmail.com on 22 Jul 2011 at 2:16

GoogleCodeExporter commented 9 years ago
1) I cannot find error on building only warnings, I attach make output. 
2) I understood it.  I told you that with sd-froyo daily it boots without error 
so it is clear that it is not a partitions-related problem. 
How can I compile a customized version of android? If I write make menuconfig, 
make exit with "no rule for target menuconfig".
Thank you very much for your help.

Original comment by alessand...@gmail.com on 24 Jul 2011 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
You have build generic version of android
TARGET_PRODUCT=generic
but have to build android-on-freerunner version
TARGET_PRODUCT=fr

Original comment by Alexandr...@gmail.com on 26 Jul 2011 at 6:39

GoogleCodeExporter commented 9 years ago
I compiled with TARGET_PRODUCT=fr without errors but at boot this time I have 
others errors: "init:cannot find '/system/bin/sh' , disabling console", 
"init:cannot find '/system/bin/servicemanager' , disabling servicemanager" 
ecc... for many files in /system/bin/. These files are all present in 
/system/bin, maybe isn't the sd file system mounted?
Thank you again for your help.

Original comment by alessand...@gmail.com on 26 Jul 2011 at 8:38

GoogleCodeExporter commented 9 years ago
This problem more simple. It is wrong permission. You should use Copy to / 
Update your SD installation from 
http://code.google.com/p/android-on-freerunner/wiki/AndroidOnSd.
Comment: chmod --changes -R 777 $TO is not good solution. Permissions should be 
setted more correctly. This topic - the old one in "todo" list. Any suggestion, 
please.

Original comment by Alexandr...@gmail.com on 27 Jul 2011 at 5:13

GoogleCodeExporter commented 9 years ago
I have already used this script but I have had the "init:cannot find ...." 
error, so it is not a permission problem because the script set all permission 
flags to 1. 

Original comment by alessand...@gmail.com on 27 Jul 2011 at 2:36