[ 本帖最后由 huad_ 于 2020-7-3 10:07 编辑 ]\n\n
平台: AIO-3399J
软件: ubuntu
参考网址:http://wiki.t-firefly.com/zh_CN/AIO-3399J/linux_compile_gpt.html
-
下载了ubuntu rootfs :ubuntu_18.04_arm64_ext4_v2.02-17-g60db67e_20200427-2100_DESKTOP.7
解压之后,重命名到了 firefly-sdk/ubunturootfs/ubuntu_18.04_DESKTOP.img 目录 -
cat device/rockchip/rk3399/aio-3399j-ubuntu.mk
#!/bin/bash
CMD=realpath $BASH_SOURCE
CUR_DIR=dirname $CMD
source $CUR_DIR/firefly-rk3399-ubuntu.mk
# uboot defconfig
export RK_UBOOT_DEFCONFIG=firefly-rk3399
# kernel defconfig
export LINUX_KERNEL_DEFCONFI=firefly_linux_defconfig
# Kernel dts
export RK_KERNEL_DTS=rk3399-firefly-aio
# parameter for GPT table
export RK_PARAMETER=parameter-ubuntu.txt
# packagefile for make update image
export RK_PACKAGE_FILE=rk3399-ubuntu-package-file
# rootfs image path
export RK_ROOTFS_IMG=ubunturootfs/ubuntu_18.04_DESKTOP.img -
使用 ./build.sh 编译,会提示====Build ramboot ok!====
warning: /home/share/rk3399/firefly-sdk/ubunturootfs/ubuntu_18.04_DESKTOP.img not found!
please set correct RK_ROOTFS_IMG in device/rockchip/.BoardConfig.mk
create parameter…done.
create misc.img…done.
create uboot.img…done.
create idbloader.img…done.
create trust.img…done.
create loader…done.
create boot.img…done.
原本ubunturootfs/ubuntu_18.04_DESKTOP.img 文件在执行./build.sh 之后就被删掉,然后提示这个文件不存在。
请帮忙查看一下,谢谢!