Age | Commit message (Collapse) | Author | Files | Lines |
|
Add Dubhe-83 u-boot dtsi.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Update dma-reserved node to 0x90000000 following changes in Linux device
tree.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Detect Dubhe-83 MARCHID and parse the matching FIT config.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Add binman node to support kernel FIT image generation for Dubhe-90,
Dubhe-83, Dubhe-80, Dubhe-70 AXI, and Dubhe-70 StarLink.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Add U-Boot FIT Image generation for Dubhe-83.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Use overlay device tree to support U-Boot FIT image generation of Dubhe-70
AXI and StarLink variant.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Add DT support for new Dubhe-83.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Sync device tree based on Linux v6.6.63.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Remove common.h header as it is not needed by the source file.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Dubhe-70 supports AXI or StarLink based cache management, differentiate
them by using the following naming convention:
1. dubhe70a - AXI variant
2. dubhe70s - StarLink variant.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Read StarLink csr to detect if StarLink IP is available in hardware.
If StarLink IP is not available, reading StarLink csr will trigger the
exception. Software check mcause value after read csr.
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Sync device tree from Linux based on v6.6.48.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Remove Svpmbt from Dubhe-70.
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
There are 3 cache modes:
- Coherent
- CMO extension
- SBI L2 custom extension
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Signed-off-by: Tan En De <ende.tan@starfivetech.com>
|
|
Update to align with new SBI_EXT_CACHE ID.
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Move dubhe-fpga-u-boot.dtsi to dubhe_fpga_common-u-boot.dtsi and add
dubhe*-u-boot.dtsi
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Remove unused dts.
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Sync device tree from Linux (commit 699004da6bab)
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Some fdt matching callback function relies on the root node compatible
string instead of the cpu node compatible string to enable platform
specific features.
Add root node compatible string in each Dubhe SoC level dtsi to clearly
distinguish them.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
|
|
Add binman node to support booting into Dubhe-90/80/70 within a
single fit image.
They share the same U-Boot proper and OpenSBI firmware, and only
differ by their fdt.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Get MARCHID of Dubhe-90/80/70 platform, and allow SPL to select
the correct fit image configuration to boot from, if the MARCHID
and the configuration name matches.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Add Dubhe-90/80/70 device tree support instead of using generic
Dubhe device tree. This allows platform to enable platform specific
properties in device tree.
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
|
|
|
|
|
|
Reassign address for SPL STACK to avoid global data being wiped off during mem_malloc_init
Remove unused config CONFIG_SPL_LOAD_FIT_ADDRESS
Signed-off-by: woonjiet.chong <woonjiet.chong@starfivetech.com>
|
|
|
|
|
|
Do not apply bitwise AND to register value and expected value, only
apply bitwise AND to register value and mask, and only then compare
the result with expected value that the function polls for.
Fixes: b49105320a5b ("stm32mp: psci: Implement PSCI system suspend and DRAM SSR")
Signed-off-by: Marek Vasut <marex@denx.de>
|
|
Update the TAMP_SMCR BKP..PROT fields to put first 10 registers
into protection zone 1 and next 5 into zone 2. This fixes use of
boot counter which is often in zone 3 and has to be updated from
Linux, which runs in NS.
Fixes: 73f7fc944cf6 ("ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
|
|
beagleboneai64 boot was broken after OF_UPSTREAM support for
J721E SOC.
So add bootph in chipid node similar to other boards of
this SOC.
Fixes: 46bb1405b461 ("arm: dts: k3-j721e: Move to OF_UPSTREAM")
Reported-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
|
|
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/22292
- Add rdcycle to RISC-V exception command
- Some fixes and refactoring
|
|
If an exception occurs in main U-Boot, show the registers. This makes
analyzing crashes especially in external applications easier.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
|
|
To minimize SPL size it is reasonable to disable SHOW_REGS. For main U-Boot
the size restrictions are much more relaxed.
* Provide separate Kconfig symbols for SPL and main U-Boot.
* Add a help text.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
|
|
The CONFIG_SPL_FRAMEPOINTER symbol is only relevant in SPL.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Ben Dooks <ben.dooks@codethink.co.uk>
|
|
These seem to be missing, and trying to build fastboot cmd without
them is causing errors due to these being missing.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Tested-by: E Shattow <lucent@gmail.com
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
|
|
Since commit 37e50627efac ("ARM: dts: imx: Convert i.MX8M flash.bin
image generation to binman") the imx8mq-evk fails to boot:
U-Boot SPL 2024.10-rc4 (Sep 09 2024 - 16:08:22 -0300)
PMIC: PFUZE100 ID=0x10
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC2
Fix it by passing the offset property for the FIT image, just like
it is done on i.MX8MM.
Fixes: 37e50627efac ("ARM: dts: imx: Convert i.MX8M flash.bin image generation to binman")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Marek Vasut <marex@denx.de>
|
|
The RPC SPI DT node is now part of mainline Linux DT, remove the
duplicate content from U-Boot DT extras. The SPI flash DT node name
has been changed from "spi-flash@0" to "flash@0", reflect this change
in this patch. Retain "bank-width" and "num-cs" DT properties which
are used by U-Boot. Retain "spi-rx-bus-width" and "spi-tx-bus-width"
DT properties to indicate the bus should always be operated in 1-1-1
mode as the U-Boot RPC SPI driver does not support higher bus width
modes yet.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
|
|
in U-Boot proper
Use the i2c_eeprom miscellaneous driver for reading Turris Omnia EEPROM
in U-Boot proper. Keep using dm_i2c_read() in SPL build, since adding
the i2c_eeprom driver to SPL build increases the image by 1.5 KiB.
Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
|
|
doc/develop/makefiles.rst has the following note:
if_changed should not be used more than once per target.
It stores the executed command in a corresponding .cmd
file and multiple calls would result in overwrites and
unwanted results when the target is up to date and only the
tests on changed commands trigger execution of commands.
The mach-imx Makefile does not follow this recommandation, so fix it
by implementing a single command that performs both the cpp_cfg
and imx9_check actions.
This change fixes an issue with "tools/buildman/buildman imx8ulp_evk"
failing every other time [1].
[1] https://lists.denx.de/pipermail/u-boot/2024-August/563192.html
Fixes: f637dfe8c468 ("mach-imx: Add i.MX93 binman support.")
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
|
|
Instead of using the local imx6-tqma6 devicetree copies from U-Boot,
convert the imx6-tqma6 target to OF_UPSTREAM so that the upstream
kernel devicetrees can be used instead.
Signed-off-by: Fabio Estevam <festevam@denx.de>
|