Skip to contentSkip to conversation

Add support for Analogue & Micro ASP837E board

PATCH Applied Bryan O'Donoghue 2 participants 2 messages May 8, 2008 – May 30, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add support for Analogue & Micro ASP837E board

Greetings.

Attached is a patchset to support the ASP8347E.

http://www.analogue-micro.com/ASP8347.html. Due to the fact that the board shipped with a root filesystem that requires devfs, you have to run a different rootfs with all current kernels. I've been using the 8xx root fs from the ELDK via NFS, for this.

v2 implements all changes - bar ethernet aliases in the dts, as suggested by Stephen Rothwell and Kumar Gala, to date.

Please apply.

Cheers,
Bryan

---

arch/powerpc/boot/Makefile +3 -1
index 73f3fd8..d94285f 100644
@@ -64,7 +64,8 @@ src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c
 		cuboot-bamboo.c cuboot-mpc7448hpc2.c cuboot-taishan.c \
 		fixed-head.S ep88xc.c ep405.c \
 		cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \
-		cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c
+		cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c \
+		redboot-83xx.c
 src-boot := $(src-wlib) $(src-plat) empty.c
 
 src-boot := $(addprefix $(obj)/, $(src-boot))
@@ -240,6 +241,7 @@ image-$(CONFIG_MPC834x_ITX)		+= cuImage.mpc8349emitx \
 					   cuImage.mpc8349emitxgp
 image-$(CONFIG_MPC834x_MDS)		+= cuImage.mpc834x_mds
 image-$(CONFIG_MPC836x_MDS)		+= cuImage.mpc836x_mds
+image-$(CONFIG_ASP834x)			+= dtbImage.asp834x-redboot
 
 # Board ports in arch/powerpc/platform/85xx/Kconfig
 image-$(CONFIG_MPC8540_ADS)		+= cuImage.mpc8540ads
arch/powerpc/boot/dts/asp834x-redboot.dts new file +247 -0

247 lines not on this page · raw message

arch/powerpc/boot/redboot-83xx.c new file +60 -0

60 lines not on this page · raw message

arch/powerpc/boot/wrapper +5 -1
index 087e120..eebc0eb 100755
@@ -171,7 +171,7 @@ cuboot*)
     *-mpc824*)
         platformo=$object/cuboot-824x.o
         ;;
-    *-mpc83*)
+    *-mpc83*|*-asp834x*)
         platformo=$object/cuboot-83xx.o
         ;;
     *-tqm8541|*-mpc8560*|*-tqm8560|*-tqm8555|*-ksi8560*)
@@ -199,6 +199,10 @@ adder875-redboot)
     platformo="$object/fixed-head.o $object/redboot-8xx.o"
     binary=y
     ;;
+asp834x-redboot)
+    platformo="$object/fixed-head.o $object/redboot-83xx.o"
+    binary=y
+    ;;
 esac
 
 vmz="$tmpdir/`basename \"$kernel\"`.$ext"
arch/powerpc/configs/asp8347_defconfig new file +1214 -0

1,214 lines not on this page · raw message

arch/powerpc/platforms/83xx/Kconfig +9 -0
index 13587e2..583b0c7 100644
@@ -79,6 +79,15 @@ config SBC834x
 	help
 	  This option enables support for the Wind River SBC834x board.
 
+config ASP834x
+	bool "Analogue & Micro ASP 834x"
+	select PPC_MPC834x
+	select REDBOOT
+	help
+	  This enables support for the Analogue & Micro ASP 83xx
+	  board.
+
+
 endif
 
 # used for usb
arch/powerpc/platforms/83xx/Makefile +1 -0
index 7e6dd3e..76494be 100644
@@ -12,3 +12,4 @@ obj-$(CONFIG_MPC832x_MDS)	+= mpc832x_mds.o
 obj-$(CONFIG_MPC837x_MDS)	+= mpc837x_mds.o
 obj-$(CONFIG_SBC834x)		+= sbc834x.o
 obj-$(CONFIG_MPC837x_RDB)	+= mpc837x_rdb.o
+obj-$(CONFIG_ASP834x)		+= asp834x.o
arch/powerpc/platforms/83xx/asp834x.c new file +108 -0

108 lines not on this page · raw message

Applied
#1 lore raw
Quoted 12 lines · Bryan O'Donoghue

Greetings.

Attached is a patchset to support the ASP8347E.

http://www.analogue-micro.com/ASP8347.html. Due to the fact that the board shipped with a root filesystem that requires devfs, you have to run a different rootfs with all current kernels. I've been using the 8xx root fs from the ELDK via NFS, for this.

v2 implements all changes - bar ethernet aliases in the dts, as suggested by Stephen Rothwell and Kumar Gala, to date.

Quoted 7 lines

Please apply.

Cheers,
Bryan

---

applied to powerpc-next.

I had to make a few changes to this patch. In the future please make sure the commit message is before the ---. Also, look at running scripts/checkpatch.pl.

- k