Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 1 | Here is the step-by-step to boot U-Boot on rv1108 evb. |
| 2 | |
| 3 | Get ddr init binary |
| 4 | ============================================================================== |
| 5 | > git clone https://github.com/rockchip-linux/rkbin.git |
Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 6 | |
| 7 | Compile U-Boot |
| 8 | =========================== |
| 9 | > make CROSS_COMPILE=arm-linux-gnueabi- evb-rv1108_defconfig all |
Andy Yan | dca4740 | 2017-11-27 19:59:45 +0800 | [diff] [blame] | 10 | > ./tools/mkimage -n rv1108 -T rksd -d ../rkbin/rv1x/rv1108ddr_v1.00.bin spl.bin |
Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 11 | > cat spl.bin u-boot.bin > u-boot.img |
| 12 | |
| 13 | Flash the image by rkdeveloptool |
| 14 | ================================ |
| 15 | rkdeveloptool can get from https://github.com/rockchip-linux/rkdeveloptool.git |
| 16 | |
| 17 | Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then: |
Andy Yan | dca4740 | 2017-11-27 19:59:45 +0800 | [diff] [blame] | 18 | > rkdeveloptool db ./rkbin/rv1x/rv1108usbboot_v1.00.bin |
Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 19 | > rkdeveloptool wl 0x40 u-boot.img |
| 20 | > rkdeveloptool RD |
| 21 | |
| 22 | You should be able to get U-Boot log message from boot console: |
| 23 | |
| 24 | DDR Version V1.02 20170220 |
| 25 | In |
| 26 | 400MHz |
| 27 | DDR3 |
| 28 | Bus Width=16 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=512MB |
| 29 | mach:2 |
| 30 | OUT |
| 31 | |
| 32 | |
| 33 | U-Boot 2017.05-00693-g3a5b171 (Jun 01 2017 - 17:37:53 +0800) |
| 34 | |
| 35 | Model: Rockchip RV1108 Evaluation board |
| 36 | DRAM: 128 MiB |
| 37 | APLL: 600000000 DPLL:792000000 GPLL:384000000 |
| 38 | MMC: |
| 39 | Using default environment |
| 40 | |
| 41 | In: serial@10210000 |
| 42 | Out: serial@10210000 |
| 43 | Err: serial@10210000 |
| 44 | Net: No ethernet found. |
| 45 | Hit any key to stop autoboot: 0 |
| 46 | => |