diff mbox

[PATCH/RFT,renesas-devel] arm64: dts: ulcb: Enable NFS root

Message ID 1493717048-10740-1-git-send-email-horms+renesas@verge.net.au (mailing list archive)
State Rejected
Delegated to: Simon Horman
Headers show

Commit Message

Simon Horman May 2, 2017, 9:24 a.m. UTC
Enable NFS root on the r8a7795/h3ulcb and r8a7796/m3ulcb
as per:
* commit b2407c566ba29215 ("arm64: dts: r8a7795: enable nfs root on Salvator-X board").
* commit 742a9dfb90f0 ("arm64: dts: r8a7796: salvator-x: Enable NFS root")

Also set ignore_loglevel rw as boot args as is the case for the boards
for the boards for other Renesas ARM/ARM64 based SoCs.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
* Compile tested only due to lack of hardware access
* Based on renesas-devel-20170502-v4.11
---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Geert Uytterhoeven May 2, 2017, 9:27 a.m. UTC | #1
Hi Simon,

On Tue, May 2, 2017 at 11:24 AM, Simon Horman
<horms+renesas@verge.net.au> wrote:
> Enable NFS root on the r8a7795/h3ulcb and r8a7796/m3ulcb
> as per:
> * commit b2407c566ba29215 ("arm64: dts: r8a7795: enable nfs root on Salvator-X board").
> * commit 742a9dfb90f0 ("arm64: dts: r8a7796: salvator-x: Enable NFS root")
>
> Also set ignore_loglevel rw as boot args as is the case for the boards
> for the boards for other Renesas ARM/ARM64 based SoCs.

s/for the boards//

> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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
Simon Horman Nov. 30, 2017, 9:43 a.m. UTC | #2
On Tue, May 02, 2017 at 11:27:58AM +0200, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Tue, May 2, 2017 at 11:24 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Enable NFS root on the r8a7795/h3ulcb and r8a7796/m3ulcb
> > as per:
> > * commit b2407c566ba29215 ("arm64: dts: r8a7795: enable nfs root on Salvator-X board").
> > * commit 742a9dfb90f0 ("arm64: dts: r8a7796: salvator-x: Enable NFS root")
> >
> > Also set ignore_loglevel rw as boot args as is the case for the boards
> > for the boards for other Renesas ARM/ARM64 based SoCs.
> 
> s/for the boards//
> 
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Gr{oetje,eeting}s,

Sergei has pointed out that bootargs has seems to have effect on ARM64
kernels. So I think this patch should be withdrawn and we should consider
removing bootargs from those ARM64 boards where it is present.
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 2bc7ceb2efa4..7669b282bde2 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -21,6 +21,7 @@ 
 	};
 
 	chosen {
+		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
 		stdout-path = "serial0:115200n8";
 	};