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 --- meta-nuvoton/conf/machine/include/npcm7xx.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'meta-nuvoton/conf/machine') diff --git a/meta-nuvoton/conf/machine/include/npcm7xx.inc b/meta-nuvoton/conf/machine/include/npcm7xx.inc index 3d8847dc4..0a154678d 100644 --- a/meta-nuvoton/conf/machine/include/npcm7xx.inc +++ b/meta-nuvoton/conf/machine/include/npcm7xx.inc @@ -11,6 +11,17 @@ UBOOT_MACHINE ?= "PolegSVB_config" UBOOT_ENTRYPOINT ?= "0x00008000" UBOOT_LOADADDRESS ?= "0x00008000" +FLASH_UBOOT_OFFSET = "0" +FLASH_UBOOT_ENV_OFFSET = "1024" +FLASH_KERNEL_OFFSET = "2048" +FLASH_UBI_OFFSET = "${FLASH_KERNEL_OFFSET}" +FLASH_ROFS_OFFSET = "7680" +FLASH_RWFS_OFFSET = "30720" + +# UBI volume sizes in KB unless otherwise noted. +FLASH_UBI_RWFS_SIZE = "6144" +FLASH_UBI_RWFS_TXT_SIZE = "6MiB" + DEFAULTTUNE ?= "arm7a-novfp" SERIAL_CONSOLES = "115200;ttyS3" -- cgit v1.2.3