2025年3月

  1. Tools
    sudo apt install gcc-arm-linux-gnueabi
    sudo apt-get remove libfdt-dev
  2. 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
  3. Kernel
    Makefile Change
    from
    CROSS_COMPILE ?= arm-linux-gnueabihf-
    to

    CROSS_COMPILE ?= arm-linux-gnueabi-

    sudo vim ./scripts/dtc/dtc-lexer.lex.c
    Find the line 'YYLTYPE yylloc' and change it to 'extern YYLTYPE yylloc'