Difference between revisions of "Rockchip Kernel"

From Rockchip open source Document
Jump to: navigation, search
Line 15: Line 15:
  
 
For RK3399 sapphire-excavator board, VS-RK3399 board, Rock960 board. Use below command to build the kernel: 
 
For RK3399 sapphire-excavator board, VS-RK3399 board, Rock960 board. Use below command to build the kernel: 
<pre>./make.sh evb-rk3399
+
<pre>make ARCH=arm64 rk3399-sapphire-excavator-linux.img -j8
 
</pre>
 
</pre>
  
 
For firefly-rk3399&nbsp;board. Use below command to build the kernel:&nbsp;
 
For firefly-rk3399&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh firefly-rk3399
+
<pre>make ARCH=arm64 rk3399-firefly-linux.img -j8
 
</pre>
 
</pre>
  
 
For firefly-rk3288 board. Use below command to build the kernel:&nbsp;
 
For firefly-rk3288 board. Use below command to build the kernel:&nbsp;
<pre>./make.sh firefly-rk3288
+
<pre>make ARCH=arm rk3288-firefly.img -j8
 
</pre>
 
</pre>
  
 
For rk3288-evb-act8846&nbsp;board. Use below command to build the kernel:&nbsp;
 
For rk3288-evb-act8846&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh evb-rk3288
+
<pre>make ARCH=arm rk3288-evb-act8846.img -j8
 
</pre>
 
</pre>
  
 
For rk3288-evb-rk808&nbsp;board. Use below command to build the kernel:&nbsp;
 
For rk3288-evb-rk808&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh fennec-rk3288
+
<pre>make ARCH=arm rk3288-evb-rk808-linux.img -j8
 
</pre>
 
</pre>
  
 
For rk3288 tinker&nbsp;board. Use below command to build the kernel:&nbsp;
 
For rk3288 tinker&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh tinker-rk3288
+
<pre>make ARCH=arm rk3288-miniarm.img -j8
 
</pre>
 
</pre>
  
 
For phytec-rk3288&nbsp;board. Use below command to build the kernel:&nbsp;
 
For phytec-rk3288&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh phycore-rk3288
+
<pre>make ARCH=arm rk3288-phycore-rdk.img -j8
 
</pre>
 
</pre>
  
 
For rk3288 miqi&nbsp;board. Use below command to build the kernel:&nbsp;
 
For rk3288 miqi&nbsp;board. Use below command to build the kernel:&nbsp;
<pre>./make.sh miqi-rk3288
+
<pre>make ARCH=arm rk3288-miqi.img -j8
 
</pre>
 
</pre>
  

Revision as of 10:56, 18 April 2018

In your linux SDK root directory. enter to kernel directory. 

cd kernel

Config your kernel.

For ARM v7: RK3288

make ARCH=arm32 rockchip_linux_defconfig

For ARM V8: RK3399, RK3328

make ARCH=arm64 rockchip_linux_defconfig

For RK3399 sapphire-excavator board, VS-RK3399 board, Rock960 board. Use below command to build the kernel: 

make ARCH=arm64 rk3399-sapphire-excavator-linux.img -j8

For firefly-rk3399 board. Use below command to build the kernel: 

make ARCH=arm64 rk3399-firefly-linux.img -j8

For firefly-rk3288 board. Use below command to build the kernel: 

make ARCH=arm rk3288-firefly.img -j8

For rk3288-evb-act8846 board. Use below command to build the kernel: 

make ARCH=arm rk3288-evb-act8846.img -j8

For rk3288-evb-rk808 board. Use below command to build the kernel: 

make ARCH=arm rk3288-evb-rk808-linux.img -j8

For rk3288 tinker board. Use below command to build the kernel: 

make ARCH=arm rk3288-miniarm.img -j8

For phytec-rk3288 board. Use below command to build the kernel: 

make ARCH=arm rk3288-phycore-rdk.img -j8

For rk3288 miqi board. Use below command to build the kernel: 

make ARCH=arm rk3288-miqi.img -j8

It will generate 2 binary image: kernel.img, resource.img. 

kernel image: Please flash this binary to kernel partition

resource image: it contain kernel dtb. Please flash this binary to resource partition