Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DooMLoRD
Old
(Last edited by DooMLoRD; 20th March 2012 at 08:23 PM.)
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 20618
Posts: 10,087
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Exclamation [Xperia S] Instructions for building kernel

Sony seems to be really supporting dev community...

they just released some instructions on how to create kernel for this device...


read the source link:
http://developer.sonymobile.com/wp/2...-instructions/


we can may be use this thread as a place to have a feedback/discuss the issues so that it may help other devs...

I am on a tour right now... will not be available for discussions for a while...



Like my work? Please consider donating via PayPal


Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)
The Following 11 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
Seansmit17
Old
#2  
Seansmit17's Avatar
Senior Member
Thanks Meter 28
Posts: 357
Join Date: May 2009
Location: Mold, North Wales, UK

 
DONATE TO ME
Nice, now we can get going on some custom ROM's, maybe even cyanogenmod will make a ROM
SE X10 > HTC Desire HD > HTC Wildfire S > SE Arc > SE Xperia Mini Pro > Sony Xperia S > Sony Xperia T > Sony Xperia Z
 
OS4.
Old
#3  
Member
Thanks Meter 5
Posts: 32
Join Date: May 2011
Location: Riyadh
@DooMLord

Have you got your device yet ?

-----------------

I hope to see MiUi v4 working on my Xperia S , that will be a total Destruction :eek:
 
DooMLoRD
Old
#4  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 20618
Posts: 10,087
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by OS4. View Post
@DooMLord

Have you got your device yet ?

-----------------

I hope to see MiUi v4 working on my Xperia S , that will be a total Destruction :eek:
sadly nope... the device isnt released in India yet

I am on a tour right now... will not be available for discussions for a while...



Like my work? Please consider donating via PayPal


Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)
 
sminki
Old
(Last edited by sminki; 20th March 2012 at 09:58 PM.)
#5  
sminki's Avatar
Senior Member
Thanks Meter 77
Posts: 270
Join Date: Feb 2012
nice comment on their site DooM

i'm really keen to try, (read: mess about) but please excuse my ignorance - what defconfig should i be making? fuji_nozomi?

Code:
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ Galaxy Nexus ~ AOKP
~ NEXUS 7 ~ AOKP
~
~ HUAWEI G300 ~ AOKP - for funsies..
~ ..sony's no more.. LT26i LT25i LT18i SK17i ..

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
 
Felimenta97
Old
#6  
Felimenta97's Avatar
Senior Member
Thanks Meter 1452
Posts: 6,259
Join Date: Aug 2011
Location: Ribeirão Preto
And now... Let the ROMs and kernels begin...

Sent from Xperia X10 Mini Pro using CM9 by paul-xxx

 
kazuni
Old
#7  
kazuni's Avatar
Senior Member
Thanks Meter 204
Posts: 648
Join Date: Aug 2007
Location: Hong Kong
Gonna jab my hands into the dirt and try building as well
Xpera Z + SanDisk 64GB
Astell and Kern / Rainbow Audio RAWK100 + 2xSanDisk 64GB
SGS3 LTE /w kzn v1.0 ROM + SanDisk 64GB
SGS3 /w Omega v27.2 ROM + SanDisk 64GB
Previous Devices:
HTC: Rezound, Desire Z, HD2, Hero, Dream, Touch, Atom, Tytn II, 838 Pro
Samsung: P6800,P7500,N7000,I9250,SHV-E160S,I9200,I9100,I9000,F388
Sony: Arc, X10, XPS
Apple: 2,3G,3GS,4,4S,iPad2,iPad3,iPadMini
Mods for I9305 > Chinese IME - 15 Button toggle Mod - Note 2 Gallery + Camera Mod - Extended Power Menu
 
hylu
Old
#8  
hylu's Avatar
Senior Member
Thanks Meter 3
Posts: 140
Join Date: Oct 2007
Location: Taipei
Quote:
Originally Posted by sminki View Post
nice comment on their site DooM

i'm really keen to try, (read: mess about) but please excuse my ignorance - what defconfig should i be making? fuji_nozomi?

Code:
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
cat README_Xperia

Configuration files can be found in arch/arm/configs.

Xperia NX SO-02D => fuji_nozomi_dcm_defconfig
Xperia S => fuji_nozomi_defconfig
The Following User Says Thank You to hylu For This Useful Post: [ Click to Expand ]
 
sminki
Old
(Last edited by sminki; 9th April 2012 at 09:59 PM.)
#9  
sminki's Avatar
Senior Member
Thanks Meter 77
Posts: 270
Join Date: Feb 2012
Quote:
Originally Posted by hylu View Post
cat README_Xperia

Configuration files can be found in arch/arm/configs.

Xperia NX SO-02D => fuji_nozomi_dcm_defconfig
Xperia S => fuji_nozomi_defconfig
Funny, I missed that completely! Lucky I guessed correctly

EDIT: I've moved on a little, if anyone can help I'd greatly appreciate it!

Code:
  CC      init/main.o
In file included from include/linux/kernel_stat.h:64:0,
                 from init/main.c:31:
include/linux/irq.h: In function 'alloc_desc_masks':
include/linux/irq.h:442:8: warning: variable 'gfp' set but not used [-Wunused-but-set-variable]
error, forbidden warning: irq.h:442
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2


Ignore, fixed a few posts down..

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ Galaxy Nexus ~ AOKP
~ NEXUS 7 ~ AOKP
~
~ HUAWEI G300 ~ AOKP - for funsies..
~ ..sony's no more.. LT26i LT25i LT18i SK17i ..

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
 
arc_u
Old
#10  
arc_u's Avatar
Senior Member
Thanks Meter 40
Posts: 238
Join Date: Oct 2011
Hi all
As I said in thsi thread http://forum.xda-developers.com/show....php?t=1588800
I don't know what toolchain i've to use to build the .62 kernel of XS
I get the following error:

When I use the default arm-linux-gnueabi- (gcc 4.6):export CROSS_COMPILE=arm-linux-gnueabi-

>make

(a lot of line)

/tmp/cc33fOK4.s: Assembler messages:
/tmp/cc33fOK4.s:119: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:171: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:390: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:544: Error: selected processor does not support ARM mode `smc #0'
make[1]: *** [arch/arm/mach-msm/scm.o] Erreur 1
make: *** [arch/arm/mach-msm] Erreur 2

--

I try to use this toolchain https://sourcery.mentor.com/sgpp/lit...al/release2032
(arm-2011.09) export CROSS_COMPILE=/home/choco/xs/arm-2011.09/bin/arm-none-eabi-
I get this:
>make
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/kconfig/conf -s arch/arm/Kconfig
arch/arm/mach-msm/Kconfig:1509:warning: multi-line strings not supported
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [kernel/bounds.s] Erreur 1
make: *** [prepare0] Erreur 2

I try also the latest linaro toolchain
export CROSS_COMPILE=/home/chocobn/xs/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi-
And i get the same error as previous

err what's wrong with toolchain ?

PS: I do the correct export for ARCH (arm), i'm on ubuntu 12.04, and havn't spoiler on this forum ?
sry fo bad inglish

Nexus 4
AOSPA3+ PARANOIDANDROID

Sony XS 4.1.2 leaked
Waiting Sony (official) stock JB to switch back definitely

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...