All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Please pull u-boot-dm
Date: Thu, 12 Jul 2018 09:52:39 -0600	[thread overview]
Message-ID: <3486126d-1ed4-7c86-1753-eaf4a7e92d85@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ3dY63uBvEjoq5aGjK0tZGVWWLhyHqP+D=owhmS=JtvqQ@mail.gmail.com>

On 07/11/2018 06:12 PM, Simon Glass wrote:
> Hi Stephen,
> 
> On 11 July 2018 at 16:01, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 07/10/2018 02:24 PM, Simon Glass wrote:
>>>
>>> Hi Stephen,
>>>
>>> On 10 July 2018 at 13:53, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>>
>>>> On 07/10/2018 12:47 PM, Tom Rini wrote:
>>>>>
>>>>>
>>>>> On Mon, Jul 09, 2018 at 01:53:43PM -0600, Simon Glass wrote:
>>>>>
>>>>>> Hi Tom.
>>>>>>
>>>>>> Here are some test-coverage and DM core enhancements. Also it adds a
>>>>>> way to access the binman definition from U-Boot.
>>>>>>
>>>>>>
>>>>>> The following changes since commit
>>>>>> 8c5d4fd0ec222701598a27b26ab7265d4cee45a3:
>>>>>>
>>>>>>      Prepare v2018.07 (2018-07-09 10:24:14 -0400)
>>>>>>
>>>>>> are available in the Git repository at:
>>>>>>
>>>>>>      git://git.denx.de/u-boot-dm.git
>>>>>>
>>>>>> for you to fetch changes up to
>>>>>> 16b8d6b76992690c65c58dc8b0591496cc5e46ef:
>>>>>>
>>>>>>      binman: Support updating the device tree with calc'd info
>>>>>> (2018-07-09 09:11:00 -0600)
>>>>
>>>>
>>>>
>>>> This pull has caused intermittent/random build errors on my Jenkins
>>>> system.
>>>> The log shows:
>>>>
>>>>>     LD      spl/u-boot-spl
>>>>>     OBJCOPY spl/u-boot-spl-nodtb.bin
>>>>>     COPY    spl/u-boot-spl.bin
>>>>>     BINMAN  u-boot-tegra.bin
>>>>>     BINMAN  u-boot-nodtb-tegra.bin
>>>>>     BINMAN  u-boot-dtb-tegra.bin
>>>>> binman: pylibfdt error -9: FDT_ERR_BADMAGIC
>>>>>
>>>>>
>>>>> /var/lib/jenkins/workspace/u-boot-denx_uboot-master-build/src/u-boot/Makefile:1244:
>>>>> recipe for target 'u-boot-tegra.bin' failed
>>>>> make[1]: *** [u-boot-tegra.bin] Error 1
>>>>> make[1]: *** Waiting for unfinished jobs....
>>>>> make[1]: Leaving directory
>>>>>
>>>>> '/var/lib/jenkins/workspace/u-boot-denx_uboot-master-build/build/u-boot/beaver'
>>>>> Makefile:148: recipe for target 'sub-make' failed
>>>>> make: *** [sub-make] Error 2
>>>>> make: Leaving directory
>>>>> '/var/lib/jenkins/workspace/u-boot-denx_uboot-master-build/src/u-boot'
>>>>
>>>>
>>>>
>>>> This doesn't happen every time; my Jenkins system builds 25 Tegra/sandbox
>>>> boards, yet a varying set of boards fail each time I trigger the build:
>>>> Just
>>>> beaver the first time, then just colibri_t20 and ventana, then just
>>>> medcom-wide. Note that the system performs incremental builds, if that
>>>> matters.
>>>
>>>
>>> That might be the fdt_resize() problem which David Gibson has just
>>> sorted out upstream. If you can run binman -D (to get a stack trace)
>>> that might help. I should be able to do a patch if that is the
>>> problem.
>>
>>
>> Is this the backtrace you're looking for?
>>
>>> [swarren at swarren-lx1 u-boot]$
>>> CROSS_COMPILE=/home/swarren/shared/gcc-linaro-7.2.1-2017.11-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
>>> sh -c "make O=build-beaver -s beaver_defconfig && make O=build-beaver -s
>>> -j8"
>>> arch/arm/dts/tegra30-apalis.dtb: Warning (avoid_unnecessary_addr_size):
>>> /i2c at 7000d000/tps65911 at 2d/regulators: unnecessary #address-cells/#size-cells
>>> without "ranges" or child "reg" property
>>> arch/arm/dts/tegra30-beaver.dtb: Warning (avoid_unnecessary_addr_size):
>>> /i2c at 7000d000/tps65911 at 2d/regulators: unnecessary #address-cells/#size-cells
>>> without "ranges" or child "reg" property
>>> binman: pylibfdt error -9: FDT_ERR_BADMAGIC
>>>
>>> Traceback (most recent call last):
>>>    File "../tools/binman/binman", line 120, in RunBinman
>>>      ret_code = control.Binman(options, args)
>>>    File
>>> "/home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/tools/binman/control.py",
>>> line 128, in Binman
>>>      dtb = fdt.FdtScan(fname)
>>>    File
>>> "/home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/tools/binman/../dtoc/fdt.py",
>>> line 459, in FdtScan
>>>      dtb = Fdt(fname)
>>>    File
>>> "/home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/tools/binman/../dtoc/fdt.py",
>>> line 315, in __init__
>>>      self._fdt_obj = libfdt.Fdt(fd.read())
>>>    File "scripts/dtc/pylibfdt/libfdt.py", line 207, in __init__
>>>      check_err(fdt_check_header(self._fdt));
>>>    File "scripts/dtc/pylibfdt/libfdt.py", line 160, in check_err
>>>      raise FdtException(val)
>>> FdtException: pylibfdt error -9: FDT_ERR_BADMAGIC
>>> /home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/Makefile:1244:
>>> recipe for target 'u-boot-tegra.bin' failed
>>> make[1]: *** [u-boot-tegra.bin] Error 1
>>> make[1]: *** Waiting for unfinished jobs....
> 
> Thanks for that. But actually that is not something I have seen or can
> explain. Here it is reading the DT at the start and somehow failing in
> the check. That DT is created by the U-Boot build system. Is it
> possible that your system has its own libfdt installed?
> 
> As it happened, the pylibfdt changes have been applied upstream today,
> so I'll prepare a patch to sync U-Boot up with that. Hopefully that
> will resolve any issues, but I am not sure.

I have the standard Ubuntu 16.04 packages installed, but no non-standard 
local builds:

device-tree-compiler                     1.4.0+dfsg-2
libfdt1:amd64                            1.4.0+dfsg-2

  reply	other threads:[~2018-07-12 15:52 UTC|newest]

Thread overview: 300+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 19:53 [U-Boot] Please pull u-boot-dm 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 [this message]
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
  -- 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-15 20:17 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
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
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-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=3486126d-1ed4-7c86-1753-eaf4a7e92d85@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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.