Page 4 of 4

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Oct 16, 2014 10:00 am
by mdrjr
Hi, you should use zImage-dtb :)

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Oct 16, 2014 10:02 am
by odroid

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Oct 17, 2014 12:56 am
by nvitovitch
Thank you for the clarification, zImage-dtb isn't mentioned in the initial posting. Edit to include links to ODROID-XU3 wiki?

I've since flashed my kernel with great success XD

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Oct 17, 2014 1:07 pm
by odroid
It was already described well. "fastboot flash kernel arch/arm/boot/zImage-dtb" ;)

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Oct 17, 2014 9:59 pm
by nvitovitch
Indeed, the wiki is wonderful and very clear! I am referring to the initial post for this thread, quoted below. This thread isn't on a hardware specific sub-forum, hence my goof-up.

mdrjr wrote:7. Flashing the kernel from Android itself:
adb shell
cd /system/lib/modules
busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
sync
exit
adb reboot

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Sat Oct 18, 2014 11:01 pm
by odroid
Oh.. this thread was made for ODROID-X/X2/U2/U3 which are based on Exynos-4412.

I meant that was described on our WiKi.
http://odroid.com/dokuwiki/doku.php?id=en:odroid-xu3

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Nov 07, 2014 7:28 am
by brando56894
I'm trying to compile a kernel for Android 4.4.4 but I can't seem to find the config options for the mali overclock.

I pulled down the repo from git using the following command: git clone https://github.com/hardkernel/linux.git -b odroid-3.0.y-android

