summaryrefslogtreecommitdiff
path: root/meta-nuvoton/conf/machine
diff options
context:
space:
mode:
authorOshri Alkoby (NTIL) <oshri.alkoby@nuvoton.com>2019-01-19 01:00:10 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-06-10 21:25:32 +0300
commita85957f5206a400b65818d51bd3f89279ce26f3b (patch)
tree0b8fd02988381cda51a042abbb0daf9631d0ff45 /meta-nuvoton/conf/machine
parent04db1213ea7e9f5d69bbc4b44fdd77769f698a13 (diff)
downloadopenbmc-a85957f5206a400b65818d51bd3f89279ce26f3b.tar.xz
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) <oshri.alkoby@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-nuvoton/conf/machine')
-rw-r--r--meta-nuvoton/conf/machine/include/npcm7xx.inc11
1 files changed, 11 insertions, 0 deletions
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"