[Development]NEED DEV Help for all you Linaro experts!!!!! - Galaxy S III Q&A, (US Carriers)

I am trying to convert to Linaro 4.7 like I already do on my SGS2 kernels (android-toolchain-eabi-linaro-4.7-2012.06-3-2012-06-19_14-52-07-linux-x86) and keep getting the below error. Anybody have an idea to fix it? I have tried adding the following to "arch/arm/mach-msm/makefile" with no luck either:
--------------------------------------------------------------------------------
plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_scm.o :=-Wa,-march=armv7-a$(plus_sec)
--------------------------------------------------------------------------------
/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] Error 1
Any help would be greatly appreciated. And apologize to MOD's if this belongs in Q&A, but need dev help, not general

I have done what you PMed me for. I also found this
http://forum.xda-developers.com/showthread.php?t=1724219

Please keep your questions out of the development subforums.
This is regardless of if the are about development or not.

broncogr said:
Please keep your questions out of the development subforums.
This is regardless of if the are about development or not.
Click to expand...
Click to collapse
Will do, hopefully other devs wander over to this area

Bump to the top

Ill answer my own question, LOL:
Look here for the fix if anyone else gets stuck
https://github.com/ktoonsez/KT747/commit/9e4ea47a0d8e7103609d7c6403ae7efcc2c30f33

Related

[I9001][REQ][Kernel] 3.0.x I9001

Hi, I'm VisualTech48 and i own a Galaxy S Plus (I9001).
Our great Developers [Arco98, Ivendor, Doomsday98, Oisis, etc.] are developing ICS Roms and trying to make Jelly Bean too but we are missing a key element of this game.
It's the 3.0.x Kernel. We really need a good coder.
If anyone knows, or can help us code this kernel we are Ready to donate, and help by giving logs if even needed.
If we donate to someone, he/she must:
Help our devs with codeing
Give us a booting kernel
We have done allready a part of the project but we need help with codeing, that is why I even started this thread.
What has oisis done:
Added board-ariesve.c here:
arch/arm/mach-msm/board-ariesve.c
Included Ariesve board to Kconfig and Makefile.
Added missing files:
include/linux/fsa9480.h
arch/arm/mach-msm/include/mach/msm_reqs.h
Click to expand...
Click to collapse
Compilation error:
Code:
arch/arm/mach-msm/board-ariesve.c: In function 'pm8058_gpios_init':
arch/arm/mach-msm/board-ariesve.c:329: error: variable 'sdcc_det' has initializer but incomplete type
arch/arm/mach-msm/board-ariesve.c:330: error: unknown field 'direction' specified in initializer
arch/arm/mach-msm/board-ariesve.c:330: warning: excess elements in struct initializer
error, forbidden warning: board-ariesve.c:330
make[1]: *** [arch/arm/mach-msm/board-ariesve.o] Error 1
What needs to be done:
include and port file from 2.6.35.X - arch/arm/mach-msm/board-ariesve.c
include/find missing drivers for i9001
Click to expand...
Click to collapse
We whould really apriciate if someone can help us because this kernel can open a whole new page for our phone.
Why did i remade a new thread? Because i think we have more chances of reply then in the I9000 Forum.
Thank you for reading this, VisualTech48
Original Thread: http://forum.xda-developers.com/showthread.php?t=1742976

[Q][CM10.2] Fix Thumb c++ errors

Hi!
I'm trying to compile CM10.2 for my Galaxy i5800, i downloaded the source code from androidarmv6 and the appropriate device folder with prebuilt kernel. After starting "make" everything seemed to be fine but when it started to compile EGL this error appeared:
Code:
target thumb C++: libEGL <= frameworks/native/opengl/libs/EGL/egl.cpp
/tmp/cc7jJXiM.s: Assembler messages:
/tmp/cc7jJXiM.s:894: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:927: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:962: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:1011: Error: selected processor does not support Thumb mode `mrc p15,0,r4,c13,c0,3'
/tmp/cc7jJXiM.s:1037: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
/tmp/cc7jJXiM.s:1826: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
/tmp/cc7jJXiM.s:1869: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
So i looked up on Google and searched for a solution and i successfully compiled EGL adding
Code:
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS += -marm
to Android.mk however the same problem showed up while compiling bionic and it's showing even after adding those lines to bionic's Android.mk .
Someone that already had this problem or knows the solution can help me?
Thank you in advance
Fix Thumb c++ errors
I'm dealing with the same problem, but I haven't found a fix up until now. I hope that someone could help.
panilov7 said:
I'm dealing with the same problem, but I haven't found a fix up until now. I hope that someone could help.
Click to expand...
Click to collapse
I am looking at which core should be changed, too. I could't find the ways to fix it. Just have a look:
http://review.cyanogenmod.org/#/c/21292/1/libc/private/bionic_atomic_arm.h
superfrancy97 said:
Hi!
I'm trying to compile CM10.2 for my Galaxy i5800, i downloaded the source code from androidarmv6 and the appropriate device folder with prebuilt kernel. After starting "make" everything seemed to be fine but when it started to compile EGL this error appeared:
Code:
target thumb C++: libEGL <= frameworks/native/opengl/libs/EGL/egl.cpp
/tmp/cc7jJXiM.s: Assembler messages:
/tmp/cc7jJXiM.s:894: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:927: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:962: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'
/tmp/cc7jJXiM.s:1011: Error: selected processor does not support Thumb mode `mrc p15,0,r4,c13,c0,3'
/tmp/cc7jJXiM.s:1037: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
/tmp/cc7jJXiM.s:1826: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
/tmp/cc7jJXiM.s:1869: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
So i looked up on Google and searched for a solution and i successfully compiled EGL adding
Code:
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS += -marm
to Android.mk however the same problem showed up while compiling bionic and it's showing even after adding those lines to bionic's Android.mk .
Someone that already had this problem or knows the solution can help me?
Thank you in advance
Click to expand...
Click to collapse
Finally the Fix has been Found out by my self ! Lets have a Look ! http://forum.xda-developers.com/showpost.php?p=64422395&postcount=1871

[Q] Please help with this problem!, Compiling msm7627a kernel

Hi, i am compiling the msm kernel, from the cynaogenmod sources (forked from the google sources) for the MSM7627a SoC, and i'm stuck with this error:
CC arch/arm/mach-msm/board-msm7627a-display.o
arch/arm/mach-msm/board-msm7627a-display.c:825: warning: 'msm_fb_get_lane_config' defined but not used
error, forbidden warning: board-msm7627a-display.c:825
make[1]: *** [arch/arm/mach-msm/board-msm7627a-display.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
Click to expand...
Click to collapse
Searching on internet i have no solution, i changed before the kernel source with no results. I think it'ss some "Werror" argument in some makefile, But i'm lost, i hope can help me. Thanks
BTW, sorry for my english, i'm from Venezuela
Please Help!
djra19 said:
Hi, i am compiling the msm kernel, from the cynaogenmod sources (forked from the google sources) for the MSM7627a SoC, and i'm stuck with this error:
Searching on internet i have no solution, i changed before the kernel source with no results. I think it'ss some "Werror" argument in some makefile, But i'm lost, i hope can help me. Thanks
BTW, sorry for my english, i'm from Venezuela
Click to expand...
Click to collapse
C'mon people, i now you are there!. Please help me i'm stuck with this!!!

[Q&A] [GUIDE]Building a Kernel from source{Mediatek}

Q&A for [GUIDE]Building a Kernel from source{Mediatek}
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE]Building a Kernel from source{Mediatek}. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
mt6582 config.gz/defconfig
sir can i ask for a config.gz or a defconfig of a device similar to mine .. my device specs below
starmobile up
Mt6582
ips 480x854 screen
mali mp2
8mp back
2mp front
or can i get a config.gz or defconfig with just only mt6582 similar..
please if you got one can i have yours..
thanks in advance
building mt8127 dfo_boot.h error
Hello,
I'm currently trying to compile the mt8127 kernel and I'm mainly using your post as a guide on how to do that.
When I use
Code:
cp ../mediatek/config/mt8127/autoconfig/kconfig/platform .config
I get this error at zImage:
Code:
[B][email protected]:~/source/kernel$ make zImage v=1[/B]
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC init/main.o
In file included from init/main.c:75:0:
/home/android/source/kernel/arch/arm/include/asm/setup.h:18:27: fatal error: mach/dfo_boot.h: No such file or directory
compilation terminated.
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
If I try to make the configs instead of copying them I get the following error:
Code:
[email protected]:~/source/kernel$ make mediatek-configs
make: *** No rule to make target `../out/target/product/mt8127/obj/CUSTGEN/config/autoconfig/kconfig', needed by `mediatek-configs'. Stop.
My exports:
Code:
TARGET_BUILD_VARIANT=userdebug
TARGET_PRODUCT=mt8127
MTK_ROOT_CUSTOM=../mediatek/custom/
MTK_PLATFORM=mt8127
ARCH_MTK_PLATFORM=mt8127
TARGET_KERNEL_VERSION=mt8127
PATH=~/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin:$PATH
CROSS_COMPILE=arm-linux-androideabi-
ARCH=arm
KERNEL_DIR=~/source/kernel
I think dfo_boot.h should be a file, whicht is automatically generated during "make mediatek-configs" and I haven't had any luck figuring out a fix to the problem since I'm a n00b.
Shold "make mediatek-configs" not be the reason for my missing dfo_boot.h, could you please explain to me where I can get it from or how its generated.
mfg
Moonwolf
Hi Master Awesome. Firstly, I wanna say a big "Thank you!" to you for this guide. However, whenever I install those required packages, they BREAK MY LINUX INSTALLATION. My machine no longer shuts down or boots successfully. WHY? I'm running 64 bit Ubuntu 12.04 LTS. I appreciate your response. Thanks!
ABS or AOSP
Hello.
For bulid a MTK is more ABS or AOSP??
Best Regards
Problem
[email protected]:~/mediatek/custom/Kernels/kernel$ make menuconfig
/home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile:1: *** missing separator. Stop.
[email protected]:~/mediatek/custom/Kernels/kernel$
can you help me
@BlackObyo read this. Basically you've got some spaces in that Makefile where there should be tabs. Did you edit that file manually at all in a text editor? Send me that file, /home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile , by attaching it in a post here and I'll have a look, unless you think you can sort it.
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
BlackObyo said:
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
Click to expand...
Click to collapse
weird, it looks fine to me, as it should do if you've not touched it. I don't own a MediaTek device, so I can only recommend making sure you've followed the guide exactly. Other than that you could tell me your device and which source you're using and I could have a quick investigation?
help
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$ make zImage
find: `../mediatek/custom/common/kernel/alsps/al3006/al3006.h': File name too long
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$
Click to expand...
Click to collapse
help me
MY WHOLE WORK IS
MY DEVICE IS MICROMAX A77 AND MY DEVICE IS CLONNED FROM FLYIQ4404 DEVICE EXPECT TOUCHPANNEL ALL THINGS ARE SAME (MY TOUCHPANNEL IS OF MSG2133 AND FLY IQ4404 IS FT2103)
FLY IQ4404 HAD LOOLIPOP IN ITS DEVICE I ALSO WANT SAME
I USED IT FRIMWARE DIRECTLY FLASHED IT VIA SP FLASH TOOL (REPLACED PRELOADER AND LK.BIN)
IT SUCCESSFULLY BOOTED
BUT TOUCH IS NOT WORKING ?
COMPILED IT SOURCE WITH HELP OF THAT FLYIQ4404 DEVS AND AFTER USING THAT BOOT I GOT WHITE SCREEN AFTER LOGO.BIN HELP NEEDED
MY DEVICE PROPERTIES
LCM= otm8018b_dsi_vdo
TOUCHPANNEL=MSG2133
MORE THINGS NEEDED ASK ME I WILL BE FREE FOR YOU ALWAYS
SOURCE LINK:-
https://github.com/powern/KK_kernel_iq4404_MT6572?files=1
SOME ONE HELP ME TO COMPILE
THIS SOURCE WITH TOUCH DRIVER MSG2133 IT IS A HUMBLE REQUEST
Sent from my Micromax A77 using XDA Free mobile app
anyone here help me to find these imagesensors drivers
i googled it lot but got nothing so someone pls help me
soc5140_mipi_yuv
ov5645_mipi_yuv
gc0329_yuv
hi704_yuv @hyperNeon70 pls help me
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
~cyandrew said:
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
Click to expand...
Click to collapse
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
murtaza1326 said:
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
Click to expand...
Click to collapse
There was no readme file along with the source. I was able to compile the kernel but ended up unsuccessful, it says a bunch of errors, such as "make[x]: (net) error" "make[x]: error, cannot find kernel_byd82_wet_kk.bin" where byd82_wet_kk is the Target_project
Sent from my MT6582 using XDA-Developers mobile app

How to get Amlogic source code?

Hey Guys,
Could you please tell me where / how to get source code for Amlogic devices? I am specifically interested in S912 for my Beelink GT1 Ultimate. The recent firmware updates have made the device performance so bad. Being an octa core device with 3G DDR4 ram, this not what the device deserves. All Beelink does is download their source and just change the logo.
I have made my mind and decided to build a better firmware myself. Who is with me to help?
I have read that Nexbox revealed the source for its tv box but its very old. Tried asking the same in freaktab forum but none bothered.
To download the source from Amlogic website we need to be authorized. i.e., We need to send our ssh key to them so that we can sync the source. I mailed the amlogic team but no response for over a week.
I see some guys like Megandanz ported stock Android TV to these devices... If you are a one of the ROM devs, It would be great if you could add some notes on this.
This is my last effort asking here! Looking with some hope!
No chance..
Ricky Divjakovski said:
No chance..
Click to expand...
Click to collapse
Thanks, still worth a short
I hope someone will help
irfanjunaid said:
Thanks, still worth a short
I hope someone will help
Click to expand...
Click to collapse
Not gonna put anything out there but the mbox is opensource, i also have confidential information on the future of the source code, patience is key
irfanjunaid said:
I hope someone will help
Click to expand...
Click to collapse
neh, only android tv box producers have access , and they signed a document for not giving the source code to others
You can get source to most of it via the Khadas VIM2 github.
Some parts are still just binary blobs though.
https://github.com/khadas
Hi there,
Recently, I was curious to know and learn how to build Android from source code.
I have AceMax M8S+ and I want to install stock Android TV os in it.
I have done the research and found a few repositories that have Amlogic build tools and etc.
I downloaded the manifest, update to the proper revisions and old packages and still got an error after 1 hour of building.
Code:
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:39: error: Error: No resource found that matches the given name (at 'theme' with value '@style/DeskClock').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:179: error: Error: No resource found that matches the given name (at 'theme' with value '@style/ScreensaverSettingsActivityTheme').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:194: error: Error: No resource found that matches the given name (at 'theme' with value '@style/TimerAlertFullScreenTheme').
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/t1000/android'
#### make failed to build some targets (01:47:50 (hh:mm:ss)) ####
Here are the sources that I found
amlogic_android_manifest -> github/firmanjml
android_device_amlogic -> github/Android-Amlogi

Categories

Resources