Gmail 5.0: Material Design and Multiple Account Support

Google started to materialize many of its applications right after announcing the … more

Some of Our Favorite Features in Android 5.0 Lollipop

Android 5.0 Lollipop is the latest major revision to Google’s mobile operating … more

Sony SmartEyeglass SDK Developer Preview Released

A little over a month ago in Tokyo, Japan, Sony unveiled its new SmartEyeglasstechnology. … more

XDA and Leaseweb: Server Trial/Moto 360 Contest (Winners!)

About a month ago, we held a contest along with XDA’s host, Leaseweb, to … more
Post Reply

[Q] Build Kernel From Source

OP d3athsd00r

16th April 2012, 09:35 AM   |  #1  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Been messing around with the Tiamat kernel to add a couple things, and now I need to build it, but I'm not exactly sure how.

Can someone point me to or explain how to do it exactly? I'm using a Wi-Fi Xoom so that's what I plan to build it for if that makes any difference.
Last edited by d3athsd00r; 16th April 2012 at 09:51 AM.
17th April 2012, 03:04 AM   |  #2  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Bump. Anyone?

Sent from my MB860 using xda premium
17th April 2012, 11:01 AM   |  #3  
solarnz's Avatar
Retired Recognized Developer
Flag Sydney
Thanks Meter: 2,119
 
678 posts
Join Date:Joined: May 2010
Donate to Me
More
I kinda answered this on the android kernel mailing list the other day as well.
https://groups.google.com/d/msg/andr...U/D9EmeFyn47sJ

To flash, download one of the kernel zip files I have released and update the modules and zImage in it.

It is important to note I use the prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- toolchain from AOSP to compile my kernels.
The Following User Says Thank You to solarnz For This Useful Post: [ View ]
17th April 2012, 03:46 PM   |  #4  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Sweet thanks. Going to try this out later today possibly.

Sent from my Xoom using XDA Premium HD app
18th April 2012, 11:28 PM   |  #5  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Having issues compiling. Here is what I get:

Code:
root@brettclavier-VirtualBox:/home/brettclavier/Downloads/Tiamat_3.0.13# ARCH=arm make mrproper
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
  CLEAN   .config
root@brettclavier-VirtualBox:/home/brettclavier/Downloads/Tiamat_3.0.13# ARCH=arm make stingray_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
arch/arm/configs/stingray_defconfig:442:warning: override: reassigning to symbol NTFS_FS
arch/arm/configs/stingray_defconfig:443:warning: override: reassigning to symbol NTFS_RW
#
# configuration written to .config
#
root@brettclavier-VirtualBox:/home/brettclavier/Downloads/Tiamat_3.0.13# ARCH=arm CROSS_COMPILE=/home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- make
make: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
  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
/bin/sh: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
Does anyone know what the problem here is?
18th April 2012, 11:39 PM   |  #6  
solarnz's Avatar
Retired Recognized Developer
Flag Sydney
Thanks Meter: 2,119
 
678 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by d3athsd00r

Having issues compiling. Here is what I get:

Code:
make: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found
  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
/bin/sh: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
Does anyone know what the problem here is?

"make: /home/brettclavier/Downloads/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found"

It can't find your tool chain.
1st July 2012, 03:12 AM   |  #7  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Well, I just attempted to build the current 3.0.23 kernel and when I do I get
Code:
kernel/bounds.c:1: warning: switch -mcpu=cortex-a0 conflicts with -march= switch
kernel/bounds.c:1: sorry, unimplemented: -mfloat-abi=hard and VFP
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
this happens right after issuing the command of
Code:
ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- make
does anyone know how to fix this? Version 3.0.13 builds with no problems. Did something change? Should I be using a different toolchain now?
1st July 2012, 09:32 AM   |  #8  
solarnz's Avatar
Retired Recognized Developer
Flag Sydney
Thanks Meter: 2,119
 
678 posts
Join Date:Joined: May 2010
Donate to Me
More
You will need to use this toolchain: git://git.teameos.org/eos/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6.git
1st July 2012, 06:53 PM   |  #9  
OP Senior Member
Thanks Meter: 280
 
1,508 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by solarnz

You will need to use this toolchain: git://git.teameos.org/eos/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6.git

thanks

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes