V3S u-boot 主线linux Ubuntu22(Jammy) 编译问题
- Tools
sudo apt install gcc-arm-linux-gnueabi
sudo apt-get remove libfdt-dev - uboot
Change
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j8
to
make ARCH=arm menuconfig
----choose to correct defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LicheePi_Zero_800x480LCD_defconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j8 Kernel
Makefile Change
from
CROSS_COMPILE ?= arm-linux-gnueabihf-
toCROSS_COMPILE ?= arm-linux-gnueabi-
sudo vim ./scripts/dtc/dtc-lexer.lex.c
Find the line 'YYLTYPE yylloc' and change it to 'extern YYLTYPE yylloc'
V3S u-boot 主线linux Ubuntu22(Jammy) 编译问题
https://upsilon20.com/archives/23/