Skip to contentSkip to conversation

Firmware blob and git submodule for Sam460ex

PATCH Applied BALATON Zoltan 2 participants 4 messages Mar 2, 2018 – Mar 5, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw

v2 cover Firmware blob and git submodule for Sam460ex

This is v2 of the firmware image for the ppc sam460ex machine type in case you choose to add it with external git repo first. In case you decide not to add it either as external git nor as a mirrored or copied to QEMU repo then probably some wiki page should be updated to point to a binary image for the machine to be usable but I'm not sure how to do that. Please advise which of the above options should be followed.

Thank you,
BALATON Zoltan

BALATON Zoltan (2):
roms: Added git submodule for u-boot-sam460 (firmware for sam460ex)
pc-bios: Added u-boot-sam460 firmware binary

 .gitmodules                        |   3 +++
 Makefile                           |   2 +-
 pc-bios/u-boot-sam460-20100605.bin | Bin 0 -> 524288 bytes
 roms/Makefile                      |   7 +++++++
 roms/u-boot-sam460ex               |   1 +
 5 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100755 pc-bios/u-boot-sam460-20100605.bin
 create mode 160000 roms/u-boot-sam460ex
Signature · 1 line
2.7.6
#1 lore raw

PATCH v2 1/2 roms: Added git submodule for u-boot-sam460 (firmware for sam460ex)

---
v2: Fixed submodule and added Makefile rules to build binary

.gitmodules | 3 +++

 roms/Makefile        | 7 +++++++
 roms/u-boot-sam460ex | 1 +
 3 files changed, 11 insertions(+)
 create mode 160000 roms/u-boot-sam460ex
.gitmodules +3 -0
index 7a8282d..b76fb45 100644
@@ -43,3 +43,6 @@
 [submodule "roms/seabios-hppa"]
 	path = roms/seabios-hppa
 	url = git://github.com/hdeller/seabios-hppa.git
+[submodule "roms/u-boot-sam460ex"]
+	path = roms/u-boot-sam460ex
+	url = git://github.com/zbalaton/u-boot-sam460ex
roms/Makefile +7 -0
index b5e5a69..02b69fb 100644
@@ -65,6 +65,7 @@ default:
 	@echo "  slof           -- update slof.bin"
 	@echo "  skiboot        -- update skiboot.lid"
 	@echo "  u-boot.e500    -- update u-boot.e500"
+	@echo "  u-boot.sam460  -- update u-boot.sam460"
 
 bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
 	cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin
@@ -147,6 +148,11 @@ u-boot.e500:
 	$(powerpc_cross_prefix)strip u-boot/build.e500/u-boot -o \
 		../pc-bios/u-boot.e500
 
+u-boot.sam460:
+	$(MAKE) -C u-boot-sam460ex Sam460ex_config
+	$(MAKE) -C u-boot-sam460ex CROSS_COMPILE=$(powerpc_cross_prefix)
+	cp u-boot-sam460ex/u-boot.bin ../pc-bios/u-boot-sam460-20100605.bin
+
 skiboot:
 	$(MAKE) -C skiboot CROSS=$(powerpc64_cross_prefix)
 	cp skiboot/skiboot.lid ../pc-bios/skiboot.lid
@@ -160,4 +166,5 @@ clean:
 	$(MAKE) -C ipxe/src veryclean
 	$(MAKE) -C SLOF clean
 	rm -rf u-boot/build.e500
+	$(MAKE) -C u-boot-sam460ex distclean
 	$(MAKE) -C skiboot clean
roms/u-boot-sam460ex new file +1 -0
new file mode 160000
index 0000000..119aa27
@@ -0,0 +1 @@
+Subproject commit 119aa277f74a4a2d3f7ab6c9471292308eba14e4
Signature · 1 line
2.7.6
#2 lore raw

PATCH v2 2/2 pc-bios: Added u-boot-sam460 firmware binary

In reply to BALATON Zoltan
---
 Makefile                           |   2 +-
 pc-bios/u-boot-sam460-20100605.bin | Bin 0 -> 524288 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100755 pc-bios/u-boot-sam460-20100605.bin
Makefile +1 -1
index 6434d6c..b0c16b3 100644
@@ -661,7 +661,7 @@ multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin \
 s390-ccw.img s390-netboot.img \
 spapr-rtas.bin slof.bin skiboot.lid \
 palcode-clipper \
-u-boot.e500 \
+u-boot.e500 u-boot-sam460-20100605.bin \
 qemu_vga.ndrv \
 hppa-firmware.img
 else
pc-bios/u-boot-sam460-20100605.bin new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..99408f8e957b26e735e5befa98fa3d51a90d95f6
GIT binary patch
Signature · 1 line
2.7.6
Applied
#3 lore raw
In reply to BALATON Zoltan
Quoted 7 lines · BALATON Zoltan

This is v2 of the firmware image for the ppc sam460ex machine type in case you choose to add it with external git repo first. In case you decide not to add it either as external git nor as a mirrored or copied to QEMU repo then probably some wiki page should be updated to point to a binary image for the machine to be usable but I'm not sure how to do that. Please advise which of the above options should be followed.

Applied, and moved before the same460ex board to avoid bisection breakage.

Quoted 17 lines

Thank you,
BALATON Zoltan

BALATON Zoltan (2):
roms: Added git submodule for u-boot-sam460 (firmware for sam460ex)
pc-bios: Added u-boot-sam460 firmware binary

 .gitmodules                        |   3 +++
 Makefile                           |   2 +-
 pc-bios/u-boot-sam460-20100605.bin | Bin 0 -> 524288 bytes
 roms/Makefile                      |   7 +++++++
 roms/u-boot-sam460ex               |   1 +
 5 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100755 pc-bios/u-boot-sam460-20100605.bin
 create mode 160000 roms/u-boot-sam460ex
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson