Venue Kernel Building
Quote:
Originally Posted by TheManii
I plan on repacking 406 into a custom rom, but I'm looking for suggestions as to what to name it.
Also looking for minor suggestions of what to add to it, as I cant actually compile kernels it will be pretty limited in I'll be able to add.
If I (or someone) were able to backport the Streakdroid 2.4 additions I would release it as VenueDroid, but as I cant that name will be reserved until that time.
As I dont own a venue, I can only guess at how well i can get it working
|
Dear TheManii,
I spent this week end to set-up kernel build environment on my old desktop PC AMD AthlonX2, 4 GB RAM, 250 GB HDD Dedicated for all android source > I used Cynogen repo to have toolchain. I'm new on android kernel compile matters, but Im familiar on ompiling linux kernel.
I follow
THIS GUIDE in set-up everything.
downloaded venue-kernel source from link you gave me couple days ago on different thread.
This is clue what I did
Connect dell-venue device with adb live in my pc
[I'm in venue-kernel folder] adb pull /proc/config.gz to have .config file from live device [flashed 408 rom and rooted]
cat config.gz | gunzip > .config
Now I have .config file from live device
since I need to test first, I do not make any change from the .config
make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
excute
make ARCH=arm CROSS_COMPILE=$CCOMPILER -j3
Note : I used -j3 since I have dual core processor, my old knowledge told me -j[processor]+1 as very modest build.
complie look went well .. mean I got the following error message
Code:
make[3]: *** [drivers/misc/reset/reset.o] Error 1
make[2]: *** [drivers/misc/reset] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC net/core/rtnetlink.o
CC net/ethernet/eth.o
LD net/ethernet/built-in.o
LD net/ieee802154/built-in.o
CC net/ipv4/route.o
... and so on
LD net/sunrpc/sunrpc.o
LD net/sunrpc/built-in.o
LD net/built-in.o
within linux kernerl build, success build will be informed by ... your zImage is ready ... bla bla bla.
I checked at arch/arm/boot/
Code:
x@AthlonX2:~/cm/kernel/venue-kernel/arch/arm/boot$ ls -a
. .. bootp compressed install.sh Makefile
Nothing
zImage file .....
someone tell me what is the proper way to build android kernel.
should someone asking permit to moderator to open special thread for venue kernel and investigate opportunity to port ICS on the next, due to dell-venue having 1GB ROM and 512 MB Ram, this device is at level of HTC HD2 TMOUS ... even better due to venue is native android device.
filesystem structure asf
Code:
# cat proc/mtd
dev: size erasesize name
mtd0: 00500000 00020000 "boot"
mtd1: 00600000 00020000 "recovery"
mtd2: 00600000 00020000 "recovery_bak"
mtd3: 00040000 00020000 "LogFilter"
mtd4: 00300000 00020000 "oem_log"
mtd5: 10400000 00020000 "system"
mtd6: 22600000 00020000 "userdata"
mtd7: 06600000 00020000 "cache"
common htc device filesystem
Code:
dev: size erasesize name
mtd0: 00040000 00020000 "misc"
mtd1: 00500000 00020000 "recovery"
mtd2: 00280000 00020000 "boot"
mtd3: 04380000 00020000 "system"
mtd4: 04380000 00020000 "cache"
mtd5: 04ac0000 00020000 "userdata"
I have no knowledge will boot on mtd0 faster then on mtd2

dell-venue has very nice design, simple and slick, gorilla glass is (AFAIK) best