提交 8beff8d3 编写于 作者: Fujie Li's avatar Fujie Li 🏀

soc: fix csk6 boot tag position

上级 6c6e64cd
流水线 #9565 已失败 ,包含阶段
in 26 second
......@@ -5,10 +5,11 @@ zephyr_sources(
soc.c
)
# make sure csk6_boot_tag.ld at the end of vectors
zephyr_linker_sources(ROM_START SORT_KEY 0x0vectors0boottag csk6_boot_tag.ld)
zephyr_sources_ifdef(CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS mpu_regions.c)
zephyr_sources_ifdef(CONFIG_CACHE_MANAGEMENT cache.c)
zephyr_sources_ifdef(CONFIG_EXTRA_EXCEPTION_INFO fatal.c)
zephyr_linker_sources(SECTIONS csk6_private.ld)
zephyr_linker_sources(SECTIONS csk6_psram.ld)
if(NOT CONFIG_BOOTLOADER_MCUBOOT)
......
KEEP(*(.csk6_boot_tag))
KEEP(*(.csk6_boot_tag.*))
SECTION_PROLOGUE(csk6_private,,)
{
/* Located in generated directory. This file is populated by calling
* zephyr_linker_sources(ROM_START ...). This typically contains the vector
* table and debug information.
* #include <snippets-rom-start.ld>
*/
_vectors_csk6_start = .;
KEEP(*(.csk6_private))
KEEP(*(".csk6_private.*"))
_vectors_csk6_end = .;
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
#include <zephyr/toolchain.h>
SECTION_FUNC(csk6_private, csk6_image_header)
SECTION_FUNC(csk6_boot_tag, csk6_image_header)
/******************** header begin ******************/
.ascii "Hr" /* byte(0~1): header mark */
......
......@@ -10,18 +10,6 @@
#define SYSTEM_CLK ((SYSCFG_RegDef *)CMN_SYSCTRL_BASE)
volatile static const char __attribute__((section(".vectors")))
venus_system_tag[] = { 0x48, 0x72, 0x01, 0x00, 0xA4, 0x52, 0x08, 0x00, 0x00, 0x00, 0x00, 0x18, 0x01,
0x00, 0x00, 0x00, 0x56, 0x45, 0x4E, 0x55, 0x53, 0x5F, 0x52, 0x54, 0x4F, 0x53,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x05, 0xD7, 0x2C };
volatile static const uint32_t __attribute__((section(".vectors")))
dummy_vectors[32] = {0x00};
#ifdef CONFIG_HAS_CSK6_GPT
static void GPT_Init_Handler(void)
{
......
支持 Markdown
0% or
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册