Skip to content

sc5xx Environment Cleanup and Fixes

Caleb Ethridge u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest16 patches 1 replyIn review

Changes in v6 from the cover letter

- Fixed ramdisk_addr_r for the sc584-ezkit
- Updated commit messages with more information
- Split "Remove update commands" into two logical commits

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16configs: sc5xx: Do not store environment in SPI flashconfigs/sc573-ezkit_defconfig configs/sc584-ezkit_defconfig configs/sc589-ezkit_defconfig +5 more+0 -350 replies
2/16mach-sc5xx: Remove update commands from default environmentboard/adi/sc573-ezkit/sc573-ezkit.env board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +10 more+0 -860 replies
3/16mach-sc59x: Add CONFIG_SC5XX_LOADADDRconfigs/sc594-som-ezkit-spl_defconfig configs/sc594-som-ezlite-spl_defconfig configs/sc598-som-ezkit-spl_defconfig +1 more+4 -00 replies
4/16mach-sc5xx: Update boot commandsboard/adi/sc573-ezkit/sc573-ezkit.env board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +10 more+18 -180 replies
5/16mach-sc5xx: Switch from tftp to wgetinclude/env/adi/adi_boot.env+5 -60 replies
6/16mach-sc5xx: Add USB boot commandboard/adi/sc573-ezkit/sc573-ezkit.env board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +5 more+15 -00 replies
7/16mach-sc5xx: Remove preliminary binman supportarch/arm/dts/sc5xx.dtsi arch/arm/mach-sc5xx/Kconfig+0 -740 replies
8/16dts: sc594: Fix gige-reset line on EZKITarch/arm/dts/sc594-som-ezkit.dts+1 -10 replies
9/16mach-sc5xx: sc573: Rename EZKIT board to EZLITEarch/arm/dts/Makefile arch/arm/dts/sc573-ezlite.dts arch/arm/mach-sc5xx/Kconfig +8 more+17 -170 replies
10/16mach-sc5xx: Update image load addressboard/adi/sc573-ezlite/sc573-ezlite.env board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +4 more+7 -70 replies
11/16mach-sc5xx: Update SPI bootargs for ubifsinclude/env/adi/adi_boot.env+2 -20 replies
12/16configs: sc5xx: Set default bootcmd to SPI bootconfigs/sc589-ezkit_defconfig configs/sc589-mini_defconfig configs/sc594-som-ezkit-spl_defconfig +1 more+4 -40 replies
13/16arm: sc5xx: Remove SC5XX_LOADADDRarch/arm/mach-sc5xx/Kconfig board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +14 more+16 -440 replies
14/16arm: sc5xx: add missing boot env selectorsboard/adi/sc598-som-ezlite/sc598-som-ezlite.env+5 -00 replies
15/16arm: sc5xx: Add fdt_addr_r, kernel_addr_r, and ramdisk_addr_rboard/adi/sc573-ezlite/sc573-ezlite.env board/adi/sc584-ezkit/sc584-ezkit.env board/adi/sc589-ezkit/sc589-ezkit.env +5 more+31 -20 replies
16/16mach-sc5xx: Remove unused image offset Kconfig optionsarch/arm/mach-sc5xx/Kconfig+0 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 00/16] sc5xx Environment Cleanup and Fixes

This series performs a general cleanup of the default U-boot environment for sc5xx boards, stemming from the decision to no longer store the environment in the SPI flash. The environments for each board have been edited to contain the minimum number of commands needed for all supported boot modes to avoid confusion, and the default boot command synced to spi for all boards that support it. The filesystem for the SPI flash has also been changed from jffs2 to ubifs.

A bug with the Ethernet reset line on the sc594 has been fixed, and the sc573 has been renamed from the EZKIT to the EZLITE to match the name of the publically available board. EZKIT was only used internally before release. Preliminary binman support for sc5xx boards has been removed as it was unused and full support never added.

Changes in v6:
- Fixed ramdisk_addr_r for the sc584-ezkit
- Updated commit messages with more information
- Split "Remove update commands" into two logical commits

Note: The series and future patch series will be sent using analog.com email addresses, instead of personal emails with our analog.com emails cc'ed on the series.

