
Hi Andreas,
On 17 July 2016 at 19:06, Andreas Färber afaerber@suse.de wrote:
The RK3368 is an octa-core Cortex-A53 SoC from Rockchip.
The GeekBox is a TV box from GeekBuying, based on an MXM3 module. The module can be used with base boards such as the GeekBox Landingship.
This adds basic support to chain-load U-Boot from Rockchip's miniloader.
$ ./lollipop_u-boot/tools/loaderimage --pack u-boot.bin u-boot.img # ./utils/upgrade_tool di uboot u-boot.img
Implemented is the serial console, but no boot media drivers yet.
Note that flashing the resulting U-Boot will not allow you to enter the rockusb mode any more via "Update" button. Instead, you will need to short two pins on the bottom of the module to enter MaskRom mode and re-flash the loader:
# ./utils/upgrade_tool ul ./lollipop_u-boot/RK3368MiniLoaderAll_V2.40.bin # ./utils/upgrade_tool di uboot u-boot.img
Signed-off-by: Andreas Färber afaerber@suse.de
arch/arm/Kconfig | 4 --- arch/arm/dts/rk3368.dtsi | 1 + arch/arm/mach-rockchip/Kconfig | 14 ++++++++++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3368/Kconfig | 14 ++++++++++ arch/arm/mach-rockchip/rk3368/Makefile | 7 +++++ arch/arm/mach-rockchip/rk3368/rk3368.c | 28 ++++++++++++++++++++ board/geekbuying/geekbox/Kconfig | 15 +++++++++++ board/geekbuying/geekbox/Makefile | 7 +++++ board/geekbuying/geekbox/geekbox.c | 26 +++++++++++++++++++ configs/geekbox_defconfig | 20 +++++++++++++++ include/configs/geekbox.h | 19 ++++++++++++++ include/configs/rk3368_common.h | 47 ++++++++++++++++++++++++++++++++++ 13 files changed, 199 insertions(+), 4 deletions(-) create mode 100644 arch/arm/mach-rockchip/rk3368/Kconfig create mode 100644 arch/arm/mach-rockchip/rk3368/Makefile create mode 100644 arch/arm/mach-rockchip/rk3368/rk3368.c create mode 100644 board/geekbuying/geekbox/Kconfig create mode 100644 board/geekbuying/geekbox/Makefile create mode 100644 board/geekbuying/geekbox/geekbox.c create mode 100644 configs/geekbox_defconfig create mode 100644 include/configs/geekbox.h create mode 100644 include/configs/rk3368_common.h
Acked-by: Simon Glass sjg@chromium.org
Can you please also send a README in board/geekbuying/geekbox with the flashing info from your cover letter?
Regards, Simon