Type: Self-Compiled Firmware
SDK Package Name: ROC-RK3566-PC_Rk356x_v1.3.2b_230407
Modification Content: none
Log: test.zip
Hi,
I want to compile an ubuntu-18.04 with buildroot for ROC-RK3566-PC
but I couldn’t find a correct steps for build.
I am following to the steps in documentations which are following line.
If follow the only first documentation, I can combine img but the custom builded img doesn’t apply my changes.
If I apply the steps of second documentation after make sync the repo with steps of first documentation,
I am getting this error “cp: cannot stat ‘kernel/.config’: No such file or directory error”.
I runned the command for custom build
- sudo apt update
- sudo apt install -y repo git python
- mkdir ~/proj/rk356x_linux_release_v1.3.0b_20221213/
- cd ~/proj/rk356x_linux_release_v1.3.0b_20221213/
- repo init --no-clone-bundle --repo-url Firefly-Linux / git-repo · GitLab -u Firefly-Linux / manifests · GitLab -b master -m rk356x_linux_release.xml
- cd ~/proj/rk356x_linux_release_v1.3.0b_20221213/
- .repo/repo/repo sync -c --no-tags
- .repo/repo/repo start firefly --all
- sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support qemu-user-static live-build bison flex fakeroot cmake unzip device-tree-compiler python-pip ncurses-dev python-pyelftools
- ./build.sh roc-rk3566-pc-ubuntu.mk
- Download: Ubuntu rootfs(64-bit),put in SDK path Unzip
- copy image file to ~/proj/rk356x_linux_release_v1.3.0b_20221213/ubuntu_rootfs
- source envsetup.sh rockchip_rk3568
- make menuconfig
-
I changed to the system hostname and banner and I saved
- make savedefconfig
- make clean all
After that, I got an error that looking like following line.
Executing post-build.sh…
Top of tree: /home/melih/proj/rk356x_linux_release_v1.3.0b_20221213/device/rockchip/common/../../..
Adding information to /etc/os-release…
cp: cannot stat ‘kernel/.config’: No such file or directory
Makefile:707: recipe for target ‘target-finalize’ failed
make[1]: *** [target-finalize] Error 1
/home/melih/proj/rk356x_linux_release_v1.3.0b_20221213/buildroot/output/rockchip_rk3566/Makefile:16: recipe for target ‘_all’ failed
make: *** [_all] Error 2
Can you explain how to compile the ubuntu 18.04 for my rk3566
I want to do dts modification and apply some changes on kernel
tchip_askquestions
test.zip (436 Bytes)