6
Customize the embedded system based on
Your Idea
3 Compile Source
Step 1,
unzip the source and set the compile board
$ tar xvf sdk-1.1.tar.gz
$ cd sdk-1.1
Step 2,
compile uboot
$ ./build.sh uboot
Step 3,
compile kernel
$ /build.sh kernel
Debian10 kernel.img and resource.img are included in boot.img
Step 4,
compile recovery
$ ./build.sh recovery
Step 5,
compile Debian
$ sudo apt-get install binfmt-support qemu-user-static live-build
$ sudo dpkg -i ubuntu-build-service/packages/*
$ sudo apt-get install -f
$ RELEASE=buster TARGET=desktop ARCH=arm64 ./mk-base-debian.sh
$ VERSION=debug ARCH=arm64 ./mk-rootfs-buster.sh
$ ./mk-image.sh
After compile, you will get the
linaro-rootfs.img
image in the debian directory.
Step 6,
Generated image file
$ ./mkfirmware.sh
$ ./build.sh updateimg
(packaged in the update.img)
$ cd rockdev
$ ls
The update.img are generated in current directory.
4 Images Operation
4.1 Pack Image
Step 1,
copy all the files in debian directory
rockdev
to the windows
RKDevTool/rockdev/Image
Step 2,
enter
RKDevTool/rockdev/
, double-click to run
mkupdate.bat.
Step 3,
the
update.img
will be generated in
rockdev
directory.
Summary of Contents for EM3568
Page 1: ...EM3568 Debian10 User Manual V1 0 www boardcon com Boardcon Embedded Design ...
Page 8: ...7 Customize the embedded system based on Your Idea ...
Page 9: ...8 Customize the embedded system based on Your Idea ...
Page 27: ...26 Customize the embedded system based on Your Idea ...
Page 28: ...27 Customize the embedded system based on Your Idea 7 9 Bluetooth Click the red box below ...
Page 29: ...28 Customize the embedded system based on Your Idea Click Devices Click Search ...
Page 36: ...35 Customize the embedded system based on Your Idea ...