I thought I'd post some tips on compiling the Android kernel on OSX for others to use:

        • Two ways to get the kernel configuration file (.config)

                1) Download it from the phone directly

                        adb pull /proc/config.gz .

                2) Use the config file from the source tree

kernel/arch/arm/configs/gta02_XXXXX_defconfig (XXXX because there a couple options which are self-explanatory)

• U-Boot and Qi would only boot a uImage (This could change with upcoming release of Qi to include zImages: http://lists.openmoko.org/nabble.html#nabble-td2131710)

• The version of mkimage from the Qi repository doesn't work for OSX, instead you can grab it from OpenWrt which has a patch to support OSX (https://dev.openwrt.org/ ) it is under tools/mkimage

        • Then the following should work

                • make CROSS_COMPILE=arm-elf- ARCH=arm uImage

FYI


Frank Maker
Graduate Student Researcher
University of California, Davis
Micropower Circuits and Systems Group (MCSG)
[email protected]



_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to