Caleb Ethridge (15):
configs: sc5xx: Do not store environment in SPI flash
mach-sc5xx: Remove update commands from default environment
mach-sc59x: Add CONFIG_SC5XX_LOADADDR
mach-sc5xx: Update boot commands
mach-sc5xx: Switch from tftp to wget
mach-sc5xx: Add USB boot command
mach-sc5xx: Remove preliminary binman support
dts: sc594: Fix gige-reset line on EZKIT
mach-sc5xx: sc573: Rename EZKIT board to EZLITE
mach-sc5xx: Update image load address
mach-sc5xx: Update SPI bootargs for ubifs
configs: sc5xx: Set default bootcmd to SPI boot
arm: sc5xx: Remove SC5XX_LOADADDR
arm: sc5xx: Add fdt_addr_r, kernel_addr_r, and ramdisk_addr_r
mach-sc5xx: Remove unused image offset Kconfig options

Ozan Durgut (1):
arm: sc5xx: add missing boot env selectors

 arch/arm/dts/Makefile                         |   2 +-
 .../dts/{sc573-ezkit.dts => sc573-ezlite.dts} |   4 +-
 arch/arm/dts/sc594-som-ezkit.dts              |   2 +-
 arch/arm/dts/sc5xx.dtsi                       |  41 -------
 arch/arm/mach-sc5xx/Kconfig                   |  71 +-----------
 arch/arm/mach-sc5xx/init/dmcinit.c            |   2 +-
 board/adi/sc573-ezkit/sc573-ezkit.env         |  17 ---
 .../adi/{sc573-ezkit => sc573-ezlite}/Kconfig |   8 +-
 .../{sc573-ezkit => sc573-ezlite}/Makefile    |   2 +-
 .../sc573-ezlite.c}                           |   0
 board/adi/sc573-ezlite/sc573-ezlite.env       |  16 +++
 board/adi/sc584-ezkit/sc584-ezkit.env         |   9 +-
 board/adi/sc589-ezkit/sc589-ezkit.env         |   9 +-
 board/adi/sc589-mini/sc589-mini.env           |   9 +-
 board/adi/sc594-som-ezkit/sc594-som-ezkit.env |   9 +-
 .../adi/sc594-som-ezlite/sc594-som-ezlite.env |   9 +-
 board/adi/sc598-som-ezkit/sc598-som-ezkit.env |   9 +-
 .../adi/sc598-som-ezlite/sc598-som-ezlite.env |  14 ++-
 ...ezkit_defconfig => sc573-ezlite_defconfig} |  11 +-
 configs/sc584-ezkit_defconfig                 |  10 +-
 configs/sc589-ezkit_defconfig                 |  12 +-
 configs/sc589-mini_defconfig                  |  12 +-
 configs/sc594-som-ezkit-spl_defconfig         |   7 +-
 configs/sc594-som-ezlite-spl_defconfig        |   7 +-
 configs/sc598-som-ezkit-spl_defconfig         |   5 +-
 configs/sc598-som-ezlite-spl_defconfig        |   5 +-
 .../arm/adi/adi,sc5xx.yaml                    |   2 +-
 .../configs/{sc573-ezkit.h => sc573-ezlite.h} |   4 +-
 include/env/adi/adi_boot.env                  | 103 +++++-------------
 29 files changed, 108 insertions(+), 303 deletions(-)
 rename arch/arm/dts/{sc573-ezkit.dts => sc573-ezlite.dts} (98%)
 delete mode 100644 board/adi/sc573-ezkit/sc573-ezkit.env
 rename board/adi/{sc573-ezkit => sc573-ezlite}/Kconfig (92%)
 rename board/adi/{sc573-ezkit => sc573-ezlite}/Makefile (79%)
 rename board/adi/{sc573-ezkit/sc573-ezkit.c => sc573-ezlite/sc573-ezlite.c} (100%)
 create mode 100644 board/adi/sc573-ezlite/sc573-ezlite.env
 rename configs/{sc573-ezkit_defconfig => sc573-ezlite_defconfig} (87%)
 rename include/configs/{sc573-ezkit.h => sc573-ezlite.h} (79%)
Signature · 1 line
2.34.1