FORUMS

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

[INFO] Building the Linux kernel for Xperia phones

98 posts
Thanks Meter: 611
 
By KalleD, Sony Mobile Developer on 6th May 2011, 02:18 PM
Post Reply Subscribe to Thread Email Thread
Hi all devs,
Please use this thread for questions related to the information in the article:
How to build a Linux kernel and flash it to the phone on Sony Ericsson Developer Blog.

We will try to monitor this thread, but we cannot guarantee an answer for every question asked.

Regards
/Karl-Johan Dahlstr÷m
Sony Ericsson Developer Program


For me more developer information please check out Developer World.
The Following 67 Users Say Thank You to KalleD For This Useful Post: [ View ]
 
 
6th May 2011, 05:23 PM |#2  
Senior Member
Flag Oslo
Thanks Meter: 3
 
Donate to Me
More
nice to se Sony getting involved with the costumers.. keep it that way
The Following User Says Thank You to Juevani For This Useful Post: [ View ]
6th May 2011, 06:46 PM |#3  
punkmonkey1984's Avatar
Senior Member
Thanks Meter: 491
 
More
Just need to tell us how to unlock the Sim-locked boot loaders now, and the whole world would be a sweeter place
7th May 2011, 12:39 AM |#4  
Senior Member
Flag Stockholm
Thanks Meter: 97
 
More
Great to see you going all out with the new improved Android stategy. Just a nitpick though:

The "Why rebuild the kernel?" section doesn't really make sense. I'd say theming and removing apps is as far from kernel-related as you can get while staying within the confines of Android. :P I'm sure you know that as a developer and that it's just that the text has passed through the PR department a few times. Perhaps you can say something like "It allows you to add new features and get the latest security fixes".
7th May 2011, 01:37 AM |#5  
Senior Member
Flag Melbourne
Thanks Meter: 246
 
Donate to Me
More
Thank you for this :)
Very nice to see you on XDA :)

Phear not my friendly X10 phonez will see the light of day in this thread too!

Neo / Pro / Play
Code:
mkbootimg --base 0x00200000 --kernel kernel/arch/arm/boot/zImage --ramdisk ramdisk.img -o boot.img
X10
Refer back to this post to get thing's into context, there are custom kernels and the files provided by Bin4ry, Goroh and Jerpelea are available - *advanced development skills required* - It will be simplified and much work continues to make this happen for the community as AOSP.

http://forum.xda-developers.com/showthread.php?t=726813
The Following 4 Users Say Thank You to MrHassell For This Useful Post: [ View ]
7th May 2011, 11:47 PM |#6  
Senior Recognized Developer
Thanks Meter: 773
 
More
Can someone please post a boot.img from the Arc, the Neo, and the Play?
8th May 2011, 02:17 PM |#7  
Senior Member
Thanks Meter: 4
 
More
Hello there, im trying to build the kernel contained in the "3.0.A.2.181_182.tar.bz2" file.

I used the -i option because it halts at a warning:
Code:
cc1: warnings being treated as errors
init/main.c: In function 'do_one_initcall':
init/main.c:711:10: error: 'calltime.tv64' may be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
When used with -i it still doesn't build the zImage, because it cannot find a lot of files ?

Code:
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/main.o: No such file or directory
make[1]: [init/built-in.o] Error 1 (ignored)
  LD      .tmp_vmlinux1
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [.tmp_vmlinux1] Error 1 (ignored)
  KSYM    .tmp_kallsyms1.S
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: [.tmp_kallsyms1.S] Error 1 (ignored)
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [.tmp_vmlinux2] Error 1 (ignored)
  KSYM    .tmp_kallsyms2.S
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux2': No such file
No valid symbol.
make: [.tmp_kallsyms2.S] Error 1 (ignored)
  AS      .tmp_kallsyms2.o
  LD      vmlinux
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [vmlinux] Error 1 (ignored)
  SYSMAP  System.map
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: 'vmlinux': No such file
make: [vmlinux] Error 1 (ignored)
  SYSMAP  .tmp_System.map
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux2': No such file
make: [vmlinux] Error 1 (ignored)
make[1]: *** No rule to make target `vmlinux', needed by `arch/arm/boot/Image'.  Stop.
make: [zImage] Error 2 (ignored)
The command I use to build is:
Code:
ARCH=arm CROSS_COMPILE=/home/sim/CodeSourcery/SGL/bin/arm-none-eabi- make
Am I doing something wrong?
8th May 2011, 09:38 PM |#8  
DooMLoRD's Avatar
Recognized Developer
Flag Gurgaon
Thanks Meter: 39,509
 
More
@KalleD

seems that there is a 60 fps cap inbuilt into the Arc kernel... how to remove this fps cap?
9th May 2011, 06:35 AM |#9  
im_iceman's Avatar
Senior Member
Flag Alsager
Thanks Meter: 131
 
More
why would you need to?

Sent from The Arc!
9th May 2011, 07:45 AM |#10  
commodoor's Avatar
Senior Member
Flag Venlo
Thanks Meter: 68
 
More
Quote:
Originally Posted by im_iceman

why would you need to?

Sent from The Arc!

Higher benchmarking and to see the full power ( i think)
Post Reply Subscribe to Thread

Tags
boot loader, kernel, linux, se steps up!, sony ericsson, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes