- Jul 21, 2021
-
-
Simon Glass authored
The SPL header has a function for obtaining the phase in capital letters, e.g. 'SPL'. Add one for lower-case also, as used by sandbox. Use this to generalise the sandbox logic for determining the filename of the next sandbox executable. This can provide support for VPL. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present this fails to build chromeos_sandbox due to a rebase error in dm_test_pre_run(). Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present if DM_DMA is disabled on a sandbox build, the build fails. Make the test conditional. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present if this is not enabled on a sandbox build, the build fails. Add a condition to avoid this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Allow lzma compression as well as lz4. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is sometimes helpful to see which sequence is assigned to a device. Add debugging info for that. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When things go wrong it can be confusing to figure out what to change. Add a few more details to the documentation. Fix a 'make htmldocs' warning while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
Simon Glass authored
At present if a driver is missing a uclass or compatible stirng, this is silently ignored. This makes sense in most cases, particularly for the compatible string, since it is not required except when the driver is used with of-platdata. But it is also not very helpful. When there is some sort of problem with a driver, the missing compatible string (for example) may be the cause. Add a warning in this case, showing it only for drivers which are used by the build. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
Simon Glass authored
Some rockchip drivers use a suffix on the of_match line which is not strictly valid. At present this causes the parsing to fail. Fix this and offer a warning. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This test captures output but does not always check it. Add the missing code and drop the old comment. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This expects a . before the field name (.e.g '.compatible = ...) but presently accepts anything at all. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
Simon Glass authored
At present we show when a driver is missing but this is not always that useful. There are various reasons why a driver may appear to be missing, such as a parse error in the source code or a missing field in the driver declaration. Update the implementation to record all warnings for each driver, showing only those which relate to drivers that are actually used. This avoids spamming the user with warnings related to a driver for a different board. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
Simon Glass authored
Use this parser instead of OptionParser, which is deprecated. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
Simon Glass authored
These are not supported before Python 3.6 so avoid them. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Jul 20, 2021
-
-
-
Marek Vasut authored
Filter out dmas dma-names interrupt-parent interrupts interrupts-extended interrupt-names interrupt-map interrupt-map-mask iommus DT properties on R-Car Gen3, since they are not used by U-Boot and only take space. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
The RPC HF might be locked by ATF, and any access to its register space would result in complete hang. Disable the RPC HF by default. The ATF should be patched to set RPC node status = "okay" in the DT fragment it passes to U-Boot in case the RPC HF access is unlocked, and that way U-Boot could access the RPC HF safely. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
The CPU: print only has one space after it, while the other prints from U-Boot align the value to offset 7. Align the CPU: print too. No functional change. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
Enable support for sysinfo on supported R-Car Gen3 boards. The sysinfo is used e.g. to access and decode board-specific information and then in turn used by board-info to print those information. On R-Car Gen3 the sysinfo rcar3 driver is used to parse the board ID EEPROM, obtain board type and revision from it, and let board-info print this information on boot. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
Enable support for I2C EEPROM driver on supported Renesas R-Car Gen3 boards. This is useful for accessing the board ID EEPROM. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
Add sysinfo node and phandle to the board ID EEPROM on all boards where this functionality is described in DT, which is Salvator-X(S), ULCB and Ebisu. The u-boot,dm-pre-reloc is necessary here, since the sysinfo must be available early during boot. The V3M and V3H boards currently do not describe this board ID EEPROM in upstream DT, but that could be easily added later, once the DTs contain the necessary nodes. ULCB and Ebisu needs the full EEPROM node in the u-boot extras DT, since the EEPROM node is still missing in the upstream DTs. Ebisu also needs extra compatible string override for the i2c_dvfs. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com>
-
Marek Vasut authored
The Renesas R-Car Gen3 development kits contain board ID EEPROM. This driver parses out the board ID and revision out of that EEPROM and exports it e.g. for the board-info print on boot. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Sean Anderson <sean.anderson@seco.com> Cc: Simon Glass <sjg@chromium.org>
-
- Jul 19, 2021
-
-
https://source.denx.de/u-boot/custodians/u-boot-marvellTom Rini authored
- Marvell SheevaPlug: Convert Ethernet and SATA to Driver Model (Tony) - Zyxel NSA310S NAS: Convert to Driver Model (Tony) - Turris_omnia: Add `u-boot-env` NOR partition (Marek) - Turris_omnia: Fixup MTD partitions in Linux' DTB (Marek) - Espressobin: Enable 'mtd' command and define SPI NOR partitions (Pali)
-
https://source.denx.de/u-boot/custodians/u-boot-tiTom Rini authored
- Enabled distro boot for all TI platforms. - Cleanup for AM335x Guardian Board - PRUSS rproc on AM65 platform. - Add PMIC support for J7200 - Misc fixes for Nokia RX-51 # Conflicts: # arch/arm/mach-omap2/am33xx/Kconfig
-
U-Boot now supports parsing SPI NOR partitions from Device Tree. So enable 'mtd' command support for Espressobin board and define partition layout in U-Boot Espressobin DTS file. Access to SPI NOR via 'sf' command is old method and 'mtd' command is now preferred variant. From include file remove '#define CONFIG_MTD_PARTITIONS' as this option is now defined and enabled in defconfig file. This change is required to fix compile error: CC arch/arm/lib/asm-offsets.s In file included from include/config.h:4, from include/common.h:16, from lib/asm-offsets.c:14: include/configs/mvebu_armada-37xx.h:63: warning: "CONFIG_MTD_PARTITIONS" redefined #define CONFIG_MTD_PARTITIONS /* required for UBI partition support */ In file included from ././include/linux/kconfig.h:4, from <command-line>: include/generated/autoconf.h:44: note: this is the location of the previous definition #define CONFIG_MTD_PARTITIONS 1 After enabling support for mtd command, output from 'mtd list' on Espressobin board is: => mtd list List of MTD devices: * w25q32dw - device: spi-flash@0 - parent: spi@10600 - driver: jedec_spi_nor - path: /soc/internal-regs/spi@10600/spi-flash@0 - type: NOR flash - block size: 0x1000 bytes - min I/O: 0x1 bytes - 0x000000000000-0x000000400000 : "w25q32dw" - 0x000000000000-0x0000003f0000 : "firmware" - 0x0000003f0000-0x000000400000 : "u-boot-env" => Signed-off-by:
Pali Rohár <pali@kernel.org> Reviewed-by:
Konstantin Porotchkin <kostap@marvell.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Fixup SPI NOR partition nodes in Linux' device tree prior booting Linux. Linux' devicetree does not contain "u-boot-env" partition and we do not want to add it there because the address is different between stock U-Boot and current upstream U-Boot. Instead we add code that recreates partition nodes from scratch according to how U-Boot sees them (which is defined in U-Boot's device tree). Signed-off-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Specify a separate partition `u-boot-env` for U-Boot's env settings for the Turris Omnia board. Do this only in U-Boot's specific DTS. We do not want to do this in Linux' official DTS, because Omnia's stock U-Boot stores env at a different address, and there are still boards with stock U-Boot. In a subsequent patch will add board code that fixes Linux's DTB before booting Linux. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by:
Tony Dinh <mibodhi@gmail.com>
-
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by:
Tony Dinh <mibodhi@gmail.com>
-
Add DM_ETH, SATA_MV and associated configs to sheevaplug_defconfig Signed-off-by:
Tony Dinh <mibodhi@gmail.com>
-
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by:
Tony Dinh <mibodhi@gmail.com>
-
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by:
Tony Dinh <mibodhi@gmail.com>
-
Convert to Driver Model. - Add DM USB, DM Ethernet, and DM SATA configs to nsa310s_defconfig - Add CONFIG_DEFAULT_DEVICE_TREE to nsa310s_defconfig - Move CONFIG_ENV_SECT_SIZE from board file to nsa310s_defconfig - Add CONFIG_IDENT_STRING, and CONFIG_NET_RANDOM_ETHADDR to nsa310s_defconfig Signed-off-by:
Tony Dinh <mibodhi@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Add device tree kirkwood-nsa310s.dts for Zyxel NSA310S board to convert to Driver Model. Signed-off-by:
Tony Dinh <mibodhi@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Tom Rini authored
- With the deadline for DM_USB (host controller support), DM_VIDEO, DM_SPI_FLASH and DM_PCI now at 2 years past the release where their migration deadline was given, finish removing platforms and enforcing the switch.
-
Tom Rini authored
As we have now completed the DM_VIDEO and DM_SPI_FLASH migrations we can remove the checks. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
As the migration deadline has passed, require that DM_PCI be used. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
As the deadline for migration to DM_USB, when using a USB host controller has now gone two years past the deadline, enforce migration. This is done by: - Ensuring that all host controller options (other than the very legacy old MUSB ones) now select USB_HOST. USB_HOST now enforces DM_USB and OF_CONTROL. - Remove other parts of Kconfig logic that had platforms pick DM_USB. - To keep Kconfig happy, have some select statements test for USB_HOST as well. - Re-order some Kconfig entries and menus so that we can cleanly pick host or gadget roles. For the various HCD options that have platform glue options, group them together and update dependencies in some cases. - As SPL_DM_USB is not required, on platforms that had not yet enabled it, disable it. Cc: Marek Vasut <marex@denx.de> Cc: Icenowy Zheng <icenowy@aosc.io> Cc: Samuel Holland <samuel@sholland.org> Cc: FUKAUMI Naoki <naobsd@gmail.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
As the logic here is only used when we have a USB host controller, test on CONFIG_USB_HOST rather than CONFIG_USB in general. This lets us move towards using CONFIG_USB only as a menu symbol to say that we have some form of USB, and then USB_HOST or USB_GADGET depending on the role that USB plays within the build. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Reuse the common logic to allow for BOOT_TARGET_DEVICES to list USB as a possibility if we're building for a platform that will have USB but not if we don't, so that we don't hit the link-time check for trying to have USB boot on a non-USB system. Acked-by:
Tom Warren <twarren@nvidia.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-