Difference between revisions of "Board Config"
From Rockchip open source Document
Line 1: | Line 1: | ||
+ | |||
Line 10: | Line 11: | ||
PMIC: | PMIC: | ||
− | PMIC setting in | + | PMIC setting usually is just important in kernel, but 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: | Boot: |
Revision as of 11:03, 10 October 2017
How to select board config
DDR:
We use opensource idbloader(See Boot_option) on some chips (rk3036, rk3288) and its 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 usually is just important in kernel, but for the board using rk818, 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
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 or rk3288-evb-rk808.dts | mostly LPDDR3 | act8846 | emmc boot |
rk3288-fennec | fennec-rk3288_defconfig | rockchip_linux_defconfig | rk3288-fennec.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 | 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 | LPDDR3 | 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 | LPDDR3 | 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 |