- Apr 01, 2022
-
-
Clément Léger authored
Add a driver for the timer counter block that can be found on sama5d2. This driver will be used when booting under OP-TEE since the pit timer which is part of the SYSC is secured. Channel 1 & 2 are configured to be chained together which allows to have a 64bits counter. Reviewed-by:
Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by:
Clément Léger <clement.leger@bootlin.com>
-
Eugen Hristev authored
Align the DT for sama7g5 SoC and sama7g5 EK board with Linux devicetree in version 5.18. Some things remain still different, due to some things yet unimplemented in certain drivers. These include in PMC, pinctrl, and others. Signed-off-by:
Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by:
Tudor Ambarus <tudor.ambarus@microchip.com>
-
Eugen Hristev authored
In Linux this DT file is named at91-sama7g5ek.dts. Rename it accordingly. Signed-off-by:
Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by:
Tudor Ambarus <tudor.ambarus@microchip.com>
-
Mihai Sain authored
Set blue led on at boot time in order to highlight that u-boot is loaded. This is done for all sama5d2 based boards which contain an RGB led. Signed-off-by:
Mihai Sain <mihai.sain@microchip.com>
-
Tudor Ambarus authored
sama7g5 and other SoCs (sama5d3, sam9x60) define in the Reset Controller a RSTC_CR.EXTRST bit that asserts the nrst_out pin which resets external devices. This is particular useful for external devices that are configured in stateful modes which can not be undone without reconfiguring the device or without resetting the device. An example is an SPI NOR flash that is configured in octal mode. The do_reset u-boot cmd does not call any driver's remove method, but merely resets the CPU. As the code was, this left the flash in octal mode, being impossible for the first stage boot loaders to recover/identify the flash after a "software reset". RSTC_CR.EXTRST comes in handy here, as it can be set at "software reset" to assert low the nrst_out pin during a time defined by the RSTC_MR.ERSTL field and reset the external devices (including the SPI NOR flash in the example). nrst_out is always asserted at "user reset" and it resets the external devices correctly. Asserting nrst_out at "software reset" should behave in a similar way. The only difference that I could find between the two types of resets in regards to the nrst_out signal, is that at "user reset" timing diagram the "Processor and Peripherals Reset Line" rises after six MD_SLCK cycles after the nrst_out line rose, while at the "software reset" timing diagram the "Processor and Peripherals Reset Line" is active for 3 MD_SLCK cycles + 2 MCK cycles. In other words, in the "software reset" case the nrst_out signal can be active for a longer period of time than the "Processor and Peripherals Reset Line" active time, depending on the RSTC_MR.ERSTL value. Using the default value (zero) for RSTC_MR.ERSTL, worked just fine for the sama7g5 case. Tested QSPI0 and GMAC0/GMAC1 on sama7g5ek rev 4 after a software reset with RSTC_CR.EXTRST=1 and RSTC_MR.ERSTL=0. Signed-off-by:
Tudor Ambarus <tudor.ambarus@microchip.com>
-
Tudor Ambarus authored
Convert AT91RESET_EXTRST to Kconfig for easier integration. The symbol is not configurable from menuconfig, it will be automatically selected by SoCs that select it explicitly via the "select" directive. AT91RESET_EXTRST sets the Reset Controller's RSTC_CR.EXTRST bit which asserts the nrst_out pin that resets external devices. Signed-off-by:
Tudor Ambarus <tudor.ambarus@microchip.com>
-
Tudor Ambarus authored
sama5d2 contains in its ROM memory BCH code tables for NAND Flash ECC correction. Enable the use of the GF tables defined in ROM. This should speed up the boot process, as the tables are no longer constructed at runtime. Tested with sama5d2-ptc-ek. Reported-by:
David Mosberger-Tang <davidm@egauge.net> Signed-off-by:
Tudor Ambarus <tudor.ambarus@microchip.com>
-
- Mar 28, 2022
-
-
https://source.denx.de/u-boot/custodians/u-boot-videoTom Rini authored
- drop old CFB code - drop CONFIG_LCD_BMP_RLE8
-
This is not defined by any board. Even sandbox doesn't actually use it since it has migrated to DM_VIDEO. Drop this option. Remove the dead code also, for completeness, even though the whole lcd.c file will be dropped soon. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
This is not used. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This converts the following to Kconfig: CONFIG_VIDEO_BCM2835 This is the final ad-hoc CONFIG_VIDEO_... to convert. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Matthias Brugger <mbrugger@suse.com>
-
This is no-longer used and is the last reference to video_hw_init(). Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This does not use driver model and is more than two years past the migration date. Drop it. It can be added back later if needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This does not use driver model and is more than two years past the migration date. Drop it. It can be added back later if needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is not used in U-Boot anymore. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Drop the unnecessary cruft from this header and update the title. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Jason Liu <jason.hui.liu@nxp.com>
-
This option is not implemented anymore. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is not used now. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Unfortunately this driver uses the old video structure to store things. This is not supported with driver model. Drop the old code and comment out the other pieces, so the maintainer can take a look. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Drop this old code which is not built anymore, as it depends on CONFIG_VIDEO which has been removed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
The non-driver model video support was removed two years ago. Drop this driver, which is only used by nokia_rx51. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Tom Rini authored
Prepare v2022.04-rc5
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
- A zstd, two Apple M1 and an MXS NAND critical bugfix - Clean up another file that wasn't being removed and update some external documentation links.
-
Previous u-boot code changed the default bch setting behavior and caused backward compatible issue. This fix choose the legacy bch geometry back again as the default option. If the minimum ecc strength that NAND chips required need to be chosen, it can be enabled by either adding DT flag "fsl,use-minimum-ecc" or CONFIG_NAND_MXS_USE_MINIMUM_ECC in configs. The unused flag "fsl,legacy-bch-geometry" get removed. Fixes: 51cdf83e (mtd: gpmi: provide the option to use legacy bch geometry) Fixes: 616f03da (mtd: gpmi: change the BCH layout setting for large oob NAND) Tested-by:
Tim Harvey <tharvey@gateworks.com> Tested-by:
Sean Nyekjaer <sean@geanix.com> Signed-off-by:
Han Xu <han.xu@nxp.com> Reviewed-by:
Miquel Raynal <miquel.raynal@bootlin.com>
-
The code was mistakenly initializing the input buffer twice. Tested to be working on BeagleBone by adjusting CONFIG_SYS_BOOTM_LEN to 64MiB (probably works with less) and preparing uImage with: cat arch/arm/boot/Image \ | zstd --ultra -22 --zstd=windowLog=22 \ > linux.bin.zst mkimage -A arm -T kernel uImage -C zstd -d linux.bin.zst \ -a 0x80008000 -e 0x80008000 Without the windowLog restriction, bootm fails with a zstd decompression error 7 (window too large), which I haven't troubleshooted. There should be a bit more documentation on the feature... Reviewed-by:
Simon Glass <sjg@chromium.org> Fixes: 458b30af image: Update image_decomp() to avoid ifdefs
-
Freescale git repos are now on source.codeaurora.org. Signed-off-by:
Pali Rohár <pali@kernel.org>
-
make sandbox_defconfig make mrproper make tests fails with ../drivers/video/u_boot_logo.S: Assembler messages: ../drivers/video/u_boot_logo.S:5: Error: file not found: drivers/video/u_boot_logo.bmp We have to delete the generated file. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
The current approach for setting the environment variables that describe the memory layout runs the risk of overlapping with reserved memory regions. Use the lmb code to derive the addresses for these variables instead. Signed-off-by:
Mark Kettenis <kettenis@openbsd.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
The firmware on larger NVMe drives needs more than 100ms to come up. Change the timeout to 1s. Signed-off-by:
Hector Martin <marcan@marcan.st> Signed-off-by:
Mark Kettenis <kettenis@openbsd.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Mar 27, 2022
-
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for efi-2022-04-rc5-2 Documentation: * man-page for the wdt command UEFI: * Unit test for boot manager
-
- Mar 26, 2022
-
-
Heinrich Schuchardt authored
When calling efi_dp_from_name() we are not interested in the device part. Just pass NULL as an argument. Suggested-by:
AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Provide a unit test for * efidebug boot add * efidebug boot order * bootefi bootmgr * initrd via EFI_LOAD_FILE2_PROTOCOL Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Up to now the initrddump.efi application has drained the input after showing the prompt. This works for humans but leads to problems when automating testing. If the input is drained, this should be done before showing the prompt. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Heinrich Schuchardt authored
initrddump.efi uses colored output and clear the screen. This is not helpful for integration into Python tests. Allow specifying 'nocolor' in the load option data to suppress color output and clearing the screen. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
%s/devie-path/device-path/ Reported-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Describe the wdt command. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
https://source.denx.de/u-boot/custodians/u-boot-sunxiTom Rini authored
- Fix A20 GBit Ethernet operation - Update board .dts files to provide correct RGMII PHY mode
-