Firefly Open Source Community

Title: Incomplete Precompile Configuration [Print This Page]

Author: Maverick_by    Time: 7/5/2022 14:39
Title: Incomplete Precompile Configuration
Hello,
im trying make  Precompile Configuration for Linux for AIO-3568J mainboard with core board Core-3568
I use this link
https://wiki.t-firefly.com/en/Core-3568J/ubuntu_compile.html

I make  Precompile Configuration - 2.2.1. Precompile Configuration
./build.sh aio-3568j-ubuntu.mk

After that i checked content of device/rockchip/.BoardConfig.mk
and saw not matched content was mentioned on your documentation:

# Kernel dts
export RK_KERNEL_DTS=rk3568-firefly-aioj-cam_2ms2mf
# PRODUCT MODEL
export RK_PRODUCT_MODEL=AIO_3568J


May be i should add these additional lines:

# Target arch
export RK_ARCH=arm64 # 64-bit ARM
# Uboot defconfig
export RK_UBOOT_DEFCONFIG=firefly_rk3568 # u-boot configuration
# Kernel defconfig
export RK_KERNEL_DEFCONFIG=firefly_linux_defconfig # kernel configuration
# parameter for GPT table
export RK_PARAMETER=parameter-ubuntu-fit.txt # partition table
# rootfs image path
export RK_ROOTFS_IMG=ubuntu_rootfs/rk356x_ubuntu_rootfs.img # filesystem path

can you help me with that and why official document is wrong ?
Author: Liuth    Time: 7/6/2022 10:11
Update your SDK, and don't edit anything.
If you run ./build.sh aio-3568j-ubuntu.mk
And after that, you see the .BoardConfig.mk is a link to aio-3568j-ubuntu.mk
Then that's all right, you can start building

The content of aio-3568j-ubuntu.mk only has dts and model info
It is beacuse aio-3568j-ubuntu.mk included other mk files, these files together complete all configurations
So no need to add additional lines




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1