It is possible to build the kernel with any toolchain for arm of your choice. I've tried crosstool-ng, emdebian and the one that is included in the android repo. I have decided to leverage emdebian toolchain for I use debian on my PC. The following is the command to build the kernel using emdebian toolchain:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-Of course you have to have emdebian toolchain installed. You can install emdebian something like it is shown below:
Then add:
apt-get install emdebian-tool
emsetup --arch arm
deb http://www.emdebian.org/debian/ unstable main
into your /etc/apt/sources.list and run:
apt-get install linux-kernel-headers-arm-cross gcc-4.2-arm-linux-gnu
When the kernel is built and ready you can copy it on an SD card and run it with haret with the following default.txt:
set MTYPE 1454
set KERNEL zImage
set CMDLINE "root=179:2 mem=60M rootdelay=3 boot_delay=0 init=/init console=tty0 fbcon=rotate:0 androidboot.console=tty0 android.checkjni=1"
set RAMADDR 0xA0200000
bootlinux
1. PDA has fallen asleep or suspended.
2. You have just inserted an SD card in your PDA and not rebooted it yet.
It looks like it is a bug in wince...
P.S. There you can download cupcake kernel http://source.android.com/download
P.P.S. When you build kernel with usbnet, don't set CONFIG_USB_ETH_RNDIS to 'y'! Or your PC kernel (2.6.x) will not find your PDA... neither cdc_ether nor cdc_subset will claim your PDA.
HI Akshall
ReplyDeleteI try to boot a linux kernel on my 560 without success, i had compiled with your .config (without patches ), and i nothing appends, all i get after the cebootlin or haret is a N560 hanged after the "disabling Framebuffer Feedback" you could contact me if you want on thanspam@trollprod.org
Bye
Forget the last post, was a kernel issue, all is ok right now, it's boot
ReplyDeleteHi Akshall,
ReplyDeleteThe link to download kernel is broken. Can you please provide me with another link?
Thank you!
Is this blog alive?
ReplyDeleteIt would be great to get Android running on Loox.
I have a Loox 610 by the way.
Would this kernel work on that?
Hey, I took your patch and porting it to >=3.8. It goes well, but if anyone with coding/RE skills is interested, let me know :) I'll publish patches in few days.
ReplyDelete