Closed CodeOn-ArK closed 2 years ago
Hi @CodeOn-ArK sorry, we have not shipped "uImage" by default for many years now.. can you replicate this on mainline? Sorry it's something i never test..
Well Master gives this 😆
❯ arm-make bb.org_defconfig uImage dtbs modules LOADADDR=0x80008000 -j8
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/bb.org_defconfig"!
***
make[2]: *** [scripts/kconfig/Makefile:94: bb.org_defconfig] Error 1
make[1]: *** [Makefile:616: bb.org_defconfig] Error 2
make: *** [Makefile:350: __build_one_by_one] Error 2
arm-make is aliased to
alias arm-make='make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8'
on master use "omap2plus_defconfig"
This is the error now with master and omap2plus_defconfig
HOSTCC scripts/sorttable
In file included from /home/ark/linux_workspace/embedded_linux_workspace/ldd/downloads/gcc-linaro-12.0.0-2021.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/12.0.0/plugin/include/gcc-plugin.h:28,
from scripts/gcc-plugins/gcc-common.h:7,
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/ark/linux_workspace/embedded_linux_workspace/ldd/downloads/gcc-linaro-12.0.0-2021.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/12.0.0/plugin/include/system.h:702:10: fatal error: gmp.h: No such file or directory
702 | #include <gmp.h>
| ^~~~~~~
/home/ark/linux_workspace/embedded_linux_workspace/ldd/downloads/gcc-linaro-12.0.0-2021.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/12.0.0/plugin/include/system.h:702:10: fatal error: gmp.h: No such file or directory 702 | #include
| ^ ~~
https://packages.debian.org/bullseye/libgmp-dev
sudo apt update ; sudo apt install libgmp-dev
It compiles well, with even lesser number of warnings
Cool, so no issues?? Closing?
Is unable to boot the image an issue of the tree, or I have to try harder?
mainline should boot fine..
please post your full serial log.. (use j1)...
Regards,
Seems I can boot it, the LEDs are blinking but can't get any logs on serial
setenv bootargs 'console=/dev/ttyO0,115200 root=/dev/mmcblk0p1 rw rootwait'
with this I boot. The LEDs lit up after 2-3 seconds
Linux beaglebone 5.15.0-rc4-00015-g60a9483534ed #5 SMP armv7l GNU/Linux
yay! boots well with console=ttyO0
Thanks a lot!
Hi, I have downloaded the linux-5.10 branch, while using "bb.org_defconfig" I am receiving the same error compiling linux kernel.
I am using
I installed libgmp-dev as you said, but it did not work. my log is:
In file included from scripts/gcc-plugins/gcc-common.h:139, from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3: /home/movhdi/embedlinuxWS/Downloads/gcc-linaro-13.0.0-2022.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/13.0.0/plugin/include/builtins.h:23:10: fatal error: mpc.h: No such file or directory 23 | #include
| ^ ~~ compilation terminated. make[2]: *** [scripts/gcc-plugins/Makefile:47: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
@movhdi did you read your build error?
linux-gnueabihf/13.0.0/plugin/include/builtins.h:23:10: fatal error: mpc.h: No such file or directory
23 | #include <mpc.h>
| ^~~~~~~
compilation terminated.
mpc.h not gmp.h....
That's another library.. https://packages.debian.org/bullseye/libmpc-dev
sudo apt update ; sudo apt install libmpc-dev
Thank you, that is right. I installed this lib but the problem persisted, I also changed the toolchain from version 13 to 7.5 of linaro, and oit compiled successfully.
Hello This is the error I get when compiling the Kernel command used
arm-make uImage dtbs modules LOADADDR=0x80008000 -j8
Using branch v5.4 error :I get this error several times like