No it does not, as long as you are running ubuntu. Try redownloading the toolcchain
No it does not, as long as you are running ubuntu. Try redownloading the toolcchain
When you posted what your entire terminal section looked like I noticed you were missing the command: make c1_rev05_na_spr_defconfig
You might want to try it with that also, if you forgot to put it in...
Try this:
After you enter : "sudo make clean" and that goes through and its done, retype the "export CROSS_COMPILE=Path to toolchain" command then hit enter and type: "make -j5 CONFIG_INITRAMFS_SOURCE=/home/michaelc/Desktop/initramfs" Then see if it compiles after that.
@Mike
Just a heads up using the initramfs that Team Rogue has posted on their github compiled and flashed fine but seems to have broken wifi. I am sure it is my mistake somewhere in there though. The only thing I did was add the lib/module folder to their initramfs then copy the newly created modules over to there. Then I compiled.
I am sure I have just gotten a head of myself but I am very stoked that I was able to figure this out in one day.
Still getting the error after re-downloading the toolchain..
michaelc@michaelc-iMac:~$ cd /home/michaelc/Desktop/SPH-D710_GB_Kernel
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ export CROSS_COMPILE=/home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ sudo make clean
[sudo] password for michaelc:
make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
CLEAN .tmp_versions
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ make c1_rev05_na_spr_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ make modules
make: /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc: Command not found
scripts/kconfig/conf -s arch/arm/Kconfig
make: /home/michaelc/Desktop/arm-2009q3/bin/arm-none-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: /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$
export CROSS_COMPILE="/whatever/"
ls -l $CROSS_COMPILE*
sudo chmod 777 $CROSS_COMPILE*
su will further complicate the issue...
what you need to do, is verify the existence of the cross_compile path
Code:export CROSS_COMPILE="/whatever/" ls -l $CROSS_COMPILE*
paste that, if it looks correct, then do this
Code:sudo chmod 777 $CROSS_COMPILE*
Did this and still get the same error, fml, this seems so simple yet I can't get it.
Sent from my SPH-D710 using xda premium
Did you maybe delete/add something when you added your last name to the makefile document? Thats
the only thing I can think of left...
Did this and still get the same error, fml, this seems so simple yet I can't get it.
Sent from my SPH-D710 using xda premium
Did you maybe delete/add something when you added your last name to the makefile document? Thats
the only thing I can think of left...
Now that I think about it I was going to put my name and ended up not and might have left it blank. Ill check when I get back to my house.
Sent from my SPH-D710 using xda premium
Kernel compile went without errors. Phone boots to system.
But somewhere on the road I lost wifi.
I extracted initramfs from current kernel I'm using and compiled with it.
Still no go.
Wifi gives error.
Any suggestions or ideas?
So it wasnt the makefile. I am going to re-download all the files again and re-try...
ls -l $CROSS_COMPILE*
michaelc@michaelc-iMac:~$ ls -l $CROSS_COMPILE*
-rw-r--r-- 1 michaelc michaelc 179 2011-12-21 20:26 examples.desktop
android-sdk-linux:
total 40
drwxr-x--- 2 michaelc michaelc 4096 2011-12-07 14:44 add-ons
drwxrwxr-x 16 michaelc michaelc 4096 2012-01-08 00:59 docs
drwxr-x--- 3 michaelc michaelc 4096 2012-01-08 01:00 platforms
drwxrwxr-x 4 michaelc michaelc 4096 2012-01-08 00:56 platform-tools
drwxrwxr-x 3 michaelc michaelc 4096 2012-01-08 01:00 samples
-rw-r----- 1 michaelc michaelc 1158 2011-12-07 14:44 SDK Readme.txt
drwxrwxr-x 3 michaelc michaelc 4096 2012-01-08 01:01 sources
drwxrwxr-x 3 michaelc michaelc 4096 2012-01-08 01:02 system-images
drwxrwxr-x 2 michaelc michaelc 4096 2012-01-08 01:02 temp
drwxr-x--- 6 michaelc michaelc 4096 2011-12-07 14:44 tools
Desktop:
total 2120
drwxrwxr-x 7 michaelc michaelc 4096 2012-01-06 16:21 arm-2009q3
drwx------ 6 michaelc michaelc 4096 2012-01-14 08:52 initramfs
-rw-rw-r-- 1 michaelc michaelc 2150766 2012-01-13 11:13 initramfs.tar.gz
-rwxr-xr-x 1 michaelc michaelc 387 2011-12-21 21:51 nautilus-home.desktop
drwx------ 6 michaelc michaelc 4096 2012-01-14 08:53 TDR-Epic4GTouch-Initramfs-cca14f2
Documents:
total 0
Downloads:
total 453168
-rw-rw-r-- 1 michaelc michaelc 36794815 2012-01-14 08:49 arm-2009q3 (1).tar.gz
-rw-rw-r-- 1 michaelc michaelc 36794815 2012-01-13 15:37 arm-2009q3.tar.gz
-rw-rw-r-- 1 michaelc michaelc 294910089 2011-12-21 23:00 Calkulin's_E4GT_ROM_v2.0.1a.zip
-rw-rw-r-- 1 michaelc michaelc 1204296 2012-01-08 21:30 Colors_v3.mtz
-rw-rw-r-- 1 michaelc michaelc 12297858 2011-12-21 22:04 opera_11.60.1185_amd64.deb
-rw-rw-r-- 1 michaelc michaelc 70232688 2012-01-14 08:54 SPH-D710_GB_Opensource.zip.crdownload
-rw-rw-r-- 1 michaelc michaelc 6430698 2012-01-13 12:07 StockACS5-EL26.zip
-rw-rw-r-- 1 michaelc michaelc 2678299 2012-01-14 08:51 TDR-Epic4GTouch-Initramfs-cca14f2 (1).zip
-rw-rw-r-- 1 michaelc michaelc 2678299 2012-01-13 11:15 TDR-Epic4GTouch-Initramfs-cca14f2.zip
Music:
total 41752
-rw-rw-r-- 1 michaelc michaelc 6530103 2012-01-08 14:30 Ave Maria.mp3
-rw-rw-r-- 1 michaelc michaelc 4175862 2012-01-08 15:22 Don't Sweat the Technique.mp3
-rw-rw-r-- 1 michaelc michaelc 5810262 2012-01-08 15:47 I Am The Bullgod.mp3
-rw-rw-r-- 1 michaelc michaelc 4486048 2012-01-08 15:29 It's All Abut the Benjamins.mp3
-rw-rw-r-- 1 michaelc michaelc 3673328 2012-01-08 15:20 Paid in Full.mp3
-rw-rw-r-- 1 michaelc michaelc 7282435 2012-01-08 15:09 Passin' Me By.mp3
-rw-rw-r-- 1 michaelc michaelc 7003533 2012-01-08 15:26 Runnin'.mp3
-rw-rw-r-- 1 michaelc michaelc 3780022 2012-01-08 15:32 Still Not a Player.mp3
Pictures:
total 2100
-rw-rw-r-- 1 michaelc michaelc 2146358 2012-01-13 15:19 Screenshot at 2012-01-13 15:19:49.png
Public:
total 0
Templates:
total 0
Videos:
total 0
michaelc@michaelc-iMac:~$
you have to export CROSS_COMPILE first.. that reading was just a listing of *
michaelc@michaelc-iMac:~$ ls -l $CROSS_COMPILE*
-rwxr-xr-x 1 michaelc michaelc 547548 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-addr2line
-rwxr-xr-x 2 michaelc michaelc 572276 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-ar
-rwxr-xr-x 2 michaelc michaelc 954492 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-as
-rwxr-xr-x 2 michaelc michaelc 208012 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-c++
-rwxr-xr-x 1 michaelc michaelc 547324 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-c++filt
-rwxr-xr-x 1 michaelc michaelc 206956 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-cpp
-rwxr-xr-x 2 michaelc michaelc 208012 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-g++
-rwxr-xr-x 2 michaelc michaelc 205388 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc
-rwxr-xr-x 2 michaelc michaelc 205388 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc-4.4.1
-rwxr-xr-x 1 michaelc michaelc 26760 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcov
-rwxr-xr-x 1 michaelc michaelc 3036208 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gdb
-rwxr-xr-x 1 michaelc michaelc 3036208 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gdbtui
-rwxr-xr-x 1 michaelc michaelc 607136 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gprof
-rwxr-xr-x 2 michaelc michaelc 818880 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-ld
-rwxr-xr-x 2 michaelc michaelc 555612 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-nm
-rwxr-xr-x 2 michaelc michaelc 703284 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-objcopy
-rwxr-xr-x 2 michaelc michaelc 833532 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-objdump
-rwxr-xr-x 2 michaelc michaelc 572308 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-ranlib
-rwxr-xr-x 1 michaelc michaelc 307848 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-readelf
-rwxr-xr-x 1 michaelc michaelc 750864 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-run
-rwxr-xr-x 1 michaelc michaelc 547584 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-size
-rwxr-xr-x 1 michaelc michaelc 342540 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-sprite
-rwxr-xr-x 1 michaelc michaelc 547516 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-strings
-rwxr-xr-x 2 michaelc michaelc 703284 2009-10-16 09:56 /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-strip
michaelc@michaelc-iMac:~$ cd /home/michaelc/Desktop/SPH-D710_GB_Kernel
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ export CROSS_COMPILE=/home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ sudo make clean
[sudo] password for michaelc:
make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ make c1_rev05_na_spr_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
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
#
# configuration written to .config
#
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$ make modules
make: /home/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc: Command not found
scripts/kconfig/conf -s arch/arm/Kconfig
make: /home/michaelc/Desktop/arm-2009q3/bin/arm-none-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/michaelc/Desktop/arm-2009q3/bin/arm-none-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
michaelc@michaelc-iMac:~/Desktop/SPH-D710_GB_Kernel$
Then after that put where your tool chain is located. Also when you are entering where it is at, you need to put a “/bin/arm-none-eabi-” at the end of the directory. This shows the terminal that the compiling tools are under the folder bin and starts with arm-none-eabi- and the android compilation adds the last word for the compiler program it needs. (you can see this if you go into the bin folder under the “arm-2009q3 folder.) For adding the tool chain I entered this:
export CROSS_COMPILE=/home/shane/Desktop/arm-2009q3/bin/arm-none-eabi-
make: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
cp drivers/samsung/j4fs/j4fs.ko Path to initramfs/lib/modules
cp drivers/scsi/scsi_wait_scan.ko Path to initramfs/lib/modules
cp drivers/bluetooth/bthid/bthid.ko Path to initramfs/lib/modules
cp drivers/net/wireless/bcm4330/dhd.ko Path to initramfs/lib/modules
cp drivers/samsung/vibetonz/vibrator.ko Path to initramfs/lib/modules
cp drivers/staging/westbridge/astoria/switch/cyasswitch.ko Path to initramfs/lib/modules