summaryrefslogtreecommitdiff
path: root/meta-nuvoton/recipes-bsp/u-boot
AgeCommit message (Collapse)AuthorFilesLines
2023-07-04meta-nuvoton: Update default fw_env.configBrian Ma2-1/+5
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: u-boot-nuvoton: srcrev bump eade1250...02f2872aTim Lee1-1/+1
For compatible with the newest IGPS 3.9.1 design for new memory map. Thus, we need to change uboot load address and CONFIG_SYS_MEM_TOP_HIDE. Stanley Chu (3): npcm8xx: enable configs for optee/tpm arbel: change uboot load address arbel: change CONFIG_SYS_MEM_TOP_HIDE default value Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I498c9f62ae41aa5685f49184420e04572fb64a44
2023-06-28u-boot-nuvoton: bump srcrev 78bb108e...eade1250Brian Ma1-1/+1
Jim Liu (4): clk: npcm7xx: fix bug for calculate pll clock pinctrl: npcm: add reset type detect npcm8xx: fix reset reason issue for bootup npcm8xx: Add PORST detect and remove workaround Joseph Liu (1): dts: nuvoton-npcm845: eanble ftpm and optee support Judy Wang (1): drivers:optee:rpmb: initialize drivers of mmc devices in UCLASS_BLK for rpmb access Marvin Lin (2): dts: nuvoton-npcm845: enable RMII1 pins board: nuvoton: arbel: Correct CONFIG_SYS_MEM_TOP_HIDE value Stanley Chu (19): npcm_otp: correct the return value of fuse read npcm845-evb: configure rgmii2 phy voltage by dts npcm845-evb: set spix frequency to 50MHz dts: nuvoton-npcm845: set default uart clock rate dts: npcm8xx: add fm0 pinctrl misc: npcm_host_intf: change initialization sequence spi: npcm_fiu: do not change fiu clock clk: nuvoton: npcm8xx: set ahb/apb/fiu clock divider as read-only Revert "npcm845-evb: set spix frequency to 50MHz" spi: npcm_pspi: use ACTIVE_LOW flag for cs gpio and set default max_hz npcm845-evb: support TPM spi device arbel: add CONFIG_EXT_TPM2_SPI for external tpm2 device phy: add dt-bindig for npcm usb phy npcm8xx: support 4Gb ram gpio: npcm: set output state before enabling the output spi: npcm_pspi: update dts and debug log npcm_otp: read fuse bytes with byte offset arbel: update configs npcm8xx: add A2 CPU version Tim Lee (3): tools: env: use /run to store lockfile drivers: spi: fix compiler warnings from npcm_fiu_spi_probe configs: arbel: enable CONFIG_SPI_FLASH_GOOGLE Tyrone Ting (1): dts: nuvoton-npcm845: enable FIU3 voltage configuration Change-Id: I178cfe008b962a48ff1a6b3eb8a0c80d1f0fd34a Signed-off-by: Brian Ma <chma0@nuvoton.com>
2022-11-03meta-nuvoton: u-boot-nuvoton: srcrev bump f33412159b...78bb108e00Tim Lee1-1/+1
Joseph Fu (1): dts: npcm730 GBS: update uboot dts for npcm-v2021.04 Joseph Liu (1): configs: arbel: update uimage_flash_addr to 0x80400000 Stanley Chu (7): env: Support ENV offset behind the U-boot image env: print env offset if uboot pointer is enabled configs: arbel: add defconfig for enabling uboot_pointer feature spi: npcm_fiu: support spix dts: nuvoton-npcm845-evb: enable spix configs: npcm8xx: change env offset configs: arbel: change ramdisk load address Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I44ca7bb622ceb721400f3ce14254de7545c6bc35
2022-07-14meta-nuvoton: u-boot-nuvoton: upgrade v2019.01 -> v2021.04Tim Lee1-3/+3
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I5922de3f0f28932e212f0b5f0d7d6b92af6c0c9f
2022-04-21treewide: fix GPLv2+ obsolete-license warningsPatrick Williams1-1/+1
The LICENSE string 'GPLv2+' is considered obsolete by Yocto and raises a warning. Switch them too the accepted tag 'GPL-2.0-or-later'. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I88c639dbb45762e2e019a3503f1f1930b65c09d6
2022-03-31meta-nuvoton: u-boot-nuvoton: srcrev bump ab1fb4143e...3f1e85ef94Charles Boyer1-1/+1
Charles Boyer (1): Add Fii Mori project DTS and DTSI files Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I8fe7a6cb0d9bc036cebc2dc223181961f96b4a7e
2022-01-31meta-nuvoton: u-boot-nuvoton: srcrev bump 7578a59e96...ab1fb4143eMustafa Shehabi1-1/+1
Mustafa Shehabi (1): dts: npcm730 kudo: update GPIO203 in dtsi Change-Id: I832de8218da185428661edee55a21aed3828257f Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
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-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-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-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-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-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-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>