From a85957f5206a400b65818d51bd3f89279ce26f3b Mon Sep 17 00:00:00 2001 From: "Oshri Alkoby (NTIL)" Date: Sat, 19 Jan 2019 00:00:10 +0200 Subject: meta-nuvoton: generate full flash image. Nuvoton's full flash image includes also a bootloader called Bootblock, and headers for it and for the u-boot. Generating headers and merging the Bootblock and the u-boot are being done by Nuvoton's binary generator tool (Bingo), which uses external paramteres from XML files for that. (From meta-nuvoton rev: 07a65b5a1cd4576367697ae5400482517e53d2d7) Change-Id: Iad274d6e0b42b96d5500bdb709e450c0c978338a Signed-off-by: Oshri Alkoby (NTIL) Signed-off-by: Brad Bishop --- .../images/files/BootBlockAndHeader_EB.xml | 276 +++++++++++++++++++++ 1 file changed, 276 insertions(+) create mode 100644 meta-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_EB.xml (limited to 'meta-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_EB.xml') diff --git a/meta-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_EB.xml b/meta-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_EB.xml new file mode 100644 index 000000000..03deb3026 --- /dev/null +++ b/meta-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_EB.xml @@ -0,0 +1,276 @@ + + + + + + + + 0 + 0xFF + + + + + StartTag + + 0 + 0x8 + + 0x50 0x07 0x55 0xAA 0x54 0x4F 0x4F 0x42 + + + + + DestAddr + + 0x140 + 0x4 + + 0xFFFD5E00 + + + + + CodeSize + + 0x144 + 0x4 + + Poleg_bootblock.bin + + + + + Code + + 0x200 + Poleg_bootblock.bin + + Poleg_bootblock.bin + + + + + + FIU0_DRD_CFG_Set + + 0x108 + 0x4 + + 0x030011BB + + + + + FIU_Clk_Divider + + 0x10C + 0x1 + + 4 + + + + + Version + + 0x148 + 0x4 + + 0x0201 + + + + + BOARD_VENDOR + + 0x14C + 0x4 + + 100 + + + + + BOARD_TYPE + + 0x150 + 0x4 + + 0x02 + + + + + + MC_FREQ_IN_MHZ + + 0x11C + 0x2 + + 800 + + + + CPU_FREQ_IN_MHZ + + 0x154 + 0x2 + + 800 + + + + + MC_CONFIG + + 0x156 + 0x1 + + 0x00 + + + + + HOST_IF + + 0x157 + 0x1 + + 0x00 + + + + + SECURITY_LEVEL_T + + 0x15C + 0x1 + + 0xFF + + + + + SECURITY_REVOKE_KEYS + + 0x1D7 + 0x1 + + 0x00 + + + + + SECURITY_LOG + + 0x1D8 + 0x4 + + 0x090000 + + + + SECURITY_LOG_SIZE + + 0x1DC + 0x4 + + 0x3000 + + + + + + HOLE0 + + 0x1E0 + 0x4 + + 0x0A0000 + + + + HOLE0_SIZE + + 0x1E4 + 0x4 + + 0xF70000 + + + + + HOLE1 + + 0x1E8 + 0x4 + + 0 + + + + HOLE1_SIZE + + 0x1EC + 0x4 + + 0 + + + + + + HOLE2 + + 0x1F0 + 0x4 + + 0xFFFFFFFF + + + + HOLE2_SIZE + + 0x1F4 + 0x4 + + 0 + + + + + HOLE3 + + 0x1F8 + 0x4 + + 0 + + + + HOLE3_SIZE + + 0x1FC + 0x4 + + 0 + + + -- cgit v1.2.3