Add logo_partition_generate
Change-Id: Ib8b5adef63049228bbe66a01bb61722d13239fda
diff --git a/mbtk/mbtk_utils_linux/logo_partition.h b/mbtk/mbtk_utils_linux/logo_partition.h
new file mode 100755
index 0000000..6a4b8d3
--- /dev/null
+++ b/mbtk/mbtk_utils_linux/logo_partition.h
@@ -0,0 +1,40 @@
+/*
+* logo_partition.h
+*
+* Logo partition header.
+*
+* Author : lb
+* Date : 2025/2/20 14:45:19
+*/
+#ifndef _LOGO_PARTITION_H
+#define _LOGO_PARTITION_H
+
+typedef unsigned int uint32; /* Unsigned 32 bit value */
+typedef unsigned short uint16; /* Unsigned 16 bit value */
+typedef unsigned char uint8; /* Unsigned 8 bit value */
+typedef signed int int32; /* Signed 32 bit value */
+typedef signed short int16; /* Signed 16 bit value */
+typedef signed char int8; /* Signed 8 bit value */
+
+#define LOGO_PARTITION_ADDR 0x0A3A0000 // custom_logo 分区的地址
+
+#define LOGO_ADDR_START 0x00000400 // 1K
+#define ANIMATION_ADDR_START 0x00080400 // log 不超过 512K
+
+typedef struct {
+ uint32 addr;
+ uint32 pic_width;
+ uint32 pic_height;
+ uint32 bg_rgb; // 背景色
+} mbtk_logo_header_t;
+
+typedef struct {
+ uint32 addr;
+ uint32 pic_num;
+ uint32 pic_width;
+ uint32 pic_height;
+ uint32 frame_rate;
+ uint32 bg_rgb; // 背景色
+} mbtk_animation_header_t;
+
+#endif /* _LOGO_PARTITION_H */