Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Incomplete Precompile Configuration

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46

【Linux】 Incomplete Precompile Configuration

Posted at 7/5/2022 14:39:35      View:1418 | Replies:1        Print      Only Author   [Copy Link] 1#
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 ?
Reply

Use props Report

374

Credits

7

Prestige

7

Contribution

intermediate

Rank: 3Rank: 3

Credits
374
Posted at 7/6/2022 10:11:43        Only Author  2#
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list