highbank: Update to driver model
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm: highbank: Limit FDT and initrd load addressesinclude/ | +4 | 2 replies | |
| 2/6 | arm: highbank: Enable OF_CONTROLarch/ board/ configs/ +1 more | +19 | 1 reply | |
| 3/6 | net: calxedagmac: Convert to DM_ETHarch/ board/ configs/ +5 more | +137 | 2 replies | |
| 4/6 | arm: highbank: Remove artificial SDRAM sizeinclude/ | +0 | 1 reply | |
| 5/6 | arm: highbank: Do DRAM init from DTarch/ board/ configs/ | +9 | 1 reply | |
| 6/6 | arm: highbank: Update maintainershipboard/ | +1 | 1 reply |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Tom Rini | Ramon Fried |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | ||
| 3/6 | R-b | |
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] highbank: Update to driver model
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(-)
Signature · 1 line
2.17.5