Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Would you mind posting what exactly to do to clock34xx.c??
Hi all,
I'm trying to build the ext2.ko and unionfs.ko for my Milestone to able to use APP2SD ..
I followed the instructions to get the omap source and patch the unionfs source into the kernel source then build. It can be built without problem, then I try to put the ext2.ko and unionfs.ko to the phone and try to load them using "insmod", it gives me an error of "Exec format error"
Do I have change anything in the "make menuconfig" in order to build binary compatible with my Milestone? I already checked that it's ARM system type has set to "TI OMAP" and "OMAP34xx Based System" is selected.
Is there anything else to pay attention?
(I'm using stock OTA Milestone 2.1update1 ROM with root access)
Thanks a lot!!!
--Patrick
why are you adding unionFS as a module, cant you just merge the unionFS source code with the omap kernel then set it in menuconfig as "built-in" or if the option is not available in menuconfig then just add the config setting to enable it as built-in in the .config?
also ext2 support is built into the kernel from the start and should just be enabled in menuconfig as built-in
THIS WOULD ONLY WORK IF THE STOCK KERNEL HAS EXTERNEL MODULE SUPPORT ENABLED, CHECK THE DEFAULT MILESTONE DEFCONFIGThank you very much for your response!!
I want to build modules because I want to stick to the stock kernel instead of a custom one ... is there any method to do that?
Thanks!!
why are you adding unionFS as a module, cant you just merge the unionFS source code with the omap kernel then set it in menuconfig as "built-in" or if the option is not available in menuconfig then just add the config setting to enable it as built-in in the .config?
also ext2 support is built into the kernel from the start and should just be enabled in menuconfig as built-in
adb shell uname -a
$ make LOCALVERSION=-gf922713 #example use your local version though, ie. the hyphin and numbers after it
THIS WOULD ONLY WORK IF THE STOCK KERNEL HAS EXTERNEL MODULE SUPPORT ENABLED, CHECK THE DEFAULT MILESTONE DEFCONFIG
yea there is a way to build modules for the stock kernel, you would need the stock kernel EXACT version, check by doing:
Code:adb shell uname -a
you would need to merge your sources if needed
then this will make the kernel with the local version you got from uname -a (replace -gf922713 with your version
) it also links the modules make to that local version so the stock kernel should accept them as their own.
Code:$ make LOCALVERSION=-gf922713 #example use your local version though, ie. the hyphin and numbers after it
then try loading those modules, let me know if it works
Part 6
Flashing kernel and hosing your phone
You cannot do this from within Android, so reboot to recovery mode.
You will also need adb setup for this. In SPRecovery, go to mount options and mount the sd card.
Reboot.Code:adb shell flash_image boot /sdcard/boot.img
Once back up (assuming you booted), install the wifi driver.
Thats the main meat of it. Many things can be added and modified that go beyond this tutorial. The sky is the limit.Code:adb shell su mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system busybox cp /sdcard/tiwlan.ko /system/lib/modules/tiwlan.ko sync reboot
Here is a sample kernel I made. Its not meant for regular use, just an example
I reboot into recovery (SPRecovery) mount the sd card, open terminal and type adb shell:Part 6
Flashing kernel and hosing your phone
You cannot do this from within Android, so reboot to recovery mode.
You will also need adb setup for this. In SPRecovery, go to mount options and mount the sd card.
Reboot.)Code:adb shell flash_image boot /sdcard/boot.img
error:device not found