Skip to content

ARM: highbank: fix Calxeda machines

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARM: highbank: add missing SCU register setup for resetboard/highbank/highbank.c+6 -01 reply
2/8ARM: highbank: add reset support for Calxeda Midway machineboard/highbank/highbank.c+14 -11 reply
3/8cmd_scsi: use lbaint_t for LBA values instead of u32common/cmd_scsi.c+7 -71 reply
4/8ahci: support LBA48 data reads for 2+TB drivescommon/cmd_scsi.c drivers/block/ahci.c include/scsi.h+66 -92 replies
5/8ahci: extend data io wait to 10sdrivers/block/ahci.c+1 -11 reply
6/8ARM: bootm: allow skipping fdt memory node fixuparch/arm/lib/board.c arch/arm/lib/bootm-fdt.c+6 -11 reply
6/8ARM: bootm: allow skipping fdt memory node fixup+0 -04 replies
7/8ARM: highbank: remove DRAM bank setupboard/highbank/highbank.c include/configs/highbank.h+1 -73 replies
8/8highbank: add custom ahci_link_up functionboard/highbank/Makefile board/highbank/ahci.c board/highbank/highbank.c+231 -11 reply

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/8
2/8
3/8
4/8
5/8
6/8A-b
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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