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

Re: [GIT/PATCH] libdebian-installer: Add support for dreamplug



On Tue, 2012-07-10 at 16:37 -0600, Ian Campbell wrote:
> On Wed, 2012-07-11 at 00:33 +0200, Hector Oron wrote:
> > Hello Ian,
> > 
> > 2012/7/10 Ian Campbell <ijc@hellion.org.uk>:
> > > Martin tells me this is necessary for d-i to pick the correct kernel
> > > while installing. I believe him ;-)
> > 
> > Thanks for the patch, it looks fine to me, but incomplete for d-i.
> > You need to add Dreamplug platform in debian-installer configuration
> > (see installer/build/config/armel/kirkwood/* )
> 
> Thanks for the pointer. I'll cook something up shortly...

Here we are (patch follow pull request). I've built it but not booted
it...

The following changes since commit 53e092b070c8279830855b7339f166b451dc5f27:

  Add Joy mentions to debian/copyright. (2012-07-10 15:50:04 -0600)

are available in the git repository at:

  git://gitorious.org/ijc-debian/debian-installer.git dreamplug

for you to fetch changes up to 1f963d2db046e804f3ced58904022b0446bfd66f:

  (armel) add Dreamplug images (2012-07-10 23:33:37 +0000)

----------------------------------------------------------------
Ian Campbell (1):
      (armel) add Dreamplug images

 build/config/armel/kirkwood/netboot.cfg |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)



>From 1f963d2db046e804f3ced58904022b0446bfd66f Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@citrix.com>
Date: Tue, 10 Jul 2012 23:33:37 +0000
Subject: [PATCH] (armel) add Dreamplug images

---
 build/config/armel/kirkwood/netboot.cfg |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/build/config/armel/kirkwood/netboot.cfg b/build/config/armel/kirkwood/netboot.cfg
index 1fc5eeb..4645dd8 100644
--- a/build/config/armel/kirkwood/netboot.cfg
+++ b/build/config/armel/kirkwood/netboot.cfg
@@ -1,8 +1,10 @@
 MEDIA_TYPE = netboot image
 
-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug
+TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug dreamplug
 EXTRANAME = $(MEDIUM)
 
+TEMP_DTB = $(TEMP)/lib
+
 # OpenRD
 openrd:
 	mkdir -p $(SOME_DEST)/$(EXTRANAME)/marvell/openrd
@@ -18,7 +20,14 @@ sheevaplug:
 	mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 -e 0x0 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(SOME_DEST)/$(EXTRANAME)/marvell/sheevaplug/uInitrd
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/sheevaplug/uImage "Linux kernel for SheevaPlug"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/sheevaplug/uInitrd "initrd for SheevaPlug"
-	ln -s sheevaplug $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug
+	ln -nfs sheevaplug $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug/uImage "Linux kernel for GuruPlug"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug/uInitrd "initrd for GuruPlug"
 
+dreamplug: sheevaplug
+	mkdir -p $(SOME_DEST)/$(EXTRANAME)/marvell/dreamplug
+	cat $(TEMP_KERNEL) $(TEMP_DTB)/kirkwood-dreamplug.dtb > $(TEMP)/vmlinuz-dreamplug
+	mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-dreamplug $(SOME_DEST)/$(EXTRANAME)/marvell/dreamplug/uImage
+	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"
-- 
1.7.9.1





Reply to: