Re: [U-Boot] Please pull u-boot-dm (take 2)
On Wed, Jul 24, 2019 at 10:22 PM Tom Rini wrote: > > On Wed, Jul 24, 2019 at 10:09:29PM +0200, Simon Goldschmidt wrote: > > Am 24.07.2019 um 22:03 schrieb Simon Glass: > > >Hi Tom, > > > > > >On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > > >> > > >>On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > > >> > > >>>Hi Tom, > > >>> > > >>>This includes the gitlab fix and also I updated ifwitool.c to drop the > > >>>unused inline functions. > > >>> > > >>> > > >>>The following changes since commit > > >>>ff8c23e784f57a7098e91a200ed7f5a48612b653: > > >>> > > >>> Merge tag 'u-boot-stm32-20190723' of > > >>>https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 > > >>>14:16:21 -0400) > > >>> > > >>>are available in the Git repository at: > > >>> > > >>> git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 > > >>> > > >>>for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: > > >>> > > >>> dm: device: make power domain calls optional (2019-07-23 20:27:58 > > >>> -0700) > > >>> > > >> > > >>We're still not there yet, sorry. Taking a look at > > >>https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running > > >>things but ifwitool is failing. Can you please take a look? You will > > >>need the patch I posted that brings us up to a newer image that has > > >>lzma-alone. Thanks! > > > > > >OK, this is another update that is needed to the gitlab config, this > > >time the --toolpath argument. Will send an update. > > > > > >I was rather hoping that pushing to gitlab u-boot-dm would start a > > >build but it does not, for me. I probably need to do some more > > >reading. > > > > > >BTW Is there an intent to shut down travis? > > > > Even if everyone seems to be switching to gitlab, can we keep the travis > > config in the repository? That makes it easy for people (like me) creating a > > github clone to ensure the world keeps building after a patch. > > > > Or is there a similar free and easy to use gitlab service comparable to > > travis? > > So that's the rub. There are free "runners" in GitLab terms for > projects but they are limited in time to I think an hour per job, so we > get back to the unmaintainable mess of splitting the build like we have > on Travis. Anyone can use their own machine as the runner, but that may > or may not be faster or even slower than Travis is. I can assure you using my own PC is not an option for me compared to Travis. I don't know how many non-custodians there are using this (and I can probably arrange with Marek to use socfpga custodian access), but having a free-to-use CI seems worth much to me. I don't know how much effort it is to keep and maintain the Travis config files though... Regards, Simon > > -- > Tom ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Wed, Jul 24, 2019 at 10:09:29PM +0200, Simon Goldschmidt wrote: > Am 24.07.2019 um 22:03 schrieb Simon Glass: > >Hi Tom, > > > >On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > >> > >>On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > >> > >>>Hi Tom, > >>> > >>>This includes the gitlab fix and also I updated ifwitool.c to drop the > >>>unused inline functions. > >>> > >>> > >>>The following changes since commit > >>>ff8c23e784f57a7098e91a200ed7f5a48612b653: > >>> > >>> Merge tag 'u-boot-stm32-20190723' of > >>>https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 > >>>14:16:21 -0400) > >>> > >>>are available in the Git repository at: > >>> > >>> git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 > >>> > >>>for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: > >>> > >>> dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) > >>> > >> > >>We're still not there yet, sorry. Taking a look at > >>https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running > >>things but ifwitool is failing. Can you please take a look? You will > >>need the patch I posted that brings us up to a newer image that has > >>lzma-alone. Thanks! > > > >OK, this is another update that is needed to the gitlab config, this > >time the --toolpath argument. Will send an update. > > > >I was rather hoping that pushing to gitlab u-boot-dm would start a > >build but it does not, for me. I probably need to do some more > >reading. > > > >BTW Is there an intent to shut down travis? > > Even if everyone seems to be switching to gitlab, can we keep the travis > config in the repository? That makes it easy for people (like me) creating a > github clone to ensure the world keeps building after a patch. > > Or is there a similar free and easy to use gitlab service comparable to > travis? So that's the rub. There are free "runners" in GitLab terms for projects but they are limited in time to I think an hour per job, so we get back to the unmaintainable mess of splitting the build like we have on Travis. Anyone can use their own machine as the runner, but that may or may not be faster or even slower than Travis is. -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Wed, Jul 24, 2019 at 01:03:20PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > > > > On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > > > > > Hi Tom, > > > > > > This includes the gitlab fix and also I updated ifwitool.c to drop the > > > unused inline functions. > > > > > > > > > The following changes since commit > > > ff8c23e784f57a7098e91a200ed7f5a48612b653: > > > > > > Merge tag 'u-boot-stm32-20190723' of > > > https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 > > > 14:16:21 -0400) > > > > > > are available in the Git repository at: > > > > > > git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 > > > > > > for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: > > > > > > dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) > > > > > > > We're still not there yet, sorry. Taking a look at > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running > > things but ifwitool is failing. Can you please take a look? You will > > need the patch I posted that brings us up to a newer image that has > > lzma-alone. Thanks! > > OK, this is another update that is needed to the gitlab config, this > time the --toolpath argument. Will send an update. > > I was rather hoping that pushing to gitlab u-boot-dm would start a > build but it does not, for me. I probably need to do some more > reading. Take a look at the email I sent to the custodians list :) You'll need to flip a switch or two on the -dm tree for it to happen, and you can provide more build power for just your tree in addition to the shared runner we have currently. > BTW Is there an intent to shut down travis? As in remove the file? Not immediately, no, there's still the question of what to do about non-custodians being able to run CI before submitting. -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Am 24.07.2019 um 22:03 schrieb Simon Glass: Hi Tom, On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: Hi Tom, This includes the gitlab fix and also I updated ifwitool.c to drop the unused inline functions. The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: Merge tag 'u-boot-stm32-20190723' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 14:16:21 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) We're still not there yet, sorry. Taking a look at https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running things but ifwitool is failing. Can you please take a look? You will need the patch I posted that brings us up to a newer image that has lzma-alone. Thanks! OK, this is another update that is needed to the gitlab config, this time the --toolpath argument. Will send an update. I was rather hoping that pushing to gitlab u-boot-dm would start a build but it does not, for me. I probably need to do some more reading. BTW Is there an intent to shut down travis? Even if everyone seems to be switching to gitlab, can we keep the travis config in the repository? That makes it easy for people (like me) creating a github clone to ensure the world keeps building after a patch. Or is there a similar free and easy to use gitlab service comparable to travis? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > > On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > This includes the gitlab fix and also I updated ifwitool.c to drop the > > unused inline functions. > > > > > > The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: > > > > Merge tag 'u-boot-stm32-20190723' of > > https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 > > 14:16:21 -0400) > > > > are available in the Git repository at: > > > > git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 > > > > for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: > > > > dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) > > > > We're still not there yet, sorry. Taking a look at > https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running > things but ifwitool is failing. Can you please take a look? You will > need the patch I posted that brings us up to a newer image that has > lzma-alone. Thanks! OK, this is another update that is needed to the gitlab config, this time the --toolpath argument. Will send an update. I was rather hoping that pushing to gitlab u-boot-dm would start a build but it does not, for me. I probably need to do some more reading. BTW Is there an intent to shut down travis? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > Hi Tom, > > This includes the gitlab fix and also I updated ifwitool.c to drop the > unused inline functions. > > > The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: > > Merge tag 'u-boot-stm32-20190723' of > https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 > 14:16:21 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 > > for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: > > dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) > We're still not there yet, sorry. Taking a look at https://gitlab.denx.de/u-boot/u-boot/-/jobs/1464 we're now running things but ifwitool is failing. Can you please take a look? You will need the patch I posted that brings us up to a newer image that has lzma-alone. Thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, This includes the gitlab fix and also I updated ifwitool.c to drop the unused inline functions. The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: Merge tag 'u-boot-stm32-20190723' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 14:16:21 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-23jul19-take2 for you to fetch changes up to 6e38047b66e37659b937cf301e0de37a90d9eaa2: dm: device: make power domain calls optional (2019-07-23 20:27:58 -0700) Minor driver-model fixes and tweaks A few device-tree fixes Binman support for extracting files from an image Anatolij Gustschin (1): dm: device: make power domain calls optional Baruch Siach (2): dm: uclass: fix comment copy/paste error buildman: fix invocation examples typos Bin Meng (4): dm: timer: Skip device that does not have a valid ofnode in pre_probe() dm: core: Call clk_set_defaults() during probe() only for a valid ofnode dm: core: Set correct "status" value for a node dm: Fix parameter description of dev_read_name() Marek Vasut (1): common: fdt_support: Add missing cpu_to_fdt32() to fdt_pci_dma_ranges() Masahiro Yamada (1): fdt: make fdt_get_base_address() return OF_BAD_ADDR when "reg" not found Sekhar Nori (1): clk: initialize clk->data when using default xlate Simon Glass (68): x86: Add ifwitool for Intel Integrated Firmware Image cbfs: Add an enum and comment for the magic number cbfs: Rename checksum to attributes_offset tools: Drop duplicate raise_on_error argument binman: Fix comment in bsection.GetEntries() binman: Correct two typos in function names in ftest binman: Add coverage tools info for Python 3 patman: Add a way to set the search path for tools binman: Add a --toolpath option to set the tool search path binman: Add missing comments to bsection binman: Add missing comments toentry binman: Tidy up help for --indir binman: Use a better error for missing Intel descriptor binman: Detect skipped tests binman: Add a function to create a sample ELF file binman: Add a function to decode an ELF file binman: Ensure that coverage has access to site packages binman: Assume Intel descriptor is at the start of the image binman: Don't assume there is an ME region binman: Update entry.SetOffsetSize to be optional binman: Allow text directly in the node patman: Add functions to compress and decompress data binman: Use the tools.Decompress method binman: Drop unnecessary debug handling binman: Use tools compression function for blob handling binman: Correct comment in u_boot_spl_elf binman: Support ELF files for TPL binman: Fix up the _DoTestFile() function -u argument binman: Allow verbosity control when running tests binman: Allow preserving test directories binman: Pass the toolpath to tests patman: Add a function to write ifwitool binman: Add a utility library for coreboot CBFS binman: Add support for CBFS entries binman: Add support for Intel IFWI entries binman: Pad empty areas of the CBFS with files binman: Add support for fixed-offset files in CBFS binman: Simplify the entry test binman: Update future features binman: Update help for new features binman: Add a convenience functions for real-DTB tests binman: Add an FDT map binman: Add an image header binman: Convert to use ArgumentParser binman: Move compression into the Entry base class binman: Drop an unused arg in Entry.Lookup() binman: Allow easy importing of entry modules binman: Fix up ProcessUpdateContents error and comments binman: Call ProcessUpdateContents() consistently binman: Add a return value to ProcessContentsUpdate() binman: Add a control for post-pack entry expansion binman: Allow entries to expand after packing binman: Allow device-tree entries to be compressed binman: Provide the actual data address for cbfs files binman: Use the cbfs memlen field only for uncompressed length binman: Support FDT update for CBFS binman: Detect bad CBFS file types binman: Allow listing the entries in an image binman: Support locating an FDT map binman: Support locating an image header binman: Support reading an image into an Image object binman: Convert Image to a subclass of Entry binman: Support listing an image binman: Allow for logging information to be displayed binman: Allow reading an entry from an image binman: Support reading from CBFS entries binman: Add an 'extract' command binman: Add a
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Fri, Nov 30, 2018 at 12:29:18PM -0700, Simon Glass wrote: > Hi Tom, > > See: > > https://travis-ci.org/sglass68/u-boot/builds/461837218?utm_medium=notification&utm_source=email > > > The following changes since commit e16c888fab5014b022d5781dc534f204460a073b: > > Merge branch '2018-11-28-master-imports' (2018-11-28 23:04:58 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-dm.git tags/pull-30nov18 > > for you to fetch changes up to 1678754f5e2cbc14f9612e953b39cc08ada66866: > > core: ofnode: Fix ofnode_get_addr_index function (2018-11-29 09:30:06 > -0700) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, See: https://travis-ci.org/sglass68/u-boot/builds/461837218?utm_medium=notification&utm_source=email The following changes since commit e16c888fab5014b022d5781dc534f204460a073b: Merge branch '2018-11-28-master-imports' (2018-11-28 23:04:58 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/pull-30nov18 for you to fetch changes up to 1678754f5e2cbc14f9612e953b39cc08ada66866: core: ofnode: Fix ofnode_get_addr_index function (2018-11-29 09:30:06 -0700) Fix sound on sandbox Convert TPM fully to DM Tidy up sandbox I2C emulation Add a 'make qcheck' target for faster testing A few other misc things (dropped the final patch which breaks clang for some reason) Baruch Siach (1): ofnode: fix comment typo Heiko Schocher (1): cmd, fdt: add subcommand "get" to fdt header Keerthy (1): core: ofnode: Fix ofnode_get_addr_index function Simon Glass (17): malloc_simple: Add logging of allocations power: pmic: Correct debug/error output test: Add a 'make qcheck' target for quicker testing dm: core: Export uclass_find_device_by_phandle() dm: core: Add a few more specific child-finding functions dm: core: Put UCLASS_SIMPLE_BUS in order dm: sandbox: i2c: Add a new 'emulation parent' uclass dm: sandbox: i2c: Use new emulator parent uclass rtc: Allow child drivers sound: Correct data output in sound_create_square_wave() sound: Add sample rate as a parameter for square wave sound: sandbox: Use the correct frequency sandbox: Enable sound sandbox: Use memmove() to move overlapping regions tpm: Add a constant for the minimum supported digest size tpm: Export the open/close functions tpm: Convert to use a device parameter Makefile | 6 +- arch/sandbox/cpu/os.c | 5 +- arch/sandbox/cpu/sdl.c| 30 ++ arch/sandbox/dts/sandbox.dts | 25 +++-- arch/sandbox/dts/sandbox64.dts| 21 ++-- arch/sandbox/dts/sandbox_pmic.dtsi| 71 +++-- arch/sandbox/dts/test.dts | 28 +++-- board/gdsys/a38x/controlcenterdc.c| 25 - board/gdsys/a38x/hre.c| 66 +++- board/gdsys/a38x/hre.h| 2 +- board/gdsys/a38x/keyprogram.c | 12 ++- board/gdsys/a38x/keyprogram.h | 4 +- board/gdsys/p1022/controlcenterd-id.c | 117 + cmd/fdt.c | 40 ++- cmd/tpm-common.c | 8 +- cmd/tpm-v1.c | 140 cmd/tpm-v2.c | 78 +++--- cmd/tpm_test.c| 327 ++--- common/malloc_simple.c| 58 ++ drivers/core/device.c | 34 ++ drivers/core/ofnode.c | 17 +-- drivers/core/uclass.c | 6 +- drivers/i2c/i2c-emul-uclass.c | 77 ++ drivers/i2c/sandbox_i2c.c | 20 +--- drivers/power/pmic/act8846.c | 2 +- drivers/power/pmic/as3722.c | 14 +-- drivers/power/pmic/as3722_gpio.c | 11 +- drivers/power/pmic/i2c_pmic_emul.c| 2 +- drivers/power/pmic/lp873x.c | 6 +- drivers/power/pmic/lp87565.c | 6 +- drivers/power/pmic/max77686.c | 8 +- drivers/power/pmic/max8997.c | 4 +- drivers/power/pmic/max8998.c | 4 +- drivers/power/pmic/mc34708.c | 4 +- drivers/power/pmic/palmas.c | 8 +- drivers/power/pmic/pfuze100.c | 6 +- drivers/power/pmic/rk8xx.c| 6 +- drivers/power/pmic/rn5t567.c | 4 +- drivers/power/pmic/s2mps11.c | 8 +- drivers/power/pmic/s5m8767.c | 6 +- drivers/power/pmic/sandbox.c | 4 +- drivers/power/pmic/stpmu1.c | 2 +- drivers/power/pmic/tps65090.c | 8 +- drivers/rtc/rtc-uclass.c | 1 + drivers/sound/sound-i2s.c | 3 +- drivers/sound/sound.c | 8 +- drivers/tpm/tpm_tis_lpc.c | 47 + include/dm/device.h | 25 + include/dm/ofnode.h | 2 +- include/dm/uclass-id.h| 3 +- include/dm/uclass-internal.h | 17 +++ include/i2c.h | 21 include/log.h | 2 +- include/malloc.h | 1 + include/sound.h | 4 +- include/tpm-common.h | 36 ++- include/tpm-v1.h | 97 +++-- include/tpm-v2.h | 49 ++--- lib/tpm-common.c | 16 +-- lib/tpm-utils.h
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Thu, Aug 02, 2018 at 10:55:52AM -0600, Simon Glass wrote: > Hi Tom, > > Here is another attempt. The build is here: > > https://travis-ci.org/sglass68/u-boot/builds/410948863 > > > > The following changes since commit 61523dde17d1539b8ea361e25909acfdfc465155: > > Merge tag 'arc-updates-for-2018.09-rc2' of > git://git.denx.de/u-boot-arc (2018-08-01 09:26:15 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to cee02e6ff422fdb8b543a8097b84a9682785f46d: > > binman: Adjust _GetPropTree() parameters (2018-08-01 16:30:48 -0600) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, Here is another attempt. The build is here: https://travis-ci.org/sglass68/u-boot/builds/410948863 The following changes since commit 61523dde17d1539b8ea361e25909acfdfc465155: Merge tag 'arc-updates-for-2018.09-rc2' of git://git.denx.de/u-boot-arc (2018-08-01 09:26:15 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to cee02e6ff422fdb8b543a8097b84a9682785f46d: binman: Adjust _GetPropTree() parameters (2018-08-01 16:30:48 -0600) Simon Glass (28): binman: Don't depend on dict order in ELF testOutsideFile() binman: Rename 'position' to 'offset' binman: Add comments to elf_test binman: Tidy up some comments in the tests binman: Enhance the map and fdt-update output binman: Add a new 'image-pos' property dtoc: Add missing comments to fdt_util binman: Add support for passing arguments to entries binman: Support an entry that holds text binman: Allow help to work without libfdt binman: Expand documentation for entries binman: Allow creation of entry documentation binman: Create README.entries binman: Add support for flashrom FMAP binman: Add support for a cros_ec image binman: Add an entry filled with a repeating byte dtoc: Export the _FindNode() function patman: Allow test commands to fall back to real ones patman: Add a few more helpers to the tools library binman: Add support for Chromium GBB patman: Show the current directory in GetInputFilename() dtoc: Add a function to obtain a list of phandles binman: Add an entry for a Chromium vblock binman: Add support for adding TPL binaries binman: Show the image position in the map binman: Rename ReadContents() to ReadBlobContents() binman: Add a test to catch use of the old 'pos' property binman: Adjust _GetPropTree() parameters arch/arm/dts/sunxi-u-boot.dtsi | 2 +- arch/arm/dts/tegra-u-boot.dtsi | 6 +- arch/x86/dts/u-boot.dtsi | 24 +-- common/spl/spl.c | 4 +- common/spl/spl_ram.c | 2 +- include/spl.h| 2 +- tools/binman/README | 135 +++-- tools/binman/README.entries | 585 tools/binman/binman.py | 22 ++- tools/binman/bsection.py | 153 +-- tools/binman/cmdline.py | 6 +- tools/binman/control.py | 35 - tools/binman/elf.py | 10 +- tools/binman/elf_test.py | 33 + tools/binman/entry.py| 267 ++--- tools/binman/etype/_testing.py | 47 +- tools/binman/etype/blob.py | 16 +- tools/binman/etype/blob_named_by_arg.py | 34 + tools/binman/etype/cros_ec_rw.py | 22 +++ tools/binman/etype/fill.py | 32 tools/binman/etype/fmap.py | 61 tools/binman/etype/gbb.py| 96 tools/binman/etype/intel_cmc.py | 10 ++ tools/binman/etype/intel_descriptor.py | 26 +++- tools/binman/etype/intel_fsp.py | 14 ++ tools/binman/etype/intel_me.py | 15 ++ tools/binman/etype/intel_mrc.py | 11 ++ tools/binman/etype/intel_vbt.py | 10 ++ tools/binman/etype/intel_vga.py | 12 ++ tools/binman/etype/section.py| 48 -- tools/binman/etype/text.py | 57 +++ tools/binman/etype/u_boot.py | 16 ++ tools/binman/etype/u_boot_dtb.py | 9 ++ tools/binman/etype/u_boot_dtb_with_ucode.py | 22 ++- tools/binman/etype/u_boot_img.py | 11 ++ tools/binman/etype/u_boot_nodtb.py | 11 ++ tools/binman/etype/u_boot_spl.py | 21 +++ tools/binman/etype/u_boot_spl_bss_pad.py | 16 ++ tools/binman/etype/u_boot_spl_dtb.py | 11 +- tools/binman/etype/u_boot_spl_nodtb.py | 12 ++ tools/binman/etype/u_boot_tpl.py | 43 ++ tools/binman/etype/u_boot_tpl_dtb.py | 25 tools/binman/etype/u_boot_ucode.py | 12 +- tools/binman/etype/u_boot_with_ucode_ptr.py | 44 +++--- tools/binman/etype/vb
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Sun, Feb 04, 2018 at 05:36:33AM -0700, Simon Glass wrote: > Hi Tom, > > I've dropped sandbox64 for now and fixed the clang warnings. > > > The following changes since commit b2153075f42c2d46d310778e226bcb11f0af47f5: > > Kconfig: usb: rockchip: Remove not needed *_defconfig USB/gadget > entries (2018-02-02 07:13:48 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to 1973b381a1b3545783c3238080f566746579e923: > > log: add category LOGC_EFI (2018-02-03 10:09:28 -0700) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, I've dropped sandbox64 for now and fixed the clang warnings. The following changes since commit b2153075f42c2d46d310778e226bcb11f0af47f5: Kconfig: usb: rockchip: Remove not needed *_defconfig USB/gadget entries (2018-02-02 07:13:48 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 1973b381a1b3545783c3238080f566746579e923: log: add category LOGC_EFI (2018-02-03 10:09:28 -0700) Heinrich Schuchardt (1): log: add category LOGC_EFI Simon Glass (9): dm: core: Add a function to look up a uclass by name log: Add functions to convert IDs to/from names log: Add control over log formatting log: Update log_console to honour the log format log: Add a command to control the log output format log: Add a command to output a log record log: Add tests for the new log features log: Add documentation for commands and formatting log: Add a way to log error-return values cmd/log.c | 82 +++ common/Kconfig| 13 +++ common/log.c | 69 common/log_console.c | 27 - configs/sandbox_defconfig | 1 + doc/README.log| 36 + drivers/core/uclass.c | 14 +++ include/asm-generic/global_data.h | 1 + include/dm/uclass.h | 8 include/log.h | 65 ++- test/dm/core.c| 9 + test/py/tests/test_log.py | 32 +-- 12 files changed, 351 insertions(+), 6 deletions(-) Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > Hi Tom, > > I dropped the translation patch until Tegra can be fixed to work with > it. This is storing up problems though, since in the meantime others > might rely on the current behaviour. > > https://travis-ci.org/sglass68/u-boot/builds/315684225 > > > The following changes since commit cf71338ee7a1dc16f13a4f1b89f32c624210df45: > > ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to 854dfbf99b89c114ba100905e1500b8ace60e0f9: > > power: pmic/regulator: Add basic support for TPS65910 (2017-12-12 > 19:53:45 -0700) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Hi Stephen, On 13 December 2017 at 09:49, Stephen Warren wrote: > On 12/13/2017 09:14 AM, Simon Glass wrote: >> >> Hi Tom, >> >> I dropped the translation patch until Tegra can be fixed to work with >> it. This is storing up problems though, since in the meantime others >> might rely on the current behaviour. >> >> https://travis-ci.org/sglass68/u-boot/builds/315684225 >> >> >> The following changes since commit >> cf71338ee7a1dc16f13a4f1b89f32c624210df45: >> >>ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) >> >> are available in the Git repository at: >> >>git://git.denx.de/u-boot-dm.git >> >> for you to fetch changes up to 854dfbf99b89c114ba100905e1500b8ace60e0f9: >> >>power: pmic/regulator: Add basic support for TPS65910 (2017-12-12 >> 19:53:45 -0700) > > > This version works fine for me. > > Note that I don't believe the Tegra code needs to be fixed to work with the > translation patch. The Tegra code was working perfectly with the DT parsing > code that existing before the conversion to livetree, and with the livetree > code without the extra translation patch. I had to submit quite a few > patches to fix the translation logic in the non-livetree DT parsing code to > make sure it translated in the right circumstance and not in the others. The > most likely issue is that the latest translation patch does the wrong thing. OK I have replied on the thread for that patch: "Add translation in live tree case" Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, On 14 December 2017 at 12:51, Tom Rini wrote: > On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > >> Hi Tom, >> >> I dropped the translation patch until Tegra can be fixed to work with >> it. This is storing up problems though, since in the meantime others >> might rely on the current behaviour. > > Is this building binman only when the board we're building for requires > it? Thanks! binman itself doesn't need building (it is just Python). But it does need the libfdt Python module. That is built if CONFIG_PYLIBFDT is enabled, which it is if dtoc or binman are used. So I think it does what you want. Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > Hi Tom, > > I dropped the translation patch until Tegra can be fixed to work with > it. This is storing up problems though, since in the meantime others > might rely on the current behaviour. Is this building binman only when the board we're building for requires it? Thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On 12/13/2017 09:14 AM, Simon Glass wrote: Hi Tom, I dropped the translation patch until Tegra can be fixed to work with it. This is storing up problems though, since in the meantime others might rely on the current behaviour. https://travis-ci.org/sglass68/u-boot/builds/315684225 The following changes since commit cf71338ee7a1dc16f13a4f1b89f32c624210df45: ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 854dfbf99b89c114ba100905e1500b8ace60e0f9: power: pmic/regulator: Add basic support for TPS65910 (2017-12-12 19:53:45 -0700) This version works fine for me. Note that I don't believe the Tegra code needs to be fixed to work with the translation patch. The Tegra code was working perfectly with the DT parsing code that existing before the conversion to livetree, and with the livetree code without the extra translation patch. I had to submit quite a few patches to fix the translation logic in the non-livetree DT parsing code to make sure it translated in the right circumstance and not in the others. The most likely issue is that the latest translation patch does the wrong thing. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, I dropped the translation patch until Tegra can be fixed to work with it. This is storing up problems though, since in the meantime others might rely on the current behaviour. https://travis-ci.org/sglass68/u-boot/builds/315684225 The following changes since commit cf71338ee7a1dc16f13a4f1b89f32c624210df45: ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 854dfbf99b89c114ba100905e1500b8ace60e0f9: power: pmic/regulator: Add basic support for TPS65910 (2017-12-12 19:53:45 -0700) Felix Brack (2): power: extend prefix match to regulator-name property power: pmic/regulator: Add basic support for TPS65910 Philipp Tomsich (1): dm: reset: have the reset-command perform a COLD reset Simon Glass (13): binman: Add a function to read ELF symbols binman: Add support for including spl/u-boot-spl.dtb binman: Add support for including spl/u-boot-spl-nodtb.bin binman: Drop a stale comment about the 'board' feature binman: Add tests binaries with binman symbols binman: Adjust size of test SPL binary binman: Support enabling debug in tests binman: Support accessing binman tables at run time binman: arm: Include the binman symbol table binman: Add binman symbol support to SPL binman: Add binman support to spl_ram.c binman: Add documentation for the symbol feature binman: tegra: Convert to use binman Stefan Roese (1): dm: blk: Use uclass_find_first/next_device() in blk_first/next_device() Makefile | 6 + arch/arm/config.mk | 6 +- arch/arm/cpu/u-boot-spl.lds | 7 + arch/arm/dts/tegra-u-boot.dtsi | 40 + arch/arm/dts/tegra114-u-boot.dtsi| 3 + arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 2 + arch/arm/dts/tegra124-u-boot.dtsi| 3 + arch/arm/dts/tegra20-u-boot.dtsi | 11 +- arch/arm/dts/tegra210-u-boot.dtsi| 3 + arch/arm/dts/tegra30-u-boot.dtsi | 3 + arch/arm/mach-tegra/Kconfig | 1 + arch/sandbox/dts/sandbox_pmic.dtsi | 6 + common/spl/spl.c | 16 +- common/spl/spl_ram.c | 19 ++- doc/device-tree-bindings/regulator/regulator.txt | 16 +- drivers/block/blk-uclass.c | 7 +- drivers/power/pmic/Kconfig | 8 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pmic-uclass.c | 11 +- drivers/power/pmic/pmic_tps65910_dm.c| 98 +++ drivers/power/regulator/Kconfig | 8 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/tps65910_regulator.c | 459 ++ drivers/sysreset/sysreset-uclass.c | 2 +- include/binman_sym.h | 93 ++ include/power/sandbox_pmic.h | 5 +- include/power/tps65910_pmic.h| 130 ++ include/spl.h| 11 ++ test/dm/regulator.c | 2 + tools/binman/README | 32 +++- tools/binman/binman.py | 11 +- tools/binman/control.py | 3 + tools/binman/elf.py | 129 ++ tools/binman/elf_test.py | 122 ++ tools/binman/etype/entry.py | 8 + tools/binman/etype/u_boot_spl.py | 6 + tools/binman/etype/u_boot_spl_bss_pad.py | 7 +- tools/binman/etype/u_boot_spl_dtb.py | 17 ++ tools/binman/etype/u_boot_spl_nodtb.py | 17 ++ tools/binman/etype/u_boot_with_ucode_ptr.py | 9 +- tools/binman/ftest.py| 68 ++-- tools/binman/image.py| 79 - tools/binman/image_test.py | 46 + tools/binman/test/21_image_pad.dts | 2 +- tools/binman/test/24_sorted.dts | 4 +- tools/binman/test/28_pack_4gb_outside.dts| 4 +- tools/binman/test/29_x86-rom.dts | 6 +- tools/binman/test/51_u_boot_spl_dtb.dts | 13 ++ tools/binman/test/52_u_boot_spl_nodtb.dts| 11 ++ tools/binman/test/53_symbols.dts | 20 +++ tools/binman/test/Makefile | 18 +- tools/binman/test/bss_data.c | 2 +- tools/binman/test/u_boot_binman_syms | Bin 0 -> 4921 bytes tools/binman/test/u_boot_binman_syms.c
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Mon, Oct 09, 2017 at 05:30:17PM -0600, Simon Glass wrote: > Hi Tom, > > Sorry for the delay with v2. > > > The following changes since commit 0d3aaa35b87573c229d65bc79050ab13f39d8ec2: > > Travis-CI: Fix microblaze and xilinx jobs (2017-10-07 15:54:18 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to 04d0da51578e12bd7c490aa70ed581ee5f9dcfea: > > sandbox: avoid memory leak in os_dirent_ls (2017-10-08 20:41:09 -0600) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, Sorry for the delay with v2. The following changes since commit 0d3aaa35b87573c229d65bc79050ab13f39d8ec2: Travis-CI: Fix microblaze and xilinx jobs (2017-10-07 15:54:18 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 04d0da51578e12bd7c490aa70ed581ee5f9dcfea: sandbox: avoid memory leak in os_dirent_ls (2017-10-08 20:41:09 -0600) Faiz Abbas (1): dm: core: Round up size when allocating so that it is cache line aligned Heinrich Schuchardt (1): sandbox: avoid memory leak in os_dirent_ls Klaus Goger (1): dm: ofnode: query correct property in livetree ofnode_get_addr_size Rob Clark (1): test: print_ut: Add test for %ls strings Simon Glass (4): dm: gpio: vybrid_gpio: Correct driver's use of bind() method dm: gpio: Add a comment about not copying some drivers dm: gpio: Correct use of -ENODEV in drivers dm: gpio: pca953x: Drop pointless data structure checks arch/sandbox/cpu/os.c | 20 ++-- drivers/core/device.c | 1 + drivers/core/ofnode.c | 4 +++- drivers/gpio/adi_gpio2.c| 2 +- drivers/gpio/atmel_pio4.c | 12 ++-- drivers/gpio/imx_rgpio2p.c | 7 ++- drivers/gpio/mxc_gpio.c | 7 ++- drivers/gpio/omap_gpio.c| 8 ++-- drivers/gpio/pca953x_gpio.c | 11 --- drivers/gpio/tegra186_gpio.c| 2 +- drivers/gpio/vybrid_gpio.c | 25 ++--- drivers/i2c/imx_lpi2c.c | 2 +- drivers/i2c/mxc_i2c.c | 12 ++-- drivers/i2c/tegra186_bpmp_i2c.c | 2 +- test/print_ut.c | 3 +++ 15 files changed, 61 insertions(+), 57 deletions(-) Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Fri, Jun 09, 2017 at 04:37:07PM -0600, Simon Glass wrote: > Hi Tom, > > This is without the two offending patches that broke BUILD_TAG. I'll figure > out a sandbox test for this and resubmit those patches later. > > > The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: > > Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to 9620d87259572ef21f0df60988d9a932ca673779: > > cmd/fdt: support single value replacement within an array (2017-06-09 > 13:45:34 -0600) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Hi Stephen, On 9 June 2017 at 16:57, Stephen Warren wrote: > On 06/09/2017 04:37 PM, Simon Glass wrote: >> >> Hi Tom, >> >> This is without the two offending patches that broke BUILD_TAG. I'll >> figure >> out a sandbox test for this and resubmit those patches later. >> >> >> The following changes since commit >> 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: >> >>Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) >> >> are available in the git repository at: >> >>git://git.denx.de/u-boot-dm.git >> >> for you to fetch changes up to 9620d87259572ef21f0df60988d9a932ca673779: >> >>cmd/fdt: support single value replacement within an array (2017-06-09 >> 13:45:34 -0600) > > > This version passes my Jenkins tests OK. > > I did try to reproduce the issue in the original pull request, but wasn't > able to immediately. It didn't seem to be solely/simply related to > BUILD_TAG. Unfortunately, I have a few fire-fights going on so can't spend > any more time on this today; perhaps next week. Habeus corpus. I can repeat the problem on beaver - I don't get a crash but I clearly see a stack overflow which I'm sure could cause a crash. The problem is that snprintf() returns the required buffer size rather than the numberof bytes written to the buffer. I forgot about that. I'll send an updated patch. Of course the bigger problem is that my size is not large enough so I will have to increase it (and thus hide the fault). Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On 06/09/2017 04:37 PM, Simon Glass wrote: Hi Tom, This is without the two offending patches that broke BUILD_TAG. I'll figure out a sandbox test for this and resubmit those patches later. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 9620d87259572ef21f0df60988d9a932ca673779: cmd/fdt: support single value replacement within an array (2017-06-09 13:45:34 -0600) This version passes my Jenkins tests OK. I did try to reproduce the issue in the original pull request, but wasn't able to immediately. It didn't seem to be solely/simply related to BUILD_TAG. Unfortunately, I have a few fire-fights going on so can't spend any more time on this today; perhaps next week. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, This is without the two offending patches that broke BUILD_TAG. I'll figure out a sandbox test for this and resubmit those patches later. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 9620d87259572ef21f0df60988d9a932ca673779: cmd/fdt: support single value replacement within an array (2017-06-09 13:45:34 -0600) Daniel Schwierzeck (2): buildman: disable localized and unicode output of all build tools buildman: properly translate strings for log and err files to ASCII Hannes Schmelzer (1): cmd/fdt: support single value replacement within an array Philipp Tomsich (1): patman: encode CC list to UTF-8 Simon Glass (35): patman: Adjust handling of unicode email address patman: Don't convert input data to unicode patman: Rename 'str' variable in EmailPatches() patman: Don't report unicode character patman: Don't return the series in FixPatches() patman: Add unicode to test patches patman: Add a maintainer test feature to MakeCcFile() patman: Rename 'list' variable in MakeCcFile() patman: Add a functional test arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY arm: Rename HCTR to HTCR arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T arm: Disable LPAE if not enabled power: regulator: Add more debugging and fix a missing newline tegra: Init clocks even when SPL did not run tegra: dts: Add cros-ec SPI settings tegra: spi: Wait a little after setting the clocks tegra: nyan-big: Enable the dhrystone benchmark tegra: video: Don't power up the SOR twice tegra: Enable CP15 init tegra: clock: Avoid a divide-by-zero error tegra: nyan-big: Add a .its file for chromium README: Add instructions for chain-loading U-Boot rockchip: Setup default PWM flags rockchip: Fix regualtor typo in veyron rockchip: rk3288: Add error debugging to veyron_init() rockchip: video: Add remove() methods rockchip: video: Take the vop device out of standby rockchip: jerry: Add a .its file for chromium rockchip: rk3288: Convert clock driver to use shifted masks rockchip: Init clocks again when chain-loading rockchip: rk3288: Allow setting up clocks in U-Boot proper rockchip: Enable the video display banner rockchip: jerry: Disable CONFIG_CONSOLE_SCROLL_LINES README: Add instructions for chain-loading U-Boot on jerry Tom Rini (2): sandbox: Fix comparison of unsigned enum expression warning buildman: Fix bloat option when 'new' only drops functions arch/arm/cpu/arm720t/start.S | 6 +- arch/arm/dts/rk3288-veyron-jerry.dts | 2 +- arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 9 ++ arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 74 +++ arch/arm/include/asm/arch-tegra/clock.h | 3 + arch/arm/lib/cache-cp15.c | 13 ++- arch/arm/mach-rockchip/rk3288-board.c | 39 +++- arch/arm/mach-tegra/board2.c | 3 + arch/arm/mach-tegra/clock.c | 10 ++- arch/arm/mach-tegra/tegra124/clock.c | 18 arch/sandbox/cpu/os.c | 2 +- cmd/fdt.c | 29 -- configs/chromebook_jerry_defconfig | 2 +- configs/nyan-big_defconfig | 2 + doc/README.chromium | 252 doc/chromium/chromebook_jerry.its | 42 + doc/chromium/devkeys/kernel.keyblock | Bin 0 -> 1208 bytes doc/chromium/devkeys/kernel_data_key.vbprivk | Bin 0 -> 1199 bytes doc/chromium/nyan-big.its | 42 + drivers/clk/rockchip/clk_rk3288.c | 146 +++--- drivers/power/regulator/regulator-uclass.c | 8 +- drivers/pwm/rk_pwm.c | 1 + drivers/spi/tegra114_spi.c | 1 + drivers/video/rockchip/rk3288_vop.c | 14 +++ drivers/video/rockchip/rk_edp.c | 16 +++- drivers/video/rockchip/rk_vop.c | 3 + drivers/video/tegra124/sor.c | 9 ++ include/configs/rockchip-common.h | 2 + include/configs/tegra-common-post.h | 2 +- tools/buildman/builder.py | 2 +- tools/buildman/builderthread.py | 6 +- tools/buildman/toolchain.py | 6 +- tools/patman/cros_subprocess.py | 4 - tools/patman/func_test.py | 242 + tools/patman/gitutil.py | 8 +- tools/patman/patchstream.py | 23 ++--- tools/patman/patman.py | 10 ++- tools/patman/series.py | 28 +++--- tools/patman/test.py | 9 ++ tools/patman/test/-cover-l
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Tue, May 30, 2017 at 09:52:35PM -0600, Simon Glass wrote: > Hi Tom, > > On 28 May 2017 at 05:55, Tom Rini wrote: > > On Sat, May 27, 2017 at 04:01:29PM -0600, Simon Glass wrote: > > > >> Hi Tom, > >> > >> This is similar to the last attempt, but without this offending patch > >> which will be replaced by a little series sent today: (I'll pull in > >> that series later) > >> > >> 0a2980b dm: mmc: Avoid probing block devices in find_mmc_device() > >> > >> > >> The following changes since commit > >> 380e86f361e4e2aef83295972863654fde157560: > >> > >> Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) > >> > >> are available in the git repository at: > >> > >> git://git.denx.de/u-boot-dm.git > >> > >> for you to fetch changes up to 40fcab41cbcace3ff5928f146dd15c1ee3bfac65: > >> > >> sandbox: Move to use live tree (2017-05-27 10:38:13 -0600) > >> > > > > Two problems. First, you need to add this to "dm: gpio: Add live tree > > support": > > > > diff --git a/board/st/stm32f746-disco/stm32f746-disco.c > > b/board/st/stm32f746-disco/stm32f746-disco.c > > index aeaa31146a5a..addf82bbae8c 100644 > > --- a/board/st/stm32f746-disco/stm32f746-disco.c > > +++ b/board/st/stm32f746-disco/stm32f746-disco.c > > @@ -101,8 +101,8 @@ int board_late_init(void) > > if (node < 0) > > return -1; > > > > - gpio_request_by_name_nodev(gd->fdt_blob, node, "led-gpio", 0, &gpio, > > - GPIOD_IS_OUT); > > + gpio_request_by_name_nodev(offset_to_ofnode(node), "led-gpio", 0, > > + &gpio, GPIOD_IS_OUT); > > > > if (dm_gpio_is_valid(&gpio)) { > > dm_gpio_set_value(&gpio, 0); > > @@ -115,8 +115,8 @@ int board_late_init(void) > > if (node < 0) > > return -1; > > > > - gpio_request_by_name_nodev(gd->fdt_blob, node, "button-gpio", 0, > > &gpio, > > - GPIOD_IS_IN); > > + gpio_request_by_name_nodev(offset_to_ofnode(node), "button-gpio", 0, > > + &gpio, GPIOD_IS_IN); > > > > if (dm_gpio_is_valid(&gpio)) { > > if (dm_gpio_get_value(&gpio)) > > OK, added, thanks. For me that board fails to build since it has something > like: > > for (int i = ) > > Is that allowed now? It probably shouldn't have come in and should be fixed, oh well. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, On 28 May 2017 at 05:55, Tom Rini wrote: > On Sat, May 27, 2017 at 04:01:29PM -0600, Simon Glass wrote: > >> Hi Tom, >> >> This is similar to the last attempt, but without this offending patch >> which will be replaced by a little series sent today: (I'll pull in >> that series later) >> >> 0a2980b dm: mmc: Avoid probing block devices in find_mmc_device() >> >> >> The following changes since commit 380e86f361e4e2aef83295972863654fde157560: >> >> Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) >> >> are available in the git repository at: >> >> git://git.denx.de/u-boot-dm.git >> >> for you to fetch changes up to 40fcab41cbcace3ff5928f146dd15c1ee3bfac65: >> >> sandbox: Move to use live tree (2017-05-27 10:38:13 -0600) >> > > Two problems. First, you need to add this to "dm: gpio: Add live tree > support": > > diff --git a/board/st/stm32f746-disco/stm32f746-disco.c > b/board/st/stm32f746-disco/stm32f746-disco.c > index aeaa31146a5a..addf82bbae8c 100644 > --- a/board/st/stm32f746-disco/stm32f746-disco.c > +++ b/board/st/stm32f746-disco/stm32f746-disco.c > @@ -101,8 +101,8 @@ int board_late_init(void) > if (node < 0) > return -1; > > - gpio_request_by_name_nodev(gd->fdt_blob, node, "led-gpio", 0, &gpio, > - GPIOD_IS_OUT); > + gpio_request_by_name_nodev(offset_to_ofnode(node), "led-gpio", 0, > + &gpio, GPIOD_IS_OUT); > > if (dm_gpio_is_valid(&gpio)) { > dm_gpio_set_value(&gpio, 0); > @@ -115,8 +115,8 @@ int board_late_init(void) > if (node < 0) > return -1; > > - gpio_request_by_name_nodev(gd->fdt_blob, node, "button-gpio", 0, > &gpio, > - GPIOD_IS_IN); > + gpio_request_by_name_nodev(offset_to_ofnode(node), "button-gpio", 0, > + &gpio, GPIOD_IS_IN); > > if (dm_gpio_is_valid(&gpio)) { > if (dm_gpio_get_value(&gpio)) OK, added, thanks. For me that board fails to build since it has something like: for (int i = ) Is that allowed now? > > Second, the zynq_zc702 qemu instance is failing (and you need a new > enough version of qemu, such as the one in .travis.yml, to be able to > run it. I need to upgrade my local qemu so I don't have the failure > bisected atm). OK I found that it was checking for -FDT_ERR_NOTFOUND which really should not have been returned by a DM function. I sent the two updated patches. Given that RC1 is coming out soon I'll try to do a new pull after testing, but it won't be until the morning. Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Sat, May 27, 2017 at 04:01:29PM -0600, Simon Glass wrote: > Hi Tom, > > This is similar to the last attempt, but without this offending patch > which will be replaced by a little series sent today: (I'll pull in > that series later) > > 0a2980b dm: mmc: Avoid probing block devices in find_mmc_device() > > > The following changes since commit 380e86f361e4e2aef83295972863654fde157560: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to 40fcab41cbcace3ff5928f146dd15c1ee3bfac65: > > sandbox: Move to use live tree (2017-05-27 10:38:13 -0600) > Two problems. First, you need to add this to "dm: gpio: Add live tree support": diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index aeaa31146a5a..addf82bbae8c 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -101,8 +101,8 @@ int board_late_init(void) if (node < 0) return -1; - gpio_request_by_name_nodev(gd->fdt_blob, node, "led-gpio", 0, &gpio, - GPIOD_IS_OUT); + gpio_request_by_name_nodev(offset_to_ofnode(node), "led-gpio", 0, + &gpio, GPIOD_IS_OUT); if (dm_gpio_is_valid(&gpio)) { dm_gpio_set_value(&gpio, 0); @@ -115,8 +115,8 @@ int board_late_init(void) if (node < 0) return -1; - gpio_request_by_name_nodev(gd->fdt_blob, node, "button-gpio", 0, &gpio, - GPIOD_IS_IN); + gpio_request_by_name_nodev(offset_to_ofnode(node), "button-gpio", 0, + &gpio, GPIOD_IS_IN); if (dm_gpio_is_valid(&gpio)) { if (dm_gpio_get_value(&gpio)) Second, the zynq_zc702 qemu instance is failing (and you need a new enough version of qemu, such as the one in .travis.yml, to be able to run it. I need to upgrade my local qemu so I don't have the failure bisected atm). -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, This is similar to the last attempt, but without this offending patch which will be replaced by a little series sent today: (I'll pull in that series later) 0a2980b dm: mmc: Avoid probing block devices in find_mmc_device() The following changes since commit 380e86f361e4e2aef83295972863654fde157560: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 40fcab41cbcace3ff5928f146dd15c1ee3bfac65: sandbox: Move to use live tree (2017-05-27 10:38:13 -0600) Simon Glass (89): dm: Use dm.h header when driver mode is used dm: core: Move dev_get_addr() etc. into a separate file dm: Rename dev_addr..() functions atmel: Fix up use of dm_scan_fdt_node() dm: Fix up inclusion of common.h dm: core: Dont export dm_scan_fdt_node() dm: core: Replace of_offset with accessor (part 2) dm: core: Add ofnode to represent device tree nodes dm: core: Adjust device_bind_common() to take an ofnode dm: mmc: Don't call board_mmc_power_init() with driver model dm: mmc: Don't re-init when accessing environment dm: blk: Allow finding block devices without probing dm: blk: Add a function to find the next block device number dm: blk: Improve block device claiming dm: mmc: Check that drivers have operations dm: mmc: Rewrite mmc_blk_probe() tegra: Convert MMC to use driver model for operations dm: core: Set return value first in lists_bind_fdt() Update WARN_ON() to return a value dm: core: Add livetree definitions dm: core: Add livetree access functions dm: Add a function to create a 'live' device tree dm: Build a live tree after relocation dm: core: Rename of_device_is_compatible() dm: core: Add operations on device tree references dm: core: Add livetree address functions fdt: Update fdt_get_base_address() to use const dm: core: Add address operations on device tree references dm: core: Add a place to put extra device-tree reading functions dm: core: Add device-based 'read' functions to access DT dm: core: Implement live tree 'read' functions dm: core: Allow binding a device from a live tree dm: core: Update lists_bind_fdt() to use ofnode dm: core: Update device_bind_driver_to_node() to use ofnode dm: core: Scan the live tree when setting up driver model dm: core: Add a way to find a device by ofnode dm: regmap: Add support for livetree dm: simple-bus: Add support for livetree dm: core: Update uclass_find_device_by_phandle() for livetree sandbox: Add a way to reset sandbox state for tests dm: test: Move test running code into a separate function dm: test: Show the test filename when running dm: test: Add support for running tests with livetree dm: core: Run tests with both livetree and flat tree dm: gpio: Refactor to prepare for live tree support dm: gpio: Drop blank line in gpio_xlate_offs_flags() comment dm: gpio: sandbox: Use dev_read...() functions to access DT dm: gpio: Add live tree support cros_ec: Fix debug() statement in ec_command_inptr() cros_ec: Convert to support live tree sandbox: Add a new sandbox_flattree board test: Update 'make test' to run more tests fdt: Rename a few functions in fdt_support dm: Add more livetree helpers and definitions string: Add strchrnul() string: Add strcspn() dm: i2c: Convert uclass to livetree samsung: Move pmic header out of config file dm: pmic: Convert uclass to livetree sandbox: pmic: Convert pmic emulator to support livetree dm: regulator: Convert regulator uclass to support livetree dm: regulator: Update fixed regulator to support livetree. dm: mmc: Convert uclass to livetree dm: adc: Convert uclass to livetree dm: usb: Convert uclass to livetree sandbox: usb: Convert emulators to livetree clk: Modify xlate() method for livetree dm: clk: Update uclass to support livetree dm: clk: fixed: Update to support livetree dm: test: Separate out the bus DT offset test dm: test: Disable the fdt_offset test with livetree dm: phy: Update tests to use ut_asserteq() dm: mailbox: Update uclass to support livetree dm: phy: Update uclass to support livetree sandbox: phy: Update driver for livetree dm: power-domain: Update uclass to support livetree dm: reset: Update uclass to support livetree dm: pci: Update uclass to support livetree dm: Update the I2C eeprom driver for livetree cros_ec: Update the cros_ec keyboard driver to livetree dm: spi: Convert uclass to livetree dm: sandbox: i2c: Drop fdtdec.h header dm: sandbox:
Re: [U-Boot] Please pull u-boot-dm (take 2)
On Sat, Dec 03, 2016 at 11:26:13AM -0700, Simon Glass wrote: > Hi Tom, > > (new version with more patches) > > Here are some buildman enhancements, a new TPM driver, the beginnings > of the USB gadget DM conversion along with a few fixes and improvements. > > The following changes since commit 9ae0e14350758e6447c90615ff4df530549a45e2: > > Merge git://www.denx.de/git/u-boot-marvell (2016-12-01 09:24:02 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-dm.git > > for you to fetch changes up to a2558e8729831e0bcef634ea2440e60425ef0ff6: > > cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c > (2016-12-02 21:04:48 -0700) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Please pull u-boot-dm (take 2)
Hi Tom, (new version with more patches) Here are some buildman enhancements, a new TPM driver, the beginnings of the USB gadget DM conversion along with a few fixes and improvements. The following changes since commit 9ae0e14350758e6447c90615ff4df530549a45e2: Merge git://www.denx.de/git/u-boot-marvell (2016-12-01 09:24:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to a2558e8729831e0bcef634ea2440e60425ef0ff6: cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c (2016-12-02 21:04:48 -0700) Fabien Parent (1): cmd/fdt: fix uncallable systemsetup command George McCollister (1): tpm: tpm_tis_lpc: Add support for AT97SC3204 Masahiro Yamada (1): libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY Meng Yi (1): rtc: Add RTC chip pcf2127 support Michal Simek (1): dm: blk: Fix get_desc to return block device descriptor Moritz Fischer (1): cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c Mugunthan V N (11): drivers: usb: gadget: ether: access network_started using local variable drivers: usb: gadget: ether: adopt to usb driver model drivers: usb: gadget: ether: consolidate global devices to single struct drivers: usb: gadget: ether: use net device priv to pass usb ether priv drivers: usb: gadget: ether: prepare driver for driver model migration configs: am335x: usb: do not define CONFIG_DM_USB for spl am33xx: board: do not register usb devices when CONFIG_DM_USB is defined drivers: usb: musb: add ti musb misc driver for wrapper am33xx: board: probe misc drivers to register musb devices drivers: usb: musb: adopt musb backend driver to driver model drivers: usb: musb: add ti musb host driver with driver model support Simon Glass (7): Makefile: Add a target to create the .cfg files buildman: Add an option to just create the config buildman: Add documentation for CONFIG checking buildman: Squash useless output from -K buildman: Clean up odd characters on the terminal buildman: Rename do_build to config_only dm: core: Handle global_data moving in SPL Stefan BrĂ¼ns (1): cmd/tpm_test: Fix misleading code indentation Stefan Roese (1): dm: core: Add dev_get_addr_size_index() to retrieve addr and size Tom Rini (1): sandboxfs: Fix resource leak Kconfig| 5 +- Makefile | 3 + arch/arc/lib/bootm.c | 5 + arch/arm/include/asm/arch-omap3/musb.h | 6 +- arch/arm/include/asm/omap_musb.h | 7 +- arch/arm/lib/bootm-fdt.c | 2 - arch/arm/lib/bootm.c | 2 - arch/arm/mach-omap2/am33xx/board.c | 16 ++- arch/arm/mach-omap2/omap3/am35x_musb.c | 6 +- arch/microblaze/lib/bootm.c| 5 + arch/mips/lib/bootm.c | 2 - arch/powerpc/lib/bootm.c | 5 + arch/sandbox/lib/bootm.c | 5 + arch/x86/lib/bootm.c | 5 + cmd/cros_ec.c | 23 + cmd/fdt.c | 22 ++-- cmd/tpm_test.c | 12 +-- common/fdt_support.c | 2 + common/image-fdt.c | 2 - common/spl/spl.c | 3 + drivers/block/blk-uclass.c | 2 + drivers/core/device.c | 22 drivers/core/root.c| 7 ++ drivers/misc/cros_ec.c | 16 --- drivers/rtc/Kconfig| 6 ++ drivers/rtc/Makefile | 1 + drivers/rtc/pcf2127.c | 107 +++ drivers/tpm/tpm_tis_lpc.c | 37 +-- drivers/usb/gadget/ether.c | 168 -- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-new/Makefile | 1 + drivers/usb/musb-new/am35x.c | 14 +-- drivers/usb/musb-new/musb_dsps.c | 8 +- drivers/usb/musb-new/ti-musb.c | 255 ++ fs/sandbox/sandboxfs.c | 5 +- include/configs/am335x_evm.h | 1 + include/cros_ec.h | 9 -- include/dm/device.h| 16 +++ include/dm/root.h | 10 ++ include/fdt_support.h | 8 ++ tools/buildman/README | 49 + tools/buildman/builder.py | 39 --- tools/buildman/builderthread.py| 14 ++- tools/buildman/cmdline.py | 4 + tools/buildman/control.py | 4 +- 45 files changed, 790 insertions(+), 160 deletions(-) create mode 100644 drivers/rtc/pcf2127.c create mode 100644 drivers/usb/musb-new/ti-musb.c Regards, Simon _