Re: build barebox for imx8mqevk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, Jan 11, 2019 at 07:53:15AM +0000, Yazdani, Reyhaneh wrote:
> Hello everyone,
> 
> I am going to build Barebox for my imx8mq evaluation kit and in this process, I
> have faced a problem.
> 
> At first, I used a 32bit-armtoolchain(arm-poky-linux-gnueabi-gcc), which I have
> used for building barebox for imx6..
> $ make imx_v8_defconfig
> $ make
> 
> Then I got this error:
> arm-poky-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’

This cannot work. You need a 64bit toolchain.

> 
> 
> Then, I used a 64bit-arm-toolchain(aarch64-poky-linux-gcc).
> When I try again:
> 
> $ make imx_v8_defconfig
> Makefile:405: /development/gitarchives/barebox/arch/arm64/Makefile: No such file
> or directory
> make: *** No rule to make target
> '/development/gitarchives/barebox/arch/arm64/Makefile'.  Stop.
> 
> I would appreciate if you help me, how to compile Barebox for imx8.

You have to pass ARCH=arm as environment variable. It seems that you
pass ARCH=arm64.

In barebox both ARM 32bit and 64bit are handled under arch/arm,
nevertheless you have to pass a suitable toolchain.

Regards,
  Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux