- Dec 18, 2024
-
-
Patrice Chotard authored
Restore boot SPL from sdcard for Engicam i.Core STM32MP1 C.TOUCH 2.0. Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
Patrice Chotard authored
Restore boot SPL from sdcard for Engicam MicroGEA STM32MP1 MicroDev 2.0 7" OF Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
Patrice Chotard authored
Restore boot SPL from sdcard for Engicam i.Core STM32MP1 EDIMM2.2. Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
Patrice Chotard authored
Restore boot SPL from sdcard for Engicam i.Core STM32MP1 C.TOUCH 2.0. Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
Patrice Chotard authored
Restore boot SPL from sdcard for STM32MP1 platforms. Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
Marek Vasut authored
The content of CONFIG_OF_SPL_REMOVE_PROPS is the same in both STM32MP15xx DHCOM and DHCOR defconfigs, deduplicate the content into stm32mp15_dhsom.config . Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Marek Vasut authored
The access-controllers DT property is not useful in STM32MP15xx SPL, remove it to reduce SPL control DT size. No functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Marek Vasut authored
Commit 2a00d73d ("spl: mmc: Try to clean up raw-mode options") broke booting from SD card on STM32MP15xx , reinstate raw mode SD boot configuration options and select the correct raw mode partition for STM32MP15xx to fix SD boot on STM32MP15xx DHSOM. Fixes: 2a00d73d ("spl: mmc: Try to clean up raw-mode options") Reported-by:
Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Marek Vasut authored
The root oscillators reference used to be in rcc node since 3d152455 ("ARM: dts: stm32mp1: explicit clock reference needed by RCC clock driver") however this is not part of upstream stm32mp151.dtsi . The RCC driver does need this reference, reinstate it locally. Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Marek Vasut authored
The root oscillators reference used to be in rcc node since 3d152455 ("ARM: dts: stm32mp1: explicit clock reference needed by RCC clock driver") however this is not part of upstream stm32mp151.dtsi . The RCC driver does need this reference, reinstate it globally. Signed-off-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com> Tested-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Patrice Chotard authored
Since commit 6534d26e ("lmb: do away with arch_lmb_reserve()"), STM32F746-disco hangs when loading device tree just before starting kernel: Retrieving file: /stm32f746-disco.dtb Kernel image @ 0xc0008000 [ 0x000000 - 0x19ae00 ] Flattened Device Tree blob at c0408000 Booting using the fdt blob at 0xc0408000 Working FDT set to c0408000 Loading Device Tree to c05f8000, end c05ff71c ... Adjust STACK_SIZE to 16KB for STM32 MCUs (F4/F7 and H7) boards to fix kernel boot process as some of these boards embeds a limited amount of memory. Fixes: 6534d26e ("lmb: do away with arch_lmb_reserve()") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
- Dec 17, 2024
-
-
Patrice Chotard authored
Previously, all LMB marked with LMB_NOMAP (above and below ram_top) are considered as invalid entry in TLB. Since commit 1a48b0be ("lmb: prohibit allocations above ram_top even from same bank") all LMB located above ram_top are now marked LMB_NOOVERWRITE and no more LMB_MAP. This area above ram_top is reserved for OPTEE and must not be cacheable, otherwise this leads to a Panic on some boards (Issue on STM32MP135F-DK). Restore previous behavior by marking invalid entry all TLB above ram_top. Fixes: 1a48b0be ("lmb: prohibit allocations above ram_top even from same bank") Signed-off-by:
Patrice Chotard <patrice.chotard@foss.st.com> cc: Sughosh Ganu <sughosh.ganu@linaro.org> Acked-by:
Sughosh Ganu <sughosh.ganu@linaro.org>
-
Simon Glass authored
I have an original rpi installed now, loaded with OS Lite (32-bit) Add an entry for it so that it can be used for testing. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Simon Glass authored
This patch was written before the XPL change-over. Update the Makefile condition to the new way. Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: ae3b5928 ("x86: coreboot: Allow building an expo for...") Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de>
-
Simon Glass authored
The logic in get_details() retrieves the default source directory from the Labgrid settings. This is convenient for interactive use, since it allows pytests to be run from any directory and still find the source tree. However, it is not actually correct. Gitlab sets the current directory to the source tree and expects that to be used. At present it is ignored. The result is that Gitlab builds whatever happens to be in the default source directory, ignoring the tree it is supposed to be building. Fix this by using the directory of the source tree, always. This is obtained by looking at the grandparent of the conftest.py file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by:
Tom Rini <trini@konsulko.com> Fixes: bf89a8f1 ("test: Introduce the concept of a role") Tested-by:
Tom Rini <trini@konsulko.com>
-
- Dec 16, 2024
-
-
Tom Rini authored
Svyatoslav Ryhel <clamor95@gmail.com> says: This should fix: https://lore.kernel.org/all/20241201164810.GT3600562@bill-the-cat/T/#m2b62b471fd37e4c9725c98547e2a919cf11db5e5 Link: https://lore.kernel.org/r/20241213145319.10956-1-clamor95@gmail.com
-
Svyatoslav Ryhel authored
In case DM drivers probe earlier than board clock setup is done init of basic clocks should be done in CAR driver probe as well. Add it to avoid possible clock related problems. Acked-by:
Thierry Reding <treding@nvidia.com> Signed-off-by:
Svyatoslav Ryhel <clamor95@gmail.com>
-
Svyatoslav Ryhel authored
Return PLL id into struct clk if PLL is parsed from device tree instead of throwing an error. Allow requesting PLL clock rate via get_rate op. Signed-off-by:
Svyatoslav Ryhel <clamor95@gmail.com>
-
https://source.denx.de/u-boot/custodians/u-boot-mmcTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/23871 - Fix potential timer value truncation
-
Ronald Wahl authored
On 64bit systems the timer value might be truncated to a 32bit value causing malfunctions. For example on ARM the timer might start from 0 again only after a cold reset. The 32bit overflow occurs after a bit more than 49 days (1000 Hz counter) so booting after that time may lead to a surprise because the board might become stuck requiring a cold reset. Signed-off-by:
Ronald Wahl <ronald.wahl@legrand.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
- Dec 15, 2024
-
-
https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriqTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/23856 - Use strcat to replace sprintf for t208xqds - Fix bootefi for board ls1028a - Various fixes to sl28 board
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request doc-2025-01-rc5 Documentation: * sending_patches: Fix spelling of "its" * environment: NET_LWIP dhcp sets ipaddrN, netmaskN and gatewayipN * remove redundant Rockchip bindings * fwu_updates: Fix formatting * coolpi: Fix document style * board: theobroma-systems: fix feature list in introductions Fix typos in code comments: * clk: mpc83xx: Fix typo in "Coherent System Bus" * efi_loader: Fix typos in enum efi_allocate_type
-
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>
-
Wei Ming Chen authored
Without this patch, there will be error indicating that "Cannot use 64 bit addresses with SDMA", and the booting process will stuck. please see full boot log below U-Boot 2022.04-g18185931 (Sep 11 2024 - 13:15:30 +0800) SoC: LS1028AE Rev1.0 (0x870b0010) Clock Configuration: CPU0(A72):1500 MHz CPU1(A72):1500 MHz Bus: 400 MHz DDR: 1600 MT/s Reset Configuration Word (RCW): 00000000: 3c004010 00000030 00000000 00000000 00000010: 00000000 018f0000 0030c000 00000000 00000020: 020031a0 00002580 00000000 00003296 00000030: 00000000 00000010 00000000 00000000 00000040: 00000000 00000000 00000000 00000000 00000050: 00000000 00000000 00000000 00000000 00000060: 00000000 00000000 200e705a 00000000 00000070: bb580000 00000000 Model: LS1028A RDB Board Board: LS1028AE Rev1.0-RDB, Version: C, boot from SD FPGA: v8 (RDB) SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz DRAM: 3.9 GiB DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on) Using SERDES1 Protocol: 47960 (0xbb58) PCIe1: pcie@3400000 Root Complex: no link PCIe2: pcie@3500000 Root Complex: x1 gen2 Core: 45 devices, 22 uclasses, devicetree: separate WDT: Started watchdog@c000000 with servicing (60s timeout) WDT: Started watchdog@c010000 with servicing (60s timeout) MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment EEPROM: Invalid ID (ff ff ff ff) In: serial Out: serial Err: serial SEC0: RNG instantiated Net: Warning: enetc-0 (eth0) using random MAC address - d2:9b:a5:37:7b:b5 eth0: enetc-0 Warning: enetc-2 (eth1) using random MAC address - ca:57:11:de:de:cb , eth1: enetc-2, eth2: swp0, eth3: swp1, eth4: swp2, eth5: swp3 Hit any key to stop autoboot: 0 Trying load HDP firmware from SD.. switch to partitions #0, OK mmc0 is current device Device: FSL_SDHC Manufacturer ID: 9f OEM: 5449 Name: SD32G Bus Speed: 50000000 Mode: SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 28.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes MMC read: dev # 0, block # 18944, count 512 ... 512 blocks read: OK Loading hdp firmware from 0x00000000a0000000 offset 0x0000000000002000 Loading hdp firmware Complete switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... ** Unable to read file / ** Failed to load '/' libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@2140000.blk... Scanning disk mmc@2150000.blk... Found 7 disks ERROR: invalid device tree Found EFI removable media binary efi/boot/bootaa64.efi 981992 bytes read in 44 ms (21.3 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC WARNING could not find node vivante,gc: FDT_ERR_NOTFOUND. Booting /efi\boot\bootaa64.efi Cannot use 64 bit addresses with SDMA Error reading cluster ** Unable to read file /efi/boot/grubaa64.efi ** Unexpected return from initial read: Device Error, buffersize 29D790 Failed to load image ¬ : Device Error start_image() returned Device Error EFI LOAD FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... ** Unable to read file / ** Failed to load '/' libfdt fdt_check_header(): FDT_ERR_BADMAGIC BootOrder not defined EFI boot manager: Cannot load any image Scanning mmc 1:2... ** Unable to read file / ** Failed to load '/' libfdt fdt_check_header(): FDT_ERR_BADMAGIC BootOrder not defined EFI boot manager: Cannot load any image starting USB... Bus usb@3100000: Register 200017f NbrPorts 2 Starting the controller USB XHCI 1.00 Bus usb@3110000: Register 200017f NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb@3100000 for devices... 1 USB Device(s) found scanning bus usb@3110000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device Trying load from SD ... switch to partitions #0, OK mmc0 is current device Device: FSL_SDHC Manufacturer ID: 9f OEM: 5449 Name: SD32G Bus Speed: 50000000 Mode: SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 28.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes MMC read: dev # 0, block # 32768, count 81920 ... 81920 blocks read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Signed-off-by:
Wei Ming Chen <jj251510319013@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Leonard Anderweit authored
Remove one of the double colon so ..code-block is used for formatting. Signed-off-by:
Leonard Anderweit <l.anderweit@phytec.de> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Jérôme Forissier authored
Document environment variables set by the dhcp command when the network stack is lwIP. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Quentin Schulz authored
Board introductions have a feature list which isn't formatted properly according to rST and is thus rendered incorrectly. Fix this by adding the missing newlines in the appropriate places. Signed-off-by:
Quentin Schulz <quentin.schulz@cherry.de>
-
Simon Glass authored
Fix 'indicatged' and 'adress' typos. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Andy Yan authored
Add a blank line after title "Specification:" to make it render correctly html. And also remove the useless > in bash code block. Signed-off-by:
Andy Yan <andyshrk@163.com> Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de>
-
Johan Jonker authored
Most Rockchip device tree related bindings are converted to YAML and available in the U-boot /dts/upstream/Bindings/ directory. Remove all redundant U-boot entries. Signed-off-by:
Johan Jonker <jbx6244@gmail.com>
-
J. Neuschäfer authored
Although it has historically been different, the current standard spelling of the neutral singular possessive pronoun is "its". Signed-off-by:
J. Neuschäfer <j.ne@posteo.net>
-
J. Neuschäfer authored
Cosmetic change. Signed-off-by:
J. Neuschäfer <j.ne@posteo.net>
-
Michael Walle authored
Since commit 61ff1328 ("board: sl28: move to OF_UPSTREAM") USB0 is broken because the former u-boot soc dtsi was setting dr_mode to "host" but the linux device tree isn't. That is because linux fully supports OTG but u-boot doesn't. Therefore, u-boot only ever enabled host mode and never OTG mode. Add it to our board "-u-boot.dtsi" to fix it. Fixes: 61ff1328 ("board: sl28: move to OF_UPSTREAM") Reported-by:
Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by:
Michael Walle <mwalle@kernel.org> Tested-by:
Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Michael Walle authored
Convert the table to a correct reST table syntax. Signed-off-by:
Michael Walle <mwalle@kernel.org> 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
Increase the malloc size to 2MiB because our FIT image exceeds the 1MiB limit either if BL31 mode is enabled or if another device tree is added to the image. Signed-off-by:
Michael Walle <mwalle@kernel.org> Tested-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 12, 2024
-
-
-
https://source.denx.de/u-boot/custodians/u-boot-microblazeTom Rini authored
AMD/Xilinx changes for v2025.01-rc5 - Fix reset issue for SOM
-
Sam Protsenko authored
The boot_fdt_add_mem_rsv_regions() function can be called twice, e.g. first time during the board init (as a part of LMB init), and then when booting the OS with 'booti' command: lmb_add_region_flags lmb_reserve_flags boot_fdt_reserve_region boot_fdt_add_mem_rsv_regions ^ | +-----------------------+ | (1) | (2) lmb_reserve_common image_setup_linux lmb_init ... initr_lmb do_booti board_init_r 'booti' That consequently leads to the attempt of reserving the same memory areas (described in the 'reserved-memory' dts node) in LMB. The lmb_add_region_flags() returns -EEXIST error code in such cases, but boot_fdt_reserve_region() handles all negative error codes as a failure to reserve fdt memory region, printing corresponding error messages, which are essentially harmless, but misleading. For example, this is the output of 'booti' command on E850-96 board: => booti $loadaddr - $fdtaddr ... ERROR: reserving fdt memory region failed (addr=bab00000 size=5500000 flags=2) ERROR: reserving fdt memory region failed (addr=f0000000 size=200000 flags=4) ... Starting kernel ... The mentioned false positive error messages are observed starting with commit 1d9aa4a2 ("lmb: Fix the allocation of overlapping memory areas with !LMB_NONE"), which removes the check for the already added memory regions in lmb_add_region_flags(), making it return -1 for !LMB_NONE cases. Another commit 827dee58 ("fdt: lmb: add reserved regions as no-overwrite") changes flags used for reserving memory in boot_fdt_add_mem_rsv_regions() from LMB_NONE to LMB_NOOVERWRITE. So together with the patch mentioned earlier, it makes lmb_add_region_flags() return -1 when called from boot_fdt_reserve_region(). Since then, the different patch was implemented, returning -EEXIST error code in described cases, which is: lmb: Return -EEXIST in lmb_add_region_flags() if region already added Handle -EEXIST error code as a normal (successful) case in lmb_reserve_flags() and don't print any messages. Fixes: 1d9aa4a2 ("lmb: Fix the allocation of overlapping memory areas with !LMB_NONE") Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com>
-