[PATCH v3 00/16] Miscellaneous fixes

Jerome Forissier jerome.forissier at linaro.org
Tue Sep 3 10:37:57 CEST 2024


Miscellaneous fixes made when developing the lwIP series [1]. They are
posted separately since they make sense on their own. Subsequent
versions of the lwIP series will contain a squashed version of this one.

[1] http://patchwork.ozlabs.org/project/uboot/list/?series=420712&state=%2A&archive=both

Changes in v3:

- Apply R-b tags from Peter R.
- Rework "buildman/toolchain.py: set CROSS_COMPILE only if self.cross
is set". Subject changed to "buildman/toolchain.py: do not set
CROSS_COMPILE for sandbox", GetEnvArgs function fixed as well, and
test cases added. (Simon G.)

Changes in v2:

- Rebased onto master
- "flash: prefix error codes with FL_"
Update drivers/mtd/altera_qspi.c too. This was mentioned by Simon G.
in my lwIP v9 thread [1]. Tom R./Ilias A./Peter R.: I kept your R-b
tags, please shout if it's not OK.
- "net: fm: call dtsec_init_phy() only when it is defined"
Address Simon G.'s comments: update condition (parentheses,
CONFIG_BITBANGMII, if instead of #if).
Peter R: I dropped your R-b since the code changed significantly.
- New patches:
  "common: update: UPDATE_COMMON implies CMD_TFTPBOOT"
  "cmd: pxe: CMD_PXE implies CMD_TFTPBOOT"
  "buildman/toolchain.py: set CROSS_COMPILE only if self.cross is set"

[1] https://lists.denx.de/pipermail/u-boot/2024-August/563497.html

Jerome Forissier (16):
  Makefile: detect HOST_ARCH properly when CROSS_COMPILE is multi-word
  buildman/toolchain.py: do not set CROSS_COMPILE for sandbox
  flash: prefix error codes with FL_
  at91: rename mem_init() to at91_mem_init()
  arm: omap2: add missing #include <netdev.h>
  net: fm: call dtsec_init_phy() only when it is defined
  net: wget: removed unused function wget_success()
  net: phy: ncsi: depend on NET
  net: ftgmac100: depend on NET
  net: wget: allow EFI boot
  net: fec_mxc_init(): do not ignore return status of fec_open()
  test/py: net_boot: fix comment
  test/py: test_efi_loader: add missing dependency on cmd_tftpboot
  test/py: test_efi_loader: add HTTP (wget) test for the EFI loader
  common: update: UPDATE_COMMON implies CMD_TFTPBOOT
  cmd: pxe: CMD_PXE implies CMD_TFTPBOOT

 Makefile                                      |  2 +-
 arch/arm/mach-at91/include/mach/at91_common.h |  2 +-
 arch/arm/mach-at91/spl_at91.c                 |  2 +-
 arch/arm/mach-at91/spl_atmel.c                |  2 +-
 arch/arm/mach-omap2/omap3/emac.c              |  1 +
 .../atmel/at91sam9m10g45ek/at91sam9m10g45ek.c |  2 +-
 board/atmel/at91sam9n12ek/at91sam9n12ek.c     |  2 +-
 board/atmel/at91sam9x5ek/at91sam9x5ek.c       |  2 +-
 .../atmel/sama5d27_som1_ek/sama5d27_som1_ek.c |  2 +-
 .../sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c   |  2 +-
 board/atmel/sama5d2_icp/sama5d2_icp.c         |  2 +-
 .../atmel/sama5d2_xplained/sama5d2_xplained.c |  2 +-
 .../atmel/sama5d3_xplained/sama5d3_xplained.c |  2 +-
 board/atmel/sama5d3xek/sama5d3xek.c           |  2 +-
 .../atmel/sama5d4_xplained/sama5d4_xplained.c |  2 +-
 board/atmel/sama5d4ek/sama5d4ek.c             |  2 +-
 board/cobra5272/flash.c                       | 26 ++++----
 .../conclusive/kstr-sama5d27/kstr-sama5d27.c  |  2 +-
 board/freescale/m5253demo/flash.c             |  6 +-
 board/gardena/smart-gateway-at91sam/spl.c     |  2 +-
 board/siemens/corvus/board.c                  |  2 +-
 board/siemens/smartweb/smartweb.c             |  2 +-
 board/siemens/taurus/taurus.c                 |  2 +-
 cmd/Kconfig                                   |  1 +
 common/Kconfig                                |  1 +
 common/flash.c                                | 44 ++++++-------
 drivers/mtd/altera_qspi.c                     |  4 +-
 drivers/mtd/cfi_flash.c                       | 36 +++++------
 drivers/net/Kconfig                           |  1 +
 drivers/net/fec_mxc.c                         |  3 +-
 drivers/net/fm/eth.c                          | 10 ++-
 drivers/net/phy/Kconfig                       |  1 +
 include/flash.h                               | 20 +++---
 net/wget.c                                    | 11 ++--
 test/py/tests/test_efi_loader.py              | 62 ++++++++++++++-----
 test/py/tests/test_net_boot.py                |  2 +-
 tools/buildman/test.py                        | 46 ++++++++++++++
 tools/buildman/toolchain.py                   |  6 +-
 38 files changed, 203 insertions(+), 118 deletions(-)

-- 
2.40.1



More information about the U-Boot mailing list