public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/6] highbank: Update to driver model
@ 2021-04-12  0:04 Andre Przywara
  2021-04-12  0:04 ` [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses Andre Przywara
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Andre Przywara @ 2021-04-12  0:04 UTC (permalink / raw)
  To: u-boot

The Calxeda Highbank and Midway systems have not been updated in a
while, so were gathering more and more warning messages about not being
DM compliant over time.

To avoid the support being removed, update the board to comply with
modern U-Boot standards:
- Enable OF_CONTROL, and use the DTB provided by previous firmware stages.
- Convert the XGMAC network driver over to the driver model.
- Read the actual DRAM size (as detect by the management processor) from
  the DTB and use that to populate the memory node, and U-Boot internal
  idea of DRAM.

Access to SATA drives broke with commit 66c54f1a3e46 ("scsi: Simplify
scsi_read()/_write()") before the v2020.01 release, and remains
non-functional with this series for now. Reverting that commit (and
massaging it a bit) brought it back to life. I will send a proper patch
once I wrapped my head around the SCSI/SATA/AHCI/DM-block connections.


To test this build, you can use chain-loading on an existing installation
(firmware updates in flash on those boards are not trivial):
$ mkimage -A arm -O u-boot -T standalone -C none -a 0x8000 -e 0x8000 \
  -d u-boot.bin -n U-Boot /srv/tftp/u-boot-highbank.img
=> tftpboot 0x8000 u-boot-highbank.img
=> bootm 0x8000

Cheers,
Andre

Andre Przywara (6):
  arm: highbank: Limit FDT and initrd load addresses
  arm: highbank: Enable OF_CONTROL
  net: calxedagmac: Convert to DM_ETH
  arm: highbank: Remove artificial SDRAM size
  arm: highbank: Do DRAM init from DT
  arm: highbank: Update maintainership

 arch/arm/Kconfig             |  11 +-
 board/highbank/MAINTAINERS   |   2 +-
 board/highbank/highbank.c    |  32 +++---
 configs/highbank_defconfig   |   4 +-
 drivers/net/Kconfig          |   7 ++
 drivers/net/calxedaxgmac.c   | 192 +++++++++++++++++++++++------------
 include/configs/highbank.h   |  13 +--
 include/netdev.h             |   1 -
 scripts/config_whitelist.txt |   1 -
 9 files changed, 170 insertions(+), 93 deletions(-)

-- 
2.17.5

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-04-20 14:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12  0:04 [PATCH 0/6] highbank: Update to driver model Andre Przywara
2021-04-12  0:04 ` [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses Andre Przywara
2021-04-12  0:29   ` Tom Rini
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 2/6] arm: highbank: Enable OF_CONTROL Andre Przywara
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 3/6] net: calxedagmac: Convert to DM_ETH Andre Przywara
2021-04-15  1:53   ` Ramon Fried
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 4/6] arm: highbank: Remove artificial SDRAM size Andre Przywara
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 5/6] arm: highbank: Do DRAM init from DT Andre Przywara
2021-04-20 14:21   ` Tom Rini
2021-04-12  0:04 ` [PATCH 6/6] arm: highbank: Update maintainership Andre Przywara
2021-04-20 14:21   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox