Can not compile u-boot is on Odroid Wiki

Moderators: odroid, mdrjr

Can not compile u-boot is on Odroid Wiki

Unread postby noisepic » Fri Dec 15, 2017 1:52 pm

I follow the guide on Odroid wiki to compile u-boot but can not work

http://odroid.com/dokuwiki/doku.php?id= ... stallation


Code: Select all
make[2]: Nothing to be done for 'all'.
Updating "../fip/gxb/fip.bin"
Firmware Image Package ToC:
---------------------------
- SCP Firmware BL3-0: offset=0x4000, size=0x9E88
- SCP Firmware BL3-0-1: offset=0x10000, size=0x1854
- EL3 Runtime Firmware BL3-1: offset=0x14000, size=0x110D0
- Non-Trusted Firmware BL3-3: offset=0x28000, size=0x74AE8
---------------------------
../fip/gxb/aml_encrypt_gxb: 5: ../fip/gxb/aml_encrypt_gxb: Syntax error: ")" unexpected
/home/Downloads/u-boot/Makefile:890: recipe for target 'boot.bin' failed
make[1]: *** [boot.bin] Error 2
Makefile:147: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2


Is the problem with /fip/gxb/aml_encrypt_gxb?
noisepic
 
Posts: 5
Joined: Sat May 27, 2017 6:55 pm
languages_spoken: english
ODROIDs: c2

Re: Can not compile u-boot is on Odroid Wiki

Unread postby odroid » Fri Dec 15, 2017 4:18 pm

You have to build u-boot on an x86 Linux PC.
https://wiki.odroid.com/odroid-c2/softw ... ing_u-boot

Amlogic supplied "aml_encrypt_gxb" for x86 platform only. It doesn't work on ODROID natively.
User avatar
odroid
Site Admin
 
Posts: 27730
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Can not compile u-boot is on Odroid Wiki

Unread postby OverSun » Fri Dec 15, 2017 4:23 pm

There is an alternative that can be used and compiled where needed:
https://github.com/afaerber/meson-tools
User avatar
OverSun
 
Posts: 1321
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english

Re: Can not compile u-boot is on Odroid Wiki

Unread postby noisepic » Fri Dec 15, 2017 5:31 pm

odroid wrote:You have to build u-boot on an x86 Linux PC.
https://wiki.odroid.com/odroid-c2/softw ... ing_u-boot

Amlogic supplied "aml_encrypt_gxb" for x86 platform only. It doesn't work on ODROID natively.


Yes I dit on x86 linux PC as well.
noisepic
 
Posts: 5
Joined: Sat May 27, 2017 6:55 pm
languages_spoken: english
ODROIDs: c2

Re: Can not compile u-boot is on Odroid Wiki

Unread postby odroid » Fri Dec 15, 2017 6:25 pm

As described in the WiKi page, "aml_encrypt_gxb" works on a PC which runs Ubuntu 16.04 64bit.
Are you running a x86-64bit Linux?
User avatar
odroid
Site Admin
 
Posts: 27730
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to Issues

Who is online

Users browsing this forum: No registered users and 2 guests