-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wont compile u-boot #2
Comments
I get the same with sudo ./build_mainline_uboot.sh plus orangepi@OrangePI:~/orangepi_h3_linux/OrangePi-Kernel$ sudo ./build_mainline_uboot.sh plus orangepi_plus_defconfig /home/orangepi/orangepi_h3_linux/OrangePi-Kernel/build/uboot cp: cannot stat ‘../../u-boot-2016.7/u-boot-sunxi-with-spl.bin’: No such file or directory |
I meet the same error while I try to build the uboot, My linux os is ubuntu 18.04, I resolve it by the list command. sudo apt-get install build-essential |
install the library when you build the kernel by "./build_mainline_kernel.sh opi" |
./create_iamge |
I executed : sudo ./build_mainline_uboot.sh plus2e
I have got :
...
CC cmd/bootz.o
{standard input}: Assembler messages:
{standard input}:344: Error: push/pop do not support {reglist}^ -- `pop {r0,r1,r2,r3,r4,r9,ip,pc}^'
AS arch/arm/lib/ashrdi3.o
scripts/Makefile.build:280: recipe for target 'arch/arm/cpu/armv7/sunxi/psci.o' failed
make[2]: *** [arch/arm/cpu/armv7/sunxi/psci.o] Error 1
scripts/Makefile.build:425: recipe for target 'arch/arm/cpu/armv7/sunxi' failed
make[1]: *** [arch/arm/cpu/armv7/sunxi] Error 2
Makefile:1221: recipe for target 'arch/arm/cpu/armv7' failed
make: *** [arch/arm/cpu/armv7] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/lib/div0.o
...
cp: cannot stat '../../u-boot-2016.7/u-boot-sunxi-with-spl.bin': No such file or directory
*****Compile uboot OK
chmod: cannot access 'u-boot-sunxi-with-spl.bin': No such file or directory
Image Name:
Created: Wed Jan 11 14:58:17 2017
Image Type: ARM Linux Script (uncompressed)
Data Size: 505 Bytes = 0.49 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 497 Bytes = 0.49 kB = 0.00 MB
cp: cannot stat 'u-boot-sunxi-with-spl.bin': No such file or directory
My environment:
uname -a
Linux vladimir-mint 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:05 UTC 2016 i686 i686 i686 GNU/Linux
arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
The text was updated successfully, but these errors were encountered: