Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[INFO] Building the Linux kernel for Xperia phones

OP KalleD

6th May 2011, 03:18 PM   |  #1  
OP Sony Mobile Developer
Thanks Meter: 610
 
98 posts
Join Date:Joined: May 2011
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, 06:23 PM   |  #2  
Senior Member
Flag Oslo
Thanks Meter: 3
 
100 posts
Join Date:Joined: Dec 2008
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, 07:46 PM   |  #3  
punkmonkey1984's Avatar
Senior Member
Thanks Meter: 472
 
1,494 posts
Join Date:Joined: Aug 2008
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, 01:39 AM   |  #4  
Senior Member
Flag Stockholm
Thanks Meter: 97
 
846 posts
Join Date:Joined: Jun 2009
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, 02:37 AM   |  #5  
Senior Member
Flag Melbourne
Thanks Meter: 245
 
391 posts
Join Date:Joined: Dec 2010
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 ]
8th May 2011, 12:47 AM   |  #6  
Senior Recognized Developer
Thanks Meter: 766
 
886 posts
Join Date:Joined: Dec 2008
More
Can someone please post a boot.img from the Arc, the Neo, and the Play?
8th May 2011, 03:17 PM   |  #7  
Senior Member
Thanks Meter: 4
 
160 posts
Join Date:Joined: Sep 2009
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, 10:38 PM   |  #8  
DooMLoRD's Avatar
Recognized Developer
Flag Noida
Thanks Meter: 39,104
 
13,127 posts
Join Date:Joined: Jul 2010
@KalleD

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

Sent from The Arc!
9th May 2011, 08:45 AM   |  #10  
commodoor's Avatar
Senior Member
Flag Venlo
Thanks Meter: 66
 
911 posts
Join Date:Joined: Mar 2008
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