summaryrefslogtreecommitdiff
path: root/meta-nuvoton/conf
AgeCommit message (Collapse)AuthorFilesLines
2024-02-07meta-nuvoton: trusted-firmware-a: fix the version at v2.9.0Tim Lee1-0/+1
Currently, openbmc upstream already update tfa to version v2.10.0 For compatibling with latest openbmc, we need to fix the version at v2.9.0. Otherwise, we will meet this kind of build error from upstream. ERROR: No recipes in default available for: openbmc/meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/ trusted-firmware-a/trusted-firmware-a_2.9.%.bbappend Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: If652ee5478cc9c42e833dd4d2a203d7d5ebddca1
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-11-09meta-nuvoton: npcm8xx-tip-fw: update to 0.6.5.0.5.4Tim Lee1-0/+3
Changelog: TIP_FW: 0.6.5 L0 0.5.4 L1 ============== * MC reset, if needed, performed synchronously from TIP side while BMC is in reset. Add new variable SA_TIP_IMAGE for supporing SA TIP_FW mimic no_tip mode. SA (Stand Alone) is a special TIP_FW for mimic NO TIP feature on TIP devices. That's concatenated file image_no_tip + SA FW for mimic NO TIP mode. Tested: Build pass and boot up successful with correct TIP FW latest version. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ib836cf16f0f14f313b5243e18e8d615e792408b5
2023-07-12meta-nuvoton: optee-os: update to 3.20Tim Lee1-4/+0
Keep up with the latest support of optee-os in openbmc. Tested: build pass and boot successfully. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ia22d9641135356dc575d72382bc1daba9d1e531c
2023-07-04meta-nuvoton: Add build wic image supportBrian Ma1-0/+9
We add wks file and relative config for build wic image. Now user can build wic image by include phosphor-mmc.inc. And set WKS_RWFS_SIZE, WKS_RWFS_SIZE to adjust eMMC parition size instead of create new wks file for each board. Change-Id: I1ed342658d791fd9011bd31ea6db36d4362d120b Signed-off-by: Brian Ma <chma0@nuvoton.com>
2023-07-04meta-nuvoton: Update default fw_env.configBrian Ma1-0/+1
Update new fw_env.config for U-Boot fw_print/setenv utils access correct U-Boot environment offset. And also add recipe udev-nuvoton-mtd-partitions for create readable mtd device symlink. Change-Id: I3bfa2015f536b27382f561bd8cdb0d7dbd2d88cd Signed-off-by: Brian Ma <chma0@nuvoton.com>
2023-07-04meta-nuvoton: npcm8xx: change uboot load addressTim Lee1-2/+2
For compatible with the newest IGPS 3.9.1 design for new memory map. Thus, we need to change uboot load address. Tested: build pass and boot successfully. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I6deefcde03855521a19b05bdf967004e9ba954c2
2023-07-04meta-nuvoton: trusted-firmware-a: change tf-a load addressTim Lee1-2/+0
For compatible with the newest IGPS 3.9.1 design for new memory map. We need to modify each image load address individually. The load address of tf-a from 0x00001000 to 0x02000000 The load address of optee-os from 0x00100000 to 0x02100000 The load address of uboot from 0x03008000 to 0x06208000 We've updated tf-a to 2.8 that keep up with meta-arm. Thus we remove 2.6.0.bb recipe and replace with 2.8.0.bbappend. Tested: build pass and boot successfully. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I730f0a677103b89b78897f0d1860a47933c5b7cc
2023-06-16meta-nuvoton: fix build warning for this layerTim Lee1-1/+1
There is build warning as below: WARNING: No bb files in default matched BBFILE_PATTERN_nuvoton-layer '' Sync from templates/layer.conf rule to fix this kind of warning. BBFILE_PATTERN_{layerid} = "^${{LAYERDIR}}/" Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I6a69f8f35cc7d129d605ee1f7d2519c32af53ab1
2023-06-09meta-phosphor: npcm8xx.bbclass: support sign images featureTim Lee2-0/+23
Add sign images feature according customer's requirement. Set "SECURED_IMAGE" to "True" and enable sign images feature. When sign images feature be enabled. Use default keys to sign images if customer didn't point their own local keys path. Note: "SECURED_IMAGE" default is "True". Tested: Use default keys sign: That will use default path and keys from igps to sign. Use local keys sign: That will use local path and keys to sign. When KEY_FOLDER and KEY definition both are valid. However, when KEY_FOLDER and KEY definition are invalid either, that will output sign images failed then stop build full images. Tested: build pass and boot up successfully with signed Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: If2b793906ab338aec391062d9bfeae2b1e790078
2023-06-08meta-nuvoton: npcm8xx: adjust BB_ALIGN to 512KTim Lee1-1/+1
TIP F/W requires that Bootblock address must be fixed at 512KB offset. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I47335e771b23bd468be465ecc6c8ba2c83b54696
2023-05-28meta-nuvoton: npcm8xx-igps: update to 03.09.00Tim Lee1-0/+2
Changelog: IGPS 03.09.00 - May 18th 2023 ============== - TIP_FW 0.5.9 L0 0.4.8 L1 - Bootblock version 0.3.2 - skip clearing INTCR2 - SCRPAD 10 is now reset - split CRC file (tip\notip) - Clear SCRPAD10-19 - Add BootBlockAndHeader_A1_EB_NoTip.xml for EB IGPS 03.08.09 - May 14th 2023 ============== - TIP_FW 0.5.9 L0 0.4.8 L1 - Bootblock version 0.3.1 - Added code for A2 - flash: support flash size mix - restore: force main and recovery flashes to the same - Add timestamp compare to combo IGPS 03.08.08 - May 3rd 2023 ============== - TIP_FW 0.5.7 L0 0.4.6 L1 - Bootblock version 0.3.0 - Added support for no TIP mode - No TIP mode is only for A2 users - IGPS still supports TIP mode IGPS 03.08.07 - April 17th 2023 ============== - TIP_FW 0.5.7 L0 0.4.6 L1 - Bootblock version 0.2.9 - Support A2 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2a2902f0ba07ad2ab2002357c8e5a4a228ed311a
2023-05-09meta-nuvoton: set npcm8xx optee preferred versionBrian Ma1-0/+2
Set optee-os-tadevkit, and optee-test version to 3.18.0 for Nuvoton npcm8xx device. Change-Id: I98a5637f2ad266d56d37df5cfa36b136bad76966 Signed-off-by: Brian Ma <chma0@nuvoton.com>
2023-03-23meta-nuvoton: evb-npcm845: add FLASH_UBOOT_ENV_OFFSETTim Lee2-0/+2
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I058871b8f6cd943af32dbec32cd8b0db6ada8d85
2023-01-17meta-nuvoton: npcm8xx: set optee-os 3.18.0 as the preferred versionTim Lee1-0/+2
The latest arm/optee support 3.19, but we don't have 3.19 support yet. Currently, we need to use 3.18 as preferred version for build pass. Once we have support 3.19 then we will update new bbappend for 3.19. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I02bc26d05ee4f647c2cd2803a9ce1488dcfc738d
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-12-15meta-nuvoton: evb-npcm845: update flash partition layoutTim Lee1-3/+5
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Iaf52326b89e459c17694567c4fbdd7dc874183e3
2022-11-30meta-phosphor: npcm8xx.bbclass: pad binary in place for alignmentTim Lee1-0/+1
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I9bfe4ed6065c7f031bfd2bedc2c6eaedc7a5ee62
2022-11-01meta-phosphor: npcm8xx.bbclass: adjust each image alignment by its definitionTim Lee1-0/+6
Tested: buid pass and boot up successful when loading BB at 0x80000 for example Verified by bootblock log as below: ========== Load bootblock ========== tip_firmware_image_init fiu0 cs0 BOOTBLOCK tag U. scan from 0x80000000 to 0x88000000 tip_firmware_image_scan_flash BOOTBLOCK found addr 0x80080000 dst 0xfffd0000 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I62eced6d80b48d488348d43468f8f01edf83d79a
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-27meta-nuvoton: add support to generate full flash image for npcm8xxTim Lee2-0/+102
Nuvoton's npcm8xx full flash image includes TIP FW, Bootblock, ATF, OPTEE and UBOOT with headers. Generating headers and merging images are being done by Nuvoton's binary generator tool (Bingo) which uses external parameters from XML files for that. Thus, we need to add related fitimage and image type for npcm8xx. However, before merge this commit, we must wait for below commits were merged. meta-nuvoton: arm-trusted-firmware: add arm trusted firmware recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55234 meta-nuvoton: add npcm8xx-bootblock recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55117 meta-nuvoton: add npcm8xx-igps recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55099 meta-nuvoton: npcm7xx-bingo: upgrade latest version 0.0.5 support Arbel https://gerrit.openbmc.org/c/openbmc/openbmc/+/55128 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4599e39d3873f07cde6904d0f10161964fc45c7a
2022-09-21meta-nuvoton: arm-trusted-firmware: add arm trusted firmware recipeTim Lee1-0/+6
Add for supporting Nuvoton npcm8xx SOC. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ib402cb769f3e97abc05eeb8d147d3f7f3fd71f0a
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams1-0/+1
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-11meta-nuvoton: Cleanup for Yocto override syntax changeWilly Tu2-5/+5
Cleanup with ``` convert-overrides.py meta-google ``` Left over `_`. ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-nuvoton meta-nuvoton/conf/layer.conf:BBFILE_PATTERN_nuvoton-layer = "" meta-nuvoton/conf/layer.conf:LAYERVERSION_nuvoton-layer = "1" meta-nuvoton/conf/layer.conf:LAYERSERIES_COMPAT_nuvoton-layer = "gatesgarth hardknott" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/kernel ?= "linux-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-nuvoton" meta-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_git.bb:do_install () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:do_deploy () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:addtask deploy before do_build after do_compile meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake envtools meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install:class-cross () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_configure () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} oldconfig meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${config} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_deploy () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:addtask deploy before do_build after do_compile ``` Change-Id: Ic6969f12049c0d843009c4b754ab87ecff568a07 Signed-off-by: Willy Tu <wltu@google.com>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-02-06meta-nuvoton: fix npcm750-evb buildAnton D. Kachalov1-3/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I02bfeccf158c8278034fec8642c00fe12fa89d23
2020-11-05meta-nuvoton: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunsfell (previous). (From meta-nuvoton rev: ff8c4031b99942f6c2ff1cbf10d0f72c403d10db) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id72267e572724cd1c1dadca2cbd11cb09464e192 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-01meta-nuvoton: dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-nuvoton rev: a5067675ff0eab3ff9066ec06083f9f8edc94257) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ie2c83b3e1ddca6ee49e2cf3fa79df2034905d01d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-10-16meta-nuvoton: Add zeus compatibilityBrad Bishop1-1/+1
oe-core branched in preparation for the upcoming Yocto release. We'll retain compatibility for warrior until we do our own branch or stop testing warrior. (From meta-nuvoton rev: 9c1bea0138db3b204cb143d3471a592f06d91009) Change-Id: I7d397bf715cd77aa708f0ffac0605dcac44c06de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-nuvoton: generate full flash image.Oshri Alkoby (NTIL)1-0/+11
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>
2019-04-06meta-nuvoton: layer.conf: Add warrior compatibilityPatrick Venture1-1/+1
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-nuvoton rev: 31c2543b6b367baa8984e07e4497827603ae704e) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I658fff16c88f8ed1b5f3ad7eacc2ff6b51dbb1d4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-12meta-nuvoton: prepare for yocto 2.6Patrick Venture1-1/+1
Set compatibility to thud. (From meta-nuvoton rev: 2c1b028da5da00dab71763b0ad1d3863af5ef67a) Change-Id: I492f4e877e686bc6f07334bc9505c6cb7ee87a0b Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Move board support packages to top levelDave Cobbley5-0/+62
The new subtree paradigm has moved the meta-bsp layers to the top level Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>