* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
@ 2014-03-06 19:24 ` Ben Dooks
2014-03-06 19:25 ` Ben Dooks
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2014-03-06 19:24 UTC (permalink / raw)
To: linux-sh
On 06/03/14 19:22, Geert Uytterhoeven wrote:
> Now we have DT support for Ethernet on r8a7791, I struggled a bit to get NFS
> root working on Koelsch reference.
>
> While I still need "[PATCH] ARM: shmobile: compile drivers/sh for
> CONFIG_ARCH_SHMOBILE_MULTI" to make the thermal sensor warning
> go away, this same patch causes a kernel panic when starting userspace from
> NFS root on Koelsch reference:
>
> VFS: Mounted root (nfs filesystem) readonly on device 0:12.
> devtmpfs: mounted
> Freeing unused kernel memory: 204K (c042b000 - c045e000)
> Unhandled fault: imprecise external abort (0x1406) at 0x00000000
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
I am also trying to get a patch in to stop these being fatal to the
system.
We also need a fix for the Micrel PHY to set the LED mode on the
Lager board. I've sent that but it seems to have stalled.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
2014-03-06 19:24 ` Ben Dooks
@ 2014-03-06 19:25 ` Ben Dooks
2014-03-07 17:57 ` Sergei Shtylyov
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2014-03-06 19:25 UTC (permalink / raw)
To: linux-sh
On 06/03/14 19:22, Geert Uytterhoeven wrote:
> Now we have DT support for Ethernet on r8a7791, I struggled a bit to get NFS
> root working on Koelsch reference.
>
> While I still need "[PATCH] ARM: shmobile: compile drivers/sh for
> CONFIG_ARCH_SHMOBILE_MULTI" to make the thermal sensor warning
> go away, this same patch causes a kernel panic when starting userspace from
> NFS root on Koelsch reference:
I will try and see if that patch can be moved along.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
2014-03-06 19:24 ` Ben Dooks
2014-03-06 19:25 ` Ben Dooks
@ 2014-03-07 17:57 ` Sergei Shtylyov
2014-03-11 10:47 ` Geert Uytterhoeven
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Sergei Shtylyov @ 2014-03-07 17:57 UTC (permalink / raw)
To: linux-sh
Hello.
On 03/06/2014 10:24 PM, Ben Dooks wrote:
>> Now we have DT support for Ethernet on r8a7791, I struggled a bit to get NFS
>> root working on Koelsch reference.
>> While I still need "[PATCH] ARM: shmobile: compile drivers/sh for
>> CONFIG_ARCH_SHMOBILE_MULTI" to make the thermal sensor warning
>> go away, this same patch causes a kernel panic when starting userspace from
>> NFS root on Koelsch reference:
>> VFS: Mounted root (nfs filesystem) readonly on device 0:12.
>> devtmpfs: mounted
>> Freeing unused kernel memory: 204K (c042b000 - c045e000)
>> Unhandled fault: imprecise external abort (0x1406) at 0x00000000
>> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
Geert, do you have CONFIG_PM_RUNTIME in your .config?
> I am also trying to get a patch in to stop these being fatal to the
> system.
> We also need a fix for the Micrel PHY to set the LED mode on the
> Lager board. I've sent that but it seems to have stalled.
While we're not having it, try changing "renesas,ether-link-active-low"
prop to "renesas,no-ether-link" in the Koelsch device tree file.
WBR, Sergei
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
` (2 preceding siblings ...)
2014-03-07 17:57 ` Sergei Shtylyov
@ 2014-03-11 10:47 ` Geert Uytterhoeven
2014-03-11 12:40 ` Ben Dooks
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2014-03-11 10:47 UTC (permalink / raw)
To: linux-sh
Hi Sergei,
On Fri, Mar 7, 2014 at 7:57 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
>> We also need a fix for the Micrel PHY to set the LED mode on the
>> Lager board. I've sent that but it seems to have stalled.
>
> While we're not having it, try changing "renesas,ether-link-active-low"
> prop to "renesas,no-ether-link" in the Koelsch device tree file.
Thanks, that decreases the part between nfsroot mount and system ready
from 54 s to 15 s, hence
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
` (3 preceding siblings ...)
2014-03-11 10:47 ` Geert Uytterhoeven
@ 2014-03-11 12:40 ` Ben Dooks
2014-03-12 9:57 ` Phil.Edworthy
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2014-03-11 12:40 UTC (permalink / raw)
To: linux-sh
On 11/03/14 10:47, Geert Uytterhoeven wrote:
> Hi Sergei,
>
> On Fri, Mar 7, 2014 at 7:57 PM, Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
>>> We also need a fix for the Micrel PHY to set the LED mode on the
>>> Lager board. I've sent that but it seems to have stalled.
>>
>> While we're not having it, try changing "renesas,ether-link-active-low"
>> prop to "renesas,no-ether-link" in the Koelsch device tree file.
>
> Thanks, that decreases the part between nfsroot mount and system ready
> from 54 s to 15 s, hence
>
The LED mode patch looks like it is now in net-next, so all that needs
to be done is chase-up the proper of linking for the PHY and we can fix
these issues in the DT.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
` (4 preceding siblings ...)
2014-03-11 12:40 ` Ben Dooks
@ 2014-03-12 9:57 ` Phil.Edworthy
2014-03-12 10:12 ` Geert Uytterhoeven
2014-03-12 10:18 ` Phil.Edworthy
7 siblings, 0 replies; 9+ messages in thread
From: Phil.Edworthy @ 2014-03-12 9:57 UTC (permalink / raw)
To: linux-sh
Hi,
On 11/03/2014 10:48, Geert wrote:
> Subject: Re: NFS root on Koelsch reference
> Sent by: linux-sh-owner@vger.kernel.org
>
> Hi Sergei,
>
> On Fri, Mar 7, 2014 at 7:57 PM, Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
> >> We also need a fix for the Micrel PHY to set the LED mode on the
> >> Lager board. I've sent that but it seems to have stalled.
> >
> > While we're not having it, try changing
"renesas,ether-link-active-low"
> > prop to "renesas,no-ether-link" in the Koelsch device tree file.
>
> Thanks, that decreases the part between nfsroot mount and system ready
> from 54 s to 15 s, hence
>
> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
>
> Gr{oetje,eeting}s,
>
> Geert
I'm trying to do some DT work for the R-Car PCIe driver, but can't get NFS
root working on Koelsch. It's not even loading the driver... I'm working
off Simon's devel branch, is there any other patches required to get this
working?
Thanks
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
` (5 preceding siblings ...)
2014-03-12 9:57 ` Phil.Edworthy
@ 2014-03-12 10:12 ` Geert Uytterhoeven
2014-03-12 10:18 ` Phil.Edworthy
7 siblings, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2014-03-12 10:12 UTC (permalink / raw)
To: linux-sh
Hi Phil,
On Wed, Mar 12, 2014 at 10:57 AM, <Phil.Edworthy@renesas.com> wrote:
> On 11/03/2014 10:48, Geert wrote:
>> Subject: Re: NFS root on Koelsch reference
>> On Fri, Mar 7, 2014 at 7:57 PM, Sergei Shtylyov
>> <sergei.shtylyov@cogentembedded.com> wrote:
>> >> We also need a fix for the Micrel PHY to set the LED mode on the
>> >> Lager board. I've sent that but it seems to have stalled.
>> >
>> > While we're not having it, try changing
> "renesas,ether-link-active-low"
>> > prop to "renesas,no-ether-link" in the Koelsch device tree file.
>>
>> Thanks, that decreases the part between nfsroot mount and system ready
>> from 54 s to 15 s, hence
>
> I'm trying to do some DT work for the R-Car PCIe driver, but can't get NFS
> root working on Koelsch. It's not even loading the driver... I'm working
> off Simon's devel branch, is there any other patches required to get this
> working?
You need to apply "sh_eth: add device tree support" from net-next
on top:
https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id³56e978e92fccd17a3e4620a4821bdbfb706c1a
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: NFS root on Koelsch reference
2014-03-06 19:22 NFS root on Koelsch reference Geert Uytterhoeven
` (6 preceding siblings ...)
2014-03-12 10:12 ` Geert Uytterhoeven
@ 2014-03-12 10:18 ` Phil.Edworthy
7 siblings, 0 replies; 9+ messages in thread
From: Phil.Edworthy @ 2014-03-12 10:18 UTC (permalink / raw)
To: linux-sh
Hi Geert,
> On Wed, Mar 12, 2014 at 10:57 AM, <Phil.Edworthy@renesas.com> wrote:
> > On 11/03/2014 10:48, Geert wrote:
> >> Subject: Re: NFS root on Koelsch reference
> >> On Fri, Mar 7, 2014 at 7:57 PM, Sergei Shtylyov
> >> <sergei.shtylyov@cogentembedded.com> wrote:
> >> >> We also need a fix for the Micrel PHY to set the LED mode on the
> >> >> Lager board. I've sent that but it seems to have stalled.
> >> >
> >> > While we're not having it, try changing
> > "renesas,ether-link-active-low"
> >> > prop to "renesas,no-ether-link" in the Koelsch device tree file.
> >>
> >> Thanks, that decreases the part between nfsroot mount and system
ready
> >> from 54 s to 15 s, hence
> >
> > I'm trying to do some DT work for the R-Car PCIe driver, but can't get
NFS
> > root working on Koelsch. It's not even loading the driver... I'm
working
> > off Simon's devel branch, is there any other patches required to get
this
> > working?
>
> You need to apply "sh_eth: add device tree support" from net-next
> on top:
> https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?
> id³56e978e92fccd17a3e4620a4821bdbfb706c1a
Thanks, working now!
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread