Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Debian9 for rk"

From ESS-WIKI
Jump to: navigation, search
Line 61: Line 61:
 
$make ARCH=arm64 rk3399-ds100l.img -j8
 
$make ARCH=arm64 rk3399-ds100l.img -j8
 
</syntaxhighlight>
 
</syntaxhighlight>
 
 
== <span style="color:#0070c0">How to do about update DS100 and DS100L Platform?</span> ==
 
== <span style="color:#0070c0">How to do about update DS100 and DS100L Platform?</span> ==
  
Line 71: Line 70:
  
 
*[[IoTGateway/BSP/Linux/Update_SOP2_Image_DS100_and_DS100Lite|Update&nbsp;Image DS100 and DS100Lite]]
 
*[[IoTGateway/BSP/Linux/Update_SOP2_Image_DS100_and_DS100Lite|Update&nbsp;Image DS100 and DS100Lite]]
 +
 +
 +
== <span style="color:#0070c0">Download Debian Rootfs Images</span> ==
 +
  
 
== <span style="color:#0070c0">Modules</span> ==
 
== <span style="color:#0070c0">Modules</span> ==

Revision as of 10:09, 26 April 2019

Linux BSP Version

Debian9

Linux BSP Document

Rockchip Linux Document

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 libssl-dev
$sudo apt-get install texinfo
$sudo apt-get install liblz4-tool 
$sudo apt-get install genext2fs
$sudo apt-get install time

Getting Debian Source Code

Step1 : To pull down the Linux source tree to your working directory from the repositories as specified in the default manifest

$ mkdir rk3399
$ mkdir bin
$ cd rk3399/
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ../bin/repo
$ chmod a+x ../bin/repo
$ ../bin/repo init -u https://github.com/ADVANTECH-Rockchip/linux-manifest.git -b rk3399_linux_v2.0
$ ../bin/repo sync

Build U-boot

$cd rk3399/u-boot/
$./make.sh evb-rk3399

Build Kernel

Build DS-100 Kernel

$cd rk3399/kernel/
$make ARCH=arm64 rockchip_ds100_defconfig
$make ARCH=arm64 rk3399-ds100.img -j8

Build DS-100Lite Kernel

$cd rk3399/kernel/
$make ARCH=arm64 rockchip_ds100l_defconfig
$make ARCH=arm64 rk3399-ds100l.img -j8

How to do about update DS100 and DS100L Platform?

If DS100 in Linux(Debian9), you want to upgrade to Linux(Debian9)

If DS100 in Android(7.1.2), you want to upgrade to Linux(Debian9)


Download Debian Rootfs Images

Modules

EWM-W157H01E

EWM-W163M201E

EWM-W188