-
Download Link: https://mega.nz/folder/uVZW0AQA#LRBYIT-3ZgAqTz407XXicw
-
Create a new folder, such as
cm68sdk
.mkdir cm68sdk cd cm68sdk
-
Copy the downloaded files into this directory and use the
md5sum -c
command to verify the files. If the verification fails, please re-download the corrupted archive files. -
Extract the SDK using the command:
tar -xvJf Cm68_SDK_2024-09-04.tar.xz
-
Release the source code using the command:
git reset --hard
-
Extract the buildroot
dl
files and drivers.tar -xvJf cm68_buildrrot_dl_2024-09-04.tar.xz
-
For the first build, compile buildroot first by running
./build.sh
and selecting the first optioncm68-buildroot_defconfig
../build.sh
-
Upon successful compilation, image files will be generated in the
rockdev/
directory. For a full package flash, use the image with the date suffix:updatexxx.img
. -
Compile uboot separately.
./build.sh uboot
-
Generated image path:
u-boot/
-
Generated images:
uboot.img
,trust.img
, etc.
-
Compile the kernel separately.
./build.sh kernel
-
Generated image path:
rockdev/
-
Generated image:
boot.img
-
Compile buildroot separately.
./build.sh buildroot
-
Generated image path:
rockdev/
-
Generated image:
rootfs.img
-
Compile recovery separately.
./build.sh recovery
-
Compile the Debian system.
-
After downloading the SDK and compiling buildroot once, extract the Debian filesystem archive to the SDK's Debian directory.
tar -xvJf linaro-rootfs.img.tar.xz; mv linaro-rootfs.img debian/
-
Run the command
./build.sh init
and select the second optioncm68-debian_defconfig
to switch the system. -
Compile the Debian system globally.
./build.sh
-
Username: linaro Password: linaro If you are not very familiar with linux, do not use the root user to log in. Misoperation may cause damage to the system. Username: root Password: root