u-boot-brain/board/rockchip/evb_rv1108
Tom Rini 83d290c56f SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-07 09:34:12 -04:00
..
evb_rv1108.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig rockchip: Add basic support for evb-rv1108 board 2017-06-07 07:29:25 -06:00
MAINTAINERS rockchip: Add basic support for evb-rv1108 board 2017-06-07 07:29:25 -06:00
Makefile rockchip: Add basic support for evb-rv1108 board 2017-06-07 07:29:25 -06:00
README rockchip: board: evb_rv1108: update README 2017-11-30 22:55:26 +01:00

Here is the step-by-step to boot U-Boot on rv1108 evb.

Get ddr init binary
==============================================================================
  > git clone  https://github.com/rockchip-linux/rkbin.git

Compile  U-Boot
===========================
  > make CROSS_COMPILE=arm-linux-gnueabi- evb-rv1108_defconfig  all
  > ./tools/mkimage  -n rv1108 -T rksd -d ../rkbin/rv1x/rv1108ddr_v1.00.bin spl.bin
  > cat spl.bin u-boot.bin > u-boot.img

Flash the image by rkdeveloptool
================================
rkdeveloptool can get from https://github.com/rockchip-linux/rkdeveloptool.git

Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then:
  > rkdeveloptool db ./rkbin/rv1x/rv1108usbboot_v1.00.bin
  > rkdeveloptool wl 0x40 u-boot.img
  > rkdeveloptool RD

You should be able to get U-Boot log message from boot console:

DDR Version V1.02 20170220
In
400MHz
DDR3
Bus Width=16 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=512MB
mach:2
OUT


U-Boot 2017.05-00693-g3a5b171 (Jun 01 2017 - 17:37:53 +0800)

Model: Rockchip RV1108 Evaluation board
DRAM:  128 MiB
APLL: 600000000 DPLL:792000000 GPLL:384000000
MMC:
Using default environment

In:    serial@10210000
Out:   serial@10210000
Err:   serial@10210000
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=>