summaryrefslogtreecommitdiff
path: root/meta-nuvoton
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-nuvoton: Cleanup for Yocto override syntax changeWilly Tu5-12/+12
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-05-07meta-nuvoton: Expand the reviewer poolJoel Stanley1-0/+5
Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I02eab06caacbd4d386bc6a40299a6066d07f9013 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-07linux-nuvoton: WPCM450 and spi fixJoel Stanley1-2/+2
The changes below were merged to mainline in v5.13 and have been backported to the openbmc dev-5.10 tree. This change brings Nuvoton up to the latest stable tree v5.10.30 and includes the following backported patches. Jonathan Neuschäfer (16): dt-bindings: serial: 8250: Add nuvoton,wpcm450-uart serial: 8250_of: Add nuvoton,wpcm450-uart dt-bindings: interrupt-controller: Add nuvoton, wpcm450-aic irqchip: Add driver for WPCM450 interrupt controller dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML ARM: dts: Add board-specific compatible string to npcm750-evb devicetree clocksource/drivers/npcm: Add support for WPCM450 dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer dt-bindings: vendor-prefixes: Add Supermicro dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt ARM: npcm: Introduce Nuvoton WPCM450 SoC watchdog: npcm: Add support for WPCM450 ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450 MAINTAINERS: Add entry for Nuvoton WPCM450 William A. Kennington III (1): spi: Fix use-after-free with devm_spi_alloc_* Change-Id: I29085374c54e7904852f0eb06206b5bb62104d1b Signed-off-by: Joel Stanley <joel@jms.id.au>
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-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-04-06linux-nuvoton: JFFS2 fix, Quanta GBS, NPCM Ethernet fixJoel Stanley1-1/+1
This moves to the latest commit in dev-5.10, which includes a fix for JFFS2 on overlayfs and adds the Quanta GBS machine. William A. Kennington III (2): net: npcm: Support for fixed PHYs net: npcm: Remove superfluous logging George Hung (1): ARM: dts: nuvoton: Add Quanta GBS BMC Device Tree Joel Stanley (1): jffs2: Hook up splice_write callback Change-Id: Ib3aa49a2e22c1bb3f7cef4d7bf70c2e6999d3f52 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-14linux-nuvoton: Move to v5.10.23 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.8.15 through to 5.10.23 stable releases. Change-Id: Ie54ff1f0e7f080661bd6f11b42c19cadcf14c56d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-13meta-nuvoton: enable module signature verificationAnton D. Kachalov1-0/+2
Nuvoton targets requires loadable modules support. Add the following config options: * MODULE_SIG * MODULE_SIG_SHA512 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Ieb5382fa7087be6ecd118eeaea9b9372cb75b861
2021-03-13meta-nuvoton: update defconfigAnton D. Kachalov1-35/+19
Re-run "savedefconfig" for Nuvoton kernel. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Iaeaf49f4f3f1850ad971423ecdd957b89c8ff06f
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-03-10meta-nuvoton: loadsvf: srcrev bump 69d077629d...f2296005cbStanley Chu1-1/+1
Stanley Chu (1): remove legacy IOCTLs The lastest jtag master driver has removed the unnecessary IOCTLS Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I0727e65da9b12808168f3f06655ff55a59e3b7c8
2021-02-18Revert "nuvoton: Enable seccomp support in kernel."Anton D. Kachalov1-2/+0
This reverts commit 6926f175f0a8099501ea2523f270db6be7049dcd. Reason for revert: Seccomp being enabled by default. Change-Id: I6ad97ebf37b79acfdee70d5cbbce2dd11b8bc061 Signed-off-by: Anton D. Kachalov <gmouse@google.com>
2021-02-18nuvoton: Enable seccomp support in kernel.Anton D. Kachalov1-0/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I5f6ef36e374b4b1d6f2cb50d6f7344fa801aa12a
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-02-11linux-openbmc: Move to Linux 5.10Joel Stanley1-3/+3
This moves the OpenBMC kernel to a v5.10 base for both Aspeed and Nuvoton. There are 125 patches in the tree, with 80 of those patches not yet queued for merging in v5.11. Notably the PECI patchset has been dropped as the author, Intel, has elected to develop it out of tree instead of submitting it for mainline inclusion. The remaining out of tree patches: Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Geissler (1): ARM: dts: tacoma: Add KCS node for LPC MCTP Andrew Jeffery (9): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node misc: Add ASPEED KCS driver for MCTP purposes ARM: dts: witherspoon: Add KCS node for LPC MCTP ARM: dts: aspeed: rainier: Don't shout addresses Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training /dev/mem: add a devmem kernel parameter to activate the device Dan Carpenter (1): soc: aspeed: xdma: Return -EFAULT if copy_from_user() fails Eddie James (9): ARM: dts: rainier: Add KCS node for LPC MCTP ARM: dts: aspeed: Add witherspoon-128 machine dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: rainier: Mark FSI SPI controllers as restricted ARM: dts: aspeed: Add Everest BMC machine Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver George Liu (2): ARM: dts: aspeed: inspur-fp5280g2: Add GPIO line names ARM: dts: aspeed: inspur-fp5280g2: Add ipsps1 driver Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): ARM: dts: aspeed: ast2600evb: Add MAC0 drm/aspeed: Add sysfs for output settings net: ftgmac100: Ensure tx descriptor updates are visible ARM: configs: aspeed: Update defconfigs Quan Nguyen (1): ARM: dts: aspeed: Add device tree for Ampere's Mt. Jade BMC Ryan Sie (1): ARM: dts: aspeed: Add Supermicro x11spi BMC machine Tomer Maimon (21): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC Troy Lee (3): dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support ARM: dts: aspeed: Add AST2600 edac into common devicetree edac: Supporting AST2400 and AST2600 edac driver Change-Id: I455ad0dfa67f7224f07b3999b7e3b50755490653 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-02-06meta-nuvoton: fix npcm750-evb buildAnton D. Kachalov1-3/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I02bfeccf158c8278034fec8642c00fe12fa89d23
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>
2021-01-21Add Owners Plugin to meta-nuvotonEd Tanous1-0/+2
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-nuvoton rev: 237db0807d1d7356974596140fd6c18ffa8f8eaf) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Iba16f21e4a2a0604ebf053cb5e4c120371755e73 Signed-off-by: Andrew Geissler <geissonator@yahoo.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-11-20linux-nuvoton: Move to latest v5.8Joel Stanley1-2/+2
Includes addition of Fii Kudo device tree. (From meta-nuvoton rev: f525a14ffcd06c41c512565ace585910a36e2c02) Change-Id: I4e6b77655a94c71987af53c327b03e39063d38ed Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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-09-04meta-nuvoton: kernel: bump to 5.8.5Andrew Geissler2-4/+4
The latest perf package is not working well with the older kernel. (From meta-nuvoton rev: 4143851815fa8499f5e3ed2ac16d1b8ea2ebca06) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I676120b09315b6cde43a93fcc7a4a01ff416a079 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04meta-nuvoton: Add reivewersJoel Stanley1-0/+2
(From meta-nuvoton rev: 24bb1f040d302a0a5b9b082986ddfc5cb5d56ff1) Change-Id: Id155c3c77342485193a66e11162955470cec3934 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.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-06-12meta-nuvoton: add loadsvf recipeStanley Chu1-0/+14
loadsvf is a tool to program CPLD via jtag master. (From meta-nuvoton rev: 164d305f081624e54d2150e4883a3887134f8b85) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I7f16f8e5cdd9e84c9f0e6a4ded8b53646eb70190 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-12meta-nuvoton: linux-nuvoton: add FS options to defconfigBenjamin Fair1-0/+7
Enable support for the filesystems used by the rootfs when booting from the SPI flash. (From meta-nuvoton rev: 168440a0f1c89fc8ef6cabea033c5611d323df89) Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I232309c8a1b196b54c7d3533a1c693e5e26d523e 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>
2020-05-04dunfell: update to 5.4.32 kernelAndrew Geissler1-2/+2
Some needed fixes are in the latest 5.4 branch of openbmc/linux which are required to update to the latest yocto release, dunfell In particular, this fix: https://github.com/openbmc/linux/commit/7dc9442bbe7d0d1512c64a97b7cc58fed2b38ba4 (From meta-nuvoton rev: efb274e62119e71688130d3fb82bb0fd0e7be5b5) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic053b94fc736f4381a6e6cd9cdaa4322d6546f66 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>
2020-04-17meta-nuvoton: linux: enable hash api for systemdJoseph Liu1-0/+3
Kernel crypto/hash API CONFIG_CRYPTO_HMAC CONFIG_CRYPTO_SHA256 CONFIG_CRYPTO_USER_API_HASH The requirement can be found at https://github.com/systemd/systemd/blob/master/README This API is necessary for the UUID feature that you can find the implementation in the bmcweb. https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/utils/systemd_utils.hpp (From meta-nuvoton rev: 0409fb71e479cef29777fee90f4285fd34f69eb6) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I85bc34196571e04bdcdc0c12707930fdfc16530e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-08linux-nuvoton: Move to 5.4Joel Stanley1-3/+3
This moves the OpenBMC kernel to a Linux v5.4 base. (From meta-nuvoton rev: c57a5fa88a0bb79729298095d16ec9dac6a0a067) Change-Id: Ieaa63dba85172b1c7d6d0ee2d12f3e20cccdd0a6 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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-12nuvoton: Add MAINTAINERSBrad Bishop1-0/+45
Add a maintainers file for meta-nuvoton. Benjamin is commit count leader and he already does high quality reviews of all the meta-nuvoton patches. (From meta-nuvoton rev: 75e2474d1f6d227e2d53a4bc1773ee928542d84f) Change-Id: I9deb71187866841d37965610a31c7730d45d9b9f 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-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-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-09-10linux-nuvoton: Move to 5.2.11Joseph Liu1-3/+3
This includes security and bug fixes from the 5.2.9, 5.2.10 and 5.2.11 stable releases. (From meta-nuvoton rev: 5f41582d83b45bdbf5159aa3489effa0ff6f1ff7) Change-Id: Ibcc44b652a14b5518c475947c8c7af1a4329cff9 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-19linux-nuvoton: Move to 5.1.12Joel Stanley1-2/+2
This includes security and bug fixes from the 5.1.8 through to 5.1.12 stable releases. (From meta-nuvoton rev: e1f70e3ddeeb8284bd0a7cd221fe81a52374fc45) Change-Id: Idde73ebbd4fc77525f91cf42f73dae3d1ab19e2d Signed-off-by: Joel Stanley <joel@jms.id.au> 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-10linux-nuvoton: 5.1.7 stable update, NPCM EDAC driverJoel Stanley2-2/+6
Enable EDAC in the kernel configuration. George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver (From meta-nuvoton rev: 382bd93faee564833cce0670ec458d76db6dbde5) Change-Id: I1627b91fa4464063f15b7a49b54829809594b3d4 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10linux-nuvoton: 5.1.6 stable updates, Qanta GSJJoel Stanley1-2/+2
This adds the Quanta GSJ NPCM730-based BMC and updates to the latest 5.1 stable tree. Fran Hsu (4): ARM: dts: nuvoton: Add NPCM730 common device tree ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Quanta GSJ BMC Device Tree. ARM: dts: nuvoton: Add GPIOs and LEDs to GSJ device tree Tomer Maimon (1): dts: npcm750: modify SPI partition label names (From meta-nuvoton rev: c1e7672e39ca3f347da7c50a3a2d277594b6e7a6) Change-Id: I91e0f19c36d6edda4717bd4346bee3f233712d5e Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-nuvoton: generate full flash image.Oshri Alkoby (NTIL)6-0/+555
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-05-15linux-nuvoton: Move to v5.1Joel Stanley1-3/+3
Current list of out-of-tree patches: Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Alexander Soldatov (1): hwmon (occ): Add temp sensor value check Andrew Jeffery (8): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces ARM: dts: aspeed: witherspoon: Update max31785 node ARM: dts: aspeed-g5: Expose VGA and SuperIO scratch registers Andrew Peng (1): ARM: dts: aspeed: Adding Lenovo Hr630 BMC Benjamin Fair (1): net: npcm: use bitmap functions on link mode params Benjamin Herrenschmidt (1): ARM: dts: aspeed: Add Power9 and Power9 CFAM description Christopher Bostic (1): iio: dps310: Temperature measurement errata Cyril Bur (1): misc: Add ASPEED mbox driver Cédric Le Goater (11): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency /dev/mem: add a devmem kernel parameter to activate the device ARM: dts: aspeed: Add "spi-max-frequency" property mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes Eddie James (10): ARM: dts: witherspoon: Enable vhub media: platform: Aspeed: Remove use of reset line media: platform: Aspeed: Make reserved memory optional media: dt-bindings: aspeed-video: Add missing memory-region property clk: Aspeed: Setup video engine clocking ARM: dts: aspeed-g5: Add video engine ARM: dts: witherspoon: Enable video engine ARM: dts: romulus: Enable video engine hwmon (occ): Store error condition for rate-limited polls hwmon (occ): Prevent sysfs error attribute from returning error Edward A. James (1): ARM: dts: Aspeed: Witherspoon: Update BMC partitioning Jae Hyun Yoo (19): dt-bindings: Add a document of PECI subsystem Documentation: ioctl: Add ioctl numbers for PECI subsystem peci: Add support for PECI bus driver core dt-bindings: Add a document of PECI adapter driver for ASPEED AST24xx/25xx SoCs peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx dt-bindings: mfd: Add a document for PECI client MFD mfd: intel-peci-client: Add PECI client MFD driver Documentation: hwmon: Add documents for PECI hwmon client drivers hwmon: Add PECI cputemp driver hwmon: Add PECI dimmtemp driver Add maintainers for the PECI subsystem ARM: dts: aspeed: peci: Add PECI node media: platform: aspeed: fix a kernel warning on clk control media: platform: aspeed: refine clock control logic media: platform: aspeed: change irq to threaded irq media: aspeed: remove IRQF_SHARED flag media: aspeed: reduce noisy log printing outs media: aspeed: remove checking of VE_INTERRUPT_CAPTURE_COMPLETE media: aspeed: refine interrupt handling logic Joel Stanley (20): iio: Add driver for Infineon DPS310 ARM: dts: aspeed-ast2500: Update flash layout ARM: dts: aspeed: Add LPC mailbox node ARM: dts: aspeed: Enable mbox ARM: dts: aspeed-g4: Expose SuperIO scratch registers ARM: dts: aspeed-g5: Add resets and clocks to GFX node ARM: dts: aspeed: Enable the GFX IP ARM: dts: aspeed: Add RTC node ARM: dts: aspeed: Rename flash-controller nodes ARM: config: aspeed: Update defconfigs ARM: config: aspeed-g5: Add video engine driver ARM: dts: npcm: Remove use of skeleton.dtsi dt-bindings: gpu: Add ASPEED GFX bindings document drm: Add ASPEED GFX driver drm: aspeed: Clean up Kconfig options dt-bindings: rtc: Add on-chip ASPEED RTC documentation rtc: Add ASPEED RTC driver ARM: config: aspeed: Add P2A and EDAC drivers ARM: config: aspeed-g5: Remove unused gadget drivers ARM: config: aspeed-g5: Add ISL68137 and IR38064 Lei YU (2): ARM: dts: palmetto: Fix flash_memory region hwmon (occ): Fix extended status bits Maxim Sloyko (3): hwmon: (pmbus/ir38064): Add driver for Infineon IR38064 Voltage Regulator ARM: dts: aspeed: zaius: add Infineon and Intersil regulators hwmon: (pmbus/isl68137) Add driver for Intersil ISL68137 PWM Controller Patrick Venture (7): ARM: dts: aspeed: zaius: Fix intersil compatibles dt-bindings: misc: aspeed-p2a-ctrl: add support drivers/misc: Add Aspeed P2A control driver ARM: dts: aspeed: Add aspeed-p2a-ctrl node ARM: dts: aspeed: quanta-q71: Enable p2a node dt-bindings: Add ir38064 as a trivial device dt-bindings: Add isl68137 as a trivial device Robert Lippert (2): ARM: dts: aspeed: zaius: update 12V brick I2C address ARM: dts: aspeed: zaius: fixed I2C bus numbers for pcie slots Tomer Maimon (18): dts: npcm7xx: Modify NPCM7xx device tree clk: nuvoton: add npcm750 clock function prototype initialization dt-binding: mtd: add NPCM FIU controller mtd: spi-nor: add NPCM FIU controller driver dt-bindings: i2c: npcm7xx: add binding for i2c controller i2c: npcm: driver for Poleg i2c controller dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: npcm: add defconfig for Nuvoton NPCM7xx BMC ARM: dts: npcm7xx: Update device tree dt-binding: peci: add NPCM PECI documentation peci: npcm: add NPCM PECI driver ARM: dts: npcm7xx: Add PECI description ARM: config: npcm7xx: Enable PECI driver Vijay Khemka (1): misc: aspeed-lpc-ctrl: make parameter optional krzysztof.adamski@nokia.com (1): pmbus: support for custom sysfs attributes (From meta-nuvoton rev: 407bea06b4b689ca21f42640a204561fde503a1e) Change-Id: Ia2af0bfd86c95f9c2c081ee1f8427a031e8a927a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>