Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Android SDK Build fails to boot

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/27/2014 08:03:57      1#

Hi, I too have been unable to create an image from the released SDK.




The only method where I have successfully booted the device is:




1) Flash with the factory Android 4.4 image, 'Firefly-RK3288_Android4.4_201412111722.img'

2) Overwrite 'system.img' with your 'system.img' image




Replacing kernel.img with one generated from the SDK locks up on the Firefly logo screen on bootup.




Replacing boot.img with one generated from the SDK is OK.




I'm also unsure which bootloader, uboot images are used in the factory image. Knowing this would be helpful.
Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/27/2014 13:56:53      2#

Thank you isle. That was very helpful!




I think my issue is I compiled the kernel incorrectly with the linaro cross compile toolchain. I've used it successfully for other Android builds, I'm not sure why it does not work here... maybe answers to the the following will explain why... [SOLVED]




On Ubuntu 12.04, when running:




make ARCH=arm CROSS_COMPILE=CROSS_COMPILE=arm-linux-gnueabihf- firefly-rk3288_defconfig
make ARCH=arm CROSS_COMPILE=CROSS_COMPILE=arm-linux-gnueabihf- -j8 firefly-rk3288.img







Results in a linking error:

make[1]: *** [pie/pie_stage3.o] Error 1


However, if the ARCH and CROSS_COMPILE are not specified:







make firefly-rk3288_defconfig
make -j8 firefly-rk3288.img




It works OK. Why is this??




------------




Update:?https://plus.google.com/u/0/110719562692786994119/posts/MyGmGKPY4jF




Answers a lot of questions: Rockchip method specifies a CROSS_COMPILE toolchain inside the Makefile


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list