ARM: highbank: fix Calxeda machines
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ARM: highbank: add missing SCU register setup for resetboard/ | +6 | 1 reply | |
| 2/8 | ARM: highbank: add reset support for Calxeda Midway machineboard/ | +14 | 1 reply | |
| 3/8 | cmd_scsi: use lbaint_t for LBA values instead of u32common/ | +7 | 1 reply | |
| 4/8 | ahci: support LBA48 data reads for 2+TB drivescommon/ drivers/ include/ | +66 | 2 replies | |
| 5/8 | ahci: extend data io wait to 10sdrivers/ | +1 | 1 reply | |
| 6/8 | ARM: bootm: allow skipping fdt memory node fixuparch/ arch/ | +6 | 1 reply | |
| 6/8 | ARM: bootm: allow skipping fdt memory node fixup | +0 | 4 replies | |
| 7/8 | ARM: highbank: remove DRAM bank setupboard/ include/ | +1 | 3 replies | |
| 8/8 | highbank: add custom ahci_link_up functionboard/ board/ board/ | +231 | 1 reply |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | A-b |
| 6/8 | A-b |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/8] ARM: highbank: fix Calxeda machines
This series aims to upstream fixes that have been in the Calxeda firmware version of U-Boot for ages.
The first two patches fix reset, both for Highbank and Midway. Patches 3-5 add support for larger hard disks, so U-Boot can now access sectors from beyond 2 TB on larger disks.
Patch 6 and 7 teach U-Boot not to touch the FDT memory node. The primary Calxeda firmware detects the amount of memory (it has a DIMM socket!) at boot time and populates the memory node accordingly. U-Boot would overwrite the node with a fixed value, most commonly getting lost of any memory beyond 4 GB on Midway systems. I have been told that this fix has been disliked before, so I am open to a discussion on how to address this problem.
The final patch fixes Highbank's SATA setup, which requires some special care (cf. the sata_highbank.c driver in Linux).
There are actually more patches [1] in the last official firmware, but most of the others only make sense with some special management firmware versions that never made it to the light.
I extracted the most useful and important patches from there and rebased them on top of the current master. With them I can happily use upstream U-Boot on a Midway system - I haven't had time to test it on Highbank, though.
Please review, comment and hopefully apply them!
Cheers,
Andre.
[1] https://git.linaro.org/people/rob.herring/u-boot.git/shortlog/refs/heads/highbank
Mark Langsdorf (5):
ARM: highbank: add reset support for Calxeda Midway machine
cmd_scsi: use lbaint_t for LBA values instead of u32
ahci: support LBA48 data reads for 2+TB drives
ahci: extend data io wait to 10s
highbank: add custom ahci_link_up function
Rob Herring (3):
ARM: highbank: add missing SCU register setup for reset
ARM: bootm: allow skipping fdt memory node fixup
ARM: highbank: remove DRAM bank setup
arch/arm/lib/board.c | 2 + arch/arm/lib/bootm-fdt.c | 5 +- board/highbank/Makefile | 2 +- board/highbank/ahci.c | 218 +++++++++++++++++++++++++++++++++++++++++++++ board/highbank/highbank.c | 37 ++++++-- common/cmd_scsi.c | 58 ++++++++++-- drivers/block/ahci.c | 32 +++++-- include/configs/highbank.h | 2 +- include/scsi.h | 1 + 9 files changed, 331 insertions(+), 26 deletions(-) create mode 100644 board/highbank/ahci.c
Signature · 1 line
1.8.4