rk3188 uboot support
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest2 of 16 patches 0 repliesNew
2 of 16 patches are in this archive. The cover letter announces 16.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/16 | rockchip: mkimage: Allow encoding of loader code in spl images | +0 | 0 replies | |
| 4/16 | rockchip: mkimage: Add support rk3188 serial | +0 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kever Yang |
|---|---|
| Series | T-b |
| 3/16 | R-b T-b |
| 4/16 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v3 00/16] rk3188 uboot support
Hi Heiko,
For this patch series, I have test and works on my NAND based rodxa board.
For the sd-card, you will need one patch to fix the problem which I have send
to you offline.
Thanks,
- Kever
Quoted 130 lines · Heiko Stuebner
Hi,
this is meant as a status update and possible discussion for the core parts if needed.
After talking with Simon and Tom the order is now also correct with tpl -> spl -> uboot.
Status right now is:
- the full uboot still works
- the tpl/spl does start and is able to configure the ddr into a working state
- The jump spl -> bootrom -> uboot doesn't work thoughOn the other hand, Kever was able to make this work, booting from nand when building the image with a very ancient tool.
All newer tools (including
boot_merger.cfrom Rockchip's uboot) do not produce working images. But it is possible to produce a working sd-boot image using the proprietary 1st-stage loader.See the temporary mkuboot script in the last patch, which can create both types of images now (especially wrt. the needed rc4 encryption of everything).
Combining this (it does work using some special tool), it looks like there is still some minor glitch in the way we build the spl image somewhere.
Heiko Stuebner (16):
dm: allow limiting pre-reloc markings to spl or tpl
rockchip: move bootrom helper compilation to a hidden option
rockchip: mkimage: Allow encoding of loader code in spl images
rockchip: mkimage: Add support rk3188 serial
rockchip: serial: Adapt rockchip of-platdata driver for rk3188
rockchip: rk3188: Add header files for PMU and GRF
rockchip: rk3188: Add pinctrl driver
rockchip: rk3188: Add sysreset driver
rockchip: rk3188: Add rk3066/rk3188 clock bindings
rockchip: rk3188: Add clock driver
rockchip: rk3188: Add core devicetree files
rockchip: rk3188: Add core support
rockchip: rk3188: Add sdram driver
rockchip: rk3188: Add main, spl and tpl boards
rockchip: rk3188: Add Radxa Rock board
Add a temporary script that can create a bootimage for rk3188arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3188-radxarock.dts | 382 +++++++++ arch/arm/dts/rk3188.dtsi | 601 +++++++++++++++ arch/arm/dts/rk3xxx.dtsi | 417 ++++++++++ arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 191 +++++ arch/arm/include/asm/arch-rockchip/ddr_rk3188.h | 22 + arch/arm/include/asm/arch-rockchip/grf_rk3188.h | 589 ++++++++++++++ arch/arm/include/asm/arch-rockchip/pmu_rk3188.h | 36 + arch/arm/mach-rockchip/Kconfig | 20 + arch/arm/mach-rockchip/Makefile | 14 +- arch/arm/mach-rockchip/rk3188-board-spl.c | 220 ++++++ arch/arm/mach-rockchip/rk3188-board-tpl.c | 87 +++ arch/arm/mach-rockchip/rk3188-board.c | 71 ++ arch/arm/mach-rockchip/rk3188/Kconfig | 35 + arch/arm/mach-rockchip/rk3188/Makefile | 11 + arch/arm/mach-rockchip/rk3188/clk_rk3188.c | 33 + arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 985 ++++++++++++++++++++++++ arch/arm/mach-rockchip/rk3188/syscon_rk3188.c | 55 ++ board/radxa/rock/Kconfig | 15 + board/radxa/rock/MAINTAINERS | 6 + board/radxa/rock/Makefile | 7 + board/radxa/rock/rock.c | 7 + configs/rock_defconfig | 56 ++ doc/driver-model/README.txt | 4 + drivers/clk/at91/pmc.c | 3 +- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk_rk3188.c | 523 +++++++++++++ drivers/core/root.c | 2 +- drivers/core/util.c | 29 + drivers/pinctrl/Kconfig | 9 + drivers/pinctrl/pinctrl-uclass.c | 3 +- drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl_rk3188.c | 611 +++++++++++++++ drivers/serial/serial_rockchip.c | 19 +- drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_rk3188.c | 47 ++ include/configs/rk3188_common.h | 125 +++ include/configs/rock.h | 30 + include/dm/util.h | 2 + include/dt-bindings/clock/rk3066a-cru.h | 32 + include/dt-bindings/clock/rk3188-cru-common.h | 256 ++++++ include/dt-bindings/clock/rk3188-cru.h | 48 ++ mkuboot | 35 + scripts/Makefile.spl | 7 +- tools/dtoc/dtoc.py | 2 + tools/rkcommon.c | 34 +- tools/rkcommon.h | 22 + tools/rkimage.c | 3 + tools/rksd.c | 4 + tools/rkspi.c | 4 + 50 files changed, 5707 insertions(+), 11 deletions(-)create mode 100644
arch/arm/dts/rk3188-radxarock.dtscreate mode 100644arch/arm/dts/rk3188.dtsi
create mode 100644arch/arm/dts/rk3xxx.dtsi
create mode 100644arch/arm/include/asm/arch-rockchip/cru_rk3188.hcreate mode 100644arch/arm/include/asm/arch-rockchip/ddr_rk3188.hcreate mode 100644arch/arm/include/asm/arch-rockchip/grf_rk3188.hcreate mode 100644arch/arm/include/asm/arch-rockchip/pmu_rk3188.hcreate mode 100644arch/arm/mach-rockchip/rk3188-board-spl.ccreate mode 100644arch/arm/mach-rockchip/rk3188-board-tpl.ccreate mode 100644arch/arm/mach-rockchip/rk3188-board.ccreate mode 100644arch/arm/mach-rockchip/rk3188/Kconfigcreate mode 100644arch/arm/mach-rockchip/rk3188/Makefilecreate mode 100644arch/arm/mach-rockchip/rk3188/clk_rk3188.ccreate mode 100644arch/arm/mach-rockchip/rk3188/sdram_rk3188.ccreate mode 100644arch/arm/mach-rockchip/rk3188/syscon_rk3188.ccreate mode 100644 board/radxa/rock/Kconfig
create mode 100644 board/radxa/rock/MAINTAINERS
create mode 100644 board/radxa/rock/Makefile
create mode 100644board/radxa/rock/rock.c
create mode 100644 configs/rock_defconfig
create mode 100644drivers/clk/rockchip/clk_rk3188.ccreate mode 100644drivers/pinctrl/rockchip/pinctrl_rk3188.ccreate mode 100644drivers/sysreset/sysreset_rk3188.ccreate mode 100644include/configs/rk3188_common.hcreate mode 100644include/configs/rock.h
create mode 100644include/dt-bindings/clock/rk3066a-cru.hcreate mode 100644include/dt-bindings/clock/rk3188-cru-common.hcreate mode 100644include/dt-bindings/clock/rk3188-cru.hcreate mode 100755 mkuboot