Skip to contentSkip to conversation

arm: mvebu: Update docs for Allied Telesis x220

PATCH Superseded Chris Packham 1 participant 2 messages Jul 2 – Jul 4

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: Update docs for Allied Telesis x220

The current documentation doesn't work as-is for extracting the DDR training binary from the vendor bootloader. There are some seemingly undocumented alignment requirements that we need to meet by padding the binary file. Add some instructions on how to do this with objcopy. Also fix a minor spelling mistake while we're here.

---
 board/alliedtelesis/x220/binary.0 | Bin 423 -> 77772 bytes
 doc/board/alliedtelesis/x220.rst  |   4 +++-
 2 files changed, 3 insertions(+), 1 deletion(-)
board/alliedtelesis/x220/binary.0 binary +0 -0
index 8dd687286a001c5df3cbc878d527d2a764f8c40b..e61950a7a70a478d9767bfec19d2d9e5ec14dabd 100644
GIT binary patch
doc/board/alliedtelesis/x220.rst +3 -1
index 6ca5f61ec4e1..447867ac7d8a 100644
@@ -18,7 +18,7 @@ markets.
 - GS980M/52
 - x230-52
 
-DDR Traning (binhdr)
+DDR Training (binhdr)
 --------------------
 
 The AlleyCat3 uses a binary blob for it's DDR training. This is launched by
@@ -37,3 +37,5 @@ image
 .. prompt:: bash $
 
    ./tools/dumpimage -T kwbimage -p 1 -o board/alliedtelesis/x220/binary.0 u-boot.kwb
+   arm-softfloat-linux-gnueabi-objcopy -I binary -O binary --pad-to=0x12fcc \
+      board/alliedtelesis/x220/binary.0 board/alliedtelesis/x220/binary.0
Signature · 1 line
2.54.0
#1 lore raw
Quoted 10 lines · Chris Packham,

The current documentation doesn't work as-is for extracting the DDR training binary from the vendor bootloader. There are some seemingly undocumented alignment requirements that we need to meet by padding the binary file. Add some instructions on how to do this with objcopy. Also fix a minor spelling mistake while we're here.

---
 board/alliedtelesis/x220/binary.0 | Bin 423 -> 77772 bytes

Whoops looks like I included the result of running the command. I'll send a much smaller v2.