RK3328

Build All


參考資訊:
1. linux_compile.html

repo

$ cd
$ git clone https://github.com/FireflyTeam/repo.git
$ ./repo/repo init --repo-url https://github.com/FireflyTeam/repo.git -u https://github.com/FireflyTeam/manifests.git -b linux-sdk -m rk3328/rk3328_linux_release.xml
$ ./repo/repo sync -c

roc-rk3328-cc.mk

$ export RK_ARCH=arm64
$ export RK_UBOOT_DEFCONFIG=firefly-rk3328
$ export RK_KERNEL_DEFCONFIG=firefly_linux_defconfig
$ export RK_KERNEL_DTS=rk3328-roc-cc
$ export RK_PARAMETER=parameter-ubuntu.txt
$ export RK_CFG_BUILDROOT=rockchip_rk3288
$ export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
$ ./build.sh roc-rk3328-cc.mk

Build uboot

$ ./build.sh uboot

Build kernel

$ ./build.sh kernel

Build rootfs

$ ./build.sh rootfs

P.S. 假如需要修改配置時,進入buildroot/output/rockchip_rk3288做menuconfig以及make即可。


返回上一頁