博主头像
一个老头

软硬件攻城狮

V3S u-boot 主线linux Ubuntu22(Jammy) 编译问题

  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'

V3S u-boot 主线linux Ubuntu22(Jammy) 编译问题
https://upsilon20.com/archives/23/
本文作者 ronz
发布时间 2025-03-21
许可协议 CC BY-NC-SA 4.0
发表新评论