From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Please pull u-boot-dm
Date: Fri, 19 Oct 2018 08:10:12 -0400 [thread overview]
Message-ID: <20181019121012.GF1032@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ16Zc82E=AmtRX7xfjNby3Si_M1O-5Xqh3NmzsBkZW91A@mail.gmail.com>
On Thu, Oct 18, 2018 at 09:27:49PM -0600, Simon Glass wrote:
> Hi,
>
> On 17 October 2018 at 11:14, Stephen Warren <swarren@wwwdotorg.org> wrote:
> > On 10/16/18 8:33 PM, Bin Meng wrote:
> >>
> >> On Wed, Oct 17, 2018 at 7:01 AM Bin Meng <bmeng.cn@gmail.com> wrote:
> >>>
> >>>
> >>> Hi Stephen,
> >>>
> >>> On Wed, Oct 17, 2018 at 12:27 AM Stephen Warren <swarren@wwwdotorg.org>
> >>> wrote:
> >>>>
> >>>>
> >>>> On 10/15/18 5:43 PM, Bin Meng wrote:
> >>>>>
> >>>>> Hi Stephen,
> >>>>>
> >>>>> On Tue, Oct 16, 2018 at 6:43 AM Stephen Warren <swarren@wwwdotorg.org>
> >>>>> wrote:
> >>>>>>
> >>>>>>
> >>>>>> On 10/15/18 3:53 PM, Stephen Warren wrote:
> >>>>>>>
> >>>>>>> On 10/15/18 2:17 PM, Simon Glass wrote:
> >>>>>>>>
> >>>>>>>> Hi Tom,
> >>>>>>>>
> >>>>>>>> The following changes since commit
> >>>>>>>> 6e7a186dc5d50f563e224e9ae7be70defff7ee0d:
> >>>>>>>>
> >>>>>>>> Merge tag 'arc-more-updates-for-2018.11-rc2-2' of
> >>>>>>>> git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400)
> >>>>>>>>
> >>>>>>>> are available in the Git repository at:
> >>>>>>>>
> >>>>>>>> git://git.denx.de/u-boot-dm.git tags/pull-15oct-18
> >>>>>>>>
> >>>>>>>> for you to fetch changes up to
> >>>>>>>> 02f2d266c75106a2fefd1f4e8e6f703fe00ed21d:
> >>>>>>>>
> >>>>>>>> buildman: Add a --boards option to specify particular boards to
> >>>>>>>> build (2018-10-15 08:20:43 -0600)
> >>>>>>>
> >>>>>>>
> >>>>>>> There's something wrong with these patches; both Jetson TX1 and
> >>>>>>> Jetson
> >>>>>>> TX2 (both 64-bit ARM without SPL) fail to boot with this branch; the
> >>>>>>> system hangs with no output at all from U-Boot. Jetson TK1 (32-bit
> >>>>>>> ARM
> >>>>>>> with SPL) and sandbox boot fine.
> >>>>>>
> >>>>>>
> >>>>>> Reverting the following solves the issue:
> >>>>>>
> >>>>>> 1) dm: core: Mirror the chosen node parse logic in the livetree
> >>>>>> scanning
> >>>>>>
> >>>>>> 2) dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
> >>>>>> lists_bind_fdt()
> >>>>>>
> >>>>>> Reverting just (1) or just (2) does not. Can you please take a look?
> >>>>>> Thanks.
> >>>>>
> >>>>>
> >>>>> The failure is probably due to some drivers that Tegra uses are not
> >>>>> properly written, ie: these drivers are declared via U_BOOT_DRIVER
> >>>>> with flags DM_FLAG_PRE_RELOC yet it was never working (bound before
> >>>>> relocation) until patch (1) & (2). Now these drivers get bound before
> >>>>> relocation but they were never bound before (assume they were never
> >>>>> required before relocation), so we should identify which driver were
> >>>>> wrongly written, but as a quick solution, can you please enlarge the
> >>>>> CONFIG_SYS_MALLOC_F_LEN of your board and have a try?
> >>>>
> >>>>
> >>>> Yes, bumping CONFIG_SYS_MALLOC_F_LEN from 0x1800 to 0x1a90 solves the
> >>>> issue. Alternatively, removing DM_FLAG_PRE_RELOC in tegra_gpio.c or
> >>>> tegra186_gpio.c (depending on board/SoC) also solves this.
> >>>>
> >>>> I suppose the correct solution is to remove the DM flag from the driver,
> >>>> since if it never used to work before your patches, it's clear that the
> >>>> flag/feature is not actually required.
> >>>
> >>>
> >>> Thank you Stephen. I will prepare a patch to update the tegra*_gpio
> >>> driver.
>
> Thanks Bin,
>
> >>
> >>
> >> Ah, it turns out so many drivers/dts are mis-written ...
> >>
> >> For example, the driver has the DM_FLAG_PRE_RELOC flag, and the dts
> >> file also has "u-boot,dm-pre-reloc". The "u-boot,dm-pre-reloc" must
> >> have been added to workaround the DM bug (fixed in patch 1 & 2
> >> mentioned in this thread). But now since the DM bug has been fixed,
> >> these "u-boot,dm-pre-reloc" properties are really unnecessary but I am
> >> afraid I don't have the knowledge to clean up all of these.
> >>
> >> Of course, I've identified some additional drivers that have
> >> DM_FLAG_PRE_RELOC flag set but dts file doesn't have
> >> "u-boot,dm-pre-reloc". These drivers should be updated to remove the
> >> DM_FLAG_PRE_RELOC flag like the Tegra GPIO drivers.
> >
> >
> > I don't see any cases where u-boot,dm-pre-reloc exists in DT for the Tegra
> > GPIO driver specifically, so I think a simple patch removing the
> > DM_FLAG_PRE_RELOC flag from the two Tegra GPIO drivers would be fine. Of
> > course, I didn't look at any non-Tegra DTs, or at drivers other than Tegra
> > GPIO.
>
> OK.
>
> I tend to agree that it is getting a bit late. I am considering
> delaying this pull request until the next merge window. I still have
> regmap and virtio to bring in. Tom, what do you think?
>
Start the PR over and look for things it really makes sense to grab at
-rc2 (bugfixes, Kconfig migrations, etc) is what I think we need to do
at this point, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181019/b5991aa1/attachment.sig>
next prev parent reply other threads:[~2018-10-19 12:10 UTC|newest]
Thread overview: 300+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-15 20:17 [U-Boot] Please pull u-boot-dm Simon Glass
2018-10-15 21:53 ` Stephen Warren
2018-10-15 22:43 ` Stephen Warren
2018-10-15 23:43 ` Bin Meng
2018-10-16 0:32 ` Tom Rini
2018-10-16 16:27 ` Stephen Warren
2018-10-16 23:01 ` Bin Meng
2018-10-17 2:33 ` Bin Meng
2018-10-17 2:40 ` Bin Meng
2018-10-17 17:14 ` Stephen Warren
2018-10-19 3:27 ` Simon Glass
2018-10-19 12:10 ` Tom Rini [this message]
2018-10-22 9:46 ` Bin Meng
2018-10-22 11:11 ` Tom Rini
2018-10-24 13:40 ` Bin Meng
2018-10-24 14:14 ` Simon Glass
2018-10-24 14:14 ` Simon Glass
2018-10-24 14:28 ` Bin Meng
2018-10-24 14:33 ` Simon Glass
2018-10-25 14:22 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2019-11-15 3:08 Simon Glass
2019-11-18 15:47 ` Tom Rini
2019-10-29 23:35 Simon Glass
2019-11-01 21:48 ` Tom Rini
2019-10-15 14:46 Simon Glass
2019-10-17 11:24 ` Tom Rini
2019-07-29 21:27 Simon Glass
2019-07-30 1:21 ` Tom Rini
2019-07-22 14:48 Simon Glass
2019-07-23 18:16 ` Tom Rini
2019-07-24 3:08 ` Simon Glass
2019-07-24 3:23 ` Tom Rini
2019-07-24 3:27 ` Simon Glass
2019-07-11 17:18 Simon Glass
2019-07-12 13:32 ` Tom Rini
2019-07-09 17:16 Simon Glass
2019-07-10 14:39 ` Tom Rini
2019-07-11 17:06 ` Simon Glass
2019-05-22 13:13 Simon Glass
2019-05-23 17:47 ` Tom Rini
2019-04-24 15:22 Simon Glass
2019-04-25 11:09 ` Tom Rini
2019-04-12 21:51 Simon Glass
2019-04-14 3:59 ` Tom Rini
2019-02-10 9:27 Simon Glass
2019-02-10 9:28 ` Simon Glass
2019-02-10 13:09 ` Simon Glass
2019-02-11 1:05 ` Tom Rini
2019-01-15 15:57 Simon Glass
2019-01-16 17:11 ` Tom Rini
2019-01-04 20:47 Simon Glass
2019-01-05 4:59 ` Tom Rini
2019-01-08 0:38 ` Simon Glass
2018-12-14 15:43 Simon Glass
2018-12-15 14:27 ` Tom Rini
2018-12-06 1:30 Simon Glass
2018-12-06 14:03 ` Tom Rini
2018-11-29 20:55 Simon Glass
2018-11-30 14:55 ` Tom Rini
2018-12-05 4:10 ` Keerthy
2018-12-11 1:04 ` Simon Glass
2018-12-11 4:01 ` Keerthy
2018-11-22 0:25 Simon Glass
2018-11-24 3:13 ` Tom Rini
2018-11-15 16:32 Simon Glass
2018-11-15 20:21 ` Simon Glass
2018-11-15 21:02 ` Tom Rini
2018-11-15 21:11 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
2018-11-06 21:51 Simon Glass
2018-11-07 1:04 ` Bin Meng
2018-11-07 2:07 ` Simon Glass
2018-11-07 2:22 ` Bin Meng
2018-11-07 2:25 ` Simon Glass
2018-11-07 2:29 ` Bin Meng
2018-11-07 2:42 ` Simon Glass
2018-11-07 2:43 ` Tom Rini
2018-10-10 0:24 Simon Glass
2018-10-10 3:01 ` Simon Glass
2018-10-11 14:10 ` Tom Rini
2018-11-16 2:05 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
2018-11-16 18:26 ` Simon Glass
2018-12-03 7:27 ` Kever Yang
2018-12-03 7:41 ` Simon Goldschmidt
2018-12-03 11:39 ` Simon Glass
2018-09-30 20:06 Simon Glass
2018-10-01 11:54 ` Tom Rini
2018-10-01 17:26 ` Simon Glass
2018-10-03 14:38 ` Michal Simek
2018-09-19 0:13 Simon Glass
2018-09-19 2:05 ` Bin Meng
2018-09-20 0:32 ` Tom Rini
2018-08-09 14:29 Simon Glass
2018-08-10 3:28 ` Tom Rini
2018-07-30 20:10 Simon Glass
2018-07-31 12:42 ` Tom Rini
2018-08-01 18:50 ` Simon Glass
2018-08-01 19:13 ` Tom Rini
2018-07-27 0:36 Simon Glass
2018-07-27 17:08 ` Tom Rini
2018-07-10 20:58 Simon Glass
2018-07-12 1:54 ` Tom Rini
2018-07-09 19:53 Simon Glass
2018-07-09 19:58 ` Simon Glass
2018-07-10 18:47 ` Tom Rini
2018-07-10 19:53 ` Stephen Warren
2018-07-10 20:24 ` Simon Glass
2018-07-11 22:01 ` Stephen Warren
2018-07-12 0:12 ` Simon Glass
2018-07-12 15:52 ` Stephen Warren
2018-07-12 18:17 ` Stephen Warren
2018-07-12 21:26 ` Stephen Warren
2018-07-17 4:40 ` Simon Glass
2018-07-17 15:33 ` Stephen Warren
2018-08-23 10:45 ` Simon Glass
2018-06-25 2:42 Simon Glass
2018-06-27 17:08 ` Tom Rini
2018-06-07 23:18 Simon Glass
2018-06-09 4:39 ` Tom Rini
2018-05-16 20:57 Simon Glass
2018-05-17 20:15 ` Tom Rini
2018-04-01 23:22 Simon Glass
2018-04-03 0:33 ` Tom Rini
2018-02-19 15:37 Simon Glass
2018-02-20 4:00 ` Tom Rini
2018-01-26 21:45 Simon Glass
2018-01-27 0:50 ` Tom Rini
2018-02-03 17:12 ` Simon Glass
2018-02-03 18:13 ` Tom Rini
2018-04-02 6:11 ` Simon Glass
2018-04-03 0:33 ` Tom Rini
2018-01-22 1:09 Simon Glass
2018-01-22 12:18 ` Tom Rini
2018-01-16 14:56 Simon Glass
2018-01-17 1:26 ` Tom Rini
2017-12-19 13:30 Simon Glass
2017-12-19 21:19 ` Tom Rini
2017-12-19 21:27 ` Simon Glass
2017-12-19 21:30 ` Tom Rini
2017-12-19 21:40 ` Simon Glass
2017-12-08 22:44 Simon Glass
2017-12-12 11:15 ` Felix Brack
2017-12-12 14:01 ` Tom Rini
2017-11-24 1:48 Simon Glass
2017-11-24 21:33 ` Tom Rini
2017-09-29 23:14 Simon Glass
2017-09-30 0:38 ` Tom Rini
2017-09-14 1:34 Simon Glass
2017-09-14 2:13 ` Tom Rini
2017-09-12 10:58 Simon Glass
2017-09-12 21:13 ` Tom Rini
2017-09-04 16:31 Simon Glass
2017-09-05 11:11 ` Tom Rini
2017-07-28 18:46 Simon Glass
2017-07-29 1:32 ` Tom Rini
2017-07-11 18:42 Simon Glass
2017-07-12 2:36 ` Tom Rini
2017-06-09 2:24 Simon Glass
2017-06-09 13:45 ` Tom Rini
2017-06-09 15:52 ` Dr. Philipp Tomsich
2017-06-09 18:02 ` Simon Glass
2017-06-09 19:01 ` Stephen Warren
2017-06-09 19:04 ` Simon Glass
2017-05-25 0:19 Simon Glass
2017-05-26 15:18 ` Tom Rini
2017-05-26 16:16 ` Simon Glass
2017-05-27 14:16 ` Simon Glass
2017-05-09 20:00 Simon Glass
2017-05-09 23:49 ` Tom Rini
2017-04-15 16:45 Simon Glass
2017-04-17 22:16 ` Tom Rini
2017-04-13 21:27 Simon Glass
2017-04-14 21:08 ` Tom Rini
2017-04-05 9:31 Simon Glass
2017-04-05 17:43 ` Tom Rini
2017-03-29 23:51 Simon Glass
2017-04-04 20:00 ` Tom Rini
2017-04-04 20:00 ` Tom Rini
2017-03-23 15:41 Simon Glass
2017-03-24 1:44 ` Tom Rini
2017-02-08 17:45 Simon Glass
2017-02-09 3:03 ` Tom Rini
2017-01-09 20:46 Simon Glass
2017-01-10 23:14 ` Tom Rini
2016-12-20 8:19 Simon Glass
2016-12-21 2:22 ` Tom Rini
2016-12-03 4:27 Simon Glass
2016-12-03 18:26 ` Simon Glass
2016-10-11 17:36 Simon Glass
2016-10-13 17:38 ` Tom Rini
2016-09-19 3:09 Simon Glass
2016-09-21 15:30 ` Tom Rini
2016-08-12 17:04 Simon Glass
2016-08-12 19:25 ` Simon Glass
2016-08-13 0:08 ` Tom Rini
2016-08-01 18:24 Simon Glass
2016-08-02 17:38 ` Tom Rini
2016-07-28 2:24 Simon Glass
2016-07-28 11:24 ` Tom Rini
2016-07-15 4:02 Simon Glass
2016-07-15 15:28 ` Stephen Warren
2016-07-15 15:46 ` Tom Rini
2016-07-15 16:08 ` Simon Glass
2016-07-15 16:13 ` Tom Rini
2016-07-15 16:22 ` Simon Glass
2016-07-15 16:29 ` Tom Rini
2016-07-15 22:41 ` Stephen Warren
2016-07-17 14:14 ` Simon Glass
2016-07-17 17:05 ` Tom Rini
2016-07-22 13:31 ` Simon Glass
2016-07-15 16:08 ` Simon Glass
2016-07-16 13:51 ` Tom Rini
2016-07-11 22:08 Simon Glass
2016-07-12 17:59 ` Tom Rini
2016-07-07 21:45 Simon Glass
2016-07-08 19:18 ` Tom Rini
2016-06-20 3:00 Simon Glass
2016-06-20 12:44 ` Tom Rini
2016-05-27 16:28 Simon Glass
2016-05-30 18:06 ` Tom Rini
2016-05-17 17:46 Simon Glass
2016-05-19 12:09 ` Tom Rini
2016-05-19 14:41 ` Simon Glass
2016-05-19 16:02 ` Tom Rini
2016-05-20 15:23 ` Simon Glass
2016-05-20 15:53 ` Hans de Goede
2016-05-20 17:55 ` Tom Rini
2016-05-20 19:05 ` Hans de Goede
[not found] ` <20160520191257.GA11835@excalibur.cnev.de>
2016-05-20 20:49 ` Tom Rini
2016-05-25 3:14 ` Simon Glass
2016-04-26 0:09 Simon Glass
2016-04-15 15:50 Simon Glass
2016-04-16 1:13 ` Tom Rini
2016-03-20 0:35 Simon Glass
2016-03-20 13:33 ` Tom Rini
2016-03-14 23:04 Simon Glass
2016-03-15 11:53 ` Tom Rini
2016-02-26 20:51 Simon Glass
2016-02-28 1:19 ` Tom Rini
2016-02-25 15:30 Simon Glass
2016-02-25 15:35 ` Tom Rini
2016-02-09 22:43 Simon Glass
2016-02-10 22:12 ` Tom Rini
2016-01-29 18:28 Simon Glass
2016-01-30 1:39 ` Tom Rini
2016-01-21 15:30 Simon Glass
2016-01-21 23:00 ` Tom Rini
2016-01-12 23:05 Simon Glass
2016-01-13 2:25 ` Tom Rini
2016-01-08 14:55 Simon Glass
2016-01-09 3:34 ` Tom Rini
2015-12-11 14:43 Simon Glass
2015-12-12 1:13 ` Tom Rini
2015-12-01 14:49 Simon Glass
2015-12-01 23:11 ` Tom Rini
2015-11-20 17:08 Simon Glass
2015-11-20 22:45 ` Tom Rini
2015-10-26 13:35 Simon Glass
2015-10-28 20:55 ` Tom Rini
2015-10-06 12:31 Simon Glass
2015-10-09 13:56 ` Tom Rini
2015-09-17 18:53 Simon Glass
2015-09-17 21:03 ` Tom Rini
2015-08-31 15:32 Simon Glass
2015-08-31 21:45 ` Tom Rini
2015-08-10 13:42 Simon Glass
2015-08-11 0:33 ` Tom Rini
2015-08-06 22:49 Simon Glass
2015-08-07 21:22 ` Tom Rini
2015-07-22 17:59 Simon Glass
2015-07-23 19:30 ` Tom Rini
2015-06-11 23:34 Simon Glass
2015-06-12 12:12 ` Tom Rini
2015-06-05 14:20 Simon Glass
2015-06-06 13:27 ` Tom Rini
2015-05-08 4:01 Simon Glass
2015-05-10 14:07 ` Tom Rini
2015-04-28 22:50 Simon Glass
2015-04-29 14:28 ` Tom Rini
2015-04-23 16:24 Simon Glass
2015-04-23 22:02 ` Tom Rini
2015-04-14 18:11 Simon Glass
2015-04-15 5:17 ` Simon Glass
2015-04-16 17:43 ` Tom Rini
2015-04-17 1:30 ` Simon Glass
2015-03-25 22:45 Simon Glass
2015-03-27 14:19 ` Tom Rini
2015-03-06 20:04 Simon Glass
2015-03-09 16:45 ` Tom Rini
2015-02-20 16:17 Simon Glass
2015-02-22 2:56 ` Tom Rini
2015-02-13 15:07 Simon Glass
2015-02-16 17:41 ` Tom Rini
2015-01-30 1:16 Simon Glass
2015-02-02 18:57 ` Tom Rini
2014-12-12 1:00 Simon Glass
2014-12-12 18:46 ` Tom Rini
2014-11-23 15:17 Simon Glass
2014-11-24 22:13 ` Tom Rini
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=20181019121012.GF1032@bill-the-cat \
--to=trini@konsulko.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.