Skip to content

Commit 333a08b

Browse files
committed
logo: add logo pack script
usage: ./scripts/pack_logo.sh copy logo.img to board and update the logo: sudo dd if=logo.img of=/dev/mmcblk1p5 sync Signed-off-by: Nick Xie <[email protected]>
1 parent cdd6433 commit 333a08b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

logo.bmp

720 KB
Binary file not shown.

logo_kernel.bmp

711 KB
Binary file not shown.

scripts/pack_logo.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
RESOURCE_TOOL=scripts/resource_tool
4+
DTB=arch/arm64/boot/dts/rockchip/rk3399-khadas-captain-linux.dtb
5+
UBOOT_LOGO=logo.bmp
6+
KERNEL_LOGO=logo_kernel.bmp
7+
8+
9+
$RESOURCE_TOOL $DTB $UBOOT_LOGO $KERNEL_LOGO > /dev/null
10+
11+
cp resource.img logo.img
12+
echo logo.img is ready

0 commit comments

Comments
 (0)