summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)AuthorFilesLines
2023-02-09powerpc/mpc85xx: use board env file for socrates boardHeiko Schocher1-1/+1
as Tom suggested get rid of CFG_EXTRA_ENV_SETTINGS and enable CONFIG_ENV_SOURCE_FILE and use text file board/socrates/socrates.env which contains the default environment. While at it, cleanup the default Environment. Signed-off-by: Heiko Schocher <hs@denx.de> Suggested-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
2023-02-08Revert "lmb: Default to not-LMB_USE_MAX_REGIONS"Tom Rini12-0/+12
As explained by Philippe Schenker, I was misinterpreting what happened in the case where we do not set LMB_USE_MAX_REGIONS and so had re-introduced the problem I was attempting to more widely resolve. This reverts commit 007ae5d108a37564905ea1588cb279f3a522cc3d. Reported-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Tom Rini <trini@konsulko.com>
2023-02-06arm: qemu: Move GUIDs to the C fileSimon Glass2-0/+2
These are only used in one place, so move them there. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06arm: qemu: Switch to standard bootSimon Glass2-2/+6
Drop use of the distro scripts and use standard boot instead. Enable BOOTDEV_FULL just for convenience, although this does add quite a bit to the size. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06bootstd: Add some default filesystems and commandsSimon Glass1-0/+1
We need to support a basic set of filesystems for booting to work in most cases. Add these in via a new option, letting the board disable them individually (for space reasons) if desired. This enables the filesystem commands as well as the actual functionality, even though bootstd is quite happy to use ext4 without the ext4 command. Further work would be needed to disintangle this and reduce code size. Add several other options as well, providing sensible defaults. We cannot enable this by default, since it expands the size of many boards quite a lot. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06am335x_evm_defconfig: Enable CONFIG_CMD_EXTENSIONMatwey V. Kornilov1-3/+3
am335x_evm_defconfig is used for BeagleBone Black, popular single board computer with wide extension support. Enable CONFIG_CMD_EXTENSION by default since extension detection is already implemented for am335x. Also run make savedefconfig for am335x_evm_defconfig Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
2023-02-06powerpc/mpc85xx: socrates: enable signed fitImagesHeiko Schocher1-0/+2
allow only to boot signed fitimages (and signed u-boot scripts). Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: enable protected EnvironmentHeiko Schocher1-0/+4
enable protected Environment on socrates board. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: add autoboot delay stringHeiko Schocher1-0/+5
add autoboot delay string for socrates board. use sha256 for abort autoboot, use "ao" to abort. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51Heiko Schocher1-0/+4
add support for i2c eeprom on address 0x51. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: Add boot retry featureHeiko Schocher1-0/+3
add boot retry feature and reboot after 120 seconds. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: drop second flash bankHeiko Schocher1-4/+0
drop second flash bank, as not used anymore. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: socrates: add MTD partitioning supportHeiko Schocher1-0/+5
setup MTD partitioning through mtdparts variable and set it to: mtdparts=fe0000000.nor:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot) and pass this to linux per kernel commandline. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: drop socrates specific image creationHeiko Schocher1-3/+3
convert socrates board to use MPC85XX_HAVE_RESET_VECTOR and disable CONFIG_OF_BOARD and use common u-boot.dtsi for creating u-boot-dtb.bin. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-02-06powerpc/mpc85xx: fixes and updates for socrates boardHeiko Schocher1-12/+11
current mainline does not work on socrates board. To get it back up working, there are some updates needed in socrates_defconfig. Signed-off-by: Heiko Schocher <hs@denx.de> Fixes: 94633c36f9eb ("net: Make DM_ETH be selected by NETDEVICE") Fixes: 2f8a6db5d83b ("Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig")
2023-02-06lmb: Default to not-LMB_USE_MAX_REGIONSTom Rini12-12/+0
The LMB code allows for picking a hard limit on the number of regions it can know of, or to dynamically allocate these regions. The reason for this choice is to allow for the compiler to perform a size optimization in the common case. This optimization however, is very small, ranging from 196 bytes to 15 bytes saved, or in some cases, being larger. Now that we also have more regions covered by LMB (in order to protect various parts of our self at run time), the default of 8 is also much easier to hit and leads to non-obvious error messages (which imply that an area is protected, not that we're out of areas to add to the list). Switch to the dynamic use as the default. Signed-off-by: Tom Rini <trini@konsulko.com>
2023-02-03Merge tag 'u-boot-imx-20230203' of ↵Tom Rini2-7/+6
https://gitlab.denx.de/u-boot/custodians/u-boot-imx For 2023.04 ----------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/15028 - Boards: - UDoo - MX53 Menlo
2023-02-03udoo_neo: Select DM_SERIAL and drop iomux board level initPeter Robinson1-1/+1
Convert to DM_SERIAL and drop the iomux board file level init as it's handled as part of the DM serial layer instead. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-02-03udoo_neo: Move to DM for REGULATOR/PMIC/I2C driversPeter Robinson1-6/+4
This moves over the PMIC power init to DM and the associated i2c and regulator bits. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-02-03ARM: imx: mx5: Convert MX53 Menlo board to DM SERIALMarek Vasut1-0/+1
Convert the board from legacy serial code to DM SERIAL. Signed-off-by: Marek Vasut <marex@denx.de>
2023-02-02board: gw_ventana: enable MV88E61XX DSA supportTim Harvey1-4/+3
Add MV88E61XX DSA support: - update dt to provide internal MDIO bus and port handles. U-Boot requires a more restrictive subset of the dt bindings required by Linux for the sake of simplifying code - update defconfig to remove old driver and enable new one - replace mv88e61xx_hw_reset weak override with board_phy_config support for register configuration that is outside the scope of the DSA driver Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
2023-02-02configs: draak: Enable I2C support for R-Car D3Hai Pham1-1/+1
Enable I2C support on D3 Draak. Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-02-02ARM: dts: rmobile: Synchronize DTs with Linux 6.1.7Marek Vasut2-2/+2
Synchronize R-Car device trees with Linux 6.1.7, commit 21e996306a6afaae88295858de0ffb8955173a15 . The following script has been used for the synchronization: $ for i in $(cd arch/arm/dts/ ; ls -1 r8a* | grep -v 'u-boot.dts' ; sed -n '/#include/ s@.*"\(.*\)"@\1@p' $(ls -1 r8a* | grep -v 'u-boot.dts')) ; do if [ -e /linux-2.6/arch/arm64/boot/dts/renesas/$i ] ; then cp /linux-2.6/arch/arm64/boot/dts/renesas/$i arch/arm/dts/ ; elif [ -e /linux-2.6/arch/arm/boot/dts/$i ] ; then cp /linux-2.6/arch/arm/boot/dts/$i arch/arm/dts/ else echo "NOT FOUND: $i" fi done $ git add $( ( cd arch/arm/dts/ ; ls -1 r8a* | grep -v 'u-boot.dts' ; sed -n '/#include/ s@.*"\(.*\)"@\1@p' $(ls -1 r8a* | grep -v 'u-boot.dts')) | tr " " "\n" | sed 's@^@arch/arm/dts/@g' ) Move the include/dt-bindings/{clk,clock}/versaclock.h header used by the renesas boards to match Linux 6.1.y as well. Keep arch/arm/dts/r8a774c0-u-boot.dtsi sdhi3 node as it is now used by the arch/arm/dts/r8a774c0-cat874.dts board. Pick s@spi-flash@flash@ change in arch/arm/dts/r8a779a0-falcon-u-boot.dts from "ARM: dts: Synchronize R-Car V3U DTs with Linux 5.18.3" . Adjust R8A77990 Ebisu CONFIG_SYS_MMC_ENV_DEV from 2 to 0 to reflect the card enumeration in ebisu.dtsi /aliases DT node . Adjust R8A7795 and R8A7796 ULCB CONFIG_SYS_MMC_ENV_DEV from 1 to 0 to reflect the card enumeration in ulcb.dtsi /aliases DT node . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com> # r8a779a0-falcon-u-boot.dts Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> # r8a779a0-falcon-u-boot.dts
2023-02-01Merge tag 'u-boot-imx-20230201' of ↵Tom Rini34-58/+337
https://gitlab.denx.de/u-boot/custodians/u-boot-imx For 2023.04 ----------- - several conversion to DM_SERIAL and DM_I2C - fixes for Toradex boards - PSCI CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/14965
2023-01-31engicam: imx6: migrate to DM_SERIALMichael Trimarchi6-0/+6
Add the needed DT overrides and configs to enable UART in SPL. Cc: Fabio Estevam <festevam@gmail.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Tested-by: Suniel Mahesh <sunil@amarulasolutions.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-31configs: imx8mn_beacon_fspi: Add config for booting from QSPIAdam Ford1-0/+156
The imx8mn-beacon SOM has a QSPI part on it connected to the FlexSPI controller. Add a defconfig option which supports booting from the QSPI NOR flash instead of sd/mmc. Signed-off-by: Adam Ford <aford173@gmail.com>
2023-01-31imx: mx6sabresd: convert to DM_I2CPeng Fan1-1/+1
Convert to DM_I2C Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6sabreauto: convert to DM_I2CPeng Fan1-1/+1
Convert to DM_I2C Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31Merge tag 'u-boot-amlogic-20230131' of ↵Tom Rini29-0/+167
https://source.denx.de/u-boot/custodians/u-boot-amlogic - jethub j100: add rescue boot from microSD - move meson sm command to cmd/meson and add efusedump sub-command - switch dwc2 otg to DM for G12A, GXL & AXG - Add new boards: - Odroid Go Ultra - Odroid-N2L
2023-01-31imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix ↵Frieder Schrempf1-0/+1
SPI NAND read access The introduction of CONFIG_FSL_QSPI_AHB_FULL_MAP as default in: def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option. In the long run this should be fixed globally. Fixes: def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-31imx: mx6sabreauto_defconfig: select DM_SERIALPeng Fan1-0/+1
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6sabresd: select DM_SERIALPeng Fan1-0/+1
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6sxsabreauto: select DM_SERIALPeng Fan1-0/+1
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6ul_evk: select DM_SERIALPeng Fan2-0/+2
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6slevk: select DM_SERIALPeng Fan3-0/+3
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6sllevk: select DM_SERIALPeng Fan2-0/+2
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6ulz: select DM_SERIALPeng Fan1-0/+1
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31imx: mx6ull_14x14_evk: select DM_SERIALPeng Fan2-0/+2
Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-01-31pico-imx7d: Convert to DM_I2C and DM_PMICFabio Estevam6-54/+18
The conversion to DM_I2C is mandatory, so convert to it and also to DM_PMIC. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-01-31pico-imx7d: Convert to CONFIG_DM_SERIALFabio Estevam6-0/+6
The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-01-31arm64: imx8mp: Enable SMSC LAN87xx PHY driver on i.MX8MP DHCOMMarek Vasut1-0/+1
These SoMs may ship with SMSC LAN8740Ai PHYs, enable the SMSC PHY driver. Signed-off-by: Marek Vasut <marex@denx.de>
2023-01-31arm64: imx8mp: Disable Atheros PHY driver on i.MX8MP DHCOMMarek Vasut1-1/+0
These SoMs never ship with Atheros PHYs, disable the Atheros PHY driver. Signed-off-by: Marek Vasut <marex@denx.de>
2023-01-31mx53loco: Select CONFIG_CMD_EXT4Fabio Estevam1-0/+1
Select the CONFIG_CMD_EXT4 option so that files can be loaded from an ext4 partition. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-01-31imx8mm-phg: Add board supportFabio Estevam1-0/+120
Add the board support for the i.MX8MM Cloos PHG board. This board uses a imx8mm-tqma8mqml SoM from TQ-Group. imx8mm-phg.dts and imx8mm-tqma8mqml.dtsi are taken directly from Linux 6.2-rc3. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
2023-01-31configs: verdin-imx8mm: Add bootaux commandPhilippe Schenker1-0/+1
The i.MX 8M Mini SoC does incorporate an additional M-Core. To be able to load it with a firmware, enable bootaux command as other Toradex modules also have it enabled to be consistent. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2023-01-31ARM: imx: Enable LTO for Data Modul i.MX8M Mini eDM SBCMarek Vasut1-0/+1
Enable LTO to reduce the size of SPL. Signed-off-by: Marek Vasut <marex@denx.de>
2023-01-30apalis-imx8: set bootaux memory base and sizeAndrejs Cainikovs1-0/+2
Set i.MX auxiliary core memory base and size. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-30apalis-imx8: update env memory layoutMarcel Ziswiler1-1/+1
Update the distro config env memory layout for the Apalis iMX8 aka QuadMax: - kernel_comp_addr_r=0xf0000000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x08000000 - loadaddr=0x95400000 avoiding any reserved areas located before that - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Basic idea of memory layout taken from commit fd5c7173ade4 ("imx8m{m,n}_venice: update env memory layout"). However, moved past any reserved areas to avoid any kind of conflicts. Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-30apalis-imx8: enable environment bootcount limitMarcel Ziswiler1-0/+2
Enable optional environment bootcount limit functionality. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-30apalis/colibri-imx8/8x: add overlay support for i.mx 8/8x-based somsOleksandr Suvorov2-0/+2
There is no "apply" command enabled for "fdt". Enable "apply" command to allow overlays to be applied. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>