From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matwey V. Kornilov Date: Sat, 1 Jun 2019 17:47:30 +0300 Subject: [U-Boot] [PATCH v3 0/6] Add initial support for Pine64 Rock64 board In-Reply-To: <20190519121020.13866-1-matwey.kornilov@gmail.com> References: <20190519121020.13866-1-matwey.kornilov@gmail.com> Message-ID: <20190601144736.8580-1-matwey.kornilov@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series adds initial basic support for Pine64 Rock64 board. The ROCK64 is a credit card size SBC based on Rockchip RK3328 Quad-Core ARM Cortex A53. This series allow building u-boot SPL and u-boot.itb for Rock64 board. Unfortunately, proprietary TPL is stil required for deploy: ./tools/mkimage -n rk3328 -T rksd -d ./rkbin/bin/rk33/rk3328_ddr_333MHz_v1.14.bin idbloader.img cat ./spl/u-boot-spl.bin >> idbloader.img dd if=idbloader.img of=/dev/sdcard seek=64 conv=notrunc dd if=u-boot.itb of=/dev/sdcard seek=16384 conv=notrunc The series has been tested with ATF v1.6. Some patches in the series are taken from https://github.com/rockchip-linux/u-boot Credits are given in each patch separately. Changes since v2: - add deploy documentation to doc/README.rockchip - fix broken evb-rk3328 build Changes since v1: - reword messages for commit 2,4,5 - set SPL_REVERVE_IRAM to 0x40000 - add spl-boot-order to rk3328-rock64-u-boot.dtsi Kever Yang (3): rockchip: rk3328: add SPL board file support rockchip: rk3328: add SPL support rockchip: Kconfig: enable SPL support for rk3328 Matwey V. Kornilov (3): rockchip: dts: rk3328: add rk3328-rock64.dts rockchip: rk3328: add rock64-rk3328_defconfig doc: rockchip: Add note for Pine64 Rock64 board arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 34 ++++ arch/arm/dts/rk3328-rock64.dts | 294 ++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/Kconfig | 7 + arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3328-board-spl.c | 59 ++++++ configs/evb-rk3328_defconfig | 7 + configs/rock64-rk3328_defconfig | 91 +++++++++ doc/README.rockchip | 30 ++- include/configs/rk3328_common.h | 4 + 10 files changed, 527 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/rk3328-rock64-u-boot.dtsi create mode 100644 arch/arm/dts/rk3328-rock64.dts create mode 100644 arch/arm/mach-rockchip/rk3328-board-spl.c create mode 100644 configs/rock64-rk3328_defconfig -- 2.16.4