2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_ARCH_STM32MP=y
|
|
|
|
CONFIG_SYS_MALLOC_F_LEN=0x3000
|
2023-02-17 22:58:06 +08:00
|
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc0100000
|
2023-05-01 23:50:26 +08:00
|
|
|
CONFIG_SF_DEFAULT_SPEED=50000000
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_ENV_SIZE=0x4000
|
2021-08-09 20:08:11 +08:00
|
|
|
CONFIG_ENV_SECT_SIZE=0x1000
|
2020-06-17 07:06:29 +08:00
|
|
|
CONFIG_SPL_DM_SPI=y
|
2021-06-28 22:17:29 +08:00
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="stm32mp15xx-dhcor-avenger96"
|
2020-07-07 01:54:25 +08:00
|
|
|
CONFIG_SPL_TEXT_BASE=0x2FFC2500
|
2022-08-24 03:24:14 +08:00
|
|
|
CONFIG_SYS_PROMPT="STM32MP> "
|
2021-08-09 02:20:09 +08:00
|
|
|
CONFIG_SPL_MMC=y
|
2022-10-28 05:17:55 +08:00
|
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
|
|
CONFIG_SYS_BOOTCOUNT_ADDR=0x5C00A14C
|
2023-02-17 22:58:06 +08:00
|
|
|
CONFIG_SPL_STACK=0x30000000
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_SPL=y
|
2022-12-06 10:35:13 +08:00
|
|
|
CONFIG_CMD_STM32KEY=y
|
|
|
|
CONFIG_CMD_STBOARD=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_TARGET_DH_STM32MP1_PDK2=y
|
2022-12-06 10:35:13 +08:00
|
|
|
CONFIG_CMD_STM32PROG=y
|
|
|
|
CONFIG_CMD_STM32PROG_OTP=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
2021-08-09 02:20:14 +08:00
|
|
|
CONFIG_SPL_SPI=y
|
2020-04-22 19:18:09 +08:00
|
|
|
# CONFIG_ARMV7_VIRT is not set
|
2021-08-23 22:25:31 +08:00
|
|
|
CONFIG_SYS_LOAD_ADDR=0xc2000000
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_FIT=y
|
2020-04-22 19:18:11 +08:00
|
|
|
CONFIG_SPL_LOAD_FIT=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0xc1000000
|
2020-04-22 19:18:11 +08:00
|
|
|
CONFIG_SPL_FIT_SOURCE="board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its"
|
2023-03-28 01:39:17 +08:00
|
|
|
CONFIG_DISTRO_DEFAULTS=y
|
2021-03-02 02:40:56 +08:00
|
|
|
CONFIG_BOOTDELAY=1
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_BOOTCOMMAND="run bootcmd_stm32mp"
|
2021-10-24 02:33:57 +08:00
|
|
|
CONFIG_CONSOLE_MUX=y
|
2020-04-22 19:18:11 +08:00
|
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
2022-05-20 03:09:22 +08:00
|
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
|
|
CONFIG_SPL_MAX_FOOTPRINT=0x3db00
|
2022-12-06 10:35:14 +08:00
|
|
|
CONFIG_SPL_BOOTCOUNT_LIMIT=y
|
2022-05-05 04:52:25 +08:00
|
|
|
CONFIG_SPL_LEGACY_IMAGE_FORMAT=y
|
2022-05-27 01:13:21 +08:00
|
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
2022-05-28 00:48:32 +08:00
|
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
|
|
CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
|
|
|
|
CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0300000
|
|
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x1d00000
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
|
|
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_ENV_SUPPORT=y
|
2021-07-11 11:14:36 +08:00
|
|
|
CONFIG_SPL_I2C=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
2020-07-07 03:46:38 +08:00
|
|
|
CONFIG_SPL_DM_SPI_FLASH=y
|
2021-07-11 11:14:24 +08:00
|
|
|
CONFIG_SPL_POWER=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_RAM_SUPPORT=y
|
|
|
|
CONFIG_SPL_RAM_DEVICE=y
|
2020-07-07 03:46:38 +08:00
|
|
|
CONFIG_SPL_SPI_FLASH_MTD=y
|
2021-08-11 03:08:46 +08:00
|
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
|
2022-05-28 05:13:52 +08:00
|
|
|
CONFIG_SPL_TARGET="u-boot.itb"
|
2022-05-12 05:38:09 +08:00
|
|
|
CONFIG_SYS_PBSIZE=1050
|
2022-06-26 07:29:46 +08:00
|
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
2020-04-22 19:18:09 +08:00
|
|
|
# CONFIG_CMD_ELF is not set
|
|
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
|
|
CONFIG_CMD_EEPROM=y
|
2021-08-18 05:59:45 +08:00
|
|
|
CONFIG_SYS_I2C_EEPROM_BUS=2
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_CMD_MEMINFO=y
|
|
|
|
CONFIG_CMD_MEMTEST=y
|
2021-05-03 19:31:48 +08:00
|
|
|
CONFIG_CMD_UNZIP=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_CMD_ADC=y
|
|
|
|
CONFIG_CMD_CLK=y
|
|
|
|
CONFIG_CMD_DFU=y
|
|
|
|
CONFIG_CMD_FUSE=y
|
|
|
|
CONFIG_CMD_GPIO=y
|
|
|
|
CONFIG_CMD_I2C=y
|
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_REMOTEPROC=y
|
|
|
|
CONFIG_CMD_SPI=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
2022-06-14 10:57:35 +08:00
|
|
|
CONFIG_SYS_DISABLE_AUTOLOAD=y
|
2022-10-28 05:17:55 +08:00
|
|
|
CONFIG_CMD_BOOTCOUNT=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_CMD_CACHE=y
|
|
|
|
CONFIG_CMD_TIME=y
|
|
|
|
CONFIG_CMD_TIMER=y
|
|
|
|
CONFIG_CMD_PMIC=y
|
|
|
|
CONFIG_CMD_REGULATOR=y
|
2022-09-27 00:44:58 +08:00
|
|
|
CONFIG_CMD_BTRFS=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
2021-10-24 02:33:56 +08:00
|
|
|
# CONFIG_ISO_PARTITION is not set
|
|
|
|
# CONFIG_SPL_PARTITION_UUIDS is not set
|
2022-06-06 22:04:16 +08:00
|
|
|
CONFIG_OF_LIVE=y
|
2023-05-05 08:11:02 +08:00
|
|
|
CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
|
|
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_ENV_IS_NOWHERE=y
|
2022-11-02 06:35:31 +08:00
|
|
|
CONFIG_VERSION_VARIABLE=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
|
|
CONFIG_IP_DEFRAG=y
|
2022-05-02 00:43:29 +08:00
|
|
|
CONFIG_TFTP_TSIZE=y
|
2022-12-03 05:42:27 +08:00
|
|
|
CONFIG_USE_SERVERIP=y
|
|
|
|
CONFIG_SERVERIP="192.168.1.1"
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_STM32_ADC=y
|
|
|
|
CONFIG_SPL_BLOCK_CACHE=y
|
2022-10-28 05:17:55 +08:00
|
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
|
|
CONFIG_SYS_BOOTCOUNT_MAGIC=0xB0C40000
|
2020-05-26 10:30:20 +08:00
|
|
|
CONFIG_GPIO_HOG=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_DM_HWSPINLOCK=y
|
|
|
|
CONFIG_HWSPINLOCK_STM32=y
|
|
|
|
CONFIG_DM_I2C=y
|
|
|
|
CONFIG_SYS_I2C_STM32F7=y
|
|
|
|
CONFIG_LED=y
|
|
|
|
CONFIG_LED_GPIO=y
|
2022-08-24 01:27:08 +08:00
|
|
|
CONFIG_STM32_FMC2_EBI=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_I2C_EEPROM=y
|
|
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x53
|
|
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
|
|
CONFIG_STM32_SDMMC2=y
|
|
|
|
CONFIG_MTD=y
|
2021-10-24 02:32:48 +08:00
|
|
|
CONFIG_DM_MTD=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_DM_SPI_FLASH=y
|
2021-10-24 02:33:34 +08:00
|
|
|
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
|
|
CONFIG_SPI_FLASH_MTD=y
|
2021-11-13 10:28:03 +08:00
|
|
|
CONFIG_PHY_MICREL=y
|
|
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_DWC_ETH_QOS=y
|
2022-06-13 17:55:21 +08:00
|
|
|
CONFIG_KS8851_MLL=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_PHY=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_PHY=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_PHY_STM32_USBPHYC=y
|
|
|
|
CONFIG_PINCONF=y
|
|
|
|
# CONFIG_SPL_PINCTRL_FULL is not set
|
|
|
|
CONFIG_PINCTRL_STMFX=y
|
|
|
|
CONFIG_DM_PMIC=y
|
|
|
|
CONFIG_PMIC_STPMIC1=y
|
2020-08-19 16:44:17 +08:00
|
|
|
CONFIG_DM_REGULATOR=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_DM_REGULATOR=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
|
|
CONFIG_DM_REGULATOR_STM32_VREFBUF=y
|
|
|
|
CONFIG_DM_REGULATOR_STPMIC1=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_DM_REGULATOR_STPMIC1=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_REMOTEPROC_STM32_COPRO=y
|
|
|
|
CONFIG_DM_RTC=y
|
|
|
|
CONFIG_RTC_STM32=y
|
|
|
|
CONFIG_SERIAL_RX_BUFFER=y
|
|
|
|
CONFIG_SPI=y
|
|
|
|
CONFIG_DM_SPI=y
|
|
|
|
CONFIG_STM32_QSPI=y
|
|
|
|
CONFIG_STM32_SPI=y
|
2021-10-11 15:52:49 +08:00
|
|
|
CONFIG_SYSRESET_SYSCON=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_DM_USB_GADGET=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_SPL_DM_USB_GADGET=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_USB_EHCI_HCD=y
|
|
|
|
CONFIG_USB_EHCI_GENERIC=y
|
ARM: dts: stm32: Add DFU support for DHCOR recovery
This patch configures U-Boot SPL for DHCOR SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
To start U-Boot on DHCOR based board, e.g. Avenger96, proceed as follows:
- Install dfu-util on the host PC (in debian this is package 'dfu-util')
- Power off the Avenger96 board.
- Connect both USB-serial console and USB-OTG microB ports to host PC.
- Switch Avenger96 to USB boot mode -- BOOT0..2 switches all set to 0.
- Power on the Avenger96 board.
- Verify using '$ dmesg' that a new device has been detected as follows:
New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
Manufacturer: STMicroelectronics
- Upload U-Boot SPL:
$ dfu-util -a 1 -D u-boot-spl.stm32
- Upload U-Boot proper:
$ dfu-util -a 0 -D u-boot.itb
- At this point, SPL will wait for user to press "Ctrl-C" on serial
console. When ready to interact with U-Boot, press Ctrl-C to start
the bootloader.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-12-07 04:58:09 +08:00
|
|
|
CONFIG_USB_DWC2=y
|
2021-07-27 09:10:37 +08:00
|
|
|
CONFIG_USB_HOST_ETHER=y
|
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_USB_GADGET=y
|
2023-05-19 04:05:49 +08:00
|
|
|
CONFIG_SPL_USB_GADGET=y
|
2020-04-22 19:18:09 +08:00
|
|
|
CONFIG_USB_GADGET_MANUFACTURER="dh"
|
|
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0483
|
|
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
|
|
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
2023-05-19 04:05:49 +08:00
|
|
|
CONFIG_SPL_DFU=y
|
2022-12-06 10:35:15 +08:00
|
|
|
CONFIG_WDT=y
|
|
|
|
CONFIG_WDT_STM32MP=y
|
2021-10-24 02:33:56 +08:00
|
|
|
CONFIG_FAT_WRITE=y
|
2021-10-13 21:11:18 +08:00
|
|
|
# CONFIG_BINMAN_FDT is not set
|
2021-10-24 02:33:56 +08:00
|
|
|
# CONFIG_EFI_LOADER is not set
|