Difference between revisions of "Rockchip Kernel"
Line 1: | Line 1: | ||
− | + | In your linux SDK root directory. enter to kernel directory. | |
+ | <pre>cd kernel | ||
+ | </pre> | ||
− | + | Config your kernel. | |
− | |||
− | + | For ARM v7: RK3288 | |
+ | <pre>make ARCH=arm32 rockchip_linux_defconfig | ||
+ | </pre> | ||
− | = | + | For ARM V8: RK3399, RK3328 |
+ | <pre>make ARCH=arm64 rockchip_linux_defconfig | ||
+ | </pre> | ||
− | + | For RK3399 sapphire-excavator board, VS-RK3399 board, Rock960 board. Use below command to build the kernel: | |
+ | <pre>./make.sh evb-rk3399 | ||
+ | </pre> | ||
− | + | For firefly-rk3399 board. Use below command to build the kernel: | |
+ | <pre>./make.sh firefly-rk3399 | ||
+ | </pre> | ||
− | | + | For firefly-rk3288 board. Use below command to build the kernel: |
+ | <pre>./make.sh firefly-rk3288 | ||
+ | </pre> | ||
− | + | For rk3288-evb-act8846 board. Use below command to build the kernel: | |
+ | <pre>./make.sh evb-rk3288 | ||
+ | </pre> | ||
− | + | For rk3288-evb-rk808 board. Use below command to build the kernel: | |
+ | <pre>./make.sh fennec-rk3288 | ||
+ | </pre> | ||
− | For | + | For rk3288 tinker board. Use below command to build the kernel: |
− | <pre>make | + | <pre>./make.sh tinker-rk3288 |
− | |||
</pre> | </pre> | ||
− | For | + | For phytec-rk3288 board. Use below command to build the kernel: |
− | <pre>make | + | <pre>./make.sh phycore-rk3288 |
− | + | </pre> | |
− | + | For rk3288 miqi board. Use below command to build the kernel: | |
− | + | <pre>./make.sh miqi-rk3288 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | For | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | 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 | |
− | + | See [[Rockchip_Kernel|Rockchip kernel]] for more detail. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| |
Revision as of 07:57, 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.sh evb-rk3399
For firefly-rk3399 board. Use below command to build the kernel:
./make.sh firefly-rk3399
For firefly-rk3288 board. Use below command to build the kernel:
./make.sh firefly-rk3288
For rk3288-evb-act8846 board. Use below command to build the kernel:
./make.sh evb-rk3288
For rk3288-evb-rk808 board. Use below command to build the kernel:
./make.sh fennec-rk3288
For rk3288 tinker board. Use below command to build the kernel:
./make.sh tinker-rk3288
For phytec-rk3288 board. Use below command to build the kernel:
./make.sh phycore-rk3288
For rk3288 miqi board. Use below command to build the kernel:
./make.sh miqi-rk3288
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
See Rockchip kernel for more detail.