Skip to content

sparc: piggyback update

Sam Ravnborg sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] sparc: piggyback update

In an attempt to understand how tftp booting works I looked at unifying piggyback_32 and piggyback_64.

Due to subtle differences I did not succeed in the unification - at least not this time around.

But I anyway created a few patches that removes a few differences between sparc and sparc64. And piggyback_32 gained a lot in readability as I have documented my findings using a few comments.

In the process I also removed ELF support from piggyback_32, as it was not used.

The set of patches has been boot tested on sparc.
And build tested on sparc64.

Note: I have not updated piggyback_64.c because the plan was/is that piggyback_32 shall support both sparc and sparc64.

Sam

Sam Ravnborg (5):
sparc: refactor piggy_32.c
sparc: use trapbase in setup_arch
sparc: use _start for the start entry (like 64 bit does)
sparc: additional comments to piggyback_32.c
sparc: remove obsolete ELF support in piggyback_32.c

 arch/sparc/boot/piggyback_32.c |  174 +++++++++++++++++++++++++++-------------
 arch/sparc/kernel/head_32.S    |    3 +-
 arch/sparc/kernel/setup_32.c   |    3 +-
 arch/sparc/mm/sun4c.c          |    8 +-
 4 files changed, 124 insertions(+), 64 deletions(-)