| Our resource.img can be unpacked using following instructions: 
 ~$ mkdir /tmp/t~$ cd /tmp/t
 /tmp/t$ cp ~/proj/firefly-44/kernel/resource.img .
 
 
 /tmp/t$ ~/proj/firefly-44/kernel/resource_tool --unpack .
 Dump header:
 partition version:0.0
 header size:1
 index tbl:
 offset:1        entry size:1        entry num:2
 Dump Index table:
 entry(0):
 path:rk-kernel.dtb
 offset:3        size:98693
 entry(1):
 path:logo.bmp
 offset:196        size:17184
 Unack resource.img to . successed!
 
 
 /tmp/t$ ls -l
 total 236
 -rw-r--r-- 1 djw users  17184 1月  14 14:45 logo.bmp
 -rw-r--r-- 1 djw users 117760 1月  14 14:45 resource.img
 -rw-r--r-- 1 djw users  98693 1月  14 14:45 rk-kernel.dtb
 
 
 /tmp/t$ ~/proj/firefly-44/kernel/scripts/dtc/dtc  -I dtb rk-kernel.dtb -O dts -o firefly-rk3288-kernel.dts
 /tmp/t$ head firefly-rk3288-kernel.dts
 /dts-v1/;
 
 / {
 #address-cells = <0x1>;
 #size-cells = <0x1>;
 compatible = "rockchip,rk3288";
 rockchip,sram = <0x1>;
 interrupt-parent = <0x2>;
 
 chosen {
 
 
 
 The resource.img contains a bitmap and a dtb. Please check your compiling. |