Could you please help me in resolving the "arch/arm/lib/vectors.S:87: Error: no such instruction: `b reset' ?"
Liu Wang
liuw at supermicro.com
Thu Jan 18 01:07:37 CET 2024
Hi Fabio,
Thank you again for your help.
Run into format error after export tool chain:
...gnueabihf-gcc: cannot execute binary file: Exec format error...
Could you please share more ?
Sincerely,
Liu Wang
--------------------
/bin/sh: line 1: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
/home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file
/bin/sh: line 1: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: line 1: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
scripts/kconfig/conf --syncconfig Kconfig
./scripts/gcc-version.sh: line 25: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
./scripts/gcc-version.sh: line 26: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
./scripts/gcc-version.sh: line 28: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
CFG u-boot.cfg
/bin/sh: line 1: /home/liuw/armgnutoolchain132Rel1aarch64armnonelinuxgnueabihf/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
make[1]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
-----Original Message-----
From: Liu Wang (HW) <liuw at supermicro.com>
Sent: Wednesday, January 17, 2024 12:08 PM
To: Fabio Estevam <festevam at gmail.com>
Cc: u-boot at lists.denx.de
Subject: Re: Could you please help me in resolving the "arch/arm/lib/vectors.S:87: Error: no such instruction: `b reset' ?"
Hi Fabio,
Appreciate!
Sincerely,
Liu Wang
> On Jan 17, 2024, at 10:49 AM, Fabio Estevam <festevam at gmail.com> wrote:
>
> [CAUTION: External Mail]
>
>> On Wed, Jan 17, 2024 at 3:25 PM Liu Wang <liuw at supermicro.com> wrote:
>>
>> 2. You are right. I have not exported the tool chain.
>> Could you please share me a link to a readme in setting up the tool chain for Ubuntu cross build environment ?
>
> You can do like this:
>
> export ARCH=arm
> export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
>
> make cse_ptjob_cb3_r102_defconfig
> make
More information about the U-Boot
mailing list