[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] jessie: provide image for DockStar

I don't know if there are many users, but you used to be able to
install Debian on a Seagate DockStar using the SheevaPlug image if you
solder on a serial console.  This is no longer possible since the
SheevaPlug has SheevaPlug device tree info now.  Therefore, provide a
DockStar image with the DockStar device tree info.

Ok to apply?  This can wait until 8.2 if that's better.

diff --git a/build/config/armel/kirkwood/netboot.cfg b/build/config/armel/kirkwood/netboot.cfg
index d3a83a9..974318e 100644
--- a/build/config/armel/kirkwood/netboot.cfg
+++ b/build/config/armel/kirkwood/netboot.cfg
@@ -1,6 +1,6 @@
 MEDIA_TYPE = netboot image
-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug sheevaplug-esata guruplug dreamplug
+TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug sheevaplug-esata guruplug dreamplug dockstar
@@ -41,3 +44,11 @@ dreamplug: sheevaplug
 	ln -nfs ../sheevaplug/uInitrd $(SOME_DEST)/$(EXTRANAME)/marvell/dreamplug/uInitrd
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/dreamplug/uImage "Linux kernel for DreamPlug"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/dreamplug/uInitrd "initrd for DreamPlug"
+	mkdir -p $(SOME_DEST)/$(EXTRANAME)/seagate/dockstar
+	cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-dockstar.dtb > $(TEMP)/vmlinuz-dockstar
+	mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-dockstar $(SOME_DEST)/$(EXTRANAME)/seagate/dockstar/uImage
+	mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 -e 0x0 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(SOME_DEST)/$(EXTRANAME)/seagate/dockstar/uInitrd
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/seagate/dockstar/uImage "Linux kernel for Seagate DockStar"
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/seagate/dockstar/uInitrd "initrd for Seagate DockStar"

Martin Michlmayr

Reply to: