<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
        <description> Hi guys,

today I wanted to compile a 3.2 kernel from the wheezy repo (3.2.23-1 to be precise). So, as usual I grabbed a patch 
from here
https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux/archlinuxarm.patch
and tried to apply it ... with little success.

Somehow the patch seems to be quite outdated: still using boot_params instead of atag_offset, missing a lot of mach types, adding iConnect support although Debian seems to support it already (board-iconnect.c?) and a lot of other annoyances.

Am I missing something? Is there a better Debian patch somewhere or should I try to fix this one?

Edit: Ok, now I finally found davygravy&amp;#039;s patch for 3.3.x
https://www.dropbox.com/sh/nwt2kbvetvgvroo/iUjYHep7VX/Kirkwood/kernel/patches
I&amp;#039;ll check if that one will perform better with Debian&amp;#039;s 3.2.</description>
        <link>https://forum.doozan.com/read.php?2,9238,9238#msg-9238</link>
        <lastBuildDate>Thu, 12 Mar 2026 03:12:41 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9509#msg-9509</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9509#msg-9509</link>
            <description><![CDATA[ @Vlad,<br />
<br />
Update on the Dockstar booting with no L2 workaround: I found that the kernel boots only intermittenly only. But it does boot a few times among several tries! and it would not boot at all on the GoFlex Home.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 03 Sep 2012 18:04:58 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9477#msg-9477</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9477#msg-9477</link>
            <description><![CDATA[ Vlad Wrote:<br />
-------------------------------------------------------<br />
&gt; Hi bodhi,<br />
&gt; <br />
&gt; does it also boot without <br />
&gt; <pre class="bbcode">
&gt; General setup -&gt; Embedded System -&gt; Enable
&gt; Patch physical to virtual translations at runtime
&gt; -&gt; Disable</pre>
&gt; and setting PHYS_OFFSET to 0x00?<br />
<br />
Hi Vlad,<br />
<br />
You got me curious, so I rebuilt 3.2.26 without these 3 parameters. It boots on my Dockstar which has Jeff&#039;s UBoot!!!<br />
<br />
I wonder if somebody has sneaked in a patch to the 3.2.x kernel. Could you try to build your 3.2.x and confirm this? <br />
<br />
-bodhi]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 01 Sep 2012 17:25:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9461#msg-9461</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9461#msg-9461</link>
            <description><![CDATA[ Hi Vlad,<br />
<br />
I have not tried that yet! I set these values so that I can use the same 3.2.x build on my other plugs, which still have Jeff&#039;s original UBoot on them. If you want to confirm that, I could rebuild another version without these parameters and try them? <br />
<br />
bodhi]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 31 Aug 2012 15:08:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9457#msg-9457</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9457#msg-9457</link>
            <description><![CDATA[ Hi bodhi,<br />
<br />
does it also boot without <br />
<pre class="bbcode">
General setup -&gt; Embedded System -&gt; Enable
Patch physical to virtual translations at runtime -&gt; Disable</pre>
and setting PHYS_OFFSET to 0x00?]]></description>
            <dc:creator>Vlad</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 31 Aug 2012 07:46:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9447#msg-9447</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9447#msg-9447</link>
            <description><![CDATA[ Regarding patch rejected the machine_types, l&#039;ve figured out the reason: the code were just different enough that patch has problem reconcile the diffs so it rejected the file. I manually modify the machine types and it built pass that. <br />
<br />
However, the build encountered other problems in davy&#039;s patch, I ended up modifying several of the kirwood devices setup files in order to build.  And it did build OK now.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 30 Aug 2012 15:27:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9442#msg-9442</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9442#msg-9442</link>
            <description><![CDATA[ Vlad Wrote:<br />
-------------------------------------------------------<br />
<br />
&gt; Edit: Ok, now I finally found davygravy&#039;s patch<br />
&gt; for 3.3.x<br />
&gt; <a href="https://www.dropbox.com/sh/nwt2kbvetvgvroo/iUjYHep"  rel="nofollow">https://www.dropbox.com/sh/nwt2kbvetvgvroo/iUjYHep</a><br />
&gt; 7VX/Kirkwood/kernel/patches<br />
&gt; I&#039;ll check if that one will perform better with<br />
&gt; Debian&#039;s 3.2.<br />
<br />
Vlad,<br />
<br />
I&#039;ve tried Davy&#039;s patch with 3.2.26. The new machine types were rejects. Was that because 3.3 vs 3.2? Any idea why? thanks! <br />
<br />
<pre class="bbcode">
root@Debian:/usr/src/linux-3.2.26# patch -t -p1 &lt; ../builds-3.2.26-v2.0/davy-linux-3.3.2-wider.patch
patching file arch/arm/mach-kirkwood/goflexhome-setup.c
patching file arch/arm/mach-kirkwood/goflexnet-setup.c
patching file arch/arm/mach-kirkwood/Kconfig
patching file arch/arm/mach-kirkwood/Makefile
patching file arch/arm/mach-kirkwood/nsa310-setup.c
patching file arch/arm/mach-kirkwood/nsa320-setup.c
patching file arch/arm/mach-kirkwood/pogo_e02-setup.c
patching file arch/arm/mach-kirkwood/pogoplugv4-setup.c
patching file arch/arm/tools/mach-types
Hunk #1 FAILED at 525.
Hunk #2 FAILED at 1169.
2 out of 2 hunks FAILED -- saving rejects to file arch/arm/tools/mach-types.rej
patching file drivers/hwmon/Kconfig
patching file drivers/hwmon/Makefile
patching file drivers/hwmon/nsa3xx-hwmon.c
patching file drivers/mmc/host/mvsdio.c
patching file include/linux/nsa3xx-hwmon.h</pre>
<br />
<pre class="bbcode">
root@Debian:/usr/src/linux-3.2.26/arch/arm/tools# cat mach-types.rej 
--- arch/arm/tools/mach-types	2012-04-13 11:42:02.000000000 -0500
+++ arch/arm/tools/mach-types	2012-05-27 15:32:17.226793813 -0500
@@ -525,6 +525,7 @@
 tx28			MACH_TX28		TX28			3043
 pcontrol_g20		MACH_PCONTROL_G20	PCONTROL_G20		3062
 vpr200			MACH_VPR200		VPR200			3087
+goflexnet		MACH_GOFLEXNET		GOFLEXNET		3089
 torbreck		MACH_TORBRECK		TORBRECK		3090
 prima2_evb		MACH_PRIMA2_EVB		PRIMA2_EVB		3103
 paz00			MACH_PAZ00		PAZ00			3128
@@ -1169,3 +1170,6 @@
 pov2			MACH_POV2		POV2			3889
 ipod_touch_2g		MACH_IPOD_TOUCH_2G	IPOD_TOUCH_2G		3890
 da850_pqab		MACH_DA850_PQAB		DA850_PQAB		3891
+nsa320			MACH_NSA320		NSA320			3956
+pogoplugv4		MACH_POGOPLUGV4		POGOPLUGV4		3960
+nsa310			MACH_NSA310		NSA310			4022
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 29 Aug 2012 15:45:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9395#msg-9395</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9395#msg-9395</link>
            <description><![CDATA[ Attached patch is archlinuxarm_07_01_2011.patch (Goflex Home/Net only) with fixed NAND badblocks. Patched vanila 3.2.28 kernel  builded and booted from sata.]]></description>
            <dc:creator>dvl36</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 26 Aug 2012 06:21:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9341#msg-9341</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9341#msg-9341</link>
            <description><![CDATA[ Kurlon has submitted this patch for 3.5.1:<br />
<a href="https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-kirkwood/archlinuxarm.patch"  rel="nofollow">https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-kirkwood/archlinuxarm.patch</a>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 19 Aug 2012 14:47:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9257#msg-9257</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9257#msg-9257</link>
            <description><![CDATA[ Thanks, bodhi!<br />
I totally agree that it would be nice to have a regularly updated working Wheezy patch, especially when Wheezy will officially become stable. I know that some people here are working to get 3.5 and 3.6 kernels working, which is surely a good thing, but not also shouldn&#039;t forget about people who want to use older but more stable kernels.<br />
<br />
With davygravy&#039;s patch and the patch you attached we already have some basis to start with. I&#039;ll see, if I can find some spare time to try to create a proper Wheezy patch.]]></description>
            <dc:creator>Vlad</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 12 Aug 2012 15:25:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9255#msg-9255</guid>
            <title>Re: Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9255#msg-9255</link>
            <description><![CDATA[ Vlad,<br />
<br />
I ran into the same problem with that patch compiling 3.2.18.  And I could not find any patch that works. So I went back to the Arch Linux ARRM July 2011 patch for goflex Net and goflex Home (it does not have the Pogoplug V4, though). It would be nice to have a good up-to-date patch for Wheezy we can all use!<br />
<br />
I&#039;ve attached the file here in case you want to take a look.<br />
 <br />
Update: I did not see you&#039;ve already found one before posting :-)<br />
<br />
-bodhi]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 12 Aug 2012 13:41:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,9238,9238#msg-9238</guid>
            <title>Do we have a working patch for the latest 3.2 Wheezy kernel?</title>
            <link>https://forum.doozan.com/read.php?2,9238,9238#msg-9238</link>
            <description><![CDATA[ Hi guys,<br />
<br />
today I wanted to compile a 3.2 kernel from the wheezy repo (3.2.23-1 to be precise). So, as usual I grabbed a patch <br />
from here<br />
<a href="https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux/archlinuxarm.patch"  rel="nofollow">https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux/archlinuxarm.patch</a><br />
and tried to apply it ... with little success.<br />
<br />
Somehow the patch seems to be quite outdated: still using boot_params instead of atag_offset, missing a lot of mach types, adding iConnect support although Debian seems to support it already (board-iconnect.c?) and a lot of other annoyances.<br />
<br />
Am I missing something? Is there a better Debian patch somewhere or should I try to fix this one?<br />
<br />
Edit: Ok, now I finally found davygravy&#039;s patch for 3.3.x<br />
<a href="https://www.dropbox.com/sh/nwt2kbvetvgvroo/iUjYHep7VX/Kirkwood/kernel/patches"  rel="nofollow">https://www.dropbox.com/sh/nwt2kbvetvgvroo/iUjYHep7VX/Kirkwood/kernel/patches</a><br />
I&#039;ll check if that one will perform better with Debian&#039;s 3.2.]]></description>
            <dc:creator>Vlad</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 11 Aug 2012 13:50:26 -0500</pubDate>
        </item>
    </channel>
</rss>
