summaryrefslogtreecommitdiff
path: root/meta-nuvoton/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21meta-nuvoton: u-boot-nuvoton: srcrev bump c11d9a81ea...7578a59e96Fran Hsu1-1/+1
Stanley Chu (1): driver: i2c-npcm7xx: extend the timeout of ack cycle on receving. Fran Hsu (1): dts: npcm730 GSZ: update the GPIO default setting. Signed-off-by: Fran Hsu <fran.hsu@quantatw.com> Change-Id: Ia2ae99c32dd77255f1bba5b4ccc757fdd5a31469
2021-08-11meta-nuvoton: Cleanup for Yocto override syntax changeWilly Tu2-6/+6
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-05-26meta-nuvoton: u-boot-nuvoton: srcrev bump 9033cd58bf...c11d9a81eaGeorge Hung1-1/+1
Stanley Chu (1): board: nuvoton: poleg: support eSPI configuration via dts Brandon-fii (1): Modified GPIOs in u-boot dts for kudo project to match the kernel dts George Hung (1): dts: npcm730 GBS: add event-clear for GPIO146 (fans-efuse) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1f35885f74baf34915a7cd648941e2e82a701cf9
2021-04-22meta-nuvoton: npcm7xx-bootblock: upgrade to 10.10.17George Hung1-1/+1
Changes: - Add retries to DDR training. - Disable MC ECC interrupts. - Add memory tests at the end of the DDR training. Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If05c27e7f1f5e6dec529accb3d67f0b8017756c2
2021-03-10meta-nuvoton: u-boot-nuvoton: srcrev bump c311158da2...9033cd58bfStanley Chu1-1/+1
Anton D. Kachalov (1): Fix u-boot build. Joseph Liu (1): configs: nuvoton: poleg: increase bootm map size Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I5b42fdb752835c0d478be5143125ddd5d31cc01b
2021-02-12nuvoton: add srcrev for npcm7xx-bootblock recipeAndrew Geissler1-0/+1
We appeared to be getting away with gsj machine build by utilizing sstate caches. A fresh build of gsj does not compile with the errors documented in openbmc/openbmc#3761. Resolves openbmc/openbmc#3761 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Id51643a6d341e9f079b33de66a8cee7f49b01225
2021-01-27u-boot-nuvoton: srcrev bump 6870e66f6b...c311158da2Stanley Chu1-1/+1
Avi Fishman (1): configs: npcm7xx: add CONFIG_MMC_SDHCI_SDMA=y Brian Ma (2): driver: pinctrl-npcm7xx: allow change gpio persist state cmd: add mcu command for update Runbmc MCU firmware Fii Firmware Team (1): add Fii kudo project dts & dtsi files Fran Hsu (2): dts:npcm730 GSZL add dts/pinctrl support. meta-gis: update quanta-gis DTS. Joseph Liu (1): driver: pinctrl: npcm7xx: fixs cannot enable gpio persist Medad CChien (1): NPCM750: SHA Hash Engine: Enable and Reset Module in hw_sha_init() Stanley Chu (1): driver: i2c-npcm7xx: do bus recovery when transfer has errors. jimliu2 (1): cmd: add gfx command for gfx test (From meta-nuvoton rev: 9be16ae7461763fe638546437b8bc6086031ccc7) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I7fa6b25088618164d856ed27244d870588673907 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-12-31meta-nuvoton: npcm7xx-bootblock: upgrade to 10.10.16Benjamin Fair1-2/+1
Changelog from 10.10.09: * MC: Enhanced training optimization. * SPI0 frequency is now only limited to be up to 50MHz (remove 40MHz lower limit). This check is only performed if PLLs are changes (RUN_BMC or new header frequency values). * Fix an issue in INTCR3 settings (FIU_FIX field). * MC: in enhanced training: change the sweep range accrording to the location of the step. (run time optimization) (From meta-nuvoton rev: e7db9495062eab77a319e6eb322cdfe0f68719d8) Change-Id: I65a512a0110b183c5d9307aea1380cc914236d7d Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-11u-boot-nuvoton: srcrev bump adb4ac1af3...6870e66f6bJoseph Liu1-1/+1
This includes bug fixs, pinctrl driver and npcm730/gis/gbs dts. Avi Fishman (6): board: nuvoton: poleg: fix dram size for 2GB would configure to 128MB npcm: clean warnings ARM: npcm7xx: add registers gcr configs: npcm7xx: add MEMTEST command npcm7xx: fix: L2 cache invalidate 16 ways configs: npcm7xx: add CONFIG_HUSH_PARSER command Brian Ma (5): npcm7xx: runbmc: buv: add DTS for BUV board driver: emc: add fixed phy support arch: arm: dts: remove BUV unused emc/gmac dts: npcm7xx: add common and pincfg dtsi arch: npcm750: reset: workaround BUV get CORSR when PORST Fran Hsu (3): Add 'CONFIG_SYS_MEM_TOP_HIDE' to Poleg minimal defconfig. Commit u-boot DTS files for the GIS project. u-boot: GIS system dts update. George Hung (5): dts: npcm730 GBS: add dts/pinctrl support dts:npcm730 GBS: add the missing GPIs initial dts: npcm730 GBS: add event clear to GPIO59 dts: npcm730 GBS: add event clear to some GPIs and init GPIO74 dts: npcm730 GBS: fix the GPIO91 setting Joseph Liu (20): npcm7xx: runbmc: set the graphic reset delay value arch: arm: dts: add nuvoton-npcm750-olympus dts file board: nuvoton: poleg: init board by machine name board: nuvoton: poleg: olympus: remove reset control arch: arm: cpu: npcm750: correct cpu info arch: arm: npcm750: add get reboot reason drivers: pinctrl: add npcm7xx pinctrl driver dts: add nuvoton-npcm7xx-pinctrl.dtsi dts: npcm750 olympus: add pinctrl support dts: npcm750 evb: add pinctrl support board: nuvoton: poleg: remove mfsel settings drivers: nuvoton: remove mfsel configs doc: nuvoton npcm7xx introduce pinctrl device tree binding driver: pinctrl: npcm7xx: add event clear support driver: pinctrl: npcm7xx: corrects input setting driver: pinctrl: npcm7xx: corrects persist state driver: pinctrl: npcm7xx: corrects polarity setting Revert "driver: pinctrl: npcm7xx: corrects persist state" configs: runbmc: add hush parser and mtest command cmd: standalone test: support at least one test Kun Yi (3): nuvoton: poleg.h: Add kernel reboot on oops/panic to bootargs npcm7xx: defconfig: Branch and remove unneeded functions dts: Add DTS for NPCM730 Medad CChien (3): u-boot: Support MFG Test u-boot: Add config to enable saving log in header u-boot: mfg test: Remove saving mtest result Stanley Chu (1): npcm7xx: allow to config SYS_MEM_TOP_HIDE by defconfig (From meta-nuvoton rev: c254937c929f03da19cac9fba7dc9bed6ef2acd6) Change-Id: I74afb9ab6d78e16b5b12fa27ef890f6b75629cc7 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-07-18meta-nuvoton: u-boot-nuvoton: set device tree from the machine configGeorge Hung1-0/+4
Handle machines setting custom values for UBOOT_DEVICETREE in their owned machine.conf (From meta-nuvoton rev: 77da50308b102dec6109c2ac73dea4a5cb70ac46) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icbe86c967540084ab0e616b4dd7da70c7c36c099 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-04meta-nuvoton: dunfell: move u-boot.inc into BSP layerBenjamin Fair2-1/+334
The latest upstream of oe-core has diverged to the point where the meta-nuvoton layer can no longer utilize the shared u-boot.inc In particular it has introduced a new, buildable config file, u-boot-initial-env, which is referenced throughout the u-boot.inc file now. This imports the same u-boot.inc file as meta-aspeed in https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/31810 The u-boot.inc used here was from poky with this sha: 9052e5b32a0dbc810782be4963e775609b8dcc04 (From meta-nuvoton rev: 9e3018a7e5e062fd2b1366572281bdfbe9f6cbb2) Change-Id: Ifb05fb08721d28e2c44393a7c7ce6396e681a929 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-16u-boot-nuvoton: srcrev bump 053010cb581..adb4ac1af3fJoseph Liu1-1/+1
Stanley Chu(1): npcm7xx: invalidate L2 cache in lowlevel_init Joseph Liu(3): runbmc: don't reset all gpio bank if core domain reset Revert "runbmc: don't reset all gpio bank if core domain reset" runbmc: don't reset gpiom5 if core domain reset (From meta-nuvoton rev: f90dac58bf0830ee2896c1ed2298e7cc58533b0d) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: Idf6efd0cd16d26e350d8b9761778957f0854e920 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-06meta-nuvoton: npcm7xx-bootblock: version the download nameBenjamin Fair1-2/+2
Rename the bootblock image as it is being downloaded to contain the current version string. Currently, all versions of the bootblock are downloaded with the same file name. This breaks mirroring and reproducibility of builds since multiple versions can't be kept in a mirror at once. (From meta-nuvoton rev: 0978a0f77c6b213770f08804d3a9ea8f96946e7e) Change-Id: I06ee856dc2f6c5b3feda11205f34fa4443347345 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-19meta-nuvoton: npcm7xx-bingo: remove XML filesBenjamin Fair4-510/+0
These files are now being provided by the npcm7xx-igps recipe instead. (From meta-nuvoton rev: 2cfee9091ece5f45ff5f8996ba7ac89ab4e8ff85) Change-Id: If7d0c78fd6af179e77bda981914d358aed8c9273 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-12meta-nuvoton: npcm7xx-bootblock: update to 10.10.09Benjamin Fair2-22/+26
This version is open source, so fetch the LICENSE file from the source code along with the new binary. Eventually we can switch to building the binary form BitBake. (From meta-nuvoton rev: 63acac211ab4ef207057d596b18715d92b20a335) Change-Id: I5d95c41127e5a54520d6509402bb0ba8553aaa48 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-12meta-nuvoton: add npcm7xx-igps recipeBenjamin Fair2-0/+170
Fetch the XML files which describe how to assemble the bootloaders for an NPCM7XX BMC. Apply a patch which changes the image paths to work with our BitBake build environment. The original files are intended to be used with custom Python build scripts which place the intermediate images at different paths than we use. (From meta-nuvoton rev: 878ffb6430f74d9b3398797a04f429ab2dc3f679) Change-Id: I90877d4f288afc75d6ba29045d13064b610275a6 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-05meta-nuvoton: npcm7xx-bingo: fix licenseBenjamin Fair1-1/+1
The LICENSE file specifies GPLv2 rather than Apache 2.0 (From meta-nuvoton rev: ee37d1050cdb1637b8a185f232ac268bd713c763) Change-Id: Ic9de1e3bba2f8325d7410ab03fa0243d9d87cec9 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19u-boot-nuvoton: srcrev bump d8d75f72b9e..053010cb581Joseph Liu1-1/+1
YSChu(4): npcm7xx: add defconfig for RunBMC board npcm7xx: update environment variables setting npcm7xx: runbmc: initialize mmc1 clock npcm7xx: refine progress status of programming spi flash Joseph Liu(2): npcm7xx: env: correct env size runbmc: don't reset gpiom2 if core domain reset Avi Fishman(1): fix serial numbers (From meta-nuvoton rev: f2ecc26cf46d47c49d17de0cccf53d52ed983d8f) Change-Id: If2b109cf1ff7a459c30deada109971c2237e72a9 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-17meta-nuvoton: images: fixup bingo and bootblock recipesBenjamin Fair2-1/+9
Add version information and descriptions to the two recipe files. (From meta-nuvoton rev: b5087ace68e81084e16075e76659ca5a6f553994) Change-Id: I52db4fc4193999b01a4a17e78d9060ef93eab944 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-19u-boot-nuvoton: move to 2019.01kwliu2-5/+5
Features and Drivers: - uart - flash - gmac/emc - sd/emmc - gpio - I2C master - pspi - USB host - USB mass storage - USB device controller - fuse - aes - rng - sha (From meta-nuvoton rev: 02b0bca47d62b2b5ffba0fc80cf9f10eeca7c6a4) Signed-off-by: kwliu <kwliu@nuvoton.com> Change-Id: Ibab2df0145256b75bc25173996aba68a2aa37998 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-nuvoton: generate full flash image.Oshri Alkoby (NTIL)5-0/+544
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-01-23u-boot-nuvoton: srcrev bump 196461383f7..5d036755c2eBenjamin Fair1-1/+1
Avi Fishman (5): bootm ${uimage_flash_addr} without other arguments HowToBuild-npcm7xx.txt modified emmc: npcm: sdhc: remove clock configuration npcm: SWC_DEFS: version change (no effect on code) Merge pull request #1 from warp5tw/npcm7xx Denis Pynkin (1): net: Use packed structures for networking Tali Perry (6): mach: npcm750: chagne mach number uart: npcm750: switch to uart0 with support to old linux as well Merge branch 'npcm7xx' of https://github.com/Nuvoton-Israel/u-boot into npcm7xx env: NPCM750: change default environment parameters, so that it will boot from flash automatically. Change environemt location to 80100000 and size 64KB max env: npcm7xx: change default environment to support latested openbmc changes env: npcm7xx: bootargs: bug fix- use common bootargs kfting (1): meta-evb-npcm750: fix the build break due to gcc upgrade in openbmc 2.6 (From meta-nuvoton rev: 40c31d6e0eb48e7dd3413156feebe4a48a214268) Change-Id: Ic2ace1c1d6b882cf6dd1d36c6ee88cf9424360c9 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-23u-boot-nuvoton: split common vars into an include fileBenjamin Fair3-23/+17
Move the common variables from u-boot-nuvoton and u-boot-fw-utils-nuvoton into a shared include file. This matches Aspeed's U-Boot and makes it easier to update the SRCREV. (From meta-nuvoton rev: f2ffed2c9345f79f11aab0b78f03f8350bce0476) Change-Id: I44407ff06d25f6ad6ae00f97b53c7db4fd60064c Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Move board support packages to top levelDave Cobbley2-0/+68
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>