biuld / rockchip_rk3568_linux_mainline

Build Debian/Ubuntu system image with mainline u-boot & kernel for photonicat device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

photonicat mainline system image building scripts.

System Requirements:
Debian 12(Bookworm) / Ubuntu 22.04 (Jammy) or above

Install Dependency:
sudo apt install ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
   bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext \
   git gperf haveged help2man intltool libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
   libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
   nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \
   libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \
   wget xmlto xxd zlib1g-dev debootstrap qemu-user-static fdisk gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
   bc python3-setuptools

How to use:

1. Build u-boot & kernel:

./build-kernel.sh
./build-uboot.sh

2. Build system image:

Get a functionting image from photonicat's websize, burn it to a sd card. Replace the kernel manually.

About

Build Debian/Ubuntu system image with mainline u-boot & kernel for photonicat device.


Languages

Language:Shell 100.0%