readme 2.46 KB
Newer Older
Eddie Cai's avatar
Eddie Cai committed
1
2
3
4
5
6
7
8
9
10
This is a simple readme for this tool.

This tool can be used for flash image to Android or Linux device
You can see different layout their partition layout is different. 
See http://rockchip.wikidot.com/partitions for reference. 
The address of first part is 0xcccccccc. That means it have to be a prebuilt
bootloader provide by rockchip. For RK3288, it have to be rkbin/rk32/RK3288UbootLoader_V2.30.06.bin
the loader1 is U-Boot binary you build
the boot is image kernel, dtb and extlinux.conf file
the rootfs is rootfs image. 
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

the partition table below:
+--------+----------------+----------+-------------+---------+
| Boot   | Terminology #1 | Actual   | Rockchip    |         |
| stage  |                | program  |  Image      |         |
| number |                | name     |   Name      |         |
+--------+----------------+----------+-------------+---------+
| 1      |  Primary       | ROM code | BootRom     |         |
|        |  Program       |          |             |         |
|        |  Loader        |          |             |         |
|        |                |          |             |         |
| 2      |  Secondary     | U-Boot   |idbloader.img| 0x40    |including u-boot if not use miniloader
|        |  Program       | SPL      |idbspl.img   |         |
|        |  Loader (SPL)  |          |             |         |
|        |                |          |             |         |
| 3      |  -             | U-Boot   | bl3.itb     | 0x200   | including u-boot and atf
|        |                |          | u-boot.bin  | 0x200   |
|        |                |          | uboot.img   | 0x4000  | only used with miniloader
|        |                |          |             |         |
|        |                | ATF      | trust.img   | 0x6000  | only used with miniloader for armv8
|        |                |          |             |         |
| 4      |  -             | kernel   | boot.img    | 0x8000  |
|        |                |          |             |         |
| 5      |  -             | rootfs   | rootfs.img  | 0x40000 |
+--------+----------------+----------+-------------+---------+


For armv8 with miniloader(rk3328):

Address  Name       Path
         Boot    -- rkbin/rk33/rk3328_loader_v1.00.238.bin
0x40     loader1 -- out/u-boot/idbloader.img
0x4000   loader2 -- out/u-boot/uboot.img
0x6000   atf     -- out/u-boot/trust.img
0x8000   boot    -- out/u-boot/trust.img
46
47
48
0x40000  rootfs  -- out/u-boot/trust.img

Use the Tool default config is well