You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am newbie here and I want to build a linux OS to flash TX6U-8130.
after runing make ARCH=arm tx6_defconfig to create a default .config file for the kernel, I need to build the tool-chain for i.mx6 by executing bash build-tool-chain -m tx6 -pg , but I get this:
┌──(kali㉿kali)-[~/starterkit/tool-chain]
└─$ bash build-tool-chain -m tx6 -pg 2 ⨯
Building cross compiler tool chain for arm-cortexa9-linux-gnueabi running from /usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu/bin
Removing target specific files from '/usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu'
Building binutils in /home/kali/starterkit/tool-chain/cross-binutils Sun 23 May 2021 03:37:44 AM EDT
Extracting previously compiled binutils from archive binutils-7.2.0-armv7a-soft-arm-cortexa9-linux-gnueabi.tar.bz2
Building bootstrap-gcc in /home/kali/starterkit/tool-chain/cross-gcc Sun 23 May 2021 03:37:51 AM EDT
Cleaning up build directory /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc
Checking linux source directory
See logfile: /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc/preconfigure.out:
preconfigure
'[' -z '' ']'
rc=1
echo -n 'Checking existence of '''/home/kali/starterkit/arm-linux''' '
Checking existence of '/home/kali/starterkit/arm-linux' + '[' -d /home/kali/starterkit/arm-linux ']'
echo '- OK'
OK
local config=/home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig
echo 'Configuring Linux kernel in '''/home/kali/starterkit/arm-linux''' for tx6'
Configuring Linux kernel in '/home/kali/starterkit/arm-linux' for tx6
++ basename /home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig
Hi,
I am newbie here and I want to build a linux OS to flash TX6U-8130.
after runing make ARCH=arm tx6_defconfig to create a default .config file for the kernel, I need to build the tool-chain for i.mx6 by executing bash build-tool-chain -m tx6 -pg , but I get this:
┌──(kali㉿kali)-[~/starterkit/tool-chain]
└─$ bash build-tool-chain -m tx6 -pg 2 ⨯
Building cross compiler tool chain for arm-cortexa9-linux-gnueabi running from /usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu/bin
Removing target specific files from '/usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu'
Building binutils in /home/kali/starterkit/tool-chain/cross-binutils Sun 23 May 2021 03:37:44 AM EDT
Extracting previously compiled binutils from archive binutils-7.2.0-armv7a-soft-arm-cortexa9-linux-gnueabi.tar.bz2
Building bootstrap-gcc in /home/kali/starterkit/tool-chain/cross-gcc Sun 23 May 2021 03:37:51 AM EDT
Cleaning up build directory /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc
Checking linux source directory
See logfile: /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc/preconfigure.out:
Checking existence of '/home/kali/starterkit/arm-linux' + '[' -d /home/kali/starterkit/arm-linux ']'
Configuring Linux kernel in '/home/kali/starterkit/arm-linux' for tx6
++ basename /home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig
make: Entering directory '/home/kali/starterkit/arm-linux'
make[1]: Entering directory '/home/kali/starterkit/.build-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi'
GEN ./Makefile
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c:213:10: fatal error: zconf.hash.c: No such file or directory
213 | #include "zconf.hash.c"
| ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:118: scripts/kconfig/zconf.tab.o] Error 1
make[1]: *** [/home/kali/starterkit/arm-linux/Makefile:547: tx6_defconfig] Error 2
make[1]: Leaving directory '/home/kali/starterkit/.build-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/kali/starterkit/arm-linux'
arm-cortexa9-linux-gnueabi bootstrap-gcc build aborted due to error!
I am completely lost here and I don't know what to do. Can you guys please assist me?
Thanks
The text was updated successfully, but these errors were encountered: