Files
rkbin/tools/AndroidTool_Release_v2.39
Eddie Cai bdf68e257c fix address error
Change-Id: I03e3fb242d6c0ccde1b61bdaedf3f2e598f13e15
2017-07-11 10:37:07 +08:00
..
2017-02-23 12:57:28 +08:00
2017-02-23 12:57:28 +08:00
2017-02-23 12:57:28 +08:00
2017-07-11 10:37:07 +08:00
2017-02-23 12:57:28 +08:00

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. 

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
0x40000  rootfs  -- out/u-boot/trust.img

Use the Tool default config is well