All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagannadh.teki@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot]  i.MX6: u-boot,dm-pre-reloc block U-Boot
Date: Tue, 9 May 2017 16:35:15 +0530	[thread overview]
Message-ID: <CAD6G_RTjxt05cr1PybUheYypmuehEBTe5t8FXJb+CduYCKGntg@mail.gmail.com> (raw)

Hi All,

I'm trying to add SPL_OF_CONTROL for i.MX6UL, with usdhc1 and gpio1
nodes are marking as "u-boot,dm-pre-reloc" like

--- a/arch/arm/dts/imx6ul.dtsi
+++ b/arch/arm/dts/imx6ul.dtsi
@@ -129,6 +129,7 @@
        };

        soc {
+               u-boot,dm-pre-reloc;
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "simple-bus";
@@ -180,6 +181,7 @@
                };

                aips1: aips-bus at 02000000 {
+                       u-boot,dm-pre-reloc;
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -405,6 +407,7 @@
                        };

                        gpio1: gpio at 0209c000 {
+                               u-boot,dm-pre-reloc;
                                compatible = "fsl,imx6ul-gpio",
"fsl,imx35-gpio";
                                reg = <0x0209c000 0x4000>;
                                interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
@@ -724,6 +727,7 @@
                };

                aips2: aips-bus at 02100000 {
+                       u-boot,dm-pre-reloc;
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -781,6 +785,7 @@
                        };

                        usdhc1: usdhc at 02190000 {
+                               u-boot,dm-pre-reloc;
                                compatible = "fsl,imx6ul-usdhc",
"fsl,imx6sx-usdhc";
                                reg = <0x02190000 0x4000>;
                                interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;

SPL is loading fine from MMC but block the U-Boot that means we can't
see U-Boot log on console.

But with un-marking "u-boot,dm-pre-reloc" from 'aips1' node and build
u-boot works fine, and the same can unallocated gpio1 in during SPL
bind.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

             reply	other threads:[~2017-05-09 11:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09 11:05 Jagan Teki [this message]
2017-05-09 14:19 ` [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot Lokesh Vutla
2017-05-09 15:07   ` Jagan Teki
2017-05-09 15:24     ` Lokesh Vutla
2017-05-09 16:33       ` Jagan Teki
2017-05-10 19:22         ` Jagan Teki
2017-05-11  2:09           ` Lokesh Vutla
2017-05-11  8:10             ` Jagan Teki
2017-05-13 16:15               ` Jagan Teki
2017-05-16  0:17                 ` Simon Glass
2017-05-17 17:18                   ` Jagan Teki
2017-05-20  2:29                     ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD6G_RTjxt05cr1PybUheYypmuehEBTe5t8FXJb+CduYCKGntg@mail.gmail.com \
    --to=jagannadh.teki@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.