Dear All,
My setup
1. HP Linux Laptop.
2. RPI2 Model B v1.1
3. https://www.crazypi.com/raspberry-pi-pr ... SPBERRY-PI cable.
4. 8GB Sandisk card.
I want to make uboot and linux-kernel bin file to get prompt , to proceed further. I am following following links -
1. https://elinux.org/RPi_U-Boot
2. https://blog.christophersmart.com/2016/ ... rm-boards/
3. http://wiki.beyondlogic.org/index.php?t ... aspberryPi
I am stucking with this since more then a week, I am neither able to get successful bin file of uboot or kernel. All things are going well but -
cross compiler path is not setting properly. I tried almost all the ways but its not getting the correct compiler, it always throwing error , I am not able to understand where the issue lying..kidnly help to set this correct -
I am getting errors -
"make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs
./scripts/gcc-version.sh: line 26: arm-linux-gnueabihf-gcc: command not found
./scripts/gcc-version.sh: line 27: arm-linux-gnueabihf-gcc: command not found
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
CHK include/config/kernel.release
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
CHK include/generated/uapi/linux/version.h
make: arm-linux-gnueabihf-gcc: Command not found
CHK include/generated/utsrelease.h
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
CC kernel/bounds.s
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
Kbuild:21: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:1085: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
"
I set cross compiler path like this but none works..
"
echo PATH=\$PATH:~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ source ~/.bashrc
iot@IOTHP:~/Desktop$ echo PATH=\$PATH:~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ source ~/.bashrc
iot@IOTHP:~/Desktop$ echo PATH=\$PATH:~/home/IOT/Desktop/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ echo PATH=/home/IOT/Desktop/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ echo PATH=\$PATH:^Come/IOT/Desktop/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ pwd
/home/iot/Desktop
iot@IOTHP:~/Desktop$ echo PATH=\$PATH:~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
iot@IOTHP:~/Desktop$ source ~/.bash
.bash_history .bash_logout .bashrc
iot@IOTHP:~/Desktop$ source ~/.bashrc
"
Pl help..
I request you to provide me exact set of command which work for this, till downloading and installing packages and compiler. But at cross compiling , I am getting this. Kindly set my exact set of command for cross compiling to get binary of uboot and linux kernel for RPI2 B V1.1.
Regards.
Ankur