diff options
| author | Tom Rini <[email protected]> | 2017-11-22 07:28:58 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-11-22 07:28:58 -0500 |
| commit | d9d76023ea0d567b0630e85d1bef67b5b1a788d3 (patch) | |
| tree | 670247b653a049be8aceebc16bf9dcc1d112f9f4 /doc | |
| parent | 16fa2eb95172e63820ee5f3d4052f3362a6de84e (diff) | |
| parent | 08790230fe80d46ff6368e0dc1e1be500ca3c4bf (diff) | |
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/README.rockchip | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip index da99f301ff7..597f068aca6 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -176,17 +176,17 @@ described above, but the image creation needs a bit more care. The bootrom of rk3188 expects to find a small 1kb loader which returns control to the bootrom, after which it will load the real loader, which -can then be up to 29kb in size and does the regular ddr init. +can then be up to 29kb in size and does the regular ddr init. This is +handled by a single image (built as the SPL stage) that tests whether +it is handled for the first or second time via code executed from the +boot0-hook. Additionally the rk3188 requires everything the bootrom loads to be rc4-encrypted. Except for the very first stage the bootrom always reads and decodes 2kb pages, so files should be sized accordingly. # copy tpl, pad to 1020 bytes and append spl -cat tpl/u-boot-tpl.bin > tplspl.bin -truncate -s 1020 tplspl.bin -cat spl/u-boot-spl.bin >> tplspl.bin -tools/mkimage -n rk3188 -T rksd -d tplspl.bin out +tools/mkimage -n rk3188 -T rksd -d spl/u-boot-spl.bin out # truncate, encode and append u-boot.bin truncate -s %2048 u-boot.bin |
