Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Automatic compilation error

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46

【Linux】 Automatic compilation error

Posted at 7/5/2022 22:00:08      View:1390 | Replies:1        Print      Only Author   [Copy Link] 1#
Last edited by Maverick_by In 7/5/2022 22:02 Editor

Hello,
I'm trying make Automatic compilation 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  2.2.4. Automatic compilation
./build.sh

Please see content of Config-file BoardConfig.mk:

source $CUR_DIR/firefly-rk3568-buildroot.mk

# 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
# Kernel dts
export RK_KERNEL_DTS=firefly-rk3568-aioj # dts file
# 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
# Kernel dts
export RK_KERNEL_DTS=rk3568-firefly-aioj-cam_2ms2mf
# PRODUCT MODEL
export RK_PRODUCT_MODEL=AIO_3568J



After ./build.sh i got error:

============Start building uboot============
TARGET_UBOOT_CONFIG=firefly_rk3568
=========================================
grep: .config: No such file or directory

configs/android6.0-rk3399_defconfig
....
ERROR: No configs/firefly_rk3568_defconfig
ERROR: Running build_uboot failed!
ERROR: exit code 1 from line 557:
    ./make.sh $RK_UBOOT_DEFCONFIG $UBOOT_COMPILE_COMMANDS




There is no /configs directory in my /rk356x_linux_release_20211019 directory

Can you help me with that  ?
Reply

Use props Report

374

Credits

7

Prestige

7

Contribution

intermediate

Rank: 3Rank: 3

Credits
374
Posted at 7/6/2022 10:18:30        Only Author  2#
please dont edit mk files
as i said in
https://bbs.t-firefly.com/forum. ... &extra=page%3D1
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