Then I made the correct config by issuing the command make ARCH=arm odroidu_android_442_defconfig (I didn't see the files for EMMC vs SD, as shown in post one, is this correct?)

But when I go to edit the values they aren't found
Code: Select all
[bran@ra /tmp/linux]$ grep -i mali .config
CONFIG_MALI400_UMP=y
CONFIG_MALI400=y
# CONFIG_MALI450 is not set
# CONFIG_MALI400_DEBUG is not set
CONFIG_MALI400_PROFILING=y
# CONFIG_MALI400_INTERNAL_PROFILING is not set
# CONFIG_MALI400_POWER_PERFORMANCE_POLICY is not set
# CONFIG_MALI_SHARED_INTERRUPTS is not set
# CONFIG_MALI_PMU_PARALLEL_POWER_UP is not set
# CONFIG_DRM_MALI is not set


What am I doing wrong?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Nov 07, 2014 8:38 am
by mdrjr
The fact is that even if you overclock it you won't get performance.. Even that the GPU can and will go to 800Mhz...
Your limitation will be the RAM speed...
So.. this is pretty much deprecated...

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Nov 07, 2014 8:50 am
by brando56894
So the GPU is already overclocked to the max in the 9/23 build of Android 4.4.4? That's what I'm currently running and the GUI lags a fair amount.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Nov 07, 2014 8:52 am
by mdrjr
brando56894 wrote:So the GPU is already overclocked to the max in the 9/23 build of Android 4.4.4? That's what I'm currently running and the GUI lags a fair amount.


You should open a thread so we can discuss your UI Lag.. but overclocking the GPU will certainly not help on that.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Fri Nov 07, 2014 9:15 am
by brando56894

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 02, 2014 7:14 pm
by linuxrp
Hi,
I finish the step 4. In step 5 the command "adb remount" show the message "error: device not found".
What am I doing wrong?
I want buid the kernel with some changes to run in oDROID-U3.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 02, 2014 7:16 pm
by odroid11
If you use a Windows PC, install the ADB device driver on your PC.
http://com.odroid.com/sigong/nf_file_bo ... ag=&bid=22

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 02, 2014 7:57 pm
by linuxrp
I use Linux Ubuntu 14.04LTS, exist solution?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Wed Dec 03, 2014 4:58 am
by mdrjr
What?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 2:03 am
by evilknievel
Hi there, i am stuck after Nr. 4
I start compiling: make -j4 ARCH=arm zImage modules
Everything is fine. Starts compiling and no errors

BUT no zImage can be found in this directory: kernel_4412/arch/arm/boot

so when i do: adb remount i get the succeed message
At adb push arch/arm/boot/zImage /system/lib/modules
i get this: cannot stat 'arch/arm/boot/zImage': No such file or directory

why is there no zImage?

THX for your help

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 2:10 am
by mdrjr
If there's no zImage the kernel didn't built properly.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 2:20 am
by evilknievel
Hi again,

so i tried again and startet compiling and finished again with no error at the bottom line.
But he has some errors at the begining:
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected ')' before numeric constant
make[1]: *** [arch/arm/mach-exynos/cpu-exynos4.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 4:04 am
by mdrjr
Toolchain? Any changes to the defconfig?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 4:08 am
by evilknievel
Using your toolchain http://www.mdrjr.net/odroid/tools/arm-2010q1.tar.xz
in the make menuconfig i changed the settings for usb Touchscreens also changed the hid.ids and hid.multitouch drivers as recommended.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 4:38 am
by evilknievel
So, nothing changed - just tried again make -j4 ARCH=arm zImage modules
Got this:
# configuration written to .config
#
include/config/auto.conf:156:warning: symbol value 'elf32-i386' invalid for OUTPUT_FORMAT
include/config/auto.conf:228:warning: symbol value 'arch/x86/configs/i386_defconfig' invalid for ARCH_DEFCONFIG
include/config/auto.conf:511:warning: symbol value '-fcall-saved-ecx -fcall-saved-edx' invalid for ARCH_HWEIGHT_CFLAGS
warning: (USE_LEGACY_MFC) selects VIDEO_MFC5X which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && (CPU_EXYNOS4210 || CPU_EXYNOS4212 || CPU_EXYNOS4412) && USE_LEGACY_MFC)
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: »include/generated/mach-types.h« ist bereits aktualisiert.
CC scripts/mod/empty.o
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-marm’
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: error: unrecognized command line option ‘-mfloat-abi=softfp’
gcc: error: unrecognized command line option ‘-mapcs’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
gcc: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [scripts/mod/empty.o] Fehler 1
make[1]: *** [scripts/mod] Fehler 2
make: *** [scripts] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
CC kernel/bounds.s
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-marm’
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: error: unrecognized command line option ‘-mfloat-abi=softfp’
gcc: error: unrecognized command line option ‘-mapcs’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
gcc: error: unrecognized command line option ‘-mfpu=neon’
make[1]: *** [kernel/bounds.s] Fehler 1
make: *** [prepare0] Fehler 2

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Thu Dec 04, 2014 9:29 am
by mdrjr
You didn't set the CROSS_COMPILE variable.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Sat Dec 06, 2014 5:09 am
by evilknievel
okay thanks, set the cross_compile variable now.
Now got a new error :(

CC arch/arm/kernel/module.o
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected ')' before numeric constant
make[1]: *** [arch/arm/mach-exynos/cpu-exynos4.o] Fehler 1
make: *** [arch/arm/mach-exynos] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
AS arch/arm/kernel/sleep.o


So this is the file and the lines 222 he seems to have a prob. But as i am not into programming - i got no idea what the Problem could be :(

}

/*
* exynos4_map_io
*
* register the standard cpu IO areas
*/
void __init exynos4_map_io(void)
{
iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc));

if (soc_is_exynos4210()) {
iotable_init(exynos4210_iodesc, ARRAY_SIZE(exynos4210_iodesc));
if (samsung_rev() == EXYNOS4210_REV_0)
iotable_init(exynos4210_iodesc_rev_0,
ARRAY_SIZE(exynos4210_iodesc_rev_0));
else
iotable_init(exynos4210_iodesc_rev_1,
ARRAY_SIZE(exynos4210_iodesc_rev_1));
} else {
iotable_init(exynos4212_iodesc, ARRAY_SIZE(exynos4212_iodesc));
}

I made no changes to the kernel at all. Just downloaded it and made the defconfig and the make -j4

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Sat Dec 06, 2014 5:55 am
by evilknievel
Okay, i think i am close to the error.
As for the egalax Touchscreen i added the VID and PID in the driver hid.ids and saved it. startet the defconfig WITHOUT make menuconfig -> zImage built
BUT as soon as i make the Changes into the make menuconfig as mentioned in the odroid magazine feb -> i get the error as in the posting above...

Anybody a clue?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Sat Dec 06, 2014 5:29 pm
by odroid

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Sat Dec 06, 2014 8:33 pm
by evilknievel
Okay, this worked for me then:

export ARCH=arm
make odroidu_android_defconfig
make menuconfig
make -j4 zImage modules

THX :) Image succesfully created

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 08, 2014 8:06 am
by evilknievel
So i´ve got a new Problem.
As posted above, the kernel4412 built succesfully.

BUT: if i am trying to compile the new Kernel from Android 4.4.4 with same toolchain, i get an Error.
CC arch/arm/mach-exynos/ppmu.o
CC arch/arm/mm/mmap.o
CC arch/arm/mach-exynos/cpu-exynos4.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:222: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:279: error: expected ')' before numeric constant
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected identifier or '(' before 'void'
arch/arm/mach-exynos/cpu-exynos4.c:410: error: expected ')' before numeric constant
make[1]: *** [arch/arm/mach-exynos/cpu-exynos4.o] Fehler 1
make: *** [arch/arm/mach-exynos] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/mm/pgd.o
CC arch/arm/kernel/smp_scu.o

referring to this link viewtopic.php?f=51&t=83
getting the kernel via git clone from there: https://github.com/hardkernel/linux/tre ... .y-android

Any changes needed to the toolchain due to the new Kernel Version?

THX for help

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 08, 2014 2:03 pm
by odroid
Did you check the toolchain or its path?
http://odroid.com/dokuwiki/doku.php?id= ... xynos-4412

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 08, 2014 8:28 pm
by evilknievel
Sorry for a lot of unqualified questions.
it took me a while to get into how to use vi ~/.bashrc
finally i entered there:

# ~/.bashrc: executed by bash(1) for non-login shells.

# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

export PATH=$PATH:/opt/toolchains/arm-2010q1/bin
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
~

Is this correct? Adt bundle is also located in this path ;)

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 09, 2014 7:55 am
by mdrjr
That should be correct...

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 09, 2014 8:17 am
by evilknievel
Okay thanks for the confirmation.
So if i follow the guide from codewalker or even this guide from the first page i get the error as posted above (mach exynos)
But only with the actual Kernel of Android 4.4.4
If i take the Kernel referring in this post on Page 1 it works just perfect. Even if i change the multitouch file in the Driver Directory of the kernel or changing the menuconfig.

Trying it with the new Kernel i get an error

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 29, 2014 12:36 am
by Done82
Hello everyone.

First, I'm a absolute and complete Linux noob, so i have literally no idea what all these terminal commands mean. But im learning.
After a couple of hours full of failures, i successfully managed it to compile a kernel without errors and copy it on my Odroid-U3.
After reboot the U3 seems to start, but the screen stays black. The blue LED blinks slowly, like the normal heartbeat.

I tried it with this Kernel, unmodified: https://github.com/hardkernel/linux/tre ... .y-android
These are the steps I did:
Code: Select all
cd arm-2010q1/bin
export CROSS_COMPILE=`pwd`/arm-none-linux-gnueabi-

cd linux-odroid-3.0.y-android
make ARCH=arm odroidu_android_defconfig

make -j4 ARCH=arm zImage modules

adb remount
for module in `find . -iname *.ko`; do adb push $module /system/lib/modules ; done

adb push arch/arm/boot/zImage /system/lib/modules

adb shell
cd /system/lib/modules
busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
sync
exit
adb reboot


Again, no errors so far. Only the Odroid won't boot properly. :?
Any tips?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 29, 2014 3:53 am
by mdrjr
Any logs?

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Mon Dec 29, 2014 7:27 am
by Done82
I copy pasted this from the terminal, because i dont know if there is any log file for this process. (As said, i'm a absolute Linux noob)

Code: Select all
done@Frankenstein-PC:~$ cd Android
done@Frankenstein-PC:~/Android$ cd arm-2010q1/bin
done@Frankenstein-PC:~/Android/arm-2010q1/bin$ export CROSS_COMPILE=`pwd`/arm-none-linux-gnueabi-
done@Frankenstein-PC:~/Android/arm-2010q1/bin$ cd
done@Frankenstein-PC:~$ cd Android/linux-odroid-3.0.y-android
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ ls arch/arm/configs/odroid*android*
arch/arm/configs/odroidq2_android_defconfig
arch/arm/configs/odroidq_android_defconfig
arch/arm/configs/odroidu_android_422_defconfig
arch/arm/configs/odroidu_android_442_defconfig
arch/arm/configs/odroidu_android_defconfig
arch/arm/configs/odroidu_android_recovery_defconfig
arch/arm/configs/odroidx2_android_422_defconfig
arch/arm/configs/odroidx2_android_442_defconfig
arch/arm/configs/odroidx2_android_defconfig
arch/arm/configs/odroidx2_android_recovery_defconfig
arch/arm/configs/odroidx_android_422_defconfig
arch/arm/configs/odroidx_android_42Inch_demo_defconfig
arch/arm/configs/odroidx_android_442_defconfig
arch/arm/configs/odroidx_android_defconfig
arch/arm/configs/odroidx_android_recovery_defconfig
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ make ARCH=arm odroidu_android_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.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
#
# configuration written to .config
#
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ make -j4 ARCH=arm zImage modules


^^ Compiling starts.
(Is there any logfile i dont know?)
When compiling is finished:

Code: Select all
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ adb remount
remount succeeded
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ for module in `find . -iname *.ko`; do adb push $module /system/lib/modules ; done
2869 KB/s (182483 bytes in 0.062s)
3005 KB/s (1312369 bytes in 0.426s)
3007 KB/s (1075961 bytes in 0.349s)
2940 KB/s (192260 bytes in 0.063s)
2899 KB/s (201059 bytes in 0.067s)
3008 KB/s (9815448 bytes in 3.185s)
2658 KB/s (6347643 bytes in 2.331s)
736 KB/s (30044 bytes in 0.039s)
2894 KB/s (972894 bytes in 0.328s)
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ adb push arch/arm/boot/zImage /system/lib/modules
3018 KB/s (3469068 bytes in 1.122s)
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ adb shell
root@odroidu:/ # cd /system/lib/modules
root@odroidu:/system/lib/modules #  busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
6775+1 records in
6775+1 records out
3469068 bytes (3.3MB) copied, 0.616531 seconds, 5.4MB/s
root@odroidu:/system/lib/modules # sync
root@odroidu:/system/lib/modules # exit
done@Frankenstein-PC:~/Android/linux-odroid-3.0.y-android$ adb reboot


Then Odroid reboots. Screen stays black and the blue LED blinks like heartbeat.
I also tried it with the kernel in the first post (kernel_4412). This one also doesnt work for me. Screen stays black, the blue LED is constant on.

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 30, 2014 1:50 am
by kaaliakahn
I am following this tutorial

http://forum.xda-developers.com/showthr ... ?t=2152819

I get the following when i execute

Code: Select all
$make maker.defconfig

make: Nothing to be done for `maker.defconfig'.

Then i set the CROSS_COMPILER and echo it

Code: Select all
$ echo $CROSS_COMPILE

/usr/bin/arm-none-eabi-

and when i execute

Code: Select all
$make ARCH=arm

i get the following errors

///////////////////////////////////////

CHK include/linux/version.h

CHK include/generated/utsrelease.h

HOSTCC scripts/basic/fixdep

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’

gcc: note: valid arguments to ‘-mabi=’ are: ms sysv

gcc: error: unrecognized command line option ‘-mlittle-endian’

gcc: error: unrecognized command line option ‘-mapcs’

gcc: error: unrecognized command line option ‘-mno-sched-prolog’

make[1]: *** [kernel/bounds.s] Error 1

make: *** [prepare0] Error 2

////////////////////////////////////////////////////

Any idea how to resolve these

I got the same errors using Android NDK toolchain.

Thanks

Re: [GUIDE] Rebuilding Android Kernel (Incl. Mali Overclock)

Unread postPosted: Tue Dec 30, 2014 10:59 pm
by Done82
Found my problem. :)

Code: Select all
make ARCH=arm odroidu_android_442_defconfig

instead of
Code: Select all
make ARCH=arm odroidu_android_defconfig

and all worked fine. :D