Age | Commit message (Collapse) | Author | Files | Lines |
|
Add new recipe npcm8xx-bootloader to replace npcm8xx-igps-native, and
also remove relative merge/sign functions and settings.
Tested:
TIP/No TIP/SA boot OK.
Settings replace function work, hardening replace work.
Change-Id: I1db20b483cf1de72ce05ca2a14df0a75fdb37d36
Signed-off-by: Brian Ma <chma0@nuvoton.com>
|
|
Change defconfig to lower case according to u-boot_2023 naming rule.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I1bbc728b1764c6d57e40d0082d84f6b12f6bda91
|
|
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I6b053fcecd1a2e7d41566fd5aef87a605dfc7ca2
|
|
This append config already include at linux-nuvoton.inc.
No need to add this append here, thus remove it.
Tested:
Build pass and device boot up successfully.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ifb72c9eb2df095c48292c6acc304e8a8a072fd03
|
|
Remove PREFERRED_VERSION_trusted-firmware-a ?= "2.9.%" in npcm8xx.inc,
and create a new 2.10.%.bbappend to align current version in arm layer.
Tested:
Device can boot successfully with correct version as below:
NOTICE: BL31: v2.10.0(release)
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ie62df7a91f359eac94696b6033543a3a6ef439e3
|
|
default-distrovars.inc depend on ARCH_DEFAULT_KERNELIMAGETYPE
to set KERNEL_IMAGETYPE, vendor could overwrite KERNEL_IMAGETYPE
in configuration file to change kernel target build.
since static-norootfs.inc set KERNEL_IMAGETYPE and KERNEL_IMAGETYPES
as ARCH_DEFAULT_KERNELIMAGETYPE, we overwrite both value to "Image"
since arm64 kernel doesn't support zImage target.
Add FLASH_MANIFEST_OFFSET and merge_bootloader in nuvoton npcm8xx.
Add compress kernel image when build norootfs.
Tested:
build norootfs evb-npcm845 target ok
flash norootfs flash-evb-npcm845 image ok
Signed-off-by: James Chiang <cpchiang1@nuvoton.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I688cd48f2cc43f464e23f4a1f5408ce5b7195c56
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
TIP F/W requires that Bootblock address must be
fixed at 512KB offset.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I47335e771b23bd468be465ecc6c8ba2c83b54696
|
|
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
|
|
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>
|
|
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I058871b8f6cd943af32dbec32cd8b0db6ada8d85
|
|
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
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
|
|
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Iaf52326b89e459c17694567c4fbdd7dc874183e3
|
|
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I9bfe4ed6065c7f031bfd2bedc2c6eaedc7a5ee62
|
|
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
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
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
|
|
Add for supporting Nuvoton npcm8xx SOC.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ib402cb769f3e97abc05eeb8d147d3f7f3fd71f0a
|
|
* Deprecate N-1 release (hardknott).
* Enable N+1 release (kirkstone).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
|
|
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>
|
|
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
|
|
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>
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I02bfeccf158c8278034fec8642c00fe12fa89d23
|
|
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>
|
|
(From meta-nuvoton rev: a5067675ff0eab3ff9066ec06083f9f8edc94257)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ie2c83b3e1ddca6ee49e2cf3fa79df2034905d01d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|