Skip to contentSkip to conversation

Add support for Analogue & Micro ASP837E board

PATCH Scott Wood 1 participant 1 message Jun 26, 2008

lore
Share & tools
lore

Scott Wood

author
#0 lore raw
Quoted 3 lines · Bryan O'Donoghue

Greetings.

Attached is a patchset to support the ASP8347E.

Sorry for the late reply...

Quoted 4 lines

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.

8xx has a different cache block size (affecting dcbz, etc); I recommend using a 6xx toolchain. You'll have floating point that way, as well.

Review

Quoted 4 lines
(quoted diff) +4 -0
+	dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
+	dt_fixup_mac_addresses(bd.bi_enetaddr);
+	dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq);
+

timebase on 6xx is busfreq / 4, not busfreq / 16.

Review

Quoted 8 lines
(quoted diff) +8 -0
+	node = finddevice("/soc/cpm/brg");
+	if (node) {
+		printf("BRG clock-frequency <- 0x%x (%dMHz)\r\n",
+		       bd.bi_busfreq, MHZ(bd.bi_busfreq));
+		setprop(node, "clock-frequency",  &bd.bi_busfreq, 4);
+	}
+
+}

This doesn't exist at all on 834x, and is named differently on 832x/836x.

-Scott