All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
@ 2019-07-29 13:52 Manivannan Sadhasivam
  2019-07-29 13:52 ` [U-Boot] [PATCH v2 2/2] arm: dts: ficus: " Manivannan Sadhasivam
  2019-08-05 12:54 ` [U-Boot] [PATCH v2 1/2] arm: dts: rock960: " Kever Yang
  0 siblings, 2 replies; 9+ messages in thread
From: Manivannan Sadhasivam @ 2019-07-29 13:52 UTC (permalink / raw)
  To: u-boot

This commits enables booting from eMMC when using SPL on 96Boards
Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
already has the reloc flag, this works straightaway. While we are at it,
let's also include the common u-boot dtsi for rk3399.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---

Changes in v2:

* Moved the change to <board>-u-boot.dtsi as spotted by Peter.

 arch/arm/dts/rk3399-rock960-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
index 5256f6d3f2..4850debdf0 100644
--- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
@@ -3,4 +3,11 @@
  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  */
 
+#include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
+
+/ {
+	chosen {
+		u-boot,spl-boot-order = &sdhci, &sdmmc;
+	};
+};
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL
  2019-07-29 13:52 [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL Manivannan Sadhasivam
@ 2019-07-29 13:52 ` Manivannan Sadhasivam
  2019-08-05 12:54   ` Kever Yang
  2019-08-05 12:54 ` [U-Boot] [PATCH v2 1/2] arm: dts: rock960: " Kever Yang
  1 sibling, 1 reply; 9+ messages in thread
From: Manivannan Sadhasivam @ 2019-07-29 13:52 UTC (permalink / raw)
  To: u-boot

This commits enables booting from eMMC when using SPL on 96Boards
Ficus board by adding SDHCI to boot order. Since the SDHCI driver
already has the reloc flag, this works straightaway. While we are at it,
let's also include the common u-boot dtsi for rk3399.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---

Changes in v2:

* Moved the change to <board>-u-boot.dtsi as spotted by Peter.

 arch/arm/dts/rk3399-ficus-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
index eab86bdb30..f3f7aa7c45 100644
--- a/arch/arm/dts/rk3399-ficus-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
@@ -3,4 +3,11 @@
  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  */
 
+#include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-ddr3-1600.dtsi"
+
+/ {
+	chosen {
+		u-boot,spl-boot-order = &sdhci, &sdmmc;
+	};
+};
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
  2019-07-29 13:52 [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL Manivannan Sadhasivam
  2019-07-29 13:52 ` [U-Boot] [PATCH v2 2/2] arm: dts: ficus: " Manivannan Sadhasivam
@ 2019-08-05 12:54 ` Kever Yang
  2019-08-05 14:39   ` Peter Robinson
  1 sibling, 1 reply; 9+ messages in thread
From: Kever Yang @ 2019-08-05 12:54 UTC (permalink / raw)
  To: u-boot


On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> This commits enables booting from eMMC when using SPL on 96Boards
> Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
> already has the reloc flag, this works straightaway. While we are at it,
> let's also include the common u-boot dtsi for rk3399.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
> Changes in v2:
>
> * Moved the change to <board>-u-boot.dtsi as spotted by Peter.
>
>   arch/arm/dts/rk3399-rock960-u-boot.dtsi | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> index 5256f6d3f2..4850debdf0 100644
> --- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> @@ -3,4 +3,11 @@
>    * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
>    */
>   
> +#include "rk3399-u-boot.dtsi"
>   #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
> +
> +/ {
> +	chosen {
> +		u-boot,spl-boot-order = &sdhci, &sdmmc;
> +	};
> +};

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL
  2019-07-29 13:52 ` [U-Boot] [PATCH v2 2/2] arm: dts: ficus: " Manivannan Sadhasivam
@ 2019-08-05 12:54   ` Kever Yang
  2019-08-05 14:39     ` Peter Robinson
  0 siblings, 1 reply; 9+ messages in thread
From: Kever Yang @ 2019-08-05 12:54 UTC (permalink / raw)
  To: u-boot


On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> This commits enables booting from eMMC when using SPL on 96Boards
> Ficus board by adding SDHCI to boot order. Since the SDHCI driver
> already has the reloc flag, this works straightaway. While we are at it,
> let's also include the common u-boot dtsi for rk3399.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>


Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
> Changes in v2:
>
> * Moved the change to <board>-u-boot.dtsi as spotted by Peter.
>
>   arch/arm/dts/rk3399-ficus-u-boot.dtsi | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> index eab86bdb30..f3f7aa7c45 100644
> --- a/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> @@ -3,4 +3,11 @@
>    * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
>    */
>   
> +#include "rk3399-u-boot.dtsi"
>   #include "rk3399-sdram-ddr3-1600.dtsi"
> +
> +/ {
> +	chosen {
> +		u-boot,spl-boot-order = &sdhci, &sdmmc;
> +	};
> +};

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
  2019-08-05 12:54 ` [U-Boot] [PATCH v2 1/2] arm: dts: rock960: " Kever Yang
@ 2019-08-05 14:39   ` Peter Robinson
  2019-08-16 18:53     ` Anand Moon
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Robinson @ 2019-08-05 14:39 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 5, 2019 at 1:54 PM Kever Yang <kever.yang@rock-chips.com> wrote:
>
>
> On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> > This commits enables booting from eMMC when using SPL on 96Boards
> > Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
> > already has the reloc flag, this works straightaway. While we are at it,
> > let's also include the common u-boot dtsi for rk3399.
> >
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
>
> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Tested-by: Peter Robinson <pbrobinson@gmail.com>

> Thanks,
> - Kever
> > ---
> >
> > Changes in v2:
> >
> > * Moved the change to <board>-u-boot.dtsi as spotted by Peter.
> >
> >   arch/arm/dts/rk3399-rock960-u-boot.dtsi | 7 +++++++
> >   1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> > index 5256f6d3f2..4850debdf0 100644
> > --- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> > +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
> > @@ -3,4 +3,11 @@
> >    * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
> >    */
> >
> > +#include "rk3399-u-boot.dtsi"
> >   #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
> > +
> > +/ {
> > +     chosen {
> > +             u-boot,spl-boot-order = &sdhci, &sdmmc;
> > +     };
> > +};
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL
  2019-08-05 12:54   ` Kever Yang
@ 2019-08-05 14:39     ` Peter Robinson
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Robinson @ 2019-08-05 14:39 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 5, 2019 at 1:55 PM Kever Yang <kever.yang@rock-chips.com> wrote:
>
>
> On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> > This commits enables booting from eMMC when using SPL on 96Boards
> > Ficus board by adding SDHCI to boot order. Since the SDHCI driver
> > already has the reloc flag, this works straightaway. While we are at it,
> > let's also include the common u-boot dtsi for rk3399.
> >
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
>
>
> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Tested-by: Peter Robinson <pbrobinson@gmail.com>

> Thanks,
> - Kever
> > ---
> >
> > Changes in v2:
> >
> > * Moved the change to <board>-u-boot.dtsi as spotted by Peter.
> >
> >   arch/arm/dts/rk3399-ficus-u-boot.dtsi | 7 +++++++
> >   1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> > index eab86bdb30..f3f7aa7c45 100644
> > --- a/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> > +++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> > @@ -3,4 +3,11 @@
> >    * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
> >    */
> >
> > +#include "rk3399-u-boot.dtsi"
> >   #include "rk3399-sdram-ddr3-1600.dtsi"
> > +
> > +/ {
> > +     chosen {
> > +             u-boot,spl-boot-order = &sdhci, &sdmmc;
> > +     };
> > +};
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
  2019-08-05 14:39   ` Peter Robinson
@ 2019-08-16 18:53     ` Anand Moon
  2019-08-17  3:23       ` Manivannan Sadhasivam
  0 siblings, 1 reply; 9+ messages in thread
From: Anand Moon @ 2019-08-16 18:53 UTC (permalink / raw)
  To: u-boot

Hi All,

On Mon, 5 Aug 2019 at 20:09, Peter Robinson <pbrobinson@gmail.com> wrote:
>
> On Mon, Aug 5, 2019 at 1:54 PM Kever Yang <kever.yang@rock-chips.com> wrote:
> >
> >
> > On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> > > This commits enables booting from eMMC when using SPL on 96Boards
> > > Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
> > > already has the reloc flag, this works straightaway. While we are at it,
> > > let's also include the common u-boot dtsi for rk3399.
> > >
> > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> >
> > Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
>
> Tested-by: Peter Robinson <pbrobinson@gmail.com>
>

I have with me Rock960 model A board, I could not get the
board to boot up using SPL image using microSD card.

Build spl image for rock960
[1] https://pastebin.com/6gMPyNr1

Console log of boot failed.
[2] https://pastebin.com/EvWzjD0y

Could some body share the correct steps to build the spl image
for Rock960 Model A board for microSD card.

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
  2019-08-16 18:53     ` Anand Moon
@ 2019-08-17  3:23       ` Manivannan Sadhasivam
  2019-08-17  4:30         ` Anand Moon
  0 siblings, 1 reply; 9+ messages in thread
From: Manivannan Sadhasivam @ 2019-08-17  3:23 UTC (permalink / raw)
  To: u-boot

Hi,

On Sat, Aug 17, 2019 at 12:23:35AM +0530, Anand Moon wrote:
> Hi All,
> 
> On Mon, 5 Aug 2019 at 20:09, Peter Robinson <pbrobinson@gmail.com> wrote:
> >
> > On Mon, Aug 5, 2019 at 1:54 PM Kever Yang <kever.yang@rock-chips.com> wrote:
> > >
> > >
> > > On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> > > > This commits enables booting from eMMC when using SPL on 96Boards
> > > > Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
> > > > already has the reloc flag, this works straightaway. While we are at it,
> > > > let's also include the common u-boot dtsi for rk3399.
> > > >
> > > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > >
> > > Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> >
> > Tested-by: Peter Robinson <pbrobinson@gmail.com>
> >
> 
> I have with me Rock960 model A board, I could not get the
> board to boot up using SPL image using microSD card.
> 
> Build spl image for rock960
> [1] https://pastebin.com/6gMPyNr1
> 
> Console log of boot failed.
> [2] https://pastebin.com/EvWzjD0y
> 
> Could some body share the correct steps to build the spl image
> for Rock960 Model A board for microSD card.
> 

You seems to be using vendor u-boot! Please forward your questions to
96Boards forum: https://discuss.96boards.org/c/products/rock960

Mailing list only covers issues with upstream u-boot.

Thanks,
Mani

> Best Regards
> -Anand

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
  2019-08-17  3:23       ` Manivannan Sadhasivam
@ 2019-08-17  4:30         ` Anand Moon
  0 siblings, 0 replies; 9+ messages in thread
From: Anand Moon @ 2019-08-17  4:30 UTC (permalink / raw)
  To: u-boot

Hi Manivannan,

On Sat, 17 Aug 2019 at 08:53, Manivannan Sadhasivam
<manivannan.sadhasivam@linaro.org> wrote:
>
> Hi,
>
> On Sat, Aug 17, 2019 at 12:23:35AM +0530, Anand Moon wrote:
> > Hi All,
> >
> > On Mon, 5 Aug 2019 at 20:09, Peter Robinson <pbrobinson@gmail.com> wrote:
> > >
> > > On Mon, Aug 5, 2019 at 1:54 PM Kever Yang <kever.yang@rock-chips.com> wrote:
> > > >
> > > >
> > > > On 2019/7/29 下午9:52, Manivannan Sadhasivam wrote:
> > > > > This commits enables booting from eMMC when using SPL on 96Boards
> > > > > Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
> > > > > already has the reloc flag, this works straightaway. While we are at it,
> > > > > let's also include the common u-boot dtsi for rk3399.
> > > > >
> > > > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > > >
> > > > Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> > >
> > > Tested-by: Peter Robinson <pbrobinson@gmail.com>
> > >
> >
> > I have with me Rock960 model A board, I could not get the
> > board to boot up using SPL image using microSD card.
> >
> > Build spl image for rock960
> > [1] https://pastebin.com/6gMPyNr1
> >
> > Console log of boot failed.
> > [2] https://pastebin.com/EvWzjD0y
> >
> > Could some body share the correct steps to build the spl image
> > for Rock960 Model A board for microSD card.
> >
>
> You seems to be using vendor u-boot! Please forward your questions to
> 96Boards forum: https://discuss.96boards.org/c/products/rock960
>
> Mailing list only covers issues with upstream u-boot.

Ok I will post my query over their on the forum.

Yes here is the boot log form my latest Non SPL boot from sdcard.
[0] https://pastebin.com/thSWWjPv

so I am able to boot using latest u-boot.

But when I build the u-boot using below steps it fails to boot.

[1] https://pastebin.com/6gMPyNr1

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-17  4:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 13:52 [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL Manivannan Sadhasivam
2019-07-29 13:52 ` [U-Boot] [PATCH v2 2/2] arm: dts: ficus: " Manivannan Sadhasivam
2019-08-05 12:54   ` Kever Yang
2019-08-05 14:39     ` Peter Robinson
2019-08-05 12:54 ` [U-Boot] [PATCH v2 1/2] arm: dts: rock960: " Kever Yang
2019-08-05 14:39   ` Peter Robinson
2019-08-16 18:53     ` Anand Moon
2019-08-17  3:23       ` Manivannan Sadhasivam
2019-08-17  4:30         ` Anand Moon

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.