Omni3576 build debian

  • Actually the buildroot option failed too:
    1) still needed the vim-common to be installed for xxd
    2) still failed:

    Code: Select all

    Make firmware OK!
    ------ OK ------
    ********rkImageMaker ver 2.23********
    Error:Chip is invalid!
    ERROR: Running /workspace/device/rockchip/common/scripts/mk-updateimg.sh - do_build_updateimg failed!
    ERROR: exit code 254 from line 117:
        "$RK_PACK_TOOL_DIR/rkImageMaker" -$TAG MiniLoaderAll.bin update.raw.img update.img -os_type:androidos
    ERROR: call stack:
        mk-updateimg.sh: do_build_updateimg(117)
        mk-updateimg.sh: build_updateimg(143)
        mk-updateimg.sh: post_build_hook(232)
        mk-updateimg.sh: main(245)
    ERROR: Running /workspace/device/rockchip/common/scripts/mk-firmware.sh - build_firmware failed!
    ERROR: exit code 254 from line 69:
        "$RK_SCRIPTS_DIR/mk-updateimg.sh"
    ERROR: call stack:
        mk-firmware.sh: build_firmware(69)
        mk-firmware.sh: post_build_hook(95)
        mk-firmware.sh: main(100)
    ERROR: Running /workspace/device/rockchip/common/build-hooks/99-all.sh - build_all failed!
    ERROR: exit code 254 from line 28:
        "$RK_SCRIPTS_DIR/mk-firmware.sh"
    ERROR: call stack:
        99-all.sh: build_all(28)
        99-all.sh: build_hook(128)
        build-helper: try_func(63)
        build-helper: try_hook(96)
        build-helper: source(174)
        99-all.sh: main(139)
    ERROR: Running /workspace/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook all failed!
    ERROR: exit code 254 from line 67:
        build_hook
    ERROR: call stack:
        build-helper: try_func(67)
        build-helper: try_hook(96)
        build-helper: source(174)
        99-all.sh: main(139)
    
  • The compilation error in Debian is caused by an outdated version of live-build in your current environment, which needs to be updated. A prompt has been provided in the error log—please follow the steps outlined to resolve it.
    Your live-build doesn't support bookworm
    Please replace it:

    Code: Select all

    sudo apt-get remove live-build
    git clone https://salsa.debian.org/live-team/live-build.git --depth 1 -b debian/1%20230131
    cd live-build
    rm -rf manpages/po/
    sudo make install -j8
    For the Buildroot compilation error, insufficient error code has been pasted, making it impossible to determine the root cause.