Skip to contentSkip to conversation

SPARC: bootm SPARC support

PATCH New Daniel Hellstrom 2 participants 3 messages Mar 13, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 SPARC: bootm SPARC support

This patch adds support for SPARC u-boot images to bootm. The IH_CPU_SPARC indentifier in the image header is recognized. The IH_CPU_SPARC indentifier has already been implemented in mkimage.

Best Regards,
Daniel Hellstrom

 common/cmd_bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
common/cmd_bootm.c +0 -0
index 9546729..466e783 100644
@@ -262,6 +262,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, 

char *argv[])

     if (hdr->ih_arch != IH_CPU_PPC)
 #elif defined(__sh__)
     if (hdr->ih_arch != IH_CPU_SH)
+#elif defined(__sparc__)
+    if (hdr->ih_arch != IH_CPU_SPARC)
 #else
 # error Unknown CPU type
 #endif
#1 lore raw

PATCH 1/8 SPARC: bootm SPARC support

Quoted 3 lines · Daniel Hellstrom

This patch adds support for SPARC u-boot images to bootm. The IH_CPU_SPARC indentifier in the image header is recognized. The IH_CPU_SPARC indentifier has already been implemented in mkimage.

Hello Daniel,

Could you provide a patch that adds IH_CPU_SPARC support in the context of the new uImage format, i.e., based on the top of the new-image branch of the u-boot-testing repository? New format support from that branch will be merged with the master, and is planned to replace the old format in the future.

Regards,
Bartlomiej

#2 lore raw

PATCH 1/8 SPARC: bootm SPARC support

Quoted 9 lines · Bartlomiej Sieka
Quoted 5 lines · Daniel Hellstrom

This patch adds support for SPARC u-boot images to bootm. The IH_CPU_SPARC
indentifier in the image header is recognized. The IH_CPU_SPARC indentifier
has already been implemented in mkimage.

Quoted 7 lines

Hello Daniel,

Could you provide a patch that adds IH_CPU_SPARC support in the context of the new uImage format, i.e., based on the top of the new-image branch of the u-boot-testing repository? New format support from that branch will be merged with the master, and is planned to replace the old format in the future.

Ok, I will have a look at the new image format, I found the branch with the code you are talking about. It will take me some time, as you saw - there was other things to fix as well.

Best Regards,
Daniel Hellstrom

Quoted 5 lines

Regards,
Bartlomiej