- Dec 24, 2024
-
-
Heinrich Schuchardt authored
%s/volatge/voltage/g Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by:
Peng Fan <peng.fan@nxp.com>
-
- Dec 15, 2024
-
-
Francois Berder authored
buf was used as destination and as parameter to sprintf which triggers an undefined behaviour. This commit removes this usage of sprintf and uses strcat to append strings to buf variable. Signed-off-by:
Francois Berder <fberder@outlook.fr> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Michael Walle authored
Network is broken on variant 3 boards since commit 61ff1328 ("board: sl28: move to OF_UPSTREAM") because it was removing the variant 3 handling. That is because at that time the var3 device tree was not upstream. FWIW variant 3 is actually the same as the base variant, but I've missed that the -u-boot.dtsi is not inlcuded in this case which will set the ethernet alias. Now that the var3 device tree is upstream, just re-add it to the SPL handling again. Fixes: 61ff1328 ("board: sl28: move to OF_UPSTREAM") Signed-off-by:
Michael Walle <mwalle@kernel.org> Reviewed-by:
Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Michael Walle authored
We don't have a reference to the driver used by uclass_get_device_by_driver() in stop_recovery_watchdog(). Fix it by not calling that function if the watchdog driver isn't enabled. Signed-off-by:
Michael Walle <mwalle@kernel.org> Reviewed-by:
Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
- Dec 11, 2024
-
-
Ilias Apalodimas authored
Since RPI works well using EFI and has no size limitations with regards to U-Boot, add the needed structures to support capsule updates. While at it update the most commonly used defconfigs and include capsule support and U-Boot commands needed by EFI Tested-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Peter Robinson authored
For a lot of usecases, such as display, camera, media the Raspberry Pi needs a lot more CMA than distros configure as default so we should pass this parameter through so things work as expected. Fix a spelling mistake while we're at it. Signed-off-by:
Peter Robinson <pbrobinson@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Matthias Brugger <mbrugger@suse.com>
-
- Dec 06, 2024
-
-
Vincent Stehlé authored
Add a missing comma in the update_info structure declaration. This fixes the following build error when building with EFI_RUNTIME_UPDATE_CAPSULE or EFI_CAPSULE_ON_DISK: board/emulation/qemu-arm/qemu-arm.c:52:9: error: request for member ‘images’ in something not a structure or union Fixes: cccea188 ("efi_loader: add the number of image entries in efi_capsule_update_info") Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com> Cc: Masahisa Kojima <masahisa.kojima@linaro.org> Cc: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Cc: Tom Rini <trini@konsulko.com>
-
Heinrich Schuchardt authored
Building qemu_arm64_defconfig with CONFIGS_DM_RTC=n and CONFIGS_RTC_PL031=y leads to a build failure. Adjust the vexpress64 configuration to avoid circular dependency. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Nov 30, 2024
-
-
Rasmus Villemoes authored
It doesn't make sense for a README file to be executable. Remove that bit. Signed-off-by:
Rasmus Villemoes <ravi@prevas.dk>
-
- Nov 29, 2024
-
-
Marek Vasut authored
The YModem support in SPL was never really used on this device, the SDP support is much more convenient on i.MX8M Mini based hardware. Replace the YModem support with SDP support. The SDP can be utilized by forcing the board into SDP boot mode by grounding test point right next to silkscreen label U30, and then by using mfgtools 'uuu -brun spl flash.bin' once the device enumerates on host system USB bus. The SDP capable USB port is available on the USB micro-B port on the base board. Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Marek Vasut authored
In case gpio_request_list_by_name_nodev() in board dmo_get_memcfg() returns error code, pick a safe default DRAM configuration instead of bailing out with some sort of hang() or panic(). The BIT(2)|BIT(0) strap option is the lowest known option of 2 GiB , use that. Signed-off-by:
Marek Vasut <marex@denx.de>
-
- Nov 26, 2024
-
-
Chris Packham authored
The x250 and SE250 are series of 10G L2+ switches from Allied Telesis. There are a number of them in the range but as far as U-Boot is concerned all the CPU block components are the same so there's only one board defined. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Tony Dinh authored
Enable bootstd for Sheevaplug board. Remove JFFS2 support. See JFFS2 Vulnerability[1]. Enable LTO to keep board size within limit. Move default envs to text-base environment [1] https://lore.kernel.org/u-boot/20241114233005.GN3600562@bill-the-cat/T/#m2fc25da1d2c019bc3cd8676991fdd64b8a21aa9b Signed-off-by:
Tony Dinh <mibodhi@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Nov 22, 2024
-
-
Ben Horgan authored
The previous maintainer is no longer involved in total compute. Signed-off-by:
Ben Horgan <ben.horgan@arm.com> Reviewed-by:
Peter Robinson <pbrobinson@gmail.com> Reviewed-by:
Leo Yan <leo.yan@arm.com>
-
- Nov 19, 2024
-
-
Michal Simek authored
There is no common symbol which mini configurations are using and recent get_mem_top() changes adding 1.3kB without having a way to remove it. That's why introduce new symbol which can be used for removing features which are not requested by these configurations. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/aa27b72e17057fa8cbdd92a2bbb863a31c8c1226.1731681053.git.michal.simek@amd.com
-
Michal Simek authored
For RTC to start to operate there is a need to call the driver. The simple way to do it is to set default RTC instance which will call the probe and do basic initialization. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/01155f1555dbd42adc618906629f5fb45754d5a4.1731419926.git.michal.simek@amd.com
-
- Nov 15, 2024
-
-
Michal Simek authored
Enable capsule update in SD boot mode. For getting it work there is a need to generate or setup dfu_alt_info and enable sysreset with DFU_MMC. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/cede513de764b99560dc3737457dbc8a5cc71d21.1729857366.git.michal.simek@amd.com
-
Michal Simek authored
If sysreset is enabled reset_cpu is defined in sysreset uclass that's why it can't be in platform/board code. The same change was done by commit f1bc214b ("arm64: zynqmp: Do not define do_reset() if sysreset is enabled"). Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/8c1a5d6148c5e6c46790b725e8148a4e12d393ba.1729857366.git.michal.simek@amd.com
-
Sughosh Ganu authored
Use the get_mem_top function to compute the value of ram_top. This was earlier done through LMB API's, which are no longer available till after relocation. Use get_mem_top() instead to compute the ram_top value. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by:
Michal Simek <michal.simek@amd.com> Tested-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20241025172724.195093-3-sughosh.ganu@linaro.org Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
- Nov 14, 2024
-
-
Wadim Egorov authored
Our SoMs are available in multiple configurations, managed via device tree overlays. To determine the specific variant in use, we read the EEPROM and apply the appropriate overlays during boot to the device tree used by the OS. Signed-off-by:
Wadim Egorov <w.egorov@phytec.de> Acked-by:
Neha Malcom Francis <n-francis@ti.com>
-
- Nov 13, 2024
-
-
Heinrich Schuchardt authored
qemu_arm64_defconfig with CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=n leads to a build error: arch/arm/lib/crt0_64.S:85: Error: constant expression expected at operand 2 -- `ldr x0,=((CFG_SYS_INIT_RAM_ADDR+CFG_SYS_INIT_RAM_SIZE-480))' We do not define CFG_SYS_INIT_RAM_ADDR and CFG_SYS_INIT_RAM_SIZE for QEMU. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
- Nov 11, 2024
-
-
Jonas Karlman authored
The FriendlyElec NanoPi R2S Plus is a single-board computer based on Rockchip RK3328 SoC. It features e.g. 1 GB DDR4 RAM, 32 GB eMMC, SD-card, 2x GbE LAN, optional M.2 SDIO Wi-Fi and 2x USB 2.0 host. Features tested on a NanoPi R2S Plus 2309: - SD-card boot - eMMC boot - Ethernet - USB gadget - USB host Signed-off-by:
Jonas Karlman <jonas@kwiboo.se> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Andy Yan authored
Add support for Cool Pi GenBook, it works as a carrier board connect with CM5 SOM. Specification: - Rockchip RK3588 - LPDDR5X 8/32 GB - eMMC 64 GB - HDMI Type A out x 1 - USB 3.0 Host x 1 - USB-C 3.0 with DisplayPort AltMode - PCIE M.2 E Key for RTL8852BE Wireless connection - PCIE M.2 M Key for NVME connection - eDP panel with 1920x1080 Tested by Armbian boot on USB disk. Change-Id: I4d9b8572dc7c400077dde666633f3fea1b47dd03 Signed-off-by:
Andy Yan <andyshrk@163.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Heiko Stuebner authored
The Qnap TS433 is a 4-bay NAS based around the RK3568. Two SATA bays are connected to the RK3568's own SATA controllers while the other two are connected to a JMicron SATA controller living on the PCIe bus. It provides one 2.5Gb and one 1Gb ethernet port as well as 3 usb ports. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Nov 10, 2024
-
-
Lad Prabhakar authored
For upstream Linux kernel we use below DTBs for HiHope boards: - r8a774a1-hihope-rzg2m-ex.dtb - r8a774e1-hihope-rzg2h-ex.dtb - r8a774b1-hihope-rzg2n-ex.dtb Update the CONFIG_OF_LIST to match the above. Now that we have switched upstream DTS, drop deleting the nodes and also rename the r8a774*-u-boot.dtsi files to r8a774*-ex-u-boot.dtsi to match the OF_LIST files so that the `bootph-all` property gets applied to required nodes in upstream DTS. Signed-off-by:
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by:
Chris Paterson <chris.paterson2@renesas.com>
-
Paul Barker authored
We are now using the dts/upstream subtree for the RZ/G2L SoC family, so update the board MAINTAINERS file to match rz-smarc dtsi files in this subtree. Signed-off-by:
Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by:
Marek Vasut <marek.vasut+renesas@mailbox.org>
-
- Nov 09, 2024
-
-
Benjamin Szőke authored
Improve "mmcautodetect=yes" boot mode autodetection to able to use it if CONFIG_ENV_IS_NOWHERE=y is used for i.MX9 SoCs and i.MX93 EVK board. If both CONFIG_ENV_IS_IN_MMC=y and CONFIG_ENV_IS_NOWHERE=y are in the defconfig, CONFIG_ENV_IS_IN_MMC=y will be overiden default CONFIG_ENV_IS_NOWHERE settings. Goal is in this patch to able to use the boot mode autodetection if defconfig use only CONFIG_ENV_IS_NOWHERE=y option (without CONFIG_ENV_IS_IN_MMC) for any i.MX9 SoC. Signed-off-by:
Benjamin Szőke <egyszeregy@freemail.hu>
-
- Nov 06, 2024
-
-
Michal Simek authored
DTB should be also placed to DDR. It should be the part of commit 9d688e6d ("riscv: mbv: Align DT with QEMU"). Signed-off-by:
Michal Simek <michal.simek@amd.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
- Nov 04, 2024
-
-
Leo Yan authored
This commit introduces build_mem_map() function for updating the mem_map structure with copying info from gd->bd->bi_dram, so that it can keep the consistence for DRAM info passed via DT. The page table size is calculated prior to mem_map is ready, introduce the get_page_table_size() function for a predefined table size. Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Leo Yan authored
Add booting option for Debian system. Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Leo Yan authored
Dynamically detect block device in the boot command, this allows to support both MMC and virtio block devices. Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Boyan Karatotev authored
Tell the AVB command that is loading from MMC. Signed-off-by:
Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Boyan Karatotev authored
The boot command for Total Compute has many aspects and changes from time to time. So move it to an .env file where it can be a proper script. Signed-off-by:
Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Boyan Karatotev authored
Initialize the environment variables 'fdt_addr_r' and 'kernel_addr_r' during the misc init phase. The static configurations are not needed, remove them. Signed-off-by:
Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
Boyan Karatotev authored
On Total Compute, TF-A passes the info via DT binding for the hardware description - includes the serial, memory, and arm_ffa nodes. This commit initializes the fdt base address based on the passed the register x1. The similar implementation has already been done for the raspberry pi, so borrow a lot of it. Co-developed-by:
Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by:
Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by:
Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by:
Leo Yan <leo.yan@arm.com>
-
- Oct 30, 2024
-
-
Manorit Chawdhry authored
Create an SoC R5 dtsi file that could be used at board level R5 files. This would help in keeping the SoC level changes in sync across board files. Signed-off-by:
Manorit Chawdhry <m-chawdhry@ti.com>
-
Bastien Curutchet authored
AEMIF controller is present on other SoCs than the Keystone ones. Remove Keystone specificities from the driver to be able to use it from other architectures. Adapt the ks2_evm/board.c to fit the new driver. Signed-off-by:
Bastien Curutchet <bastien.curutchet@bootlin.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Oct 29, 2024
-
-
Gilles Talis authored
The Emcraft Systems NavQ+ kit is a mobile robotics platform based on NXP i.MX8 MPlus SoC. The following interfaces and devices are enabled: - eMMC - Gigabit Ethernet (through eQOS interface) - SD-Card - UART console The device tree file is taken from upstream Linux Kernel through OF_UPSTREAM Signed-off-by:
Gilles Talis <gilles.talis@gmail.com> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Baocheng Su authored
Main differences between the new variant and Advanced PG2: 1. Arduino interface is removed. Instead, an new ASIC is added for communicating with PLC 1200 signal modules. 2. USB 3.0 type A connector is removed, only USB 2.0 type A connector is available. 3. DP interface is tailored down. Instead, to communicate with the PLC 1200 signal modules, a USB 3.0 type B connector is added but the signal is not USB. 4. DDR size is increased to 4 GB. 5. Two sensors are added, one tilt sensor and one light sensor. Signed-off-by:
Baocheng Su <baocheng.su@siemens.com> [Jan: rebased over OF_UPSTREAM] Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com>
-
Conor Dooley authored
The clock driver for PolarFire SoC now requires syscon and regmap features, so imply them to preserve implication of the clock driver. Signed-off-by:
Conor Dooley <conor.dooley@microchip.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-