|
|
(7 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | == <span style="color:#0070c0">Linux BSP Version</span> ==
| |
| | | |
− | Debian9 | + | [https://pan.baidu.com/s/1A-mCjZlpLuDXEBWsZW8ZOA Baidu link for Debian9] Password:dn35 |
| | | |
− | == <span style="color:#0070c0">Get Docker Image</span> ==
| + | Dropbox link for Debian9 |
| | | |
| + | RISC Series : |
| | | |
− | <syntaxhighlight lang="bash">$docker pull advrisc/u16.04-rklbv1
| + | {| border="1" cellpadding="0" cellspacing="0" |
− | </syntaxhighlight>
| + | |- |
− | == <span style="color:#0070c0">Run Docker example</span> == | + | | |
| + | '''Image Version''' |
| | | |
| + | | |
| + | '''Product''' |
| | | |
− | <syntaxhighlight lang="bash">$docker run -it --name rk_linux --privileged -v /home/adv/rk3399_v20:/home/adv/BSP:rw advrisc/u16.04-rklbv1:latest /bin/bash
| + | | |
− | </syntaxhighlight>
| + | '''Date''' |
| | | |
| + | | |
| + | '''Release''' |
| | | |
− | == <span style="color:#0070c0">Install Some tools For Rockchip Linux v2.07 version</span> ==
| + | | |
| + | '''Release Note''' |
| | | |
− | <syntaxhighlight lang="bash">$sudo apt-get install ibssl-dev
| + | | |
− | $sudo apt-get install texinfo
| + | '''Binary OS Image Name''' |
− | $sudo apt-get install liblz4-tool
| |
− | $sudo apt-get install genext2fs
| |
− | </syntaxhighlight>
| |
| | | |
− | == <span style="color:#0070c0">Build U-boot</span> ==
| + | |- |
| + | | |
| + | DIV10034 |
| | | |
| + | | |
| + | ROM-5780 |
| | | |
− | <syntaxhighlight lang="bash">$./make.sh evb-rk3399
| + | | |
− | </syntaxhighlight>or<syntaxhighlight lang="bash">$cd u-boot/
| + | 2021-01-22 |
− | $./make.sh evb-rk3399
| |
− | </syntaxhighlight>
| |
− | == <span style="color:#0070c0">Build Kernel</span> ==
| |
| | | |
| + | | |
| + | MP |
| | | |
− | <syntaxhighlight lang="bash">$cd kernel
| + | | |
− | $make ARCH=arm64 rockchip_linux_defconfig
| + | Release Note |
− | $make ARCH=arm64 rk3399-sapphire-excavator-linux.img -j12
| |
− | </syntaxhighlight>
| |
− | == <span style="color:#0070c0">Build Recovery</span> ==
| |
| | | |
| + | | |
| + | ROM5780A3AIM20DIV10034_2021-01-22.img.tgz |
| | | |
− | <syntaxhighlight lang="bash">$cd ..
| + | |} |
− | $./mk-recovery.sh
| |
− | </syntaxhighlight> In /output/rockchip_rk3399_recovery/images create recovery.img,
| |
− | | |
− | | |
− | == <span style="color:#0070c0">Build Rootfs</span> ==
| |
− | | |
− | === <span style="color:#0070c0">Building base debian system by ubuntu-build-service from linaro</span> ===
| |
− | | |
− | | |
− | <syntaxhighlight lang="bash">$cd rootfs/
| |
− | $sudo apt-get install binfmt-support qemu-user-static live-build
| |
− | $sudo dpkg -i ubuntu-build-service/packages/*
| |
− | $sudo apt-get install -f
| |
− | $ARCH=armhf ./mk-base-debian.sh
| |
− | </syntaxhighlight> In rootfs creat linaro-stretch-alip-xxxxx-1.tar.gz
| |
− | === <span style="color:#0070c0">Building rk-debian rootfs</span> ===
| |
− | | |
− | | |
− | <syntaxhighlight lang="bash">$ARCH=armhf ./mk-rootfs.sh
| |
− | </syntaxhighlight> or<syntaxhighlight lang="bash">$VERSION=debug ARCH=armhf ./mk-rootfs-stretch.sh
| |
− | </syntaxhighlight>
| |
− | | |
− | | |
− | === <span style="color:#0070c0">Creating the ext4 image(</span> ===
| |
− | | |
− | | |
− | <syntaxhighlight lang="bash">$./mk-image.sh
| |
− | </syntaxhighlight> check All Debian Image in rockimg folder
| |