[PATCH 0/6] highbank: Update to driver model
Andre Przywara
andre.przywara at arm.com
Mon Apr 12 02:04:49 CEST 2021
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
More information about the U-Boot
mailing list