Hi Stef, I got some patches from freescale to deploy android in 2.6.28 kernel.
If you want them please let me know. []'s Hamilton Vera On Thu, Nov 18, 2010 at 12:26 PM, Stefan <[email protected]> wrote: > Hi guys, > > I have not patched the lowmemorykiller.c file, and know trying > to do so I get following error message: > > > CHK include/linux/version.h > CHK include/generated/utsrelease.h > make[2]: `include/generated/mach-types.h' is up to date. > CALL scripts/checksyscalls.sh > CHK include/generated/compile.h > GEN usr/initramfs_data.cpio > AS usr/initramfs_data.o > LD usr/built-in.o > CC drivers/misc/lowmemorykiller.o > drivers/misc/lowmemorykiller.c: In function 'lowmem_shrink': > drivers/misc/lowmemorykiller.c:76: error: 'NR_ACTIVE' undeclared > (first use in this function) > drivers/misc/lowmemorykiller.c:76: error: (Each undeclared identifier > is reported only once > drivers/misc/lowmemorykiller.c:76: error: for each function it appears > in.) > drivers/misc/lowmemorykiller.c:76: error: 'NR_INACTIVE' undeclared > (first use in this function) > drivers/misc/lowmemorykiller.c:84: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:90: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:90: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:92: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:92: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:98: error: 'struct task_struct' has no > member named 'oomkilladj' > drivers/misc/lowmemorykiller.c:102: error: 'struct task_struct' has no > member named 'oomkilladj' > make[3]: *** [drivers/misc/lowmemorykiller.o] Error 1 > make[2]: *** [drivers/misc] Error 2 > make[1]: *** [drivers] Error 2 > > Espacially the first error suprises me. Where is NR_ACTIVE and > NR_INACTIVE set in your kernel code? > In my opinion the problem depends on my kernel 2.6.33, but there must > be a possability to get this > thing patched?? > > > > > On 17 Nov., 14:14, Stefan <[email protected]> wrote: >> Thanks a lot for your help. >> >> I got the i.MX25 processor and i've a 2.6.33 kernel running on it. >> I've patched the needed android files to the kernel (bad luck to use >> the 2.6.33 but no other chance) >> >> Now i want to build the Android Filesystem. >> >> I use Ubuntu 8.04.4 and have installed all the recommended packages. >> The actual java version is 1.5.0_22 >> >> If I say "make" following error occurs: >> >> build/core/find-jdk-tools-jar.sh: line 15: syntax error: unexpected >> end of file >> ============================================ >> PLATFORM_VERSION_CODENAME=AOSP >> PLATFORM_VERSION=AOSP >> TARGET_PRODUCT=generic >> TARGET_BUILD_VARIANT=eng >> TARGET_SIMULATOR= >> TARGET_BUILD_TYPE=release >> TARGET_BUILD_APPS= >> TARGET_ARCH=arm >> HOST_ARCH=x86 >> HOST_OS=linux >> HOST_BUILD_TYPE=release >> BUILD_ID=OPENMASTER >> ============================================ >> : No such file or directory >> Checking build tools versions... >> build/core/main.mk:73: >> ************************************************************ >> build/core/main.mk:74: You are attempting to build on a 32-bit system. >> build/core/main.mk:75: Only 64-bit build environments are supported >> beyond froyo/2.2. >> build/core/main.mk:76: >> ************************************************************ >> build/core/main.mk:77: *** stop. Stop. >> >> With best regards, >> >> Stefan >> >> On 5 Nov., 23:52, nutz <[email protected]> wrote: >> >> > typically you'd get your kernel from the processor vendor. What processor >> > do you have on your board? >> >> > For example, if you were using a Beagleboard that uses the TI processor, >> > you >> > can download the kernel from omapzoom.org: >> >> > git clone git://git.omapzoom.org/kernel/omap.git android-2.6.29 >> >> > As for next steps, if you look at the omapzoom webpage >> > (http://omapzoom.org/wiki/Android_Getting_Started#Eclair) what the next >> > steps >> > are on how to get famaliar with the environment and start running android. >> >> > Disclaimer: this procedure is only specific to TI's processors, so you'd >> > be >> > on your own if you are using other brands, but its a place to get an >> > overall >> > idea... >> >> > j >> >> > On Thu, Nov 4, 2010 at 9:02 AM, Stefan <[email protected]> wrote: >> > > Hello all together, >> >> > > I'm new to the android world and want to get in touch with >> > > this system. >> >> > > For this reason I want to run Android Eclair in my testboard. >> >> > > Because of this I want to download the Android 2.6.29 Kernel >> > > But when I use the command: >> > > &git clone git://android.git.kernel.org/kernel/common.git >> > > I only get the kernel version 2.6.27 >> >> > > I've never worked with git and so i don't know how to download >> > > the wanted file. >> >> > > The command >> > > &git clone git://android.git.kernel.org/kernel/common.git -b eclair >> > > &git clone git://android.git.kernel.org/kernel/common.git -b origin/ >> > > android-2.6.29 >> > > is not right???? >> >> > > Should i get the source code, the I have another question: >> > > What are the next steps (e.g. which files are needed) to run eclair on >> > > my system >> >> > > I know how to cross_compile and this kind of things, but as i've told >> > > before, android is a complete knew >> > > world to me and I'm looking forward to get help from you ;-) >> >> > > Greetings, >> >> > > Stefan >> >> > > -- >> > > unsubscribe: >> > > [email protected]<android-kernel%[email protected]> >> > > website:http://groups.google.com/group/android-kernel > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- Hamilton Vera int Administrator (char Network[],char ComputationalSystems[]) http://hvera.wordpress.com -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
