| #
b6932704 |
| 13-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: Add avbtool.py
Usage: ./avbtool.py info_image --image vbmeta.img
Sync from google avb: (ee8fcfb Update Pixel BT key name.)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0
scripts: Add avbtool.py
Usage: ./avbtool.py info_image --image vbmeta.img
Sync from google avb: (ee8fcfb Update Pixel BT key name.)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I016bca318e1122175fa30dc4328fc3d48100b01a
show more ...
|
| #
0466543c |
| 11-Nov-2020 |
Wenping Zhang <wenping.zhang@rock-chips.com> |
tools: add tools for convert bmp to gray16 and saved as logo.img.
This tool support convert 16bpp/24bpp/32bpp bmp images into 4 bits grayscale image, and add header info to save as logo.img. logo.im
tools: add tools for convert bmp to gray16 and saved as logo.img.
This tool support convert 16bpp/24bpp/32bpp bmp images into 4 bits grayscale image, and add header info to save as logo.img. logo.img is flash into emmc and parsed in uboot to display uboot/charging/lowpower/kernel logo. [Note]the requirement of bmp files: 1. The resolution of all bmp image must be same. 2. The logo.img will be parsed in uboot, the uboot require the resolution of image must be same as screen resolution, otherwise will be failed. 3. The color depth of bmp image must be 16bpp/24bpp/32bpp, 8bpp is not supported.
The usage: ./tools/bmp2gray16 --uboot-logo tools/images/eink/uboot.bmp --kernel-logo tools/images/eink/kernel.bmp --charge-logo tools/images/eink/battery_0.bmp tools/images/eink/battery_1.bmp tools/images/eink/battery_2.bmp tools/images/eink/battery_3.bmp tools/images/eink/battery_4.bmp tools/images/eink/battery_5.bmp tools/images/eink/battery_fail.bmp --output ./logo.img
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com> Change-Id: Ifc39f0344693fb0b26b04d7904289847e6fa9b90
show more ...
|