* [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken
@ 2012-06-05 1:35 George Pontis
2012-06-14 11:24 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: George Pontis @ 2012-06-05 1:35 UTC (permalink / raw)
To: xenomai
This recently released patch appears to be broken with regard to patching
arch/arm/mach-at91/at91sam9g45.c.
The first section of the patch should be applied to around line 32 in
similar fashion to the patch for the other micros in the family. However, it
is being applied to an entirely different structure around line 320. The
resulting file fails to compile. I doctored up this section of the patch so
it would be applied in the correct place, and the kernel builds. The
incorrect section of the patch is at line 5146. The following edit can be a
useful patch to the patch, until officially re-released:
--- a/arch/arm/mach-at91/at91sam9g45.c
+++ b/arch/arm/mach-at91/at91sam9g45.c
@@ -32,6 +32,13 @@ .pfn = __phys_to_pfn(AT91_BASE_SYS),
.length = SZ_16K,
.type = MT_DEVICE,
}, {
+#ifdef CONFIG_IPIPE
+ .virtual = AT91_VA_BASE_TCB0,
+ .pfn = __phys_to_pfn(AT91_BASE_TCB0),
+ .length = SZ_16K,
+ .type = MT_DEVICE,
+ }, {
+#endif /* CONFIG_IPIPE */
.virtual = AT91_IO_VIRT_BASE - AT91SAM9G45_SRAM_SIZE,
.pfn = __phys_to_pfn(AT91SAM9G45_SRAM_BASE),
.length = AT91SAM9G45_SRAM_SIZE,
George
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken
2012-06-05 1:35 [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken George Pontis
@ 2012-06-14 11:24 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-14 11:24 UTC (permalink / raw)
To: George Pontis; +Cc: xenomai
On 06/05/2012 03:35 AM, George Pontis wrote:
> This recently released patch appears to be broken with regard to patching
> arch/arm/mach-at91/at91sam9g45.c.
>
> The first section of the patch should be applied to around line 32 in
> similar fashion to the patch for the other micros in the family. However, it
> is being applied to an entirely different structure around line 320. The
> resulting file fails to compile. I doctored up this section of the patch so
> it would be applied in the correct place, and the kernel builds. The
> incorrect section of the patch is at line 5146. The following edit can be a
> useful patch to the patch, until officially re-released:
Fixed, thanks. The problem is that I do not compile test at91sam9g45,
apart from this bug, does xenomai work on this processor?
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-14 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 1:35 [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken George Pontis
2012-06-14 11:24 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.