Difference between revisions of "Board Config"

From Rockchip open source Document
Jump to: navigation, search
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
  
 +
= Board config =
  
  
= How to select board config =
 
  
DDR:
 
  
We use opensource idbloader(See [[Boot_option|Boot_option]])  on some chips (rk3036, rk3288) and its [https://github.com/rockchip-linux/u-boot/blob/release/doc/device-tree-bindings/clock/rockchip,rk3288-dmc.txt dmc driver] can't support ddr-type autodetct, so the wrong ddr dts settings will make the board failed to enter u-boot.
 
 
PMIC:
 
 
PMIC setting in u-boot don't have much matter. Just for the board using rk818, [https://github.com/rockchip-linux/u-boot/blob/release/arch/arm/mach-rockchip/rk3288-board-spl.c#L172 USB input current] should be configured during boot stage.
 
 
Boot:
 
 
Please note some board have disable emmc in u-boot though the hardware actually have emmc. (firefly-rk3288)
 
 
 
 
 
= Board config =
 
  
 
== defconfig and dts ==
 
== defconfig and dts ==
Line 24: Line 10:
 
<span style="font-size: 13px; line-height: 1.6;">Every Board has its device tree file and config file required by the kernel and uboot. Therefore, you will need to choose the correct dts and config to build the source.Below list various Boards and the matching file.</span>
 
<span style="font-size: 13px; line-height: 1.6;">Every Board has its device tree file and config file required by the kernel and uboot. Therefore, you will need to choose the correct dts and config to build the source.Below list various Boards and the matching file.</span>
  
{| border="1" class="table_style" style="width: 920px;"
+
{| border="1" class="table_style" style="width: 1020px;"
 
|-
 
|-
! rowspan="2" style="width: 153px;" | board
+
! rowspan="2" style="width: 253px;" | board
 
! rowspan="2" style="width: 172px;" | uboot
 
! rowspan="2" style="width: 172px;" | uboot
 
! rowspan="2" style="width: 167px;" | kernel config
 
! rowspan="2" style="width: 167px;" | kernel config
Line 39: Line 25:
 
| style="width: 172px;" | evb-rk3288_defconfig
 
| style="width: 172px;" | evb-rk3288_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
| style="width: 287px;" | rk3288-evb-act8846.dts or rk3288-evb-rk808.dts
+
| style="width: 287px;" | rk3288-evb-act8846.dts&nbsp;
| style="width: 287px; text-align: center;" | mostly LPDDR3
+
| style="width: 287px; text-align: center;" | &nbsp;LPDDR3
| style="width: 287px; text-align: center;" | act8846
+
| style="width: 287px; text-align: center;" | &nbsp;act8846
 
| style="width: 287px; text-align: center;" | emmc boot
 
| style="width: 287px; text-align: center;" | emmc boot
 
|-
 
|-
| style="width: 153px;" | rk3288-fennec
+
| style="width: 153px;" | rk3288-evb-rk808
| style="width: 172px;" | fennec-rk3288_defconfig
+
| style="width: 172px;" | <del>fennec-rk3288_defconfig</del>
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
| style="width: 287px;" | rk3288-fennec.dts
+
| style="width: 287px;" | rk3288-evb-rk808-linux.dts
 
| style="width: 287px; text-align: center;" | LPDDR3
 
| style="width: 287px; text-align: center;" | LPDDR3
 
| style="width: 287px; text-align: center;" | rk808
 
| style="width: 287px; text-align: center;" | rk808
Line 64: Line 50:
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 287px;" | rk3288-firefly.dts
 
| style="width: 287px;" | rk3288-firefly.dts
 +
| style="width: 287px; text-align: center;" | DDR3
 +
| style="width: 287px; text-align: center;" | act8846
 +
| style="width: 287px; text-align: center;" | sd-card boot
 +
|-
 +
| style="width: 153px;" | rk3288-firefly-reload
 +
| style="width: 172px;" | <del>f<var>irefly-rk3288_defconfig</var></del>
 +
| style="width: 167px;" | rockchip_linux_defconfig
 +
| style="width: 287px;" | rk3288-firefly-reload-linux.dts
 
| style="width: 287px; text-align: center;" | DDR3
 
| style="width: 287px; text-align: center;" | DDR3
 
| style="width: 287px; text-align: center;" | rk808
 
| style="width: 287px; text-align: center;" | rk808
Line 80: Line 74:
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 287px;" | rk3328-evb.dts
 
| style="width: 287px;" | rk3328-evb.dts
| style="width: 287px; text-align: center;" | LPDDR3
+
| style="width: 287px; text-align: center;" | DDR3
 
| style="width: 287px; text-align: center;" | rk805
 
| style="width: 287px; text-align: center;" | rk805
 
| style="width: 287px; text-align: center;" | emmc boot
 
| style="width: 287px; text-align: center;" | emmc boot
Line 104: Line 98:
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 167px;" | rockchip_linux_defconfig
 
| style="width: 287px;" | rk3036-kylin.dts
 
| style="width: 287px;" | rk3036-kylin.dts
| style="width: 287px; text-align: center;" | LPDDR3
+
| style="width: 287px; text-align: center;" | DDR3
 
| style="width: 287px; text-align: center;" | rk808
 
| style="width: 287px; text-align: center;" | rk808
 
| style="width: 287px; text-align: center;" | emmc boot
 
| style="width: 287px; text-align: center;" | emmc boot

Latest revision as of 03:14, 4 September 2019

Board config

defconfig and dts

Every Board has its device tree file and config file required by the kernel and uboot. Therefore, you will need to choose the correct dts and config to build the source.Below list various Boards and the matching file.

board uboot kernel config kernel dts Hardware
DDR PMIC Boot
rk3288-evb evb-rk3288_defconfig rockchip_linux_defconfig rk3288-evb-act8846.dts   LPDDR3  act8846 emmc boot
rk3288-evb-rk808 fennec-rk3288_defconfig rockchip_linux_defconfig rk3288-evb-rk808-linux.dts LPDDR3 rk808 emmc boot
rk3288-miniarm tinker-rk3288_defconfig rockchip_linux_defconfig rk3288-miniarm.dts LPDDR3 rk808 sd-card boot
rk3288-firefly firefly-rk3288_defconfig rockchip_linux_defconfig rk3288-firefly.dts DDR3 act8846 sd-card boot
rk3288-firefly-reload firefly-rk3288_defconfig rockchip_linux_defconfig rk3288-firefly-reload-linux.dts DDR3 rk808 sd-card boot
rk3288-phytec phtec-rk3288_defconfig rockchip_linux_defconfig rk3288-phytec-rdk.dts DDR3 rk818 emmc boot
rk3328-evb evb-rk3328_defconfig rockchip_linux_defconfig rk3328-evb.dts DDR3 rk805 emmc boot
rk3399-excavator evb-rk3399_defconfig rockchip_linux_defconfig rk3399-sapphire-excavator-linux.dts LPDDR4 rk808 emmc boot
rk3399-firefly firefly-rk3399_defconfig rockchip_linux_defconfig rk3399-firefly-linux.dts LPDDR4 rk808 emmc boot
rk3036-kylin kylin-rk3036_defconfig rockchip_linux_defconfig rk3036-kylin.dts DDR3 rk808 emmc boot

 

Config Per Chip

chip Kernel eMMC index Kernel SD index Uboot eMMC index Uboot SD index Baud speed
rk3399 1 0 0 1 1500000
rk3328 2 0 0 1 1500000
rk3288 2 0 0 1 115200
rk3036 2 0 0 - 115200