Difference between revisions of "Debian9"
From ESS-WIKI
Line 16: | Line 16: | ||
== <span style="color:#0070c0">Install Some tools For Rockchip Linux v2.07 version</span> == | == <span style="color:#0070c0">Install Some tools For Rockchip Linux v2.07 version</span> == | ||
+ | |||
<syntaxhighlight lang="bash">$sudo apt-get install ibssl-dev | <syntaxhighlight lang="bash">$sudo apt-get install ibssl-dev | ||
Line 22: | Line 23: | ||
$sudo apt-get install genext2fs | $sudo apt-get install genext2fs | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== <span style="color:#0070c0">Build U-boot</span> == | == <span style="color:#0070c0">Build U-boot</span> == | ||
− | + | <syntaxhighlight lang="bash">$cd u-boot/ | |
− | |||
− | |||
$./make.sh evb-rk3399 | $./make.sh evb-rk3399 | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 10:25, 11 October 2018
Contents
Linux BSP Version
Debian9
Get Docker Image
$docker pull advrisc/u16.04-rklbv1
Run Docker example
$docker run -it --name rk_linux --privileged -v /home/adv/rk3399_v20:/home/adv/BSP:rw advrisc/u16.04-rklbv1:latest /bin/bash
Install Some tools For Rockchip Linux v2.07 version
$sudo apt-get install ibssl-dev
$sudo apt-get install texinfo
$sudo apt-get install liblz4-tool
$sudo apt-get install genext2fs
Build U-boot
$cd u-boot/
$./make.sh evb-rk3399
Build Kernel
$cd kernel
$make ARCH=arm64 rockchip_linux_defconfig
$make ARCH=arm64 rk3399-sapphire-excavator-linux.img -j12
Build Recovery
$cd ..
$./mk-recovery.sh
Build Rootfs
Building base debian system by ubuntu-build-service from linaro
$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
Building rk-debian rootfs
$ARCH=armhf ./mk-rootfs.sh
$VERSION=debug ARCH=armhf ./mk-rootfs-stretch.sh
Creating the ext4 image(
$./mk-image.sh