History log of /rk3399_rockchip-uboot/tools/rockchip/bmp2gray16.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 74b82d96 19-Jun-2021 Zorro Liu <lyx@rock-chips.com>

tools: rockchip: bmp2gray16: support eink power off logo

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I61c134868f1e7fdbb98c8c078b47be028bde8c91


# e091b6c9 26-Mar-2021 Wenping Zhang <wenping.zhang@rock-chips.com>

tools: bmp2gray16: fix segment fault because of image size error.

If the image size of gray16 data is not 512 bytes align, it will
cause segment fault.

Change-Id: Idc7e86226032e5deea225ea9020340266

tools: bmp2gray16: fix segment fault because of image size error.

If the image size of gray16 data is not 512 bytes align, it will
cause segment fault.

Change-Id: Idc7e86226032e5deea225ea90203402661e78528
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>

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 ...