* [U-Boot] Please pull u-boot-dm
@ 2019-10-15 14:46 Simon Glass
2019-10-17 11:24 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-10-15 14:46 UTC (permalink / raw)
To: u-boot
Hi Tom,
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/950
The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8:
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
(2019-10-14 21:00:10 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-pull-15oct19
for you to fetch changes up to d11ef4d54cab0e740efbceb9c6b5697a41770eea:
sandbox: fix build error due to missing struct udevice definition
(2019-10-15 08:40:03 -0600)
----------------------------------------------------------------
binman enhancements:
- Dropping some test Elf files and building them from source instead
- Refactoring of x86 16-bit entries
- Support for SPL symbols within sections
- Handle the 'notes' sections and hidden symbols in recent binutils
- Improved error reporting with a tool fails
libfdt and documentation fixes
vboot required-key test
driver model power-domain controls
patman Message-Id enhancement
----------------------------------------------------------------
AKASHI Takahiro (2):
sandbox: fix cpu property in test.dts for pytest
sandbox: fix build error due to missing struct udevice definition
Anatolij Gustschin (1):
dm: core: device: switch off power domain after device removal
Daniele Alessandrelli (1):
rsa: Return immediately if required-key verification fails
Douglas Anderson (1):
patman: Use the Change-Id, version, and prefix in the Message-Id
Giulio Benetti (1):
libfdt: fix typo on comment
Jean-Jacques Hiblot (1):
dm: device: Fix typo in the non-DEVRES version of devm_kmalloc_array()
Kayla Theil (1):
tpm2: Don't assume active low reset value
Lokesh Vutla (3):
dm: core: Allow for not controlling the power-domain by DM framework
remoteproc: k3_arm64: Enable DM_FLAG_DEFAULT_PD_CTRL_OFF
power: domain: Introduce dev_power_domain_off
Matthias Brugger (4):
libfdt: fdt_address_cells() and fdt_size_cells()
libfdt: return correct value if #size-cells property is not present
libfdt: Allow #size-cells of 0
dm: Fix default address cells return value
Michael Trimarchi (1):
dm: pinctrl: Skip not associated gpio phandle and rise a warning message
Patrick Delaunay (3):
dm: pinctrl: introduce PINCONF_RECURSIVE option
dm: pinctrl: introduce PINCONF_RECURSIVE option
dm: Tidy up dump output when there are many devices
Peng Fan (2):
power: domain: add dev_power_domain_on
core: device: use dev_power_domain_on
Philippe Reynes (4):
pytest: vboot: add a test for required key
sandbox: enable command aes
sandbox64: enable command aes
cmd: aes: use map_sysmem when accessing memory
Ralph Siemsen (1):
doc: add full path to patman README
Simon Glass (33):
patman: Drop binary parameter
patman: Update command.Run() to handle failure better
binman: Use cls instead of self for class methods
binman: Allow use of help and entry-docs without libfdt
binman: Drop .note section from ELF
binman: Handle hidden symbols in ELF files
binman: Correct use of 'replace' in IFWI tests
binman: Add support for an x86 'reset' section
binman: x86: Separate out 16-bit reset and init code
binman: Add support for Intel FIT
binman: Fix IFWI output when using an Intel FIT image
binman: Use tools.Run() to run objdump
binman: Use the Makefile to build ELF test files
binman: Use the Makefile for u_boot_ucode_ptr
binman: Use the Makefile for u_boot_no_ucode_ptr
binman: Use the Makefile for u_boot_binman_syms
binman: Use the Makefile for u_boot_binman_syms_size
binman: Use the Makefile for u_boot_binman_syms_bad
binman: Clean up unnecessary code related to ELF test files
binman: Allow symbols to be resolved inside sections
binman: Use underscore in test filenames
binman: Rename some two-digit test files
binman: Avoid needing the section size in advance
binman: Increase size of TPL and SPL test data
binman: Allow support for writing a size symbol to binaries
binman: Add support for Intel FSP meminit
binman: Fix entry comment for Intel descriptor
binman: Update IFWI entry to read entries outside constructor
binman: Update IFWI entry to support updates
binman: Support writing symbols into entries within an IFWI
binman: Write symbol info before image inclusion
binman: Add logging for the number of pack passes
binman: Drop comment-out code in testUpdateFdtOutput()
Thomas Fitzsimmons (2):
dm: device: Request next sequence number
dm: spi: Do not assume first SPI bus
Makefile
| 10 +-
arch/sandbox/dts/test.dts
| 24 ++--
arch/sandbox/include/asm/u-boot-sandbox.h
| 2 +
arch/x86/dts/u-boot.dtsi
| 9 ++
cmd/aes.c
| 14 ++-
configs/sandbox64_defconfig
| 1 +
configs/sandbox_defconfig
| 1 +
doc/driver-model/spi-howto.rst
| 2 +-
drivers/core/device-remove.c
| 5 +
drivers/core/device.c
| 14 ++-
drivers/core/dump.c
| 4 +-
drivers/core/uclass.c
| 4 +-
drivers/pinctrl/Kconfig
| 50 +++++++++
drivers/pinctrl/pinctrl-uclass.c
| 20 +++-
drivers/power/domain/power-domain-uclass.c
| 42 +++++++
drivers/remoteproc/ti_k3_arm64_rproc.c
| 1 +
drivers/spi/spi-uclass.c
| 2 +-
drivers/tpm/tpm2_tis_spi.c
| 4 +-
include/dm/device.h
| 7 +-
include/dm/of.h
| 2 +-
include/power-domain.h
| 34 ++++++
lib/rsa/rsa-verify.c
| 3 +-
scripts/Makefile.spl
| 22 +++-
scripts/dtc/libfdt/fdt_addresses.c
| 45 ++++----
scripts/dtc/libfdt/libfdt.h
| 4 +-
test/py/tests/test_bind.py
| 2 +-
test/py/tests/test_vboot.py
| 57 ++++++++++
test/py/tests/vboot/sign-configs-sha256-pss-prod.its
| 46 ++++++++
tools/binman/README.entries
| 136 ++++++++++++++++++----
tools/binman/control.py
| 15 ++-
tools/binman/elf.py
| 7 +-
tools/binman/elf_test.py
| 57 ++++++++--
tools/binman/entry.py
| 5 +-
tools/binman/entry_test.py
| 5 +
tools/binman/etype/blob.py
| 1 -
tools/binman/etype/blob_dtb.py
| 6 +-
tools/binman/etype/cbfs.py
| 5 +-
tools/binman/etype/fdtmap.py
| 13 ++-
tools/binman/etype/files.py
| 5 +-
tools/binman/etype/intel_descriptor.py
| 2 +-
tools/binman/etype/intel_fit.py
| 32 ++++++
tools/binman/etype/intel_fit_ptr.py
| 41 +++++++
tools/binman/etype/intel_fsp_m.py
| 27 +++++
tools/binman/etype/intel_ifwi.py
| 68 +++++++----
tools/binman/etype/section.py
| 16 ++-
tools/binman/etype/u_boot_dtb_with_ucode.py
| 5 +-
tools/binman/etype/u_boot_spl.py
| 2 +-
tools/binman/etype/u_boot_tpl.py
| 2 +-
tools/binman/etype/x86_reset16.py
| 29 +++++
tools/binman/etype/x86_reset16_spl.py
| 29 +++++
tools/binman/etype/x86_reset16_tpl.py
| 29 +++++
tools/binman/etype/x86_start16.py
| 15 +--
tools/binman/etype/x86_start16_spl.py
| 19 ++--
tools/binman/etype/x86_start16_tpl.py
| 18 +--
tools/binman/ftest.py
| 243 ++++++++++++++++++++++++++++------------
tools/binman/test/021_image_pad.dts
| 2 +-
tools/binman/test/024_sorted.dts
| 2 +-
tools/binman/test/028_pack_4gb_outside.dts
| 2 +-
tools/binman/test/{029_x86-rom.dts => 029_x86_rom.dts}
| 2 +-
tools/binman/test/{030_x86-rom-me-no-desc.dts =>
030_x86_rom_me_no_desc.dts} | 0
tools/binman/test/{031_x86-rom-me.dts => 031_x86_rom_me.dts}
| 0
tools/binman/test/{032_intel-vga.dts => 032_intel_vga.dts}
| 0
tools/binman/test/{033_x86-start16.dts => 033_x86_start16.dts}
| 0
tools/binman/test/{042_intel-fsp.dts => 042_intel_fsp.dts}
| 0
tools/binman/test/{043_intel-cmc.dts => 043_intel_cmc.dts}
| 0
tools/binman/test/{046_intel-vbt.dts => 046_intel_vbt.dts}
| 0
tools/binman/test/{048_x86-start16-spl.dts =>
048_x86_start16_spl.dts} | 0
tools/binman/test/053_symbols.dts
| 2 +-
tools/binman/test/{081_x86-start16-tpl.dts =>
081_x86_start16_tpl.dts} | 0
...0_4gb_and_skip_at_start_together.dts =>
098_4gb_and_skip_at_start_together.dts} | 0
tools/binman/test/{111_x86-rom-ifwi.dts => 111_x86_rom_ifwi.dts}
| 2 +-
tools/binman/test/{112_x86-rom-ifwi-nodesc.dts =>
112_x86_rom_ifwi_nodesc.dts} | 2 +-
tools/binman/test/{113_x86-rom-ifwi-nodata.dts =>
113_x86_rom_ifwi_nodata.dts} | 2 +-
tools/binman/test/144_x86_reset16.dts
| 13 +++
tools/binman/test/145_x86_reset16_spl.dts
| 13 +++
tools/binman/test/146_x86_reset16_tpl.dts
| 13 +++
tools/binman/test/147_intel_fit.dts
| 20 ++++
tools/binman/test/148_intel_fit_missing.dts
| 17 +++
tools/binman/test/149_symbols_tpl.dts
| 28 +++++
...powerpc_mpc85xx_bootpg_resetvec.dts =>
150_powerpc_mpc85xx_bootpg_resetvec.dts} | 0
tools/binman/test/151_x86_rom_ifwi_section.dts
| 33 ++++++
tools/binman/test/152_intel_fsp_m.dts
| 14 +++
tools/binman/test/Makefile
| 14 ++-
tools/binman/test/bss_data
| Bin 5020 -> 0 bytes
tools/binman/test/u_boot_binman_syms
| Bin 4924 -> 0 bytes
tools/binman/test/u_boot_binman_syms.c
| 1 +
tools/binman/test/u_boot_binman_syms.lds
| 1 +
tools/binman/test/u_boot_binman_syms_bad
| Bin 4890 -> 0 bytes
tools/binman/test/u_boot_binman_syms_size
| Bin 4825 -> 0 bytes
tools/binman/test/u_boot_no_ucode_ptr
| Bin 4182 -> 0 bytes
tools/binman/test/u_boot_ucode_ptr
| Bin 4175 -> 0 bytes
tools/binman/test/u_boot_ucode_ptr.lds
| 3 +-
tools/patman/README
| 8 +-
tools/patman/commit.py
| 3 +
tools/patman/cros_subprocess.py
| 3 +-
tools/patman/patchstream.py
| 64 ++++++++++-
tools/patman/test.py
| 15 ++-
tools/patman/tools.py
| 23 ++--
98 files changed, 1290 insertions(+), 275 deletions(-)
create mode 100644 test/py/tests/vboot/sign-configs-sha256-pss-prod.its
create mode 100644 tools/binman/etype/intel_fit.py
create mode 100644 tools/binman/etype/intel_fit_ptr.py
create mode 100644 tools/binman/etype/intel_fsp_m.py
create mode 100644 tools/binman/etype/x86_reset16.py
create mode 100644 tools/binman/etype/x86_reset16_spl.py
create mode 100644 tools/binman/etype/x86_reset16_tpl.py
rename tools/binman/test/{029_x86-rom.dts => 029_x86_rom.dts} (87%)
rename tools/binman/test/{030_x86-rom-me-no-desc.dts =>
030_x86_rom_me_no_desc.dts} (100%)
rename tools/binman/test/{031_x86-rom-me.dts => 031_x86_rom_me.dts} (100%)
rename tools/binman/test/{032_intel-vga.dts => 032_intel_vga.dts} (100%)
rename tools/binman/test/{033_x86-start16.dts => 033_x86_start16.dts} (100%)
rename tools/binman/test/{042_intel-fsp.dts => 042_intel_fsp.dts} (100%)
rename tools/binman/test/{043_intel-cmc.dts => 043_intel_cmc.dts} (100%)
rename tools/binman/test/{046_intel-vbt.dts => 046_intel_vbt.dts} (100%)
rename tools/binman/test/{048_x86-start16-spl.dts =>
048_x86_start16_spl.dts} (100%)
rename tools/binman/test/{081_x86-start16-tpl.dts =>
081_x86_start16_tpl.dts} (100%)
rename tools/binman/test/{80_4gb_and_skip_at_start_together.dts =>
098_4gb_and_skip_at_start_together.dts} (100%)
rename tools/binman/test/{111_x86-rom-ifwi.dts => 111_x86_rom_ifwi.dts} (95%)
rename tools/binman/test/{112_x86-rom-ifwi-nodesc.dts =>
112_x86_rom_ifwi_nodesc.dts} (95%)
rename tools/binman/test/{113_x86-rom-ifwi-nodata.dts =>
113_x86_rom_ifwi_nodata.dts} (95%)
create mode 100644 tools/binman/test/144_x86_reset16.dts
create mode 100644 tools/binman/test/145_x86_reset16_spl.dts
create mode 100644 tools/binman/test/146_x86_reset16_tpl.dts
create mode 100644 tools/binman/test/147_intel_fit.dts
create mode 100644 tools/binman/test/148_intel_fit_missing.dts
create mode 100644 tools/binman/test/149_symbols_tpl.dts
rename tools/binman/test/{81_powerpc_mpc85xx_bootpg_resetvec.dts =>
150_powerpc_mpc85xx_bootpg_resetvec.dts} (100%)
create mode 100644 tools/binman/test/151_x86_rom_ifwi_section.dts
create mode 100644 tools/binman/test/152_intel_fsp_m.dts
delete mode 100755 tools/binman/test/bss_data
delete mode 100755 tools/binman/test/u_boot_binman_syms
delete mode 100755 tools/binman/test/u_boot_binman_syms_bad
delete mode 100755 tools/binman/test/u_boot_binman_syms_size
delete mode 100755 tools/binman/test/u_boot_no_ucode_ptr
delete mode 100755 tools/binman/test/u_boot_ucode_ptr
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-10-15 14:46 [U-Boot] Please pull u-boot-dm Simon Glass
@ 2019-10-17 11:24 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-10-17 11:24 UTC (permalink / raw)
To: u-boot
On Tue, Oct 15, 2019 at 08:46:46AM -0600, Simon Glass wrote:
> Hi Tom,
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/950
>
>
> The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8:
>
> Merge branch 'master' of git://git.denx.de/u-boot-socfpga
> (2019-10-14 21:00:10 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-pull-15oct19
>
> for you to fetch changes up to d11ef4d54cab0e740efbceb9c6b5697a41770eea:
>
> sandbox: fix build error due to missing struct udevice definition
> (2019-10-15 08:40:03 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191017/aa128728/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-11-15 3:08 Simon Glass
@ 2019-11-18 15:47 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-11-18 15:47 UTC (permalink / raw)
To: u-boot
On Thu, Nov 14, 2019 at 08:08:09PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Passing run here:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1306
>
>
> The following changes since commit 3ff1ff3ff76c15efe0451309af084ee6c096c583:
>
> Merge branch '2019-11-12-migrate-SYS_REDUNDAND_ENVIRONMENT'
> (2019-11-12 13:40:58 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-14nov19
>
> for you to fetch changes up to 677dac23d8ebfc0342f903aeee2a75e737fd4d7e:
>
> patman: fix coverletter cc list with nulls (2019-11-14 07:09:34 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191118/d2d9b586/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-11-15 3:08 Simon Glass
2019-11-18 15:47 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-11-15 3:08 UTC (permalink / raw)
To: u-boot
Hi Tom,
Passing run here:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1306
The following changes since commit 3ff1ff3ff76c15efe0451309af084ee6c096c583:
Merge branch '2019-11-12-migrate-SYS_REDUNDAND_ENVIRONMENT'
(2019-11-12 13:40:58 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-14nov19
for you to fetch changes up to 677dac23d8ebfc0342f903aeee2a75e737fd4d7e:
patman: fix coverletter cc list with nulls (2019-11-14 07:09:34 -0600)
----------------------------------------------------------------
Add OP-TEE test swuit
Fix patman cc_file output
Minor sandbox/pinctrl changes
----------------------------------------------------------------
Anatolij Gustschin (1):
patman: fix some typos in comments
Heiko Stuebner (4):
fdtdec: protect against another NULL phandlep in
fdtdec_add_reserved_memory()
fdtdec: only create phandle if caller wants it in
fdtdec_add_reserved_memory()
image: fdt: copy possible optee nodes to a loaded devicetree
tests: add OP-TEE test suite
Heinrich Schuchardt (1):
sandbox: use correct type reading /proc/self/maps
Patrick Delaunay (1):
pinctrol: dm: remove the function pinctrl_decode_pin_config
Robert Beckett (1):
patman: fix coverletter cc list with nulls
Makefile | 1 +
arch/sandbox/cpu/os.c | 4 +-
common/image-fdt.c | 8 ++++
drivers/pinctrl/pinctrl-uclass.c | 12 ------
include/dm/pinctrl.h | 13 ------
include/fdtdec.h | 1 +
include/tee/optee.h | 9 ++++
include/test/optee.h | 14 +++++++
include/test/suites.h | 1 +
lib/fdtdec.c | 17 ++++----
lib/optee/optee.c | 140
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
test/Kconfig | 1 +
test/cmd_ut.c | 6 +++
test/optee/Kconfig | 7 ++++
test/optee/Makefile | 13 ++++++
test/optee/cmd_ut_optee.c | 149
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
test/optee/test-optee-base.dts | 13 ++++++
test/optee/test-optee-no-optee.dts | 13 ++++++
test/optee/test-optee-optee.dts | 32 +++++++++++++++
tools/patman/cros_subprocess.py | 4 +-
tools/patman/gitutil.py | 4 +-
tools/patman/series.py | 2 +-
tools/patman/terminal.py | 2 +-
23 files changed, 426 insertions(+), 40 deletions(-)
create mode 100644 include/test/optee.h
create mode 100644 test/optee/Kconfig
create mode 100644 test/optee/Makefile
create mode 100644 test/optee/cmd_ut_optee.c
create mode 100644 test/optee/test-optee-base.dts
create mode 100644 test/optee/test-optee-no-optee.dts
create mode 100644 test/optee/test-optee-optee.dts
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-10-29 23:35 Simon Glass
@ 2019-11-01 21:48 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-11-01 21:48 UTC (permalink / raw)
To: u-boot
On Tue, Oct 29, 2019 at 05:35:08PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Test results here:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1131
>
>
> The following changes since commit ffc379b42c85466e1dd4c8fee8268801f26d2ab8:
>
> Merge tag 'mips-pull-2019-10-25' of git://git.denx.de/u-boot-mips
> (2019-10-25 20:07:24 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-29oct19
>
> for you to fetch changes up to d60ae4c59df55c08dc96202ff58fed21ab3afb7d:
>
> fdt: Fix alignment issue when reading 64-bits properties from fdt
> (2019-10-27 13:01:53 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191101/d7c425c2/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-10-29 23:35 Simon Glass
2019-11-01 21:48 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-10-29 23:35 UTC (permalink / raw)
To: u-boot
Hi Tom,
Test results here:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1131
The following changes since commit ffc379b42c85466e1dd4c8fee8268801f26d2ab8:
Merge tag 'mips-pull-2019-10-25' of git://git.denx.de/u-boot-mips
(2019-10-25 20:07:24 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-29oct19
for you to fetch changes up to d60ae4c59df55c08dc96202ff58fed21ab3afb7d:
fdt: Fix alignment issue when reading 64-bits properties from fdt
(2019-10-27 13:01:53 -0600)
----------------------------------------------------------------
Fix for patman with email addresses containing commas
Bootstage improvements for TPL, SPL
Various sandbox and dm improvements and fixes
----------------------------------------------------------------
Dmitry Torokhov (1):
patman: separate emails in CC list with NULs
Jean-Jacques Hiblot (2):
test: regmap: check the values read from the regmap
fdt: Fix alignment issue when reading 64-bits properties from fdt
Kever Yang (1):
dm: core: Update log method for uclass_find_device_by_seq
Simon Glass (14):
sandbox: test: Show hex values on failure
sandbox: Drop 'const' from sandbox_write()
sandbox: test: Add a prototype for sandbox_set_enable_memio()
dm: regmap: Fix mask in regmap_update_bits()
tiny-printf: Reduce size by removing ctype
tiny-printf: Add print_grouped_ull()
tiny-printf: Reorder code to support %p
bloblist: Reserve an aligned base
bootstage: Store the next ID in the stash
bootstage: Fix counting of entries in stash
bootstage: Avoid conflicts between stash/unstash
bootstage: Correct relocation algorithm
bootstage: Mark the start/end of TPL and SPL separately
bootstage: Allow SPL to obtain bootstage info from TPL
arch/sandbox/cpu/cpu.c | 3 +--
arch/sandbox/include/asm/io.h | 11 +++++-----
arch/sandbox/include/asm/test.h | 11 ++++++++++
common/board_f.c | 2 ++
common/board_r.c | 1 -
common/bootstage.c | 53
++++++++++++++++++++++++++++++----------------
common/fdt_support.c | 2 +-
common/spl/spl.c | 23 ++++++++++++++++----
drivers/core/ofnode.c | 2 +-
drivers/core/regmap.c | 2 +-
drivers/core/uclass.c | 11 ++++++----
include/bootstage.h | 2 ++
include/linux/libfdt_env.h | 1 +
include/regmap.h | 3 ++-
include/test/ut.h | 3 ++-
lib/fdtdec.c | 2 +-
lib/tiny-printf.c | 29 +++++++++++++++++++------
test/dm/regmap.c | 19 ++++++++++++++---
tools/patman/func_test.py | 4 ++--
tools/patman/patman.py | 2 +-
tools/patman/series.py | 4 ++--
21 files changed, 135 insertions(+), 55 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-29 21:27 Simon Glass
@ 2019-07-30 1:21 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-07-30 1:21 UTC (permalink / raw)
To: u-boot
On Mon, Jul 29, 2019 at 03:27:59PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Gitlab is here:
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/356
>
> The following changes since commit 75551c8bfc9545e31ec2ce238cac3857904007b8:
>
> Merge branch '2019-07-26-ti-imports' (2019-07-27 19:50:52 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git
> tags/dm-pull-29jul19
>
> for you to fetch changes up to 4f4fb85ec0bfe45da11aa23ada565387ee676e80:
>
> Makefile: fix implementation of BINMAN_DEBUG (2019-07-29 09:38:06 -0600)
>
Applied to u-boot/master, 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/20190729/b920e2a3/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-07-29 21:27 Simon Glass
2019-07-30 1:21 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-07-29 21:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
Gitlab is here:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/356
The following changes since commit 75551c8bfc9545e31ec2ce238cac3857904007b8:
Merge branch '2019-07-26-ti-imports' (2019-07-27 19:50:52 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git
tags/dm-pull-29jul19
for you to fetch changes up to 4f4fb85ec0bfe45da11aa23ada565387ee676e80:
Makefile: fix implementation of BINMAN_DEBUG (2019-07-29 09:38:06 -0600)
----------------------------------------------------------------
binman support for replacing files
----------------------------------------------------------------
Simon Glass (53):
dtoc: Return a non-zero exit code when tests fail
binman: Move image-processing code into a function
binman: Move GetFdtSet() into blob_dtb
binman: Use print() to print output
binman: Move image/fdt code into PrepareImagesAndDtbs()
binman: Convert GetFdtSet() to use a dict
binman: Rename state.GetFdts()
binman: Rename state.GetFdt()
binman: Adjust GetFdt() to be keyed by etype
binman: Adjust state.fdt_files to be keyed by entry type
binman: Simplify state.fdt_subset
binman: Drop state.fdt_set as this is not needed
patman: Update tout to avoid open-coding the debug levels
binman: Add a bit of logging in entries when packing
binman: Show a helpful error when a DT property is missing
dtoc: Update Fdt.FromData() to allow a name
dtoc: Update Fdt.GetNode() to handle the root node
binman: Store image fdtmap when loading from a file
binman: Support loading entry data from a file
binman: Allow state functions to fail to return data
binman: Store the entry in output_fdt_files
binman: Add an image name into the fdtmap
binman: Adjust Entry to read the node in a separate call
binman: Add a function to obtain the image for an Entry
binman: Add a constant for common entry properties
binman: Allow the fdtmap to remain unchanged
binman: Tidy up _SetupDtb() to use its own temporary file
binman: Support updating entries in an existing image
binman: Add info to allow safely repacking an image later
binman: Update documentation for image creation
binman: Write the original input fdtmap to a file
binman: Move Image.BuildImage() into a single function
binman: Add more tests for image header position
binman: Allow updating entries that change size
binman: Update the _testing entry to support shrinkage
binman: Support shrinking a entry after packing
libfdt: Copy the struct region in fdt_resize()
binman: Adjust fmap to ignore CBFS files
binman: Place Intel descriptor at image start
binman: Add a few more features to the wishlist
binman: Add a prefix before CBFS hex offsets
binman: Update Entry.ReadEntry() to work through classes
binman: Update Entry.WriteData() to handle special sections
binman: Support replacing data in a cbfs
patman: Reset the output directory when it is removed
binman: Update state when replacing device-tree entries
binman: Add a test function to clean up the output dir
binman: Clean up all output directories in tests
binman: Move control.WriteEntry further down the file
binman: Update control.WriteEntry() to support writing the map
binman: Split control.WriteEntryToImage() into separate functions
binman: Correct the error message for invalid path
binman: Add command-line support for replacing entries
Stephen Warren (1):
Makefile: fix implementation of BINMAN_DEBUG
Makefile | 5 +-
scripts/dtc/libfdt/fdt_sw.c | 2 +-
tools/binman/README | 79 ++++++++-
tools/binman/README.entries | 11 +-
tools/binman/cbfs_util.py | 14 +-
tools/binman/cbfs_util_test.py | 4 +-
tools/binman/cmdline.py | 17 ++
tools/binman/control.py | 408
++++++++++++++++++++++++++++++++-----------
tools/binman/elf.py | 9 +-
tools/binman/elf_test.py | 19 +-
tools/binman/entry.py | 162 ++++++++++++++---
tools/binman/entry_test.py | 22 ++-
tools/binman/etype/_testing.py | 28 ++-
tools/binman/etype/blob.py | 12 --
tools/binman/etype/blob_dtb.py | 35 +++-
tools/binman/etype/cbfs.py | 24 ++-
tools/binman/etype/fdtmap.py | 60 ++++---
tools/binman/etype/fill.py | 3 +
tools/binman/etype/fmap.py | 11 +-
tools/binman/etype/image_header.py | 16 +-
tools/binman/etype/intel_descriptor.py | 6 +-
tools/binman/etype/intel_ifwi.py | 1 +
tools/binman/etype/section.py | 105 ++++++++---
tools/binman/etype/u_boot_dtb.py | 3 +
tools/binman/etype/u_boot_dtb_with_ucode.py | 9 +-
tools/binman/etype/u_boot_spl_dtb.py | 3 +
tools/binman/etype/u_boot_tpl_dtb.py | 3 +
tools/binman/etype/u_boot_tpl_dtb_with_ucode.py | 3 +
tools/binman/ftest.py | 591
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
tools/binman/image.py | 52 ++++--
tools/binman/state.py | 207
+++++++++++++++++-----
tools/binman/test/132_replace.dts | 21 +++
tools/binman/test/133_replace_multi.dts | 33 ++++
tools/binman/test/134_fdt_update_all_repack.dts | 23 +++
tools/binman/test/135_fdtmap_hdr_middle.dts | 16 ++
tools/binman/test/136_fdtmap_hdr_startbad.dts | 16 ++
tools/binman/test/137_fdtmap_hdr_endbad.dts | 16 ++
tools/binman/test/138_fdtmap_hdr_nosize.dts | 16 ++
tools/binman/test/139_replace_repack.dts | 22 +++
tools/binman/test/140_entry_shrink.dts | 20 +++
tools/binman/test/141_descriptor_offset.dts | 20 +++
tools/binman/test/142_replace_cbfs.dts | 37 ++++
tools/binman/test/143_replace_all.dts | 28 +++
tools/dtoc/dtoc.py | 7 +-
tools/dtoc/fdt.py | 41 ++++-
tools/dtoc/fdt_util.py | 12 +-
tools/dtoc/test_fdt.py | 48 ++++-
tools/patman/tools.py | 29 ++-
tools/patman/tout.py | 22 ++-
49 files changed, 1984 insertions(+), 367 deletions(-)
create mode 100644 tools/binman/test/132_replace.dts
create mode 100644 tools/binman/test/133_replace_multi.dts
create mode 100644 tools/binman/test/134_fdt_update_all_repack.dts
create mode 100644 tools/binman/test/135_fdtmap_hdr_middle.dts
create mode 100644 tools/binman/test/136_fdtmap_hdr_startbad.dts
create mode 100644 tools/binman/test/137_fdtmap_hdr_endbad.dts
create mode 100644 tools/binman/test/138_fdtmap_hdr_nosize.dts
create mode 100644 tools/binman/test/139_replace_repack.dts
create mode 100644 tools/binman/test/140_entry_shrink.dts
create mode 100644 tools/binman/test/141_descriptor_offset.dts
create mode 100644 tools/binman/test/142_replace_cbfs.dts
create mode 100644 tools/binman/test/143_replace_all.dts
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-24 3:23 ` Tom Rini
@ 2019-07-24 3:27 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2019-07-24 3:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Tue, 23 Jul 2019 at 20:23, Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Jul 23, 2019 at 08:08:03PM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 23 Jul 2019 at 11:16, Tom Rini <trini@konsulko.com> wrote:
> > >
> > > On Mon, Jul 22, 2019 at 08:48:45AM -0600, Simon Glass wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > Build is here: https://travis-ci.org/sglass68/u-boot/builds/561552377
> > > >
> > > > The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
> > > >
> > > > Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > > git://git.denx.de/u-boot-dm.git tags/dm-pull-22jul19
> > > >
> > > > for you to fetch changes up to 857ad7985ff63989c3c7feff56c2dc353d7d7c9a:
> > > >
> > > > dm: device: make power domain calls optional (2019-07-20 19:50:44 -0600)
> > > >
> > >
> > > First, in my LLVM-7 test:
> > > /home/trini/u-boot/u-boot/tools/ifwitool.c:584:23: warning: unused function 'read_le8' [-Wunused-function]
> > > static inline uint8_t read_le8(const void *src)
> > > ^
> > > /home/trini/u-boot/u-boot/tools/ifwitool.c:695:20: warning: unused function 'zero_n' [-Wunused-function]
> > > static inline void zero_n(void *dest, size_t n)
> > >
> > > Which is simple to fix. But I don't see why it's not being caught in
> > > the travis test off-hand.
> >
> > I'm not sure either. Possible it depends on the compiler used?
>
> I'm concerned the travis job isn't running LLVM like we think it is.
>
> > > And I further see I didn't get LLVM-7
> > > included in GitLab at all yet.
> > >
> > > Next however I see:
> > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/1222
> > > which is the binman tests failing and needs to be fixed.
> >
> > Oh dear, I don't seem to have any idea about gitlab yet. Have updated
> > the gitlab config file. Should I stop using travis completely now?
>
> Long term I think GitLab CI is going to be better for custodians as
> we'll have more build resources available and thus the jobs will
> complete quicker. I don't know why the binman testsuite doesn't fail in
> travis like it does there.
Well that is because I updated the travis config but not the gitlab. Doing that.
> The good news is the gitlab job runs in a
> defined docker container you can pull and try locally :)
OK good. Will give this all a crack at some point.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-24 3:08 ` Simon Glass
@ 2019-07-24 3:23 ` Tom Rini
2019-07-24 3:27 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2019-07-24 3:23 UTC (permalink / raw)
To: u-boot
On Tue, Jul 23, 2019 at 08:08:03PM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 23 Jul 2019 at 11:16, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Mon, Jul 22, 2019 at 08:48:45AM -0600, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > Build is here: https://travis-ci.org/sglass68/u-boot/builds/561552377
> > >
> > > The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
> > >
> > > Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > > git://git.denx.de/u-boot-dm.git tags/dm-pull-22jul19
> > >
> > > for you to fetch changes up to 857ad7985ff63989c3c7feff56c2dc353d7d7c9a:
> > >
> > > dm: device: make power domain calls optional (2019-07-20 19:50:44 -0600)
> > >
> >
> > First, in my LLVM-7 test:
> > /home/trini/u-boot/u-boot/tools/ifwitool.c:584:23: warning: unused function 'read_le8' [-Wunused-function]
> > static inline uint8_t read_le8(const void *src)
> > ^
> > /home/trini/u-boot/u-boot/tools/ifwitool.c:695:20: warning: unused function 'zero_n' [-Wunused-function]
> > static inline void zero_n(void *dest, size_t n)
> >
> > Which is simple to fix. But I don't see why it's not being caught in
> > the travis test off-hand.
>
> I'm not sure either. Possible it depends on the compiler used?
I'm concerned the travis job isn't running LLVM like we think it is.
> > And I further see I didn't get LLVM-7
> > included in GitLab at all yet.
> >
> > Next however I see:
> > https://gitlab.denx.de/u-boot/u-boot/-/jobs/1222
> > which is the binman tests failing and needs to be fixed.
>
> Oh dear, I don't seem to have any idea about gitlab yet. Have updated
> the gitlab config file. Should I stop using travis completely now?
Long term I think GitLab CI is going to be better for custodians as
we'll have more build resources available and thus the jobs will
complete quicker. I don't know why the binman testsuite doesn't fail in
travis like it does there. The good news is the gitlab job runs in a
defined docker container you can pull and try locally :)
--
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/20190723/744f0e44/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-23 18:16 ` Tom Rini
@ 2019-07-24 3:08 ` Simon Glass
2019-07-24 3:23 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-07-24 3:08 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Tue, 23 Jul 2019 at 11:16, Tom Rini <trini@konsulko.com> wrote:
>
> On Mon, Jul 22, 2019 at 08:48:45AM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Build is here: https://travis-ci.org/sglass68/u-boot/builds/561552377
> >
> > The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
> >
> > Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
> >
> > are available in the Git repository at:
> >
> > git://git.denx.de/u-boot-dm.git tags/dm-pull-22jul19
> >
> > for you to fetch changes up to 857ad7985ff63989c3c7feff56c2dc353d7d7c9a:
> >
> > dm: device: make power domain calls optional (2019-07-20 19:50:44 -0600)
> >
>
> First, in my LLVM-7 test:
> /home/trini/u-boot/u-boot/tools/ifwitool.c:584:23: warning: unused function 'read_le8' [-Wunused-function]
> static inline uint8_t read_le8(const void *src)
> ^
> /home/trini/u-boot/u-boot/tools/ifwitool.c:695:20: warning: unused function 'zero_n' [-Wunused-function]
> static inline void zero_n(void *dest, size_t n)
>
> Which is simple to fix. But I don't see why it's not being caught in
> the travis test off-hand.
I'm not sure either. Possible it depends on the compiler used?
> And I further see I didn't get LLVM-7
> included in GitLab at all yet.
>
> Next however I see:
> https://gitlab.denx.de/u-boot/u-boot/-/jobs/1222
> which is the binman tests failing and needs to be fixed.
Oh dear, I don't seem to have any idea about gitlab yet. Have updated
the gitlab config file. Should I stop using travis completely now?
>
> --
> Tom
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-22 14:48 Simon Glass
@ 2019-07-23 18:16 ` Tom Rini
2019-07-24 3:08 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2019-07-23 18:16 UTC (permalink / raw)
To: u-boot
On Mon, Jul 22, 2019 at 08:48:45AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Build is here: https://travis-ci.org/sglass68/u-boot/builds/561552377
>
> The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
>
> Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-22jul19
>
> for you to fetch changes up to 857ad7985ff63989c3c7feff56c2dc353d7d7c9a:
>
> dm: device: make power domain calls optional (2019-07-20 19:50:44 -0600)
>
First, in my LLVM-7 test:
/home/trini/u-boot/u-boot/tools/ifwitool.c:584:23: warning: unused function 'read_le8' [-Wunused-function]
static inline uint8_t read_le8(const void *src)
^
/home/trini/u-boot/u-boot/tools/ifwitool.c:695:20: warning: unused function 'zero_n' [-Wunused-function]
static inline void zero_n(void *dest, size_t n)
Which is simple to fix. But I don't see why it's not being caught in
the travis test off-hand. And I further see I didn't get LLVM-7
included in GitLab at all yet.
Next however I see:
https://gitlab.denx.de/u-boot/u-boot/-/jobs/1222
which is the binman tests failing and needs to be fixed.
--
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/20190723/62b529f8/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-07-22 14:48 Simon Glass
2019-07-23 18:16 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-07-22 14:48 UTC (permalink / raw)
To: u-boot
Hi Tom,
Build is here: https://travis-ci.org/sglass68/u-boot/builds/561552377
The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-22jul19
for you to fetch changes up to 857ad7985ff63989c3c7feff56c2dc353d7d7c9a:
dm: device: make power domain calls optional (2019-07-20 19:50:44 -0600)
----------------------------------------------------------------
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 test for nested and aligned sections
.travis.yml | 3 +-
Makefile | 4 +-
common/fdt_support.c | 27 +-
drivers/clk/clk-uclass.c | 2 +
drivers/core/device.c | 17 +-
drivers/core/ofnode.c | 2 +-
drivers/timer/timer-uclass.c | 4 +
fs/cbfs/cbfs.c | 4 +-
include/cbfs.h | 16 +-
include/dm/read.h | 2 +-
include/dm/uclass.h | 2 +-
test/run | 9 +-
tools/Makefile | 3 +
tools/binman/README | 154 ++++-
tools/binman/README.entries | 282 ++++++++-
tools/binman/binman.py | 91 ++-
tools/binman/bsection.py | 464 --------------
tools/binman/cbfs_util.py | 887
++++++++++++++++++++++++++
tools/binman/cbfs_util_test.py | 625 ++++++++++++++++++
tools/binman/cmdline.py | 99 ++-
tools/binman/control.py | 212 +++++--
tools/binman/elf.py | 174 +++++
tools/binman/elf_test.py | 41 ++
tools/binman/entry.py | 187 +++++-
tools/binman/entry_test.py | 32 +-
tools/binman/etype/__init__.py | 0
tools/binman/etype/_testing.py | 14 +-
tools/binman/etype/blob.py | 59 +-
tools/binman/etype/blob_dtb.py | 10 +-
tools/binman/etype/cbfs.py | 263 ++++++++
tools/binman/etype/fdtmap.py | 130 ++++
tools/binman/etype/files.py | 3 +-
tools/binman/etype/fmap.py | 4 +-
tools/binman/etype/image_header.py | 99 +++
tools/binman/etype/intel_descriptor.py | 16 +-
tools/binman/etype/intel_ifwi.py | 100 +++
tools/binman/etype/intel_me.py | 2 +
tools/binman/etype/section.py | 439 +++++++++++--
tools/binman/etype/text.py | 23 +-
tools/binman/etype/u_boot_spl_elf.py | 2 +-
tools/binman/etype/u_boot_tpl_elf.py | 24 +
tools/binman/etype/u_boot_with_ucode_ptr.py | 8 +-
tools/binman/ftest.py | 1039
++++++++++++++++++++++++++++--
tools/binman/image.py | 315 ++++++---
tools/binman/image_test.py | 18 +-
tools/binman/state.py | 26 +-
tools/binman/test/066_text.dts | 5 +
tools/binman/test/096_elf.dts | 2 +
tools/binman/test/102_cbfs_raw.dts | 20 +
tools/binman/test/103_cbfs_raw_ppc.dts | 21 +
tools/binman/test/104_cbfs_stage.dts | 19 +
tools/binman/test/105_cbfs_raw_compress.dts | 26 +
tools/binman/test/106_cbfs_bad_arch.dts | 15 +
tools/binman/test/107_cbfs_no_size.dts | 13 +
tools/binman/test/108_cbfs_no_contents.dts | 17 +
tools/binman/test/109_cbfs_bad_compress.dts | 18 +
tools/binman/test/110_cbfs_name.dts | 24 +
tools/binman/test/111_x86-rom-ifwi.dts | 29 +
tools/binman/test/112_x86-rom-ifwi-nodesc.dts | 28 +
tools/binman/test/113_x86-rom-ifwi-nodata.dts | 29 +
tools/binman/test/114_cbfs_offset.dts | 26 +
tools/binman/test/115_fdtmap.dts | 13 +
tools/binman/test/116_fdtmap_hdr.dts | 17 +
tools/binman/test/117_fdtmap_hdr_start.dts | 19 +
tools/binman/test/118_fdtmap_hdr_pos.dts | 19 +
tools/binman/test/119_fdtmap_hdr_missing.dts | 16 +
tools/binman/test/120_hdr_no_location.dts | 16 +
tools/binman/test/121_entry_expand.dts | 20 +
tools/binman/test/122_entry_expand_twice.dts | 21 +
tools/binman/test/123_entry_expand_section.dts | 22 +
tools/binman/test/124_compress_dtb.dts | 14 +
tools/binman/test/125_cbfs_update.dts | 21 +
tools/binman/test/126_cbfs_bad_type.dts | 17 +
tools/binman/test/127_list.dts | 33 +
tools/binman/test/128_decode_image.dts | 36 ++
tools/binman/test/129_decode_image_nohdr.dts | 33 +
tools/binman/test/130_list_fdtmap.dts | 36 ++
tools/binman/test/131_pack_align_section.dts | 28 +
tools/binman/test/fitimage.bin.gz | Bin 0 -> 8418 bytes
tools/binman/test/ifwi.bin.gz | Bin 0 -> 1884 bytes
tools/buildman/README | 4 +-
tools/ifwitool.c | 2314
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/patman/command.py | 4 +-
tools/patman/test_util.py | 6 +-
tools/patman/tools.py | 141 ++++-
tools/patman/tout.py | 10 +-
86 files changed, 8167 insertions(+), 922 deletions(-)
delete mode 100644 tools/binman/bsection.py
create mode 100644 tools/binman/cbfs_util.py
create mode 100755 tools/binman/cbfs_util_test.py
create mode 100644 tools/binman/etype/__init__.py
create mode 100644 tools/binman/etype/cbfs.py
create mode 100644 tools/binman/etype/fdtmap.py
create mode 100644 tools/binman/etype/image_header.py
create mode 100644 tools/binman/etype/intel_ifwi.py
create mode 100644 tools/binman/etype/u_boot_tpl_elf.py
create mode 100644 tools/binman/test/102_cbfs_raw.dts
create mode 100644 tools/binman/test/103_cbfs_raw_ppc.dts
create mode 100644 tools/binman/test/104_cbfs_stage.dts
create mode 100644 tools/binman/test/105_cbfs_raw_compress.dts
create mode 100644 tools/binman/test/106_cbfs_bad_arch.dts
create mode 100644 tools/binman/test/107_cbfs_no_size.dts
create mode 100644 tools/binman/test/108_cbfs_no_contents.dts
create mode 100644 tools/binman/test/109_cbfs_bad_compress.dts
create mode 100644 tools/binman/test/110_cbfs_name.dts
create mode 100644 tools/binman/test/111_x86-rom-ifwi.dts
create mode 100644 tools/binman/test/112_x86-rom-ifwi-nodesc.dts
create mode 100644 tools/binman/test/113_x86-rom-ifwi-nodata.dts
create mode 100644 tools/binman/test/114_cbfs_offset.dts
create mode 100644 tools/binman/test/115_fdtmap.dts
create mode 100644 tools/binman/test/116_fdtmap_hdr.dts
create mode 100644 tools/binman/test/117_fdtmap_hdr_start.dts
create mode 100644 tools/binman/test/118_fdtmap_hdr_pos.dts
create mode 100644 tools/binman/test/119_fdtmap_hdr_missing.dts
create mode 100644 tools/binman/test/120_hdr_no_location.dts
create mode 100644 tools/binman/test/121_entry_expand.dts
create mode 100644 tools/binman/test/122_entry_expand_twice.dts
create mode 100644 tools/binman/test/123_entry_expand_section.dts
create mode 100644 tools/binman/test/124_compress_dtb.dts
create mode 100644 tools/binman/test/125_cbfs_update.dts
create mode 100644 tools/binman/test/126_cbfs_bad_type.dts
create mode 100644 tools/binman/test/127_list.dts
create mode 100644 tools/binman/test/128_decode_image.dts
create mode 100644 tools/binman/test/129_decode_image_nohdr.dts
create mode 100644 tools/binman/test/130_list_fdtmap.dts
create mode 100644 tools/binman/test/131_pack_align_section.dts
create mode 100644 tools/binman/test/fitimage.bin.gz
create mode 100644 tools/binman/test/ifwi.bin.gz
create mode 100644 tools/ifwitool.c
Regards,
SImon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-11 17:18 Simon Glass
@ 2019-07-12 13:32 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-07-12 13:32 UTC (permalink / raw)
To: u-boot
On Thu, Jul 11, 2019 at 11:18:43AM -0600, Simon Glass wrote:
> Hi Tom,
>
> I picked up a different patch for the unicode handling.
>
> Passing build here:
> https://travis-ci.org/sglass68/u-boot/builds/557041198
>
>
> The following changes since commit ef8b7e045ec744dce385cac4b1438c9be6e2bbc8:
>
> Merge https://gitlab.denx.de/u-boot/custodians/u-boot-i2c (2019-07-10
> 13:51:53 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-9jul19-take2
>
> for you to fetch changes up to 7ea33579576d2bcd19df76bd8769e7ab3b4a169b:
>
> trace: trace buffer may exceed 2GiB (2019-07-10 16:52:58 -0600)
>
Applied to u-boot/master, 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/20190712/c771a5bd/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-07-11 17:18 Simon Glass
2019-07-12 13:32 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-07-11 17:18 UTC (permalink / raw)
To: u-boot
Hi Tom,
I picked up a different patch for the unicode handling.
Passing build here:
https://travis-ci.org/sglass68/u-boot/builds/557041198
The following changes since commit ef8b7e045ec744dce385cac4b1438c9be6e2bbc8:
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-i2c (2019-07-10
13:51:53 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-9jul19-take2
for you to fetch changes up to 7ea33579576d2bcd19df76bd8769e7ab3b4a169b:
trace: trace buffer may exceed 2GiB (2019-07-10 16:52:58 -0600)
----------------------------------------------------------------
- Sandbox improvements including .dts refactor
- Minor tracing and PCI improvements
- Various other minor fixes
- Conversion of patman, dtoc and binman to support Python 3
----------------------------------------------------------------
Alex Marginean (4):
pci: fixed dm_pci_map_bar comment
drivers: pci: add map_bar support for Enhanced Allocation
test: dm: Add a test for PCI Enhanced Allocation
drivers: pci: add API to issue FLR on a PCI function if supported
Heinrich Schuchardt (5):
trace: undefined reference to `trace_early_init'
trace: conserve gd register
trace: make call depth limit customizable
trace: do not limit trace buffer to 2GiB
trace: trace buffer may exceed 2GiB
Patrick Delaunay (3):
test: check u-boot properties in SPL device tree
fdt: Allow indicating a node is for U-Boot proper only
dm: doc: add documentation for pre-reloc properties in SPL and TPL
Simon Glass (60):
patman: Update cros_subprocess to use bytes
patman: Convert print statements to Python 3
binman: Convert print statements to Python 3
binman: Don't show errors for failed tests
binman: Remove use of Set()
patman: Use items() instead of iteritems()
binman: Use items() instead of iteritems()
tools: binman: Open all binary files in binary mode
tools: dtoc: Open all binary files in binary mode
patman: Provide a way to get program output in binary mode
binman: Use binary mode when compressing data
binman: Drop an unused input file
binman: Handle repeated bytes for Python 3
patman: Support use of stringIO in Python 3
patman: Move unicode helpers to tools
patman: Sort series output for repeatabily
patman: Avoid unicode type in settings unit tests
patman: Adjust functional tests for Python 3
patman: Tidy up a few more unicode conversions
patman: Don't require Python 2
dtoc: Adjust code for Python 3
dtoc: Sort platdata output from dtoc
dtoc: Use GetBytes() to obtain repeating bytes
dtoc: Move BytesToValue() out of the Prop class
dtoc: Updates BytesToValue() for Python 3
dtoc: Use byte type instead of str in fdt
dtoc: Convert the Fdt.Prop class to Python 3
dtoc: Convert the Fdt.Node class to Python 3
dtoc: Use binary mode for reading files
dtoc: Test full 64-bit properties with FdtCellsToCpu()
dtoc: Add a unit test for BytesToValue()
dtoc: Update fdt_util for Python 3
dtoc: Update dtb_platdata to support Python 3
patman: Allow reading files in text mode
binman: Avoid changing a dict during iteration
binman: Convert to use bytes type
binman: Update entry_test to support Python 3
patman: Update fmap code for Python 3
binman: Update 'text' entry for Python 3
binman: Fix up a format string in AssertInList()
binman: Read map files as text
binman: Document parallel tests
binman: Update the README.entries file
patman: Update cover-coverage tests for Python 3
Add a simple script to remove boards
sandbox: Sync up sandbox64.dts with main DT
sandbox: Create a common sandbox DT
sandbox: Add an alias for SPI
sandbox: Exit when SYSRESET_POWER_OFF is requested
sandbox: Quit when hang() is called
sandbox: spl: Lower priority of standard loader
sandbox: Add a comment to board_init_f()
sandbox: Allo sdl-config to be overridden
sandbox: Add a memory {} node
sandbox: Correct spi flash operation
sandbox: Add documentation on how to run valgrind
x86: Add a forward struct declaration in coreboot_tables.h
bootstage: Add support for TPL record count
blk: Allow control of the block cache in TPL
spi: Avoid using malloc() in a critical function
Thierry Reding (1):
fdtdec: test: Fix memory leak
Vabhav Sharma (1):
drivers: serial: lpuart: Enable Little Endian Support
arch/sandbox/config.mk | 5 +-
arch/sandbox/cpu/spl.c | 3 +-
arch/sandbox/cpu/state.c | 1 +
arch/sandbox/dts/sandbox.dts | 336
+--------------------------------------------------
arch/sandbox/dts/sandbox.dtsi | 364
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/sandbox/dts/sandbox64.dts | 275
++----------------------------------------
arch/sandbox/dts/test.dts | 8 ++
arch/sandbox/include/asm/test.h | 13 ++
arch/x86/include/asm/coreboot_tables.h | 2 +
board/sandbox/README.sandbox | 21 ++++
cmd/trace.c | 10 +-
common/Kconfig | 7 ++
common/board_f.c | 6 +-
doc/README.SPL | 16 +++
doc/README.TPL | 4 +
doc/driver-model/README.txt | 4 +
drivers/block/Kconfig | 7 ++
drivers/core/util.c | 2 +
drivers/misc/swap_case.c | 102 +++++++++++++++-
drivers/pci/pci-uclass.c | 70 +++++++++++
drivers/serial/serial_lpuart.c | 4 +
drivers/spi/Kconfig | 2 +-
drivers/spi/spi-mem.c | 15 ++-
drivers/sysreset/sysreset_sandbox.c | 1 +
drivers/video/video-uclass.c | 4 +-
include/configs/sandbox.h | 4 +
include/dm/ofnode.h | 6 +-
include/dm/util.h | 6 +-
include/pci.h | 35 +++++-
include/trace.h | 6 +-
lib/Kconfig | 15 +++
lib/fdtdec_test.c | 2 +
lib/hang.c | 3 +
lib/trace.c | 67 +++++++++--
test/dm/pci.c | 49 ++++++++
test/py/tests/test_ofplatdata.py | 28 +++++
tools/binman/README | 14 +++
tools/binman/README.entries | 15 +++
tools/binman/binman.py | 26 +++-
tools/binman/bsection.py | 7 +-
tools/binman/control.py | 15 ++-
tools/binman/elf.py | 4 +-
tools/binman/elf_test.py | 5 +-
tools/binman/entry.py | 5 +-
tools/binman/entry_test.py | 6 +-
tools/binman/etype/_testing.py | 2 +-
tools/binman/etype/blob.py | 2 +-
tools/binman/etype/fill.py | 4 +-
tools/binman/etype/fmap.py | 3 +-
tools/binman/etype/gbb.py | 2 +-
tools/binman/etype/text.py | 9 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 4 +-
tools/binman/etype/u_boot_spl_bss_pad.py | 2 +-
tools/binman/etype/u_boot_ucode.py | 4 +-
tools/binman/etype/vblock.py | 2 +-
tools/binman/fmap_util.py | 12 +-
tools/binman/ftest.py | 213
+++++++++++++++++----------------
tools/binman/state.py | 7 +-
tools/dtoc/dtb_platdata.py | 10 +-
tools/dtoc/dtoc.py | 8 +-
tools/dtoc/fdt.py | 148 +++++++++++++----------
tools/dtoc/fdt_util.py | 15 +--
tools/dtoc/test_dtoc.py | 16 +--
tools/dtoc/test_fdt.py | 52 ++++----
tools/patman/cros_subprocess.py | 50 ++++----
tools/patman/func_test.py | 41 ++++---
tools/patman/gitutil.py | 16 +--
tools/patman/patman.py | 2 +-
tools/patman/series.py | 20 ++--
tools/patman/settings.py | 34 ++----
tools/patman/test_util.py | 27 +++--
tools/patman/tools.py | 111 ++++++++++++++++-
tools/proftool.c | 4 +-
tools/rmboard.py | 150 +++++++++++++++++++++++
74 files changed, 1580 insertions(+), 990 deletions(-)
create mode 100644 arch/sandbox/dts/sandbox.dtsi
create mode 100755 tools/rmboard.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-10 14:39 ` Tom Rini
@ 2019-07-11 17:06 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2019-07-11 17:06 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Wed, 10 Jul 2019 at 08:39, Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Jul 09, 2019 at 11:16:18AM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Build is here:
> >
> > https://travis-ci.org/sglass68/u-boot/builds/556001438
> >
> > (looks like there is a unicode issue I need to look at)
> >
> > The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004:
> >
> > Prepare v2019.07 (2019-07-08 15:23:28 -0400)
> >
> > are available in the Git repository at:
> >
> > https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-pull-9jul19
> >
> > for you to fetch changes up to b7eb801e0e6bdf42a592087a797deda1b0f03d69:
> >
> > trace: trace buffer may exceed 2GiB (2019-07-08 15:23:09 -0600)
> >
>
> Since that unicode problem fails travis, I do need that fixed before I
> can take this, thanks!
Ah yes. I saw the timeout and thought it was some sort of infra
problem, but of course it is buildman. I'll send a new email.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-07-09 17:16 Simon Glass
@ 2019-07-10 14:39 ` Tom Rini
2019-07-11 17:06 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2019-07-10 14:39 UTC (permalink / raw)
To: u-boot
On Tue, Jul 09, 2019 at 11:16:18AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Build is here:
>
> https://travis-ci.org/sglass68/u-boot/builds/556001438
>
> (looks like there is a unicode issue I need to look at)
>
> The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004:
>
> Prepare v2019.07 (2019-07-08 15:23:28 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-pull-9jul19
>
> for you to fetch changes up to b7eb801e0e6bdf42a592087a797deda1b0f03d69:
>
> trace: trace buffer may exceed 2GiB (2019-07-08 15:23:09 -0600)
>
Since that unicode problem fails travis, I do need that fixed before I
can take this, 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/20190710/baf5e0ee/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-07-09 17:16 Simon Glass
2019-07-10 14:39 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-07-09 17:16 UTC (permalink / raw)
To: u-boot
Hi Tom,
Build is here:
https://travis-ci.org/sglass68/u-boot/builds/556001438
(looks like there is a unicode issue I need to look at)
The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004:
Prepare v2019.07 (2019-07-08 15:23:28 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-pull-9jul19
for you to fetch changes up to b7eb801e0e6bdf42a592087a797deda1b0f03d69:
trace: trace buffer may exceed 2GiB (2019-07-08 15:23:09 -0600)
----------------------------------------------------------------
- Sandbox improvements including .dts refactor
- Minor tracing and PCI improvements
- Various other minor fixes
- Conversion of patman, dtoc and binman to support Python 3
----------------------------------------------------------------
Alex Marginean (4):
pci: fixed dm_pci_map_bar comment
drivers: pci: add map_bar support for Enhanced Allocation
test: dm: Add a test for PCI Enhanced Allocation
drivers: pci: add API to issue FLR on a PCI function if supported
Heinrich Schuchardt (5):
trace: undefined reference to `trace_early_init'
trace: conserve gd register
trace: make call depth limit customizable
trace: do not limit trace buffer to 2GiB
trace: trace buffer may exceed 2GiB
Patrick Delaunay (3):
test: check u-boot properties in SPL device tree
fdt: Allow indicating a node is for U-Boot proper only
dm: doc: add documentation for pre-reloc properties in SPL and TPL
Simon Glass (60):
patman: Update cros_subprocess to use bytearray
patman: Convert print statements to Python 3
binman: Convert print statements to Python 3
binman: Don't show errors for failed tests
binman: Remove use of Set()
patman: Use items() instead of iteritems()
binman: Use items() instead of iteritems()
tools: binman: Open all binary files in binary mode
tools: dtoc: Open all binary files in binary mode
patman: Provide a way to get program output in binary mode
binman: Use binary mode when compressing data
binman: Drop an unused input file
binman: Handle repeated bytes for Python 3
patman: Support use of stringIO in Python 3
patman: Move unicode helpers to tools
patman: Sort series output for repeatabily
patman: Avoid unicode type in settings unit tests
patman: Adjust functional tests for Python 3
patman: Tidy up a few more unicode conversions
patman: Don't require Python 2
dtoc: Adjust code for Python 3
dtoc: Sort platdata output from dtoc
dtoc: Use GetBytes() to obtain repeating bytes
dtoc: Move BytesToValue() out of the Prop class
dtoc: Updates BytesToValue() for Python 3
dtoc: Use byte type instead of str in fdt
dtoc: Convert the Fdt.Prop class to Python 3
dtoc: Convert the Fdt.Node class to Python 3
dtoc: Use binary mode for reading files
dtoc: Test full 64-bit properties with FdtCellsToCpu()
dtoc: Add a unit test for BytesToValue()
dtoc: Update fdt_util for Python 3
dtoc: Update dtb_platdata to support Python 3
patman: Allow reading files in text mode
binman: Avoid changing a dict during iteration
binman: Convert to use bytes type
binman: Update entry_test to support Python 3
patman: Update fmap code for Python 3
binman: Update 'text' entry for Python 3
binman: Fix up a format string in AssertInList()
binman: Read map files as text
binman: Document parallel tests
binman: Update the README.entries file
patman: Update cover-coverage tests for Python 3
Add a simple script to remove boards
sandbox: Sync up sandbox64.dts with main DT
sandbox: Create a common sandbox DT
sandbox: Add an alias for SPI
sandbox: Exit when SYSRESET_POWER_OFF is requested
sandbox: Quit when hang() is called
sandbox: spl: Lower priority of standard loader
sandbox: Add a comment to board_init_f()
sandbox: Allo sdl-config to be overridden
sandbox: Add a memory {} node
sandbox: Correct spi flash operation
sandbox: Add documentation on how to run valgrind
x86: Add a forward struct declaration in coreboot_tables.h
bootstage: Add support for TPL record count
blk: Allow control of the block cache in TPL
spi: Avoid using malloc() in a critical function
Thierry Reding (1):
fdtdec: test: Fix memory leak
Vabhav Sharma (1):
drivers: serial: lpuart: Enable Little Endian Support
arch/sandbox/config.mk | 5 +-
arch/sandbox/cpu/spl.c | 3 +-
arch/sandbox/cpu/state.c | 1 +
arch/sandbox/dts/sandbox.dts | 336
++-----------------------------------------------------------
arch/sandbox/dts/sandbox.dtsi | 364
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/sandbox/dts/sandbox64.dts | 275
++------------------------------------------------
arch/sandbox/dts/test.dts | 8 ++
arch/sandbox/include/asm/test.h | 13 +++
arch/x86/include/asm/coreboot_tables.h | 2 +
board/sandbox/README.sandbox | 21 ++++
cmd/trace.c | 10 +-
common/Kconfig | 7 ++
common/board_f.c | 6 +-
doc/README.SPL | 16 +++
doc/README.TPL | 4 +
doc/driver-model/README.txt | 4 +
drivers/block/Kconfig | 7 ++
drivers/core/util.c | 2 +
drivers/misc/swap_case.c | 102 ++++++++++++++++++-
drivers/pci/pci-uclass.c | 70 +++++++++++++
drivers/serial/serial_lpuart.c | 4 +
drivers/spi/Kconfig | 2 +-
drivers/spi/spi-mem.c | 15 ++-
drivers/sysreset/sysreset_sandbox.c | 1 +
drivers/video/video-uclass.c | 4 +-
include/configs/sandbox.h | 4 +
include/dm/ofnode.h | 6 +-
include/dm/util.h | 6 +-
include/pci.h | 35 ++++++-
include/trace.h | 6 +-
lib/Kconfig | 15 +++
lib/fdtdec_test.c | 2 +
lib/hang.c | 3 +
lib/trace.c | 67 ++++++++++--
test/dm/pci.c | 49 +++++++++
test/py/tests/test_ofplatdata.py | 28 ++++++
tools/binman/README | 14 +++
tools/binman/README.entries | 15 +++
tools/binman/binman.py | 26 +++--
tools/binman/bsection.py | 7 +-
tools/binman/control.py | 15 ++-
tools/binman/elf.py | 4 +-
tools/binman/elf_test.py | 5 +-
tools/binman/entry.py | 5 +-
tools/binman/entry_test.py | 6 +-
tools/binman/etype/_testing.py | 2 +-
tools/binman/etype/blob.py | 2 +-
tools/binman/etype/fill.py | 4 +-
tools/binman/etype/fmap.py | 3 +-
tools/binman/etype/gbb.py | 2 +-
tools/binman/etype/text.py | 9 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 4 +-
tools/binman/etype/u_boot_spl_bss_pad.py | 2 +-
tools/binman/etype/u_boot_ucode.py | 4 +-
tools/binman/etype/vblock.py | 2 +-
tools/binman/fmap_util.py | 12 ++-
tools/binman/ftest.py | 213
++++++++++++++++++++-------------------
tools/binman/state.py | 7 +-
tools/dtoc/dtb_platdata.py | 10 +-
tools/dtoc/dtoc.py | 8 +-
tools/dtoc/fdt.py | 148
+++++++++++++++------------
tools/dtoc/fdt_util.py | 15 +--
tools/dtoc/test_dtoc.py | 16 +--
tools/dtoc/test_fdt.py | 52 ++++++----
tools/patman/cros_subprocess.py | 53 ++++++----
tools/patman/func_test.py | 41 ++++----
tools/patman/gitutil.py | 16 +--
tools/patman/patman.py | 2 +-
tools/patman/series.py | 20 ++--
tools/patman/settings.py | 34 +++----
tools/patman/test_util.py | 27 +++--
tools/patman/tools.py | 111 +++++++++++++++++++-
tools/proftool.c | 4 +-
tools/rmboard.py | 150
+++++++++++++++++++++++++++
74 files changed, 1585 insertions(+), 988 deletions(-)
create mode 100644 arch/sandbox/dts/sandbox.dtsi
create mode 100755 tools/rmboard.py
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-05-22 13:13 Simon Glass
@ 2019-05-23 17:47 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-05-23 17:47 UTC (permalink / raw)
To: u-boot
On Wed, May 22, 2019 at 07:13:24AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Results here:
>
> https://travis-ci.org/sglass68/u-boot/builds/535552345
>
> The following changes since commit e1a2ed7180adeefb6164239a18249dca5701319d:
>
> Merge git://git.denx.de/u-boot-mpc83xx (2019-05-21 07:13:35 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-22may19
>
> for you to fetch changes up to ee730a7cd2afe445e53e92b5c37396a5b118f7af:
>
> dm: core: Fix dm_extended_scan_fdt() (2019-05-21 17:33:23 -0600)
>
Applied to u-boot/master, 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/20190523/aad9d1da/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-05-22 13:13 Simon Glass
2019-05-23 17:47 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-05-22 13:13 UTC (permalink / raw)
To: u-boot
Hi Tom,
Results here:
https://travis-ci.org/sglass68/u-boot/builds/535552345
The following changes since commit e1a2ed7180adeefb6164239a18249dca5701319d:
Merge git://git.denx.de/u-boot-mpc83xx (2019-05-21 07:13:35 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-22may19
for you to fetch changes up to ee730a7cd2afe445e53e92b5c37396a5b118f7af:
dm: core: Fix dm_extended_scan_fdt() (2019-05-21 17:33:23 -0600)
----------------------------------------------------------------
Various DM fixes
Addition of ofnode_get_addr_size_index()
----------------------------------------------------------------
Keerthy (1):
core: ofnode: Add ofnode_get_addr_size_index
Patrice Chotard (1):
dm: core: Fix dm_extended_scan_fdt()
Simon Glass (3):
spl: misc: Allow misc drivers in SPL and TPL
Add an empty stdint.h file
buildman: Deal more nicely with invalid build-status file
Stefan Mavrodiev (1):
common: fdt_support: Check mtdparts cell size
Thierry Reding (1):
fdtdec: Remove fdt_{addr,size}_unpack()
Trent Piepho (1):
core: ofnode: Have ofnode_read_u32_default return a u32
common/fdt_support.c | 31 ++++++++++++++------
drivers/core/ofnode.c | 15 +++++++---
drivers/core/root.c | 2 +-
drivers/misc/Kconfig | 72
+++++++++++++++++++++++++++++++++++++++++++++++
drivers/misc/Makefile | 8 ++++--
include/dm/ofnode.h | 16 ++++++++++-
include/fdtdec.h | 24 ----------------
include/stdint.h | 7 +++++
lib/fdtdec.c | 8 ++++--
lib/fdtdec_test.c | 8 ++++--
tools/buildman/builder.py | 7 ++++-
11 files changed, 151 insertions(+), 47 deletions(-)
create mode 100644 include/stdint.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-04-24 15:22 Simon Glass
@ 2019-04-25 11:09 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-04-25 11:09 UTC (permalink / raw)
To: u-boot
On Wed, Apr 24, 2019 at 09:22:43AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Build/test:
> https://travis-ci.org/sglass68/u-boot/builds/523770406
>
>
> The following changes since commit 6c5f8dd540d7a8eff244d4c27a09451ca12c8d20:
>
> Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-21
> 19:00:04 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-24apr19
>
> for you to fetch changes up to 8781d04f422e110fef864dd849085054fe5b0e65:
>
> pci: pci.h: add missing maskbit (2019-04-23 20:26:43 -0600)
>
Applied to u-boot/master, 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/20190425/e8a9ee15/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-04-24 15:22 Simon Glass
2019-04-25 11:09 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-04-24 15:22 UTC (permalink / raw)
To: u-boot
Hi Tom,
Build/test:
https://travis-ci.org/sglass68/u-boot/builds/523770406
The following changes since commit 6c5f8dd540d7a8eff244d4c27a09451ca12c8d20:
Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-21
19:00:04 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-24apr19
for you to fetch changes up to 8781d04f422e110fef864dd849085054fe5b0e65:
pci: pci.h: add missing maskbit (2019-04-23 20:26:43 -0600)
----------------------------------------------------------------
Various minor sandbox iumprovements
Fixes for tracing with sandbox
Refactoring for boot_get_fdt()
----------------------------------------------------------------
Christoph Muellner (1):
common: command: Add command execution tracer.
Eugeniu Rosca (5):
fdt: boot_get_fdt: remove redundant zeroing out
fdt: boot_get_fdt: really boot w/o FDT when "goto no_fdt"
fdt: boot_get_fdt: simplify no_fdt handling (non-functional)
fdt: boot_get_fdt: android: compress handling (non-functional)
fdt: boot_get_fdt: android: use ENV 'fdtaddr' as fallback
Lukas Auer (1):
simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver
Ramon Fried (1):
pci: pci.h: add missing maskbit
Simon Glass (13):
sandbox: Improve debugging in initcall_run_list()
sandbox: Correct maths in allocation routines
sandbox: Drop the printf() in setup_ram_buf()
sandbox: Move pre-console buffer out of the way of tracing
bootstage: Allow calling bootstage_mark() before bootstage_init()
sandbox: Increase the early-trace-buffer size
initcall: Drop use of header files
div64: Use kernel types
div64: Don't instrument the division function
trace: Tidy up error returns
Convert CONFIG_TRACE to Kconfig
Convert CONFIG_TRACE_BUFFER_SIZE et al to Kconfig
sandbox: Enable the 'trace' command when tracing is used
Stefan Roese (1):
dm: core: Change platform specific translation-offset handling
Thierry Reding (1):
fdtdec: Use fdt_setprop_u32() for fdtdec_set_phandle()
arch/arm/mach-mvebu/Kconfig | 1 +
arch/arm/mach-mvebu/spl.c | 12 +++++++---
arch/sandbox/cpu/os.c | 59
+++++++++++++++++++++++++++++++++++++++++--------
arch/sandbox/cpu/start.c | 16 +++++++++-----
arch/sandbox/include/asm/global_data.h | 1 +
board/sandbox/README.sandbox | 46
+++++++++++++++++++++++++++++++++++++++
cmd/Kconfig | 13 ++++++++++-
common/board_f.c | 2 +-
common/bootstage.c | 7 ++++++
common/command.c | 14 ++++++++++++
common/image-fdt.c | 33 ++++++++++++++--------------
configs/sandbox_defconfig | 2 +-
drivers/core/Kconfig | 9 ++++++++
drivers/core/fdtaddr.c | 9 +++++---
drivers/core/root.c | 21 ------------------
drivers/core/simple-bus.c | 1 +
include/asm-generic/global_data.h | 4 ++++
include/configs/sandbox.h | 4 ++--
include/div64.h | 70
+++++++++++++++++++++++++++++------------------------------
include/dm/fdtaddr.h | 21 ------------------
include/fdtdec.h | 5 ++++-
include/initcall.h | 19 +++++++++-------
include/os.h | 11 ++++++++++
include/pci.h | 1 +
lib/Kconfig | 57
++++++++++++++++++++++++++++++++++++++++++++++++
lib/div64.c | 20 +++++++++++------
lib/fdtdec.c | 7 ------
lib/trace.c | 17 ++++++++++-----
scripts/config_whitelist.txt | 5 -----
29 files changed, 335 insertions(+), 152 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-04-12 21:51 Simon Glass
@ 2019-04-14 3:59 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-04-14 3:59 UTC (permalink / raw)
To: u-boot
On Fri, Apr 12, 2019 at 03:51:52PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Build result at https://travis-ci.org/sglass68/u-boot/builds/519059521
>
>
> The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3:
>
> Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11
> 14:29:37 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-12apr19
>
> for you to fetch changes up to 73c02e5e4fc1ef53d06289232edd6cc52e3d73f6:
>
> fdt: Fix mkimage list to try every header type (2019-04-11 20:10:50 -0600)
>
Applied to u-boot/master, 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/20190413/22b2b331/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-04-12 21:51 Simon Glass
2019-04-14 3:59 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-04-12 21:51 UTC (permalink / raw)
To: u-boot
Hi Tom,
Build result at https://travis-ci.org/sglass68/u-boot/builds/519059521
The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3:
Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11
14:29:37 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-12apr19
for you to fetch changes up to 73c02e5e4fc1ef53d06289232edd6cc52e3d73f6:
fdt: Fix mkimage list to try every header type (2019-04-11 20:10:50 -0600)
----------------------------------------------------------------
fdtdec tests and improvements for carve-outs
pinctrl race-condition fix
various other fixes in sandbox, sound, mkimage, etc.
----------------------------------------------------------------
Christian Gmeiner (1):
dm: sound: make all functions static inline
Christoph Muellner (1):
dm: pinctrl: Remove obsolete function pinctrl_decode_pin_config_dm().
Eugeniu Rosca (1):
core: ofnode: Fix ASAN-reported stack-buffer-overflow in
of_get_address
Jordan Hand (1):
fdt: Fix mkimage list to try every header type
Michal Simek (1):
dm: Also remove interrupts property from SPL DT
Patrice Chotard (1):
dm: pinctrl: Avoid race condition on probe for UCLASS_PINCTRL
Patrick Delaunay (7):
dm: remove pre reloc properties in SPL and TPL device tree
dm: pinctrl: Skip gpio-controller node in pinconfig_post_bind()
syscon: update syscon_regmap_lookup_by_phandle
sysreset: use syscon_regmap_lookup_by_phandle
clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
dm: remove unused function dm_fdt_pre_reloc
Simon Glass (1):
cros: Expand the Chromium OS documentation
Thierry Reding (15):
fdt: Remove duplicate code
vsprintf: Support phys_addr_t specifier unconditionally
sandbox: Use correct phys_{addr, size}_t for PHYS_64BIT=y
sandbox: Properly print physical addresses
libfdt: Add phandle generation helper
fdtdec: Add cpu_to_fdt_{addr, size}() macros
fdtdec: Add fdt_{addr, size}_unpack() helpers
fdtdec: Implement fdtdec_set_phandle()
fdtdec: Implement fdtdec_add_reserved_memory()
fdtdec: Implement carveout support functions
fdtdec: Add Kconfig symbol for tests
fdtdec: test: Fix build warning
fdtdec: test: Use compound statement macros
fdtdec: test: Add carveout tests
sandbox: Enable fdtdec tests
.../devicetree/bindings/reserved-memory/reserved-memory.txt | 136
++++++++++++++
arch/sandbox/dts/test.dts | 3 +-
arch/sandbox/include/asm/sdl.h | 4 +-
arch/sandbox/include/asm/types.h | 12 +-
arch/sandbox/lib/pci_io.c | 2 +-
common/fdt_support.c | 6 -
configs/sandbox64_defconfig | 1 +
configs/sandbox_defconfig | 1 +
doc/README.chromium | 296
++++++++++++------------------
doc/README.chromium-chainload | 239
++++++++++++++++++++++++
drivers/clk/altera/clk-arria10.c | 3 +-
drivers/clk/at91/pmc.c | 2 +-
drivers/core/ofnode.c | 21
+--
drivers/core/syscon-uclass.c | 83
++++++---
drivers/core/util.c | 40
+---
drivers/pinctrl/pinctrl-uclass.c | 36
+---
drivers/sysreset/sysreset_syscon.c | 15 +-
dts/Kconfig | 8 +-
include/dm/pinctrl.h | 12 --
include/dm/util.h | 26
---
include/fdtdec.h | 169
+++++++++++++++++
lib/Kconfig | 4 +
lib/fdtdec.c | 225
+++++++++++++++++++++++
lib/fdtdec_test.c | 216
+++++++++++++++++-----
lib/libfdt/fdt_ro.c | 31
++++
lib/vsprintf.c | 2 +-
scripts/Makefile.lib | 1 +
scripts/dtc/libfdt/fdt_ro.c | 31
++++
scripts/dtc/libfdt/libfdt.h | 19 ++
scripts/dtc/libfdt/libfdt_env.h | 1 +
test/dm/syscon.c | 7 +
tools/mkimage.c | 23
++-
32 files changed, 1280 insertions(+), 395 deletions(-)
create mode 100644
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
create mode 100644 doc/README.chromium-chainload
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-02-10 9:27 Simon Glass
2019-02-10 9:28 ` Simon Glass
@ 2019-02-11 1:05 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-02-11 1:05 UTC (permalink / raw)
To: u-boot
On Sun, Feb 10, 2019 at 03:27:56AM -0600, Simon Glass wrote:
> Hi Tom,
>
> I thought I had already sent these but just noticed that I had not.
>
> The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756:
>
> Prepare v2019.04-rc1 (2019-02-07 21:32:19 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-10feb19
>
> for you to fetch changes up to afcd64579486e1745a3cb964bfe36267d90b4c3e:
>
> sound: Allow audio codecs to be used by other SoCs (2019-02-09 12:50:22 -0700)
>
Applied to u-boot/master, 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/20190210/c03b2398/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-02-10 9:28 ` Simon Glass
@ 2019-02-10 13:09 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2019-02-10 13:09 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Sun, 10 Feb 2019 at 10:28, Simon Glass <sjg@chromium.org> wrote:
>
> +Tom
>
> On Sun, 10 Feb 2019 at 03:27, Simon Glass <sjg@chromium.org> wrote:
> >
> > Hi Tom,
> >
> > I thought I had already sent these but just noticed that I had not.
> >
> > The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756:
Also the build result is here:
https://travis-ci.org/sglass68/u-boot/builds/491045229
[..]
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-02-10 9:28 UTC (permalink / raw)
To: u-boot
+Tom
On Sun, 10 Feb 2019 at 03:27, Simon Glass <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> I thought I had already sent these but just noticed that I had not.
>
> The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756:
>
> Prepare v2019.04-rc1 (2019-02-07 21:32:19 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-10feb19
>
> for you to fetch changes up to afcd64579486e1745a3cb964bfe36267d90b4c3e:
>
> sound: Allow audio codecs to be used by other SoCs (2019-02-09 12:50:22 -0700)
>
> ----------------------------------------------------------------
> Samsung sound patches (applied for Samsung maintainer)
> Common sound support
> buildman environment support
> of-platdata documentation improvements
>
> ----------------------------------------------------------------
> Chris Packham (1):
> buildman: fix typo
>
> Lokesh Vutla (3):
> Revert "power: regulator: Return success on attempt to disable
> an always-on regulator"
> power: regulator: Introduce regulator_set_enable_if_allowed api
> mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for
> enabling regulator
>
> Simon Glass (15):
> Convert CONFIG_BOARD_TYPES to Kconfig
> exynos: Drop duplicate 'model' line
> exynos: Convert to use CONFIG_BLK
> sound: Add a driver for max98088
> spring: Update sound to use max98088 codec
> spring: Update flashmap details
> samsung: Drop board_enable_audio_codec()
> samsung: mmc: Drop old MMC init code
> fdt: samsung: Drop unused fdt_compat_id values
> fdt: tegra: Drop COMPAT_AMS_AS3722
> buildman: Write the environment out to an 'env' file
> misc: Allow child devices
> sound: samsung: Fix 'regiter' typo
> sound: i2s: Tidy up a few comments
> sound: Allow audio codecs to be used by other SoCs
>
> Simon Goldschmidt (1):
> of-platdata: improve documentation
>
> arch/arm/dts/exynos5250-spring.dts | 77 ++++++---
> arch/arm/mach-exynos/Kconfig | 7 +
> arch/arm/mach-exynos/include/mach/mmc.h | 2 -
> arch/arm/mach-s5pc1xx/Kconfig | 2 +
> arch/arm/mach-s5pc1xx/Makefile | 1 +
> arch/arm/mach-s5pc1xx/pinmux.c | 20 +++
> board/samsung/common/board.c | 52 +------
> board/samsung/common/exynos5-dt.c | 29 ----
> common/Kconfig | 8 +
> configs/axs101_defconfig | 1 +
> configs/axs103_defconfig | 1 +
> configs/odroid-xu3_defconfig | 1 +
> configs/odroid_defconfig | 1 +
> configs/spring_defconfig | 1 +
> doc/driver-model/of-plat.txt | 31 ++--
> drivers/misc/misc-uclass.c | 3 +
> drivers/mmc/omap_hsmmc.c | 16 +-
> drivers/mmc/s5p_sdhci.c | 50 ------
> drivers/power/regulator/regulator-uclass.c | 13 +-
> drivers/sound/Kconfig | 14 +-
> drivers/sound/Makefile | 1 +
> drivers/sound/max98088.c | 424
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> drivers/sound/max98088.h | 192 +++++++++++++++++++++++
> drivers/sound/max98090.c | 7 -
> drivers/sound/max98095.c | 7 -
> drivers/sound/maxim_codec.c | 3 -
> drivers/sound/samsung-i2s.c | 16 +-
> drivers/sound/samsung_sound.c | 6 +-
> dts/Kconfig | 6 +-
> include/configs/axs10x.h | 5 -
> include/configs/hsdk.h | 5 -
> include/configs/odroid.h | 1 -
> include/configs/odroid_xu3.h | 1 -
> include/fdtdec.h | 7 -
> include/i2s.h | 11 +-
> include/power/regulator.h | 11 ++
> include/samsung/misc.h | 2 -
> lib/fdtdec.c | 7 -
> scripts/config_whitelist.txt | 1 -
> test/dm/regulator.c | 21 +++
> tools/buildman/builderthread.py | 3 +
> tools/buildman/control.py | 2 +-
> 42 files changed, 829 insertions(+), 240 deletions(-)
> create mode 100644 arch/arm/mach-s5pc1xx/pinmux.c
> create mode 100644 drivers/sound/max98088.c
> create mode 100644 drivers/sound/max98088.h
>
> Regards,
> SImon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-02-10 9:27 Simon Glass
2019-02-10 9:28 ` Simon Glass
2019-02-11 1:05 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2019-02-10 9:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
I thought I had already sent these but just noticed that I had not.
The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756:
Prepare v2019.04-rc1 (2019-02-07 21:32:19 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-10feb19
for you to fetch changes up to afcd64579486e1745a3cb964bfe36267d90b4c3e:
sound: Allow audio codecs to be used by other SoCs (2019-02-09 12:50:22 -0700)
----------------------------------------------------------------
Samsung sound patches (applied for Samsung maintainer)
Common sound support
buildman environment support
of-platdata documentation improvements
----------------------------------------------------------------
Chris Packham (1):
buildman: fix typo
Lokesh Vutla (3):
Revert "power: regulator: Return success on attempt to disable
an always-on regulator"
power: regulator: Introduce regulator_set_enable_if_allowed api
mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for
enabling regulator
Simon Glass (15):
Convert CONFIG_BOARD_TYPES to Kconfig
exynos: Drop duplicate 'model' line
exynos: Convert to use CONFIG_BLK
sound: Add a driver for max98088
spring: Update sound to use max98088 codec
spring: Update flashmap details
samsung: Drop board_enable_audio_codec()
samsung: mmc: Drop old MMC init code
fdt: samsung: Drop unused fdt_compat_id values
fdt: tegra: Drop COMPAT_AMS_AS3722
buildman: Write the environment out to an 'env' file
misc: Allow child devices
sound: samsung: Fix 'regiter' typo
sound: i2s: Tidy up a few comments
sound: Allow audio codecs to be used by other SoCs
Simon Goldschmidt (1):
of-platdata: improve documentation
arch/arm/dts/exynos5250-spring.dts | 77 ++++++---
arch/arm/mach-exynos/Kconfig | 7 +
arch/arm/mach-exynos/include/mach/mmc.h | 2 -
arch/arm/mach-s5pc1xx/Kconfig | 2 +
arch/arm/mach-s5pc1xx/Makefile | 1 +
arch/arm/mach-s5pc1xx/pinmux.c | 20 +++
board/samsung/common/board.c | 52 +------
board/samsung/common/exynos5-dt.c | 29 ----
common/Kconfig | 8 +
configs/axs101_defconfig | 1 +
configs/axs103_defconfig | 1 +
configs/odroid-xu3_defconfig | 1 +
configs/odroid_defconfig | 1 +
configs/spring_defconfig | 1 +
doc/driver-model/of-plat.txt | 31 ++--
drivers/misc/misc-uclass.c | 3 +
drivers/mmc/omap_hsmmc.c | 16 +-
drivers/mmc/s5p_sdhci.c | 50 ------
drivers/power/regulator/regulator-uclass.c | 13 +-
drivers/sound/Kconfig | 14 +-
drivers/sound/Makefile | 1 +
drivers/sound/max98088.c | 424
++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/sound/max98088.h | 192 +++++++++++++++++++++++
drivers/sound/max98090.c | 7 -
drivers/sound/max98095.c | 7 -
drivers/sound/maxim_codec.c | 3 -
drivers/sound/samsung-i2s.c | 16 +-
drivers/sound/samsung_sound.c | 6 +-
dts/Kconfig | 6 +-
include/configs/axs10x.h | 5 -
include/configs/hsdk.h | 5 -
include/configs/odroid.h | 1 -
include/configs/odroid_xu3.h | 1 -
include/fdtdec.h | 7 -
include/i2s.h | 11 +-
include/power/regulator.h | 11 ++
include/samsung/misc.h | 2 -
lib/fdtdec.c | 7 -
scripts/config_whitelist.txt | 1 -
test/dm/regulator.c | 21 +++
tools/buildman/builderthread.py | 3 +
tools/buildman/control.py | 2 +-
42 files changed, 829 insertions(+), 240 deletions(-)
create mode 100644 arch/arm/mach-s5pc1xx/pinmux.c
create mode 100644 drivers/sound/max98088.c
create mode 100644 drivers/sound/max98088.h
Regards,
SImon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-01-15 15:57 Simon Glass
@ 2019-01-16 17:11 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2019-01-16 17:11 UTC (permalink / raw)
To: u-boot
On Tue, Jan 15, 2019 at 08:57:23AM -0700, Simon Glass wrote:
> Hi Tom,
>
> https://travis-ci.org/sglass68/u-boot/builds
>
> The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff:
>
> Prepare v2019.01 (2019-01-14 17:02:36 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-15jan19
>
> for you to fetch changes up to f51f6715a5013f37620c38f0430e21d4736e235a:
>
> lib: fdtdec: fdtdec_get_addr_size_fixed remove checks (2019-01-14
> 17:47:20 -0700)
>
Applied to u-boot/master, 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/20190116/f1ac62c7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-01-15 15:57 Simon Glass
2019-01-16 17:11 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-01-15 15:57 UTC (permalink / raw)
To: u-boot
Hi Tom,
https://travis-ci.org/sglass68/u-boot/builds
The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff:
Prepare v2019.01 (2019-01-14 17:02:36 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-15jan19
for you to fetch changes up to f51f6715a5013f37620c38f0430e21d4736e235a:
lib: fdtdec: fdtdec_get_addr_size_fixed remove checks (2019-01-14
17:47:20 -0700)
----------------------------------------------------------------
Fix recent changes to serial API for driver model
Buildman clang support and a few fixes
Small fixes to 'dm tree' and regmap test
Improve sandbox build compatibility
A few other minor fixes
----------------------------------------------------------------
Christian GMEINER (1):
sandbox: add memset_io(..), memcpy_fromio(..) and memcpy_toio(..)
Heinrich Schuchardt (1):
sandbox: i2c_emul_find() No emulators for device 'rtc at 43'
Keerthy (1):
lib: fdtdec: fdtdec_get_addr_size_fixed remove checks
Sekhar Nori (1):
common: fdt_support: print hexadecimal numbers in debug
Simon Glass (16):
buildman: Drop comment about Ctrl-C problem
dm: Tidy up 'dm tree' output when there are many devices
test: dm: regmap: Fix the long test delay
buildman: Deal nicely with invalid build-status file
sandbox: Correct SDL build flags
efi_loader: Add a wchar_t cast in efi_file_open()
log: Check printf() arguments
buildman: Add support for building with clang
travis: Use buildman for building with clang
net: Fix error handling in sb_eth_raw_ofdata_to_platdata()
buildman: Fix tabs in GetWrapper()
serial: Move new functions to serial.h
dm: serial: Adjust serial_getconfig() to use proper API
dm: serial: Adjust serial_setconfig() to use proper API
dm: serial: Adjust serial_getinfo() to use proper API
dm: serial: Tidy up header file comments
.travis.yml | 13 +++----------
arch/sandbox/config.mk | 2 --
arch/sandbox/cpu/sdl.c | 2 +-
arch/sandbox/dts/sandbox.dts | 10 ++++------
arch/sandbox/dts/sandbox64.dts | 6 ++++--
arch/sandbox/include/asm/io.h | 12 ++++++++++++
arch/x86/lib/acpi_table.c | 12 ++++++++----
common/fdt_support.c | 4 ++--
drivers/core/dump.c | 4 ++--
drivers/net/sandbox-raw.c | 9 ++++-----
drivers/serial/serial-uclass.c | 27 +++++++++------------------
include/common.h | 5 -----
include/log.h | 3 ++-
include/regmap.h | 14 +++++++++++++-
include/serial.h | 38 +++++++++++++++++++++++++++++++++++---
lib/efi_loader/efi_file.c | 4 ++--
lib/fdtdec.c | 10 ----------
test/dm/regmap.c | 7 ++++---
test/dm/serial.c | 19 +++++++++++--------
test/py/tests/test_bind.py | 3 ++-
tools/buildman/README | 12 ++++++++++--
tools/buildman/builderthread.py | 8 +++++++-
tools/buildman/cmdline.py | 2 ++
tools/buildman/control.py | 2 +-
tools/buildman/toolchain.py | 42 ++++++++++++++++++++++++++++++++++++------
25 files changed, 174 insertions(+), 96 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-01-05 4:59 ` Tom Rini
@ 2019-01-08 0:38 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2019-01-08 0:38 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Fri, 4 Jan 2019 at 22:00, Tom Rini <trini@konsulko.com> wrote:
>
> On Fri, Jan 04, 2019 at 01:47:08PM -0700, Simon Glass wrote:
>
> > Hi Tom,
> >
> > https://travis-ci.org/sglass68/u-boot/builds/474968097
> >
> >
> > The following changes since commit f97c49d6a2f504d0f0a8aab37c67aa314e006250:
> >
> > Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-01-01
> > 19:55:05 -0500)
> >
> > are available in the Git repository at:
> >
> > git://git.denx.de/u-boot-dm.git tags/dm-pull-4jan19
> >
> > for you to fetch changes up to 1b4770dfe03b5dd1dfd2a6076c4c85ee566e360a:
> >
> > sandbox: Correct SDL build flags (2019-01-03 11:06:07 -0700)
>
> So, the clang switch doesn't catch warnings anymore. While travis is
> clean, my local hand-build shows:
> /home/trini/u-boot/u-boot/lib/efi_loader/efi_file.c:224:61: warning: format specifies type 'wchar_t *' (aka 'unsigned short *') but the argument has type 's16 *' (aka 'short *') [-Wformat]
> EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, file_name,
> ~~~ ^~~~~~~~~
> /home/trini/u-boot/u-boot/include/efi_loader.h:40:15: note: expanded from macro 'EFI_ENTRY'
> __func__, ##__VA_ARGS__); \
> ^~~~~~~~~~~
> /home/trini/u-boot/u-boot/include/log.h:164:28: note: expanded from macro 'debug'
> debug_cond(_DEBUG, fmt, ##args)
> ^~~~
> /home/trini/u-boot/u-boot/include/log.h:144:41: note: expanded from macro 'debug_cond'
> log(LOG_CATEGORY, LOGL_DEBUG, fmt, ##args); \
> ^~~~
> /home/trini/u-boot/u-boot/include/log.h:121:25: note: expanded from macro 'log'
> pr_fmt(_fmt), ##_args); \
> ^~~~~
> 1 warning generated.
>
> So the log changes have a problem, and the buildman integration doesn't
> promote warnings right :(
Actually this uncovered a problem that I had not noticed before. I
sent a new series to take care of it. But given that today is release
day, I am unfortunately a little late!
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2019-01-04 20:47 Simon Glass
@ 2019-01-05 4:59 ` Tom Rini
2019-01-08 0:38 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2019-01-05 4:59 UTC (permalink / raw)
To: u-boot
On Fri, Jan 04, 2019 at 01:47:08PM -0700, Simon Glass wrote:
> Hi Tom,
>
> https://travis-ci.org/sglass68/u-boot/builds/474968097
>
>
> The following changes since commit f97c49d6a2f504d0f0a8aab37c67aa314e006250:
>
> Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-01-01
> 19:55:05 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-4jan19
>
> for you to fetch changes up to 1b4770dfe03b5dd1dfd2a6076c4c85ee566e360a:
>
> sandbox: Correct SDL build flags (2019-01-03 11:06:07 -0700)
So, the clang switch doesn't catch warnings anymore. While travis is
clean, my local hand-build shows:
/home/trini/u-boot/u-boot/lib/efi_loader/efi_file.c:224:61: warning: format specifies type 'wchar_t *' (aka 'unsigned short *') but the argument has type 's16 *' (aka 'short *') [-Wformat]
EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, file_name,
~~~ ^~~~~~~~~
/home/trini/u-boot/u-boot/include/efi_loader.h:40:15: note: expanded from macro 'EFI_ENTRY'
__func__, ##__VA_ARGS__); \
^~~~~~~~~~~
/home/trini/u-boot/u-boot/include/log.h:164:28: note: expanded from macro 'debug'
debug_cond(_DEBUG, fmt, ##args)
^~~~
/home/trini/u-boot/u-boot/include/log.h:144:41: note: expanded from macro 'debug_cond'
log(LOG_CATEGORY, LOGL_DEBUG, fmt, ##args); \
^~~~
/home/trini/u-boot/u-boot/include/log.h:121:25: note: expanded from macro 'log'
pr_fmt(_fmt), ##_args); \
^~~~~
1 warning generated.
So the log changes have a problem, and the buildman integration doesn't
promote warnings right :(
--
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/20190104/f0809d16/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2019-01-04 20:47 Simon Glass
2019-01-05 4:59 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2019-01-04 20:47 UTC (permalink / raw)
To: u-boot
Hi Tom,
https://travis-ci.org/sglass68/u-boot/builds/474968097
The following changes since commit f97c49d6a2f504d0f0a8aab37c67aa314e006250:
Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-01-01
19:55:05 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-4jan19
for you to fetch changes up to 1b4770dfe03b5dd1dfd2a6076c4c85ee566e360a:
sandbox: Correct SDL build flags (2019-01-03 11:06:07 -0700)
----------------------------------------------------------------
Buildman clang support and a few fixes
Small fixes to 'dm tree' and regmap test
Improve sandbox build compatibility
----------------------------------------------------------------
Christian GMEINER (1):
sandbox: add memset_io(..), memcpy_fromio(..) and memcpy_toio(..)
Sekhar Nori (1):
common: fdt_support: print hexadecimal numbers in debug
Simon Glass (8):
log: Check printf() arguments
buildman: Drop comment about Ctrl-C problem
buildman: Add support for building with clang
travis: Use buildman for building with clang
dm: Tidy up 'dm tree' output when there are many devices
test: dm: regmap: Fix the long test delay
buildman: Deal nicely with invalid build-status file
sandbox: Correct SDL build flags
.travis.yml | 13 +++----------
arch/sandbox/config.mk | 2 --
arch/sandbox/cpu/sdl.c | 2 +-
arch/sandbox/include/asm/io.h | 12 ++++++++++++
common/fdt_support.c | 4 ++--
drivers/core/dump.c | 4 ++--
include/log.h | 3 ++-
include/regmap.h | 14 +++++++++++++-
test/dm/regmap.c | 7 ++++---
test/py/tests/test_bind.py | 3 ++-
tools/buildman/README | 12 ++++++++++--
tools/buildman/builderthread.py | 7 ++++++-
tools/buildman/cmdline.py | 2 ++
tools/buildman/control.py | 2 +-
tools/buildman/toolchain.py | 18 ++++++++++++++----
15 files changed, 74 insertions(+), 31 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-14 15:43 Simon Glass
@ 2018-12-15 14:27 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-12-15 14:27 UTC (permalink / raw)
To: u-boot
On Fri, Dec 14, 2018 at 08:43:09AM -0700, Simon Glass wrote:
> Hi Tom,
>
> See here (the one failure seems to be a network error)
> https://travis-ci.org/sglass68/u-boot/builds/467777333
Those are annoying and I wish it would auto-restart those jobs since it
should be able to catch that as the failure most of the time. You can
restart individual tasks BTW, I do that as needed.
>
>
> The following changes since commit d117d8f19b0625f88309e47a8a32c2faa384dddc:
>
> Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-12-13
> 09:36:55 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec18
>
> for you to fetch changes up to f987177db9c988142032ed8142a093cce2378a90:
>
> dm: sound: Use the correct number of channels for sound (2018-12-13
> 16:37:10 -0700)
>
Applied to u-boot/master, 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/20181215/874a35f7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-12-14 15:43 Simon Glass
2018-12-15 14:27 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-12-14 15:43 UTC (permalink / raw)
To: u-boot
Hi Tom,
See here (the one failure seems to be a network error)
https://travis-ci.org/sglass68/u-boot/builds/467777333
The following changes since commit d117d8f19b0625f88309e47a8a32c2faa384dddc:
Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-12-13
09:36:55 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec18
for you to fetch changes up to f987177db9c988142032ed8142a093cce2378a90:
dm: sound: Use the correct number of channels for sound (2018-12-13
16:37:10 -0700)
----------------------------------------------------------------
Complete conversion of sound to driver model
----------------------------------------------------------------
Simon Glass (40):
sandbox: Increase the pre-relocation memory
snow: Expand U-Boot size
dm: sound: samsung: Make local function static
dm: sound: Rename en_sound_codec to sound_codec
dm: sound: Drop unused pre-device-tree code
dm: sound: samsung: Rename i2stx_info to samsung_i2s_priv
dm: sound: Drop codec_type
dm: sound: wm8994: Pass private data to internal functions
dm: sound: max98095: Pass private data to internal functions
dm: sound: wm8994: Create a new common init function
dm: sound: wm899c: Split out interface setup code
dm: sound: max98095: Split out interface setup code
dm: sound: wm8994: Drop global i2c-address variable
dm: sound: max98095: Drop global i2c-address variable
dm: sound: wm8994: Drop g_codec_info and g_wm8994_info
dm: sound: max98095: Drop g_codec_info and g_max98095_info
dm: sound: wm8994: Drop wm8994_i2c_init()
dm: sound: Fix up header ordering
dm: sound: exynos: Correct codec bus addresses
dm: sound: Create an option to use driver model for sound
dm: sound: Rename samsung_i2s_priv to i2s_uc_priv
dm: sound: Create a uclass for audio codecs
dm: sound: Create a uclass for i2s
dm: sandbox: Update sound to use two buffers
dm: sound: Create a uclass for sound
dm: core: Add a function to read into a unsigned int
dm: sound: Start i2c IDs from 0
dm: sound: Add conversion to driver model
exynos: Add proid_is_exynos542x() for common 542x
exynos: Add support for exynos5420 i2s pinmux
dm: sound: Move common code out of maxim98095
dm: sound: exynos: Add support for max98090
dm: exynos: sound: Convert to use driver model
dm: sandbox: sound: Convert to use driver model
dm: exynos: Drop CONFIG_DM_I2C_COMPAT
dm: sound: Complete migration to driver model
dm: sound: Fix license headers
dm: sound: max98095: Tidy up error codes
dm: sandbox: Allow selection of sample rate and channels
dm: sound: Use the correct number of channels for sound
Kconfig | 2 +
arch/Kconfig | 1 +
arch/arm/dts/exynos5250-smdk5250.dts | 21 ++++-
arch/arm/dts/exynos5250-snow.dts | 25 ++++--
arch/arm/dts/exynos5250-spring.dts | 24 +++++-
arch/arm/dts/exynos5250.dtsi | 15 ++--
arch/arm/dts/exynos5420-peach-pit.dts | 24 +++++-
arch/arm/dts/exynos5420-smdk5420.dts | 21 ++++-
arch/arm/dts/exynos54xx.dtsi | 14 +++
arch/arm/dts/exynos5800-peach-pi.dts | 24 +++++-
arch/arm/mach-exynos/clock.c | 31 +++++--
arch/arm/mach-exynos/clock_init_exynos5.c | 2 +-
arch/arm/mach-exynos/common_setup.h | 4 +-
arch/arm/mach-exynos/include/mach/clock.h | 3 +
arch/arm/mach-exynos/include/mach/cpu.h | 4 +-
arch/arm/mach-exynos/include/mach/gpio.h | 4 +-
arch/arm/mach-exynos/pinmux.c | 19 ++++-
arch/arm/mach-exynos/power.c | 2 +-
arch/sandbox/cpu/sdl.c | 124 ++++++++++++++++++---------
arch/sandbox/dts/sandbox.dts | 21 +++++
arch/sandbox/dts/test.dts | 23 +++++
arch/sandbox/include/asm/sdl.h | 19 +++--
arch/sandbox/include/asm/sound.h | 13 ---
arch/sandbox/include/asm/test.h | 40 +++++++++
cmd/sound.c | 15 +++-
configs/peach-pi_defconfig | 3 +-
configs/peach-pit_defconfig | 3 +-
configs/sandbox64_defconfig | 1 -
configs/sandbox_defconfig | 1 -
configs/sandbox_flattree_defconfig | 1 -
configs/sandbox_noblk_defconfig | 1 -
configs/sandbox_spl_defconfig | 1 -
configs/smdk5250_defconfig | 1 -
configs/smdk5420_defconfig | 1 -
configs/snow_defconfig | 1 -
configs/spring_defconfig | 1 -
drivers/core/read.c | 23 +++++
drivers/sound/Kconfig | 8 ++
drivers/sound/Makefile | 8 +-
drivers/sound/codec-uclass.c | 26 ++++++
drivers/sound/i2s-uclass.c | 25 ++++++
drivers/sound/max98090.c | 377
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/sound/max98090.h | 663
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/sound/max98095.c | 411
++++++++++++++++++++++++++++++++---------------------------------------------------------
drivers/sound/max98095.h | 9 +-
drivers/sound/maxim_codec.c | 87 +++++++++++++++++++
drivers/sound/maxim_codec.h | 67 +++++++++++++++
drivers/sound/samsung-i2s.c | 157
++++++++++++++++++++++++++--------
drivers/sound/samsung_sound.c | 104 +++++++++++++++++++++++
drivers/sound/sandbox.c | 180
+++++++++++++++++++++++++++++++++++++--
drivers/sound/sound-i2s.c | 208
---------------------------------------------
drivers/sound/sound-uclass.c | 127 ++++++++++++++++++++++++++++
drivers/sound/sound.c | 11 ++-
drivers/sound/wm8994.c | 470
+++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------
drivers/sound/wm8994.h | 2 +-
include/audio_codec.h | 48 +++++++++++
include/dm/read.h | 58 +++++++++++++
include/dm/uclass-id.h | 3 +
include/i2s.h | 36 ++++++--
include/sound.h | 88 +++++++++++++------
test/dm/Makefile | 3 +
test/dm/audio.c | 34 ++++++++
test/dm/i2s.c | 32 +++++++
test/dm/sound.c | 34 ++++++++
test/dm/test-fdt.c | 35 ++++++++
65 files changed, 2916 insertions(+), 928 deletions(-)
delete mode 100644 arch/sandbox/include/asm/sound.h
create mode 100644 drivers/sound/codec-uclass.c
create mode 100644 drivers/sound/i2s-uclass.c
create mode 100644 drivers/sound/max98090.c
create mode 100644 drivers/sound/max98090.h
create mode 100644 drivers/sound/maxim_codec.c
create mode 100644 drivers/sound/maxim_codec.h
create mode 100644 drivers/sound/samsung_sound.c
delete mode 100644 drivers/sound/sound-i2s.c
create mode 100644 drivers/sound/sound-uclass.c
create mode 100644 include/audio_codec.h
create mode 100644 test/dm/audio.c
create mode 100644 test/dm/i2s.c
create mode 100644 test/dm/sound.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-11 1:04 ` Simon Glass
@ 2018-12-11 4:01 ` Keerthy
0 siblings, 0 replies; 300+ messages in thread
From: Keerthy @ 2018-12-11 4:01 UTC (permalink / raw)
To: u-boot
On Tuesday 11 December 2018 06:34 AM, Simon Glass wrote:
> Hi,
>
> On Tue, 4 Dec 2018 at 21:10, Keerthy <j-keerthy@ti.com> wrote:
>>
>>
>>
>> On Friday 30 November 2018 08:25 PM, Tom Rini wrote:
>>> On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> 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-29nov18
>>>>
>>>> for you to fetch changes up to 5ca3927deff30458f5d5b384f6699f70b9509315:
>>>>
>>>> core: ofnode: Add ofnode_get_addr_size_index (2018-11-29 09:30:06 -0700)
>>>>
>>>> Results here:
>>>>
>>>> https://travis-ci.org/sglass68/u-boot/builds/461363284
>>>
>>> NAK. I don't know _why_ but I can confirm that both within travis:
>>> https://travis-ci.org/trini/u-boot/jobs/461494951
>>> and then locally when I installed clang-7.0 from https://apt.llvm.org/ I
>>> see that:
>>> 5ca3927deff30458f5d5b384f6699f70b9509315 is the first bad commit
>>> commit 5ca3927deff30458f5d5b384f6699f70b9509315
>>> Author: Keerthy <j-keerthy@ti.com>
>>> Date: Mon Nov 19 11:44:48 2018 +0530
>>>
>>> core: ofnode: Add ofnode_get_addr_size_index
>>>
>>> is totally breaking test.py on sandbox. It still starts and I don't see
>>> the obvious whats wrong, but I've bisected twice to this same commit.
>>>
>>
>> Okay i am not sure either what is going wrong there. I will take a look at this.
>
> I am worried that this might be a unicode problem.
>
> - build outputs error messages with backquotes, UTF-8, etc.
> - pipe from builder thread to buildman breaks things into 4KB chunks
> - sometimes a UTF-8 char break across a 4KB boundary
> - I/O error results
>
> I suspect this because buildman's unicode handling is actually a bit
> broken - see how quotes come through in messages on some machines.
>
> But it might be something else entirely.
Adding Lokesh
Hey Lokesh,
I am yet to dig into this. Seems my patch is breaking test.py on sandbox and
hence it was not pulled.
Regards,
Keerthy
>
> Regards,
> Simon
>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-05 4:10 ` Keerthy
@ 2018-12-11 1:04 ` Simon Glass
2018-12-11 4:01 ` Keerthy
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-12-11 1:04 UTC (permalink / raw)
To: u-boot
Hi,
On Tue, 4 Dec 2018 at 21:10, Keerthy <j-keerthy@ti.com> wrote:
>
>
>
> On Friday 30 November 2018 08:25 PM, Tom Rini wrote:
> > On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote:
> >
> >> Hi Tom,
> >>
> >> 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-29nov18
> >>
> >> for you to fetch changes up to 5ca3927deff30458f5d5b384f6699f70b9509315:
> >>
> >> core: ofnode: Add ofnode_get_addr_size_index (2018-11-29 09:30:06 -0700)
> >>
> >> Results here:
> >>
> >> https://travis-ci.org/sglass68/u-boot/builds/461363284
> >
> > NAK. I don't know _why_ but I can confirm that both within travis:
> > https://travis-ci.org/trini/u-boot/jobs/461494951
> > and then locally when I installed clang-7.0 from https://apt.llvm.org/ I
> > see that:
> > 5ca3927deff30458f5d5b384f6699f70b9509315 is the first bad commit
> > commit 5ca3927deff30458f5d5b384f6699f70b9509315
> > Author: Keerthy <j-keerthy@ti.com>
> > Date: Mon Nov 19 11:44:48 2018 +0530
> >
> > core: ofnode: Add ofnode_get_addr_size_index
> >
> > is totally breaking test.py on sandbox. It still starts and I don't see
> > the obvious whats wrong, but I've bisected twice to this same commit.
> >
>
> Okay i am not sure either what is going wrong there. I will take a look at this.
I am worried that this might be a unicode problem.
- build outputs error messages with backquotes, UTF-8, etc.
- pipe from builder thread to buildman breaks things into 4KB chunks
- sometimes a UTF-8 char break across a 4KB boundary
- I/O error results
I suspect this because buildman's unicode handling is actually a bit
broken - see how quotes come through in messages on some machines.
But it might be something else entirely.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-06 1:30 Simon Glass
@ 2018-12-06 14:03 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-12-06 14:03 UTC (permalink / raw)
To: u-boot
On Wed, Dec 05, 2018 at 06:30:48PM -0700, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a:
>
> Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-12-04
> 19:22:31 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-pull-5dec18
>
> for you to fetch changes up to b288cd9600724ad3a0e55c8786e70741dd13deae:
>
> x86: acpi: Generate SPCR table (2018-12-05 07:23:16 -0700)
>
>
> Travis here
>
> https://travis-ci.org/sglass68/u-boot/builds/463866708
>
>
Applied to u-boot/master, 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/20181206/2778e7a3/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-12-06 1:30 Simon Glass
2018-12-06 14:03 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-12-06 1:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a:
Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-12-04
19:22:31 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-pull-5dec18
for you to fetch changes up to b288cd9600724ad3a0e55c8786e70741dd13deae:
x86: acpi: Generate SPCR table (2018-12-05 07:23:16 -0700)
Travis here
https://travis-ci.org/sglass68/u-boot/builds/463866708
----------------------------------------------------------------
Minor sandbox enhancements / fixes
tpm improvements to clear up v1/v2 support
buildman toolchain fixes
New serial options to set/get config
----------------------------------------------------------------
Andy Shevchenko (7):
dm: serial: Add ->getconfig() callback
dm: serial: Introduce ->getinfo() callback
serial: ns16550: Group reg_* members of ns16550_platdata
serial: ns16550: Read reg-io-width from device tree
serial: ns16550: Provide ->getinfo() implementation
x86: acpi: Add SPCR table description
x86: acpi: Generate SPCR table
Patrick Delaunay (1):
power: regulator: denied disable on always-on regulator
Philipp Tomsich (2):
dm: rtc: Fix function name in comment
dm: (re)sort uclass ids alphabetically
Simon Glass (19):
sandbox: Fix up the debug message for the image filename
sandbox: Check the filename in jump_to_image_no_args()
sandbox: physmem: Use mapping to support sandbox
sandbox: net: Correct name copy in eth_raw_bus_post_bind()
sandbox: sysreset: Update to support power-on reset
sandbox: Zero the ram buffer on startup
sandbox: Use 'extras' to specify 'head' files
tpm: Remove use of build-time TPM versions
tpm: Export tpm_clear_and_reenable()
tpm: Add non-volatile index attributes needed for v2
tpm: Fix a logging warning in unpack_byte_string()
cros: Correct a printf() string and comment
cros_ec: Adjust to use v1 vboot context only
input: i8042: Use remove() instead of exported functions
video: backlight: Fix log message in enable_sequence()
time: Update mdelay() to delay in one large chunk
Add UINT32_MAX and UINT64_MAX
Add inttypes.h
binman: Add myself as maintainer
Trevor Woerner (2):
buildman/toolchain.py: fix toolchain directory
buildman/toolchain.py: handle inconsistent tarball names
Álvaro Fernández Rojas (1):
dm: core: add functions to get/remap I/O addresses by name
MAINTAINERS | 5 +
arch/sandbox/Makefile | 4 +-
arch/sandbox/config.mk | 3 +-
arch/sandbox/cpu/Makefile | 5 +-
arch/sandbox/cpu/os.c | 2 +-
arch/sandbox/cpu/spl.c | 8 +-
arch/sandbox/cpu/start.c | 7 +
arch/sandbox/dts/test.dts | 1 +
arch/sandbox/include/asm/state.h | 1 +
arch/x86/include/asm/acpi_table.h | 51 ++++++
arch/x86/lib/acpi_table.c | 118 +++++++++++++
drivers/core/fdtaddr.c | 10 ++
drivers/core/read.c | 20 +++
drivers/input/i8042.c | 35 ++--
drivers/misc/cros_ec.c | 4 +-
drivers/misc/cros_ec_sandbox.c | 10 +-
drivers/net/sandbox-raw-bus.c | 2 +-
drivers/power/regulator/regulator-uclass.c | 5 +
drivers/serial/ns16550.c | 23 ++-
drivers/serial/sandbox.c | 34 ++++
drivers/serial/serial-uclass.c | 37 ++++
drivers/sysreset/sysreset_sandbox.c | 8 +-
drivers/video/pwm_backlight.c | 2 +-
include/common.h | 4 +
include/dm/fdtaddr.h | 13 ++
include/dm/read.h | 36 ++++
include/dm/uclass-id.h | 8 +-
include/i8042.h | 15 --
include/inttypes.h | 271 +++++++++++++++++++++++++++++
include/linux/delay.h | 3 +-
include/linux/kernel.h | 4 +
include/ns16550.h | 4 +-
include/rtc.h | 2 +-
include/serial.h | 66 ++++++-
include/tpm-common.h | 19 ++
include/tpm-v2.h | 33 ++++
lib/physmem.c | 4 +-
lib/tpm-common.c | 9 +-
lib/tpm-v1.c | 22 +--
test/dm/serial.c | 12 ++
test/dm/sysreset.c | 4 +-
test/dm/test-fdt.c | 82 ++++++++-
tools/buildman/toolchain.py | 8 +-
43 files changed, 935 insertions(+), 79 deletions(-)
create mode 100644 include/inttypes.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-30 14:55 ` Tom Rini
@ 2018-12-05 4:10 ` Keerthy
2018-12-11 1:04 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Keerthy @ 2018-12-05 4:10 UTC (permalink / raw)
To: u-boot
On Friday 30 November 2018 08:25 PM, Tom Rini wrote:
> On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote:
>
>> Hi Tom,
>>
>> 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-29nov18
>>
>> for you to fetch changes up to 5ca3927deff30458f5d5b384f6699f70b9509315:
>>
>> core: ofnode: Add ofnode_get_addr_size_index (2018-11-29 09:30:06 -0700)
>>
>> Results here:
>>
>> https://travis-ci.org/sglass68/u-boot/builds/461363284
>
> NAK. I don't know _why_ but I can confirm that both within travis:
> https://travis-ci.org/trini/u-boot/jobs/461494951
> and then locally when I installed clang-7.0 from https://apt.llvm.org/ I
> see that:
> 5ca3927deff30458f5d5b384f6699f70b9509315 is the first bad commit
> commit 5ca3927deff30458f5d5b384f6699f70b9509315
> Author: Keerthy <j-keerthy@ti.com>
> Date: Mon Nov 19 11:44:48 2018 +0530
>
> core: ofnode: Add ofnode_get_addr_size_index
>
> is totally breaking test.py on sandbox. It still starts and I don't see
> the obvious whats wrong, but I've bisected twice to this same commit.
>
Okay i am not sure either what is going wrong there. I will take a look at this.
Thanks,
Keerthy
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-03 7:41 ` Simon Goldschmidt
@ 2018-12-03 11:39 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-12-03 11:39 UTC (permalink / raw)
To: u-boot
Hi.
On Mon, 3 Dec 2018 at 00:42, Simon Goldschmidt
<simon.k.r.goldschmidt@gmail.com> wrote:
>
> On Mon, Dec 3, 2018 at 8:27 AM Kever Yang <kever.yang@rock-chips.com> wrote:
> >
> > Hi Tom,
> >
> > With this merge, my boards can't work correctly in SPL, the console
> > output is mess up.
> >
> > I have test on rk3229 and rk3399 boards, and finally I identify that
> > below patch is the root cause:
> >
> > 6f57c34473 serial: ns16550: fix debug uart putc called before init
>
> Henri Roosen reported this to me last week. The root cause seems to be
> that the ns16550 baudrate prescaler is read as 0 on his rk3399 board.
>
> He helped me try an additional fix but that didn't work either.
>
> So we can either try and fix this if it is only a problem for rockchip
> boards or revert the patch and I'll think of a different solution to
> fix this issue (debug uart putc called before init) for the socfpga
> platform.
>
> I still think it would be good to fix this globally: there's nothing
> keeping us from accidentally adding putc code before the debug uart is
> initialized and this is something that should be detected, I think.
I think it would be better to have this discussion on the patch rather
than the pull request.
Regards,
Simon
[..]
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-12-03 7:27 ` Kever Yang
@ 2018-12-03 7:41 ` Simon Goldschmidt
2018-12-03 11:39 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Simon Goldschmidt @ 2018-12-03 7:41 UTC (permalink / raw)
To: u-boot
On Mon, Dec 3, 2018 at 8:27 AM Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Tom,
>
> With this merge, my boards can't work correctly in SPL, the console
> output is mess up.
>
> I have test on rk3229 and rk3399 boards, and finally I identify that
> below patch is the root cause:
>
> 6f57c34473 serial: ns16550: fix debug uart putc called before init
Henri Roosen reported this to me last week. The root cause seems to be
that the ns16550 baudrate prescaler is read as 0 on his rk3399 board.
He helped me try an additional fix but that didn't work either.
So we can either try and fix this if it is only a problem for rockchip
boards or revert the patch and I'll think of a different solution to
fix this issue (debug uart putc called before init) for the socfpga
platform.
I still think it would be good to fix this globally: there's nothing
keeping us from accidentally adding putc code before the debug uart is
initialized and this is something that should be detected, I think.
Regards,
Simon
>
>
> Thanks,
> - Kever
> On 11/16/2018 09:45 PM, Tom Rini wrote:
> > On Thu, Nov 15, 2018 at 06:05:05PM -0800, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 11 October 2018 at 07:10, Tom Rini <trini@konsulko.com> wrote:
> >>> On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
> >>>
> >>>> Hi Tom,
> >>>>
> >>>> Here is my attempt at a signed pull request. I've brought in most of the
> >>>> outstanding dm patches. Please let me know if it looks OK. Do you have my
> >>>> public key?
> >>> Is it on the public key servers?
> >> Yes, here:
> >>
> >> https://pgp.mit.edu/pks/lookup?search=sjg%40chromium&op=index
> > So yes, it is working. On your latest PR:
> > $ git show --show-signature
> > commit 1d6edcbfed2af33c748f2beb399810a0441888da
> > merged tag 'pull-14nov18'
> > gpg: Signature made Wed 14 Nov 2018 08:07:43 PM EST using RSA key ID
> > 9008ADE6
> > gpg: Good signature from "Simon Glass <sjg@chromium.org>"
> > Merge: f6206f8587fc 4c6e27f63c88
> > Author: Tom Rini <trini@konsulko.com>
> > Date: Fri Nov 16 08:37:50 2018 -0500
> >
> > Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dm
> >
> > Thanks again!
> >
> >
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > https://lists.denx.de/listinfo/u-boot
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Kever Yang @ 2018-12-03 7:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
With this merge, my boards can't work correctly in SPL, the console
output is mess up.
I have test on rk3229 and rk3399 boards, and finally I identify that
below patch is the root cause:
6f57c34473 serial: ns16550: fix debug uart putc called before init
Thanks,
- Kever
On 11/16/2018 09:45 PM, Tom Rini wrote:
> On Thu, Nov 15, 2018 at 06:05:05PM -0800, Simon Glass wrote:
>> Hi Tom,
>>
>> On 11 October 2018 at 07:10, Tom Rini <trini@konsulko.com> wrote:
>>> On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Here is my attempt at a signed pull request. I've brought in most of the
>>>> outstanding dm patches. Please let me know if it looks OK. Do you have my
>>>> public key?
>>> Is it on the public key servers?
>> Yes, here:
>>
>> https://pgp.mit.edu/pks/lookup?search=sjg%40chromium&op=index
> So yes, it is working. On your latest PR:
> $ git show --show-signature
> commit 1d6edcbfed2af33c748f2beb399810a0441888da
> merged tag 'pull-14nov18'
> gpg: Signature made Wed 14 Nov 2018 08:07:43 PM EST using RSA key ID
> 9008ADE6
> gpg: Good signature from "Simon Glass <sjg@chromium.org>"
> Merge: f6206f8587fc 4c6e27f63c88
> Author: Tom Rini <trini@konsulko.com>
> Date: Fri Nov 16 08:37:50 2018 -0500
>
> Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dm
>
> Thanks again!
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-29 20:55 Simon Glass
@ 2018-11-30 14:55 ` Tom Rini
2018-12-05 4:10 ` Keerthy
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-11-30 14:55 UTC (permalink / raw)
To: u-boot
On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote:
> Hi Tom,
>
> 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-29nov18
>
> for you to fetch changes up to 5ca3927deff30458f5d5b384f6699f70b9509315:
>
> core: ofnode: Add ofnode_get_addr_size_index (2018-11-29 09:30:06 -0700)
>
> Results here:
>
> https://travis-ci.org/sglass68/u-boot/builds/461363284
NAK. I don't know _why_ but I can confirm that both within travis:
https://travis-ci.org/trini/u-boot/jobs/461494951
and then locally when I installed clang-7.0 from https://apt.llvm.org/ I
see that:
5ca3927deff30458f5d5b384f6699f70b9509315 is the first bad commit
commit 5ca3927deff30458f5d5b384f6699f70b9509315
Author: Keerthy <j-keerthy@ti.com>
Date: Mon Nov 19 11:44:48 2018 +0530
core: ofnode: Add ofnode_get_addr_size_index
is totally breaking test.py on sandbox. It still starts and I don't see
the obvious whats wrong, but I've bisected twice to this same commit.
--
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/20181130/4b842b8f/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-11-29 20:55 Simon Glass
2018-11-30 14:55 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-29 20:55 UTC (permalink / raw)
To: u-boot
Hi Tom,
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-29nov18
for you to fetch changes up to 5ca3927deff30458f5d5b384f6699f70b9509315:
core: ofnode: Add ofnode_get_addr_size_index (2018-11-29 09:30:06 -0700)
Results here:
https://travis-ci.org/sglass68/u-boot/builds/461363284
----------------------------------------------------------------
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
----------------------------------------------------------------
Baruch Siach (1):
ofnode: fix comment typo
Heiko Schocher (1):
cmd, fdt: add subcommand "get" to fdt header
Keerthy (2):
core: ofnode: Fix ofnode_get_addr_index function
core: ofnode: Add ofnode_get_addr_size_index
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 | 25 +++--
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 | 16 ++-
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 | 21 +---
lib/tpm-v1.c | 142 +++++++++++++------------
lib/tpm-v2.c | 60 ++++++-----
test/README | 6 +-
test/dm/i2c.c | 2 +-
test/dm/rtc.c | 9 +-
test/dm/test-fdt.c | 47 +++++++++
test/py/tests/test_fs/test_basic.py | 1 +
test/py/tests/test_fs/test_ext.py | 1 +
test/py/tests/test_fs/test_mkdir.py | 1 +
test/py/tests/test_fs/test_unlink.py | 1 +
test/run | 10 +-
71 files changed, 1305 insertions(+), 680 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-22 0:25 Simon Glass
@ 2018-11-24 3:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-11-24 3:13 UTC (permalink / raw)
To: u-boot
On Wed, Nov 21, 2018 at 05:25:59PM -0700, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit a3e1653ddeb02f39481eba572275016171e9670c:
>
> Merge git://git.denx.de/u-boot-marvell (2018-11-20 12:39:16 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-tg18
>
> for you to fetch changes up to a58986ca8b53d8c7a441397082f84edc7f47d19f:
>
> sf: Add a method to obtain the block-protect setting (2018-11-20
> 19:14:22 -0700)
>
> https://travis-ci.org/sglass68/u-boot/builds/457752510
>
Applied to u-boot/master, 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/20181123/8777ea5c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-11-22 0:25 Simon Glass
2018-11-24 3:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-22 0:25 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit a3e1653ddeb02f39481eba572275016171e9670c:
Merge git://git.denx.de/u-boot-marvell (2018-11-20 12:39:16 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-tg18
for you to fetch changes up to a58986ca8b53d8c7a441397082f84edc7f47d19f:
sf: Add a method to obtain the block-protect setting (2018-11-20
19:14:22 -0700)
https://travis-ci.org/sglass68/u-boot/builds/457752510
----------------------------------------------------------------
Various minor sandbox improvements
Better buildman warning handling
Misc other things
----------------------------------------------------------------
Baruch Siach (1):
fdt: restore board_fdt_blob_setup() declaration
Heinrich Schuchardt (3):
sandbox: remove stray DEBUG
sandbox: README: setting environment variables
sandbox: README: use setenv ethrotate no
Hiroyuki Yokoyama (1):
cmd: fdt: Fix fdt address information after the movement
Hou Zhiqiang (1):
dm/pci: Change the first CFG read to Vendor ID in enumeration
Liviu Dudau (1):
dm: core: Widen the dump tree to show more of the driver's name.
Marek Vasut (1):
fdt: Fix uncompress_blob() for U-Boot proper
Simon Glass (24):
buildman: Only print toolchain probing with -v
buildman: Detect dtc warnings
buildman: Rename the good, better, worse variables
buildman: Show boards with warning with w+
cros_ec: Use uint instead of u8 for parameters
cros_ec: Add error logging on a few commands
cros_ec: Fail if we cannot determine the flash burst size
cros_ec: Align uclass data to a cache boundary
cros_ec: Add new features for events and power
sandbox: tpm: Allow debugging of data packages
sandbox: log: Add a category for sandbox
sandbox: Add a function to read a host file
sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()
sandbox: Update some drivers to work in SPL/TPL
spl: Support bootstage, log, hash and early malloc in TPL
spl: lz4: Allow use of lz4 compression in SPL
binman: Add a way to enable debugging from the build
binman: Drop an unnecessary comma in blob handling
binman: Set the pathname correctly for ELF files
video: Update video_set_default_colors() to support invert
string: Include the config header
misc: Update read() and write() methods to return bytes xfered
test: sf: Add a simple SPI flash test
sf: Add a method to obtain the block-protect setting
Simon Goldschmidt (1):
dm: spi: prevent setting a speed of 0 Hz
Makefile | 6 +-
arch/arm/mach-stm32mp/cpu.c | 4 +-
arch/sandbox/cpu/cpu.c | 8 +-
arch/sandbox/cpu/os.c | 44 ++++++-
arch/sandbox/dts/sandbox.dts | 15 +++
arch/sandbox/include/asm/test.h | 8 ++
board/samsung/common/board.c | 10 +-
board/sandbox/README.sandbox | 20 +--
board/sandbox/sandbox.c | 9 +-
cmd/fdt.c | 2 +-
common/Kconfig | 35 ++++++
common/Makefile | 10 +-
common/cros_ec.c | 12 --
drivers/clk/clk_vexpress_osc.c | 4 +-
drivers/core/dump.c | 8 +-
drivers/misc/altera_sysid.c | 2 +-
drivers/misc/cros_ec.c | 370
++++++++++++++++++++++++++++++++++++++++++++++++++++---
drivers/misc/cros_ec_sandbox.c | 2 +-
drivers/misc/misc_sandbox.c | 4 +-
drivers/misc/rockchip-efuse.c | 2 +-
drivers/misc/stm32mp_fuse.c | 12 ++
drivers/mtd/spi/sandbox.c | 10 ++
drivers/mtd/spi/sf-uclass.c | 9 ++
drivers/mtd/spi/sf_internal.h | 3 +
drivers/mtd/spi/sf_probe.c | 8 ++
drivers/mtd/spi/spi_flash.c | 12 ++
drivers/pci/pci-uclass.c | 11 +-
drivers/spi/spi-uclass.c | 15 ++-
drivers/tpm/tpm_tis_sandbox.c | 6 +
drivers/video/vidconsole-uclass.c | 2 +-
drivers/video/video-uclass.c | 27 ++--
include/cros_ec.h | 89 +++++++++++++
include/fdtdec.h | 1 +
include/log.h | 1 +
include/misc.h | 8 +-
include/os.h | 14 +++
include/spi_flash.h | 27 ++++
include/video.h | 5 +-
lib/Kconfig | 8 ++
lib/Makefile | 2 +-
lib/fdtdec.c | 3 +-
lib/string.c | 1 +
test/dm/misc.c | 6 +-
test/dm/sf.c | 55 ++++++++-
test/py/tests/test_bind.py | 28 ++---
tools/binman/README | 6 +
tools/binman/etype/blob.py | 2 +-
tools/binman/etype/u_boot_elf.py | 5 +-
tools/buildman/builder.py | 41 +++---
tools/buildman/cmdline.py | 2 +-
tools/buildman/control.py | 2 +-
tools/buildman/test.py | 61 ++++++---
52 files changed, 909 insertions(+), 148 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-16 13:45 ` Tom Rini
@ 2018-11-16 18:26 ` Simon Glass
2018-12-03 7:27 ` Kever Yang
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-11-16 18:26 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 16 November 2018 at 05:45, Tom Rini <trini@konsulko.com> wrote:
> On Thu, Nov 15, 2018 at 06:05:05PM -0800, Simon Glass wrote:
>> Hi Tom,
>>
>> On 11 October 2018 at 07:10, Tom Rini <trini@konsulko.com> wrote:
>> > On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> Here is my attempt at a signed pull request. I've brought in most of
the
>> >> outstanding dm patches. Please let me know if it looks OK. Do you
have my
>> >> public key?
>> >
>> > Is it on the public key servers?
>>
>> Yes, here:
>>
>> https://pgp.mit.edu/pks/lookup?search=sjg%40chromium&op=index
>
> So yes, it is working. On your latest PR:
> $ git show --show-signature
> commit 1d6edcbfed2af33c748f2beb399810a0441888da
> merged tag 'pull-14nov18'
> gpg: Signature made Wed 14 Nov 2018 08:07:43 PM EST using RSA key ID
> 9008ADE6
> gpg: Good signature from "Simon Glass <sjg@chromium.org>"
> Merge: f6206f8587fc 4c6e27f63c88
> Author: Tom Rini <trini@konsulko.com>
> Date: Fri Nov 16 08:37:50 2018 -0500
>
> Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dm
>
> Thanks again!
OK that's good to see, thanks!
- SImon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-15 16:32 Simon Glass
2018-11-15 20:21 ` Simon Glass
@ 2018-11-16 13:45 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-11-16 13:45 UTC (permalink / raw)
To: u-boot
On Thu, Nov 15, 2018 at 08:32:30AM -0800, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
>
> Merge branch 'next' (2018-11-14 11:30:07 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-14nov18
>
> for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
>
> Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14
> 09:16:28 -0800)
>
Applied to u-boot/master, 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/20181116/ef54f5a7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
0 siblings, 2 replies; 300+ messages in thread
From: Tom Rini @ 2018-11-16 13:45 UTC (permalink / raw)
To: u-boot
On Thu, Nov 15, 2018 at 06:05:05PM -0800, Simon Glass wrote:
> Hi Tom,
>
> On 11 October 2018 at 07:10, Tom Rini <trini@konsulko.com> wrote:
> > On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
> >
> >> Hi Tom,
> >>
> >> Here is my attempt at a signed pull request. I've brought in most of the
> >> outstanding dm patches. Please let me know if it looks OK. Do you have my
> >> public key?
> >
> > Is it on the public key servers?
>
> Yes, here:
>
> https://pgp.mit.edu/pks/lookup?search=sjg%40chromium&op=index
So yes, it is working. On your latest PR:
$ git show --show-signature
commit 1d6edcbfed2af33c748f2beb399810a0441888da
merged tag 'pull-14nov18'
gpg: Signature made Wed 14 Nov 2018 08:07:43 PM EST using RSA key ID
9008ADE6
gpg: Good signature from "Simon Glass <sjg@chromium.org>"
Merge: f6206f8587fc 4c6e27f63c88
Author: Tom Rini <trini@konsulko.com>
Date: Fri Nov 16 08:37:50 2018 -0500
Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dm
Thanks again!
--
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/20181116/16a93771/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-11 14:10 ` Tom Rini
@ 2018-11-16 2:05 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-16 2:05 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 11 October 2018 at 07:10, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
>
>> Hi Tom,
>>
>> Here is my attempt at a signed pull request. I've brought in most of the
>> outstanding dm patches. Please let me know if it looks OK. Do you have my
>> public key?
>
> Is it on the public key servers?
Yes, here:
https://pgp.mit.edu/pks/lookup?search=sjg%40chromium&op=index
>
>>
>>
>> The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:
>>
>> Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19
>> -0400)
>>
>> are available in the Git repository at:
>>
>> git://git.denx.de/u-boot-dm.git tags/dm-9oct18
>>
>> for you to fetch changes up to 41b781ddf1869f5349e05ace888979f3673fe8c6:
>>
>> dtoc: Fix the value of SetInt() (2018-10-09 04:40:27 -0600)
>>
>
> Applied to u-boot/master, thanks!
>
> --
> Tom
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-15 21:02 ` Tom Rini
@ 2018-11-15 21:11 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-11-15 21:11 UTC (permalink / raw)
To: u-boot
On 15 November 2018 at 13:02, Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
> > Hi Tom,
> >
> > On 15 November 2018 at 08:32, Simon Glass <sjg@chromium.org> wrote:
> > > Hi Tom,
> > >
> > > The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
> > >
> > > Merge branch 'next' (2018-11-14 11:30:07 -0500)
> > >
> > > are available in the Git repository at:
> > >
> > > git://git.denx.de/u-boot-dm.git tags/pull-14nov18
> > >
> > > for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
> > >
> > > Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14
> > > 09:16:28 -0800)
> > >
> > > ----------------------------------------------------------------
> > > - virtio implementation and supporting patches
> > > - DM_FLAG_PRE_RELOC fixes
> > > - regmap improvements
> > > - minor buildman and sandbox things
> > >
> > > ----------------------------------------------------------------
> >
> > I am seeing strange failures with travis-ci.
> >
> > https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notification&utm_source=email
> >
> > I thought it was something strange with travis-ci but the above run is
> > my second attempt and it fails with the same builds. Lots of stuff
> > about the filesystem tests. But they have been there for a while!
> >
> > Do you have any ideas?
>
> Yes: https://patchwork.ozlabs.org/patch/998330/ which I'm pushing
> now'ish, since my WIP branch completed again with that applied.
Thanks Tom, great to hear.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-15 20:21 ` Simon Glass
@ 2018-11-15 21:02 ` Tom Rini
2018-11-15 21:11 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-11-15 21:02 UTC (permalink / raw)
To: u-boot
On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
> Hi Tom,
>
> On 15 November 2018 at 08:32, Simon Glass <sjg@chromium.org> wrote:
> > Hi Tom,
> >
> > The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
> >
> > Merge branch 'next' (2018-11-14 11:30:07 -0500)
> >
> > are available in the Git repository at:
> >
> > git://git.denx.de/u-boot-dm.git tags/pull-14nov18
> >
> > for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
> >
> > Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14
> > 09:16:28 -0800)
> >
> > ----------------------------------------------------------------
> > - virtio implementation and supporting patches
> > - DM_FLAG_PRE_RELOC fixes
> > - regmap improvements
> > - minor buildman and sandbox things
> >
> > ----------------------------------------------------------------
>
> I am seeing strange failures with travis-ci.
>
> https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notification&utm_source=email
>
> I thought it was something strange with travis-ci but the above run is
> my second attempt and it fails with the same builds. Lots of stuff
> about the filesystem tests. But they have been there for a while!
>
> Do you have any ideas?
Yes: https://patchwork.ozlabs.org/patch/998330/ which I'm pushing
now'ish, since my WIP branch completed again with that applied.
--
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/20181115/0f9e6027/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-15 16:32 Simon Glass
@ 2018-11-15 20:21 ` Simon Glass
2018-11-15 21:02 ` Tom Rini
2018-11-16 13:45 ` Tom Rini
1 sibling, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-15 20:21 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 15 November 2018 at 08:32, Simon Glass <sjg@chromium.org> wrote:
> Hi Tom,
>
> The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
>
> Merge branch 'next' (2018-11-14 11:30:07 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-14nov18
>
> for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
>
> Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14
> 09:16:28 -0800)
>
> ----------------------------------------------------------------
> - virtio implementation and supporting patches
> - DM_FLAG_PRE_RELOC fixes
> - regmap improvements
> - minor buildman and sandbox things
>
> ----------------------------------------------------------------
I am seeing strange failures with travis-ci.
https://travis-ci.org/sglass68/u-boot/builds/455582198?utm_medium=notification&utm_source=email
I thought it was something strange with travis-ci but the above run is
my second attempt and it fails with the same builds. Lots of stuff
about the filesystem tests. But they have been there for a while!
Do you have any ideas?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-11-15 16:32 Simon Glass
2018-11-15 20:21 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2018-11-15 16:32 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 208ecbad2ea83333e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to 4c6e27f63c88d065a98f438085dfc36af47d3a23:
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" (2018-11-14
09:16:28 -0800)
----------------------------------------------------------------
- virtio implementation and supporting patches
- DM_FLAG_PRE_RELOC fixes
- regmap improvements
- minor buildman and sandbox things
----------------------------------------------------------------
Bin Meng (50):
dm: cpu: Fix print_cpuinfo() output
cpu: mpc83xx: Remove unnecessary characters in the description string
dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc()
dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()
dm: Correct pre_reloc_only parameter description in several APIs' comments
dm: core: Mirror the chosen node parse logic in the livetree scanning
test: dm: core: Add a test case for driver marked with
DM_FLAG_PRE_RELOC flag
timer: Sort Kconfig driver entries
dm: core: Allow uclass to set up a device's child after it is probed
test: dm: core: Add test case for uclass driver's child_post_probe()
riscv: bootm: Add dm_remove_devices_flags() call to do_bootm_linux()
dm: Add a new uclass driver for VirtIO transport devices
virtio: Add virtio over mmio transport driver
test: dm: blk: Correct blk_base test case
sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data
efi_driver: blk: Switch to use platdata_auto_alloc_size for the
driver data
blk: Call part_init() in the post_probe() method
blk: Drop blk_prepare_device()
blk: Make blk_next_free_devnum() public
riscv: qemu: Enumerate virtio bus during early boot
riscv: qemu: Include some useful commands
kconfig: Introduce HAVE_ARCH_IOMAP
x86: Implement arch-specific io accessor routines
virtio: Add virtio over pci transport driver
arm: qemu: Add a Kconfig in the board directory
arm: qemu: Enumerate virtio bus during early boot
x86: qemu: Imply virtio PCI transport and device drivers
dm: pci: Add APIs to find next capability and extended capability
test: dm: pci: Add cases for finding next PCI capability APIs
virtio: pci: Support non-legacy PCI transport device
virtio: net: Support non-legacy device
virtio: Add a Sandbox transport driver
test: dm: virtio: Add test cases for virtio uclass
doc: Document virtio support
arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag
clk: Remove DM_FLAG_PRE_RELOC flag in various drivers
gpio: Remove DM_FLAG_PRE_RELOC flag in various drivers
i2c: omap24xx: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check
mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check
pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers
ram: bmips: Remove DM_FLAG_PRE_RELOC flag
timer: Remove DM_FLAG_PRE_RELOC flag in various drivers
serial: Remove DM_FLAG_PRE_RELOC flag in various drivers
sysreset: Remove DM_FLAG_PRE_RELOC flag in various drivers
video: simplefb: Remove DM_FLAG_PRE_RELOC flag
watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers
dm: doc: Update description of pre-relocation support
cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers
cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes
Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO"
Liviu Dudau (1):
uclass: Use uclass_foreach_dev() macro instead of open coding
Mario Six (18):
board_f: Use static print_cpuinfo if CONFIG_CPU is active
test: regmap: Increase size of syscon0 memory
regmap: Fix documentation
regmap: Add documentation
regmap: Improve error handling
misc: Sort Makefile entries
misc: Add gdsys_soc driver
misc: Add IHS FPGA driver
core: ofnode: Fix mem leak in error path
regmap: Introduce init_range
regmap: Add error output
mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8
regmap: Add raw read/write functions
regmap: Support reading from specific range
regmap: Define regmap_{get,set}
test: regmap: Add test for regmap_{set, get}
regmap: Add endianness support
regmap: Add overview documentation
Simon Glass (2):
sandbox: Try to start the RAM buffer at a particular address
buildman: Add a --boards option to specify particular boards to build
Simon Goldschmidt (1):
serial: ns16550: fix debug uart putc called before init
Tuomas Tynkkynen (5):
virtio: Add codes for virtual queue/ring management
virtio: Add net driver support
blk: Introduce IF_TYPE_VIRTIO
virtio: Add block driver support
virtio: cmd: Add virtio command for virtio devices
Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt | 19 +
Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt | 19 +
Documentation/devicetree/bindings/misc/gdsys,soc.txt | 16 +
arch/Kconfig | 6 +
arch/arm/Kconfig | 1 +
arch/arm/mach-stm32mp/bsec.c | 1 -
arch/mips/include/asm/io.h | 22 +
arch/riscv/lib/bootm.c | 11 +-
arch/sandbox/cpu/os.c | 7 +-
arch/sandbox/dts/test.dts | 17 +-
arch/x86/cpu/baytrail/cpu.c | 1 +
arch/x86/cpu/broadwell/cpu.c | 1 +
arch/x86/cpu/cpu_x86.c | 1 +
arch/x86/cpu/ivybridge/model_206ax.c | 1 +
arch/x86/cpu/tangier/sysreset.c | 1 -
arch/x86/include/asm/io.h | 66 +++
board/emulation/qemu-arm/Kconfig | 13 +
board/emulation/qemu-arm/qemu-arm.c | 10 +
board/emulation/qemu-riscv/Kconfig | 11 +
board/emulation/qemu-riscv/qemu-riscv.c | 9 +
board/emulation/qemu-x86/Kconfig | 3 +
cmd/Kconfig | 7 +
cmd/Makefile | 1 +
cmd/sata.c | 9 -
cmd/virtio.c | 38 ++
common/board_f.c | 28 +
common/usb_storage.c | 4 +-
configs/imx8qxp_mek_defconfig | 1 -
configs/qemu_arm64_defconfig | 1 -
configs/qemu_arm_defconfig | 1 -
configs/sandbox_noblk_defconfig | 1 +
disk/part.c | 6 +
doc/README.virtio | 253 +++++++++
doc/driver-model/README.txt | 16 +-
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/block/blk-uclass.c | 25 +-
drivers/block/ide.c | 2 -
drivers/block/sandbox.c | 17 +-
drivers/clk/altera/clk-arria10.c | 1 -
drivers/clk/clk_pic32.c | 1 -
drivers/clk/clk_zynq.c | 1 -
drivers/clk/exynos/clk-exynos7420.c | 3 -
drivers/clk/owl/clk_s900.c | 1 -
drivers/core/device.c | 2 +-
drivers/core/dump.c | 2 +-
drivers/core/lists.c | 9 +-
drivers/core/ofnode.c | 4 +-
drivers/core/regmap.c | 316 ++++++++++-
drivers/core/root.c | 20 +-
drivers/core/uclass.c | 31 +-
drivers/core/util.c | 25 +
drivers/cpu/mpc83xx_cpu.c | 2 +-
drivers/gpio/omap_gpio.c | 2 +
drivers/gpio/stm32f7_gpio.c | 2 +-
drivers/gpio/tegra186_gpio.c | 1 -
drivers/gpio/tegra_gpio.c | 1 -
drivers/i2c/omap24xx_i2c.c | 2 +
drivers/misc/Kconfig | 17 +
drivers/misc/Makefile | 63 ++-
drivers/misc/gdsys_soc.c | 74 +++
drivers/misc/gdsys_soc.h | 23 +
drivers/misc/ihs_fpga.c | 867
+++++++++++++++++++++++++++++
drivers/misc/ihs_fpga.h | 49 ++
drivers/misc/imx8/scu.c | 4 +-
drivers/misc/swap_case.c | 9 +
drivers/mmc/mmc.c | 3 -
drivers/mmc/omap_hsmmc.c | 2 +
drivers/nvme/nvme.c | 1 -
drivers/pci/pci-uclass.c | 51 +-
drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 +
drivers/pinctrl/exynos/pinctrl-exynos7420.c | 1 -
drivers/pinctrl/nxp/pinctrl-imx5.c | 2 +
drivers/pinctrl/nxp/pinctrl-imx6.c | 2 +
drivers/pinctrl/nxp/pinctrl-imx7.c | 2 +
drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 2 +
drivers/pinctrl/pinctrl-single.c | 1 -
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 +
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 2 +
drivers/ram/bmips_ram.c | 1 -
drivers/scsi/scsi.c | 1 -
drivers/serial/altera_jtag_uart.c | 1 -
drivers/serial/altera_uart.c | 1 -
drivers/serial/arm_dcc.c | 1 -
drivers/serial/atmel_usart.c | 2 +
drivers/serial/ns16550.c | 20 +-
drivers/serial/serial-uclass.c | 2 +-
drivers/serial/serial_ar933x.c | 1 -
drivers/serial/serial_arc.c | 1 -
drivers/serial/serial_bcm283x_mu.c | 2 +
drivers/serial/serial_bcm283x_pl011.c | 2 +
drivers/serial/serial_bcm6345.c | 1 -
drivers/serial/serial_efi.c | 1 -
drivers/serial/serial_intel_mid.c | 1 -
drivers/serial/serial_lpuart.c | 1 -
drivers/serial/serial_meson.c | 1 -
drivers/serial/serial_mvebu_a3700.c | 1 -
drivers/serial/serial_mxc.c | 2 +
drivers/serial/serial_omap.c | 2 +
drivers/serial/serial_owl.c | 1 -
drivers/serial/serial_pic32.c | 1 -
drivers/serial/serial_pl01x.c | 2 +
drivers/serial/serial_s5p.c | 1 -
drivers/serial/serial_sh.c | 2 +
drivers/serial/serial_sti_asc.c | 1 -
drivers/serial/serial_stm32.c | 2 +
drivers/serial/serial_xuartlite.c | 1 -
drivers/serial/serial_zynq.c | 1 -
drivers/sysreset/sysreset_x86.c | 1 -
drivers/timer/Kconfig | 110 ++--
drivers/timer/ag101p_timer.c | 1 -
drivers/timer/altera_timer.c | 1 -
drivers/timer/arc_timer.c | 1 -
drivers/timer/ast_timer.c | 1 -
drivers/timer/atcpit100_timer.c | 1 -
drivers/timer/atmel_pit_timer.c | 1 -
drivers/timer/cadence-ttc.c | 1 -
drivers/timer/dw-apb-timer.c | 1 -
drivers/timer/mpc83xx_timer.c | 1 -
drivers/timer/omap-timer.c | 1 -
drivers/timer/rockchip_timer.c | 1 -
drivers/timer/sti-timer.c | 1 -
drivers/timer/stm32_timer.c | 1 -
drivers/timer/timer-uclass.c | 2 +-
drivers/timer/tsc_timer.c | 1 -
drivers/video/simplefb.c | 1 -
drivers/virtio/Kconfig | 62 +++
drivers/virtio/Makefile | 11 +
drivers/virtio/virtio-uclass.c | 369 ++++++++++++
drivers/virtio/virtio_blk.c | 137 +++++
drivers/virtio/virtio_blk.h | 129 +++++
drivers/virtio/virtio_mmio.c | 413
++++++++++++++
drivers/virtio/virtio_mmio.h | 129 +++++
drivers/virtio/virtio_net.c | 239 ++++++++
drivers/virtio/virtio_net.h | 268 +++++++++
drivers/virtio/virtio_pci.h | 173 ++++++
drivers/virtio/virtio_pci_legacy.c | 421
++++++++++++++
drivers/virtio/virtio_pci_modern.c | 609
++++++++++++++++++++
drivers/virtio/virtio_ring.c | 358 ++++++++++++
drivers/virtio/virtio_sandbox.c | 233 ++++++++
drivers/watchdog/ast_wdt.c | 1 -
include/blk.h | 22 +-
include/dm/device-internal.h | 4 +-
include/dm/lists.h | 9 +-
include/dm/root.h | 17 +-
include/dm/test.h | 1 +
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 4 +-
include/dm/util.h | 27 +-
include/init.h | 7 +
include/linux/io.h | 4 +
include/pci.h | 48 ++
include/regmap.h | 232 +++++++-
include/virtio.h | 707
+++++++++++++++++++++++
include/virtio_ring.h | 320 +++++++++++
include/virtio_types.h | 24 +
lib/Kconfig | 6 +
lib/efi/efi_app.c | 1 -
lib/efi_driver/efi_block_device.c | 26 +-
test/dm/Makefile | 1 +
test/dm/blk.c | 27 +-
test/dm/bus.c | 47 +-
test/dm/pci.c | 20 +
test/dm/regmap.c | 30 +-
test/dm/test-fdt.c | 36 +-
test/dm/virtio.c | 122 ++++
tools/buildman/README | 12 +-
tools/buildman/board.py | 28 +-
tools/buildman/cmdline.py | 4 +-
tools/buildman/control.py | 20 +-
tools/buildman/test.py | 31 +-
171 files changed, 7486 insertions(+), 343 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,soc.txt
create mode 100644 board/emulation/qemu-arm/Kconfig
create mode 100644 cmd/virtio.c
create mode 100644 doc/README.virtio
create mode 100644 drivers/misc/gdsys_soc.c
create mode 100644 drivers/misc/gdsys_soc.h
create mode 100644 drivers/misc/ihs_fpga.c
create mode 100644 drivers/misc/ihs_fpga.h
create mode 100644 drivers/virtio/Kconfig
create mode 100644 drivers/virtio/Makefile
create mode 100644 drivers/virtio/virtio-uclass.c
create mode 100644 drivers/virtio/virtio_blk.c
create mode 100644 drivers/virtio/virtio_blk.h
create mode 100644 drivers/virtio/virtio_mmio.c
create mode 100644 drivers/virtio/virtio_mmio.h
create mode 100644 drivers/virtio/virtio_net.c
create mode 100644 drivers/virtio/virtio_net.h
create mode 100644 drivers/virtio/virtio_pci.h
create mode 100644 drivers/virtio/virtio_pci_legacy.c
create mode 100644 drivers/virtio/virtio_pci_modern.c
create mode 100644 drivers/virtio/virtio_ring.c
create mode 100644 drivers/virtio/virtio_sandbox.c
create mode 100644 include/virtio.h
create mode 100644 include/virtio_ring.h
create mode 100644 include/virtio_types.h
create mode 100644 test/dm/virtio.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 2:42 ` Simon Glass
@ 2018-11-07 2:43 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-11-07 2:43 UTC (permalink / raw)
To: u-boot
On Tue, Nov 06, 2018 at 07:42:39PM -0700, Simon Glass wrote:
> Hi Bin,
>
> On 6 November 2018 at 19:29, Bin Meng <bmeng.cn@gmail.com> wrote:
> > Hi Simon,
> >
> > On Wed, Nov 7, 2018 at 10:25 AM Simon Glass <sjg@chromium.org> wrote:
> >>
> >> Hi Bin,
> >>
> >> On 6 November 2018 at 19:22, Bin Meng <bmeng.cn@gmail.com> wrote:
> >> >
> >> > Hi Simon,
> >> >
> >> > On Wed, Nov 7, 2018 at 10:07 AM Simon Glass <sjg@chromium.org> wrote:
> >> > >
> >> > > Hi Bin,
> >> > >
> >> > > On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
> >> > > >
> >> > > > Hi Simon,
> >> > > >
> >> > > > On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
> >> > > > >
> >> > > > > Hi Tom,
> >> > > > >
> >> > > > > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
> >> > > > >
> >> > > > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
> >> > > > >
> >> > > > > are available in the Git repository at:
> >> > > > >
> >> > > > > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
> >> > > > >
> >> > > > > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
> >> > > > >
> >> > > > > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
> >> > > > >
> >> > > > > ----------------------------------------------------------------
> >> > > > > dm: DM_FLAG_PRE_RELOC fixes for release
> >> > > > > sandbox CPU fixes for release
> >> > > > >
> >> > > >
> >> > > > What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
> >> > > > not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
> >> > > > up series should be a follow-up to that tag.
> >> > >
> >> > > I abandoned that as I think Tom felt that with the flag problem it was
> >> > > a bit to late to fix everything.
> >> > >
> >> > > If your series relies on that then I think we have a problem...
> >> >
> >> > Actually this DM_FLAG_PRE_RELOC clean up series is to make previous
> >> > series complementary, IOW fix potential issues. Previously Tom
> >> > rejected that was because that broken Tegra which Stephen reported,
> >> > and with the clean up series this should be fine.
> >>
> >> We are just a week from the release. What is broken if we apply none
> >> of these patches and pull them in after the release?
> >
> > I suspect we need revert the patch that is causing all these issues
> > ... If that's the way we prefer to do, I will take a look ...
>
> I am happy to make it work - will await Tom's thoughts also.
I suppose at this point in time, a revert for release is probably best.
--
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/20181106/6a6579c5/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 2:29 ` Bin Meng
@ 2018-11-07 2:42 ` Simon Glass
2018-11-07 2:43 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-07 2:42 UTC (permalink / raw)
To: u-boot
Hi Bin,
On 6 November 2018 at 19:29, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Simon,
>
> On Wed, Nov 7, 2018 at 10:25 AM Simon Glass <sjg@chromium.org> wrote:
>>
>> Hi Bin,
>>
>> On 6 November 2018 at 19:22, Bin Meng <bmeng.cn@gmail.com> wrote:
>> >
>> > Hi Simon,
>> >
>> > On Wed, Nov 7, 2018 at 10:07 AM Simon Glass <sjg@chromium.org> wrote:
>> > >
>> > > Hi Bin,
>> > >
>> > > On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
>> > > >
>> > > > Hi Simon,
>> > > >
>> > > > On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
>> > > > >
>> > > > > Hi Tom,
>> > > > >
>> > > > > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
>> > > > >
>> > > > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
>> > > > >
>> > > > > are available in the Git repository at:
>> > > > >
>> > > > > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
>> > > > >
>> > > > > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
>> > > > >
>> > > > > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
>> > > > >
>> > > > > ----------------------------------------------------------------
>> > > > > dm: DM_FLAG_PRE_RELOC fixes for release
>> > > > > sandbox CPU fixes for release
>> > > > >
>> > > >
>> > > > What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
>> > > > not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
>> > > > up series should be a follow-up to that tag.
>> > >
>> > > I abandoned that as I think Tom felt that with the flag problem it was
>> > > a bit to late to fix everything.
>> > >
>> > > If your series relies on that then I think we have a problem...
>> >
>> > Actually this DM_FLAG_PRE_RELOC clean up series is to make previous
>> > series complementary, IOW fix potential issues. Previously Tom
>> > rejected that was because that broken Tegra which Stephen reported,
>> > and with the clean up series this should be fine.
>>
>> We are just a week from the release. What is broken if we apply none
>> of these patches and pull them in after the release?
>
> I suspect we need revert the patch that is causing all these issues
> ... If that's the way we prefer to do, I will take a look ...
>
I am happy to make it work - will await Tom's thoughts also.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 2:25 ` Simon Glass
@ 2018-11-07 2:29 ` Bin Meng
2018-11-07 2:42 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-11-07 2:29 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Wed, Nov 7, 2018 at 10:25 AM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Bin,
>
> On 6 November 2018 at 19:22, Bin Meng <bmeng.cn@gmail.com> wrote:
> >
> > Hi Simon,
> >
> > On Wed, Nov 7, 2018 at 10:07 AM Simon Glass <sjg@chromium.org> wrote:
> > >
> > > Hi Bin,
> > >
> > > On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
> > > >
> > > > Hi Simon,
> > > >
> > > > On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
> > > > >
> > > > > Hi Tom,
> > > > >
> > > > > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
> > > > >
> > > > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
> > > > >
> > > > > are available in the Git repository at:
> > > > >
> > > > > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
> > > > >
> > > > > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
> > > > >
> > > > > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > dm: DM_FLAG_PRE_RELOC fixes for release
> > > > > sandbox CPU fixes for release
> > > > >
> > > >
> > > > What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
> > > > not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
> > > > up series should be a follow-up to that tag.
> > >
> > > I abandoned that as I think Tom felt that with the flag problem it was
> > > a bit to late to fix everything.
> > >
> > > If your series relies on that then I think we have a problem...
> >
> > Actually this DM_FLAG_PRE_RELOC clean up series is to make previous
> > series complementary, IOW fix potential issues. Previously Tom
> > rejected that was because that broken Tegra which Stephen reported,
> > and with the clean up series this should be fine.
>
> We are just a week from the release. What is broken if we apply none
> of these patches and pull them in after the release?
I suspect we need revert the patch that is causing all these issues
... If that's the way we prefer to do, I will take a look ...
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 2:22 ` Bin Meng
@ 2018-11-07 2:25 ` Simon Glass
2018-11-07 2:29 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-07 2:25 UTC (permalink / raw)
To: u-boot
Hi Bin,
On 6 November 2018 at 19:22, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Hi Simon,
>
> On Wed, Nov 7, 2018 at 10:07 AM Simon Glass <sjg@chromium.org> wrote:
> >
> > Hi Bin,
> >
> > On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
> > >
> > > Hi Simon,
> > >
> > > On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
> > > >
> > > > Hi Tom,
> > > >
> > > > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
> > > >
> > > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
> > > >
> > > > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
> > > >
> > > > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
> > > >
> > > > ----------------------------------------------------------------
> > > > dm: DM_FLAG_PRE_RELOC fixes for release
> > > > sandbox CPU fixes for release
> > > >
> > >
> > > What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
> > > not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
> > > up series should be a follow-up to that tag.
> >
> > I abandoned that as I think Tom felt that with the flag problem it was
> > a bit to late to fix everything.
> >
> > If your series relies on that then I think we have a problem...
>
> Actually this DM_FLAG_PRE_RELOC clean up series is to make previous
> series complementary, IOW fix potential issues. Previously Tom
> rejected that was because that broken Tegra which Stephen reported,
> and with the clean up series this should be fine.
We are just a week from the release. What is broken if we apply none
of these patches and pull them in after the release?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 2:07 ` Simon Glass
@ 2018-11-07 2:22 ` Bin Meng
2018-11-07 2:25 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-11-07 2:22 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Wed, Nov 7, 2018 at 10:07 AM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Bin,
>
> On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
> >
> > Hi Simon,
> >
> > On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
> > >
> > > Hi Tom,
> > >
> > > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
> > >
> > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
> > >
> > > are available in the Git repository at:
> > >
> > > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
> > >
> > > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
> > >
> > > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
> > >
> > > ----------------------------------------------------------------
> > > dm: DM_FLAG_PRE_RELOC fixes for release
> > > sandbox CPU fixes for release
> > >
> >
> > What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
> > not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
> > up series should be a follow-up to that tag.
>
> I abandoned that as I think Tom felt that with the flag problem it was
> a bit to late to fix everything.
>
> If your series relies on that then I think we have a problem...
Actually this DM_FLAG_PRE_RELOC clean up series is to make previous
series complementary, IOW fix potential issues. Previously Tom
rejected that was because that broken Tegra which Stephen reported,
and with the clean up series this should be fine.
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-07 1:04 ` Bin Meng
@ 2018-11-07 2:07 ` Simon Glass
2018-11-07 2:22 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-07 2:07 UTC (permalink / raw)
To: u-boot
Hi Bin,
On 6 November 2018 at 18:04, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Hi Simon,
>
> On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
> >
> > Hi Tom,
> >
> > The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
> >
> > Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
> >
> > are available in the Git repository at:
> >
> > git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
> >
> > for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
> >
> > cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
> >
> > ----------------------------------------------------------------
> > dm: DM_FLAG_PRE_RELOC fixes for release
> > sandbox CPU fixes for release
> >
>
> What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
> not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
> up series should be a follow-up to that tag.
I abandoned that as I think Tom felt that with the flag problem it was
a bit to late to fix everything.
If your series relies on that then I think we have a problem...
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-11-06 21:51 Simon Glass
@ 2018-11-07 1:04 ` Bin Meng
2018-11-07 2:07 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-11-07 1:04 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Wed, Nov 7, 2018 at 5:51 AM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
>
> Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
>
> for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
>
> cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06 13:56:18 -0700)
>
> ----------------------------------------------------------------
> dm: DM_FLAG_PRE_RELOC fixes for release
> sandbox CPU fixes for release
>
What happened to the last PR from u-boot-dm, tag pull-15oct-18? I did
not see that was merged to u-boot/master. The DM_FLAG_PRE_RELOC clean
up series should be a follow-up to that tag.
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-11-06 21:51 Simon Glass
2018-11-07 1:04 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-11-06 21:51 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 5ef76e59c12c79d106ebda70b710468aa6bd8b75:
Merge branch 'master' of git://git.denx.de/u-boot-sh (2018-11-04 08:12:21
-0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-6-nov-18
for you to fetch changes up to 9413033c3d5d2bc44eefd1919c60522598cc1bd6:
cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes (2018-11-06
13:56:18 -0700)
----------------------------------------------------------------
dm: DM_FLAG_PRE_RELOC fixes for release
sandbox CPU fixes for release
----------------------------------------------------------------
Bin Meng (15):
arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag
clk: Remove DM_FLAG_PRE_RELOC flag in various drivers
gpio: Remove DM_FLAG_PRE_RELOC flag in various drivers
i2c: omap24xx: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check
mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check
pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers
ram: bmips: Remove DM_FLAG_PRE_RELOC flag
timer: Remove DM_FLAG_PRE_RELOC flag in various drivers
serial: Remove DM_FLAG_PRE_RELOC flag in various drivers
sysreset: Remove DM_FLAG_PRE_RELOC flag in various drivers
video: simplefb: Remove DM_FLAG_PRE_RELOC flag
watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers
dm: doc: Update description of pre-relocation support
cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers
cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes
arch/arm/mach-stm32mp/bsec.c | 1 -
arch/sandbox/dts/test.dts | 3 +++
arch/x86/cpu/baytrail/cpu.c | 1 +
arch/x86/cpu/broadwell/cpu.c | 1 +
arch/x86/cpu/cpu_x86.c | 1 +
arch/x86/cpu/ivybridge/model_206ax.c | 1 +
arch/x86/cpu/tangier/sysreset.c | 1 -
doc/driver-model/README.txt | 16 ++++++++++++----
drivers/clk/altera/clk-arria10.c | 1 -
drivers/clk/clk_pic32.c | 1 -
drivers/clk/clk_zynq.c | 1 -
drivers/clk/exynos/clk-exynos7420.c | 3 ---
drivers/clk/owl/clk_s900.c | 1 -
drivers/gpio/omap_gpio.c | 2 ++
drivers/gpio/stm32f7_gpio.c | 2 +-
drivers/gpio/tegra186_gpio.c | 1 -
drivers/gpio/tegra_gpio.c | 1 -
drivers/i2c/omap24xx_i2c.c | 2 ++
drivers/mmc/omap_hsmmc.c | 2 ++
drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 ++
drivers/pinctrl/exynos/pinctrl-exynos7420.c | 1 -
drivers/pinctrl/nxp/pinctrl-imx5.c | 2 ++
drivers/pinctrl/nxp/pinctrl-imx6.c | 2 ++
drivers/pinctrl/nxp/pinctrl-imx7.c | 2 ++
drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 2 ++
drivers/pinctrl/pinctrl-single.c | 1 -
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 ++
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 2 ++
drivers/ram/bmips_ram.c | 1 -
drivers/serial/altera_jtag_uart.c | 1 -
drivers/serial/altera_uart.c | 1 -
drivers/serial/arm_dcc.c | 1 -
drivers/serial/atmel_usart.c | 2 ++
drivers/serial/ns16550.c | 2 ++
drivers/serial/serial_ar933x.c | 1 -
drivers/serial/serial_arc.c | 1 -
drivers/serial/serial_bcm283x_mu.c | 2 ++
drivers/serial/serial_bcm283x_pl011.c | 2 ++
drivers/serial/serial_bcm6345.c | 1 -
drivers/serial/serial_efi.c | 1 -
drivers/serial/serial_intel_mid.c | 1 -
drivers/serial/serial_lpuart.c | 1 -
drivers/serial/serial_meson.c | 1 -
drivers/serial/serial_mvebu_a3700.c | 1 -
drivers/serial/serial_mxc.c | 2 ++
drivers/serial/serial_omap.c | 2 ++
drivers/serial/serial_owl.c | 1 -
drivers/serial/serial_pic32.c | 1 -
drivers/serial/serial_pl01x.c | 2 ++
drivers/serial/serial_s5p.c | 1 -
drivers/serial/serial_sh.c | 2 ++
drivers/serial/serial_sti_asc.c | 1 -
drivers/serial/serial_stm32.c | 2 ++
drivers/serial/serial_xuartlite.c | 1 -
drivers/serial/serial_zynq.c | 1 -
drivers/sysreset/sysreset_x86.c | 1 -
drivers/timer/ag101p_timer.c | 1 -
drivers/timer/altera_timer.c | 1 -
drivers/timer/arc_timer.c | 1 -
drivers/timer/ast_timer.c | 1 -
drivers/timer/atcpit100_timer.c | 1 -
drivers/timer/atmel_pit_timer.c | 1 -
drivers/timer/cadence-ttc.c | 1 -
drivers/timer/dw-apb-timer.c | 1 -
drivers/timer/mpc83xx_timer.c | 1 -
drivers/timer/omap-timer.c | 1 -
drivers/timer/rockchip_timer.c | 1 -
drivers/timer/sti-timer.c | 1 -
drivers/timer/stm32_timer.c | 1 -
drivers/timer/tsc_timer.c | 1 -
drivers/video/simplefb.c | 1 -
drivers/watchdog/ast_wdt.c | 1 -
lib/efi/efi_app.c | 1 -
73 files changed, 58 insertions(+), 54 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-24 14:33 ` Simon Glass
@ 2018-10-25 14:22 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-10-25 14:22 UTC (permalink / raw)
To: u-boot
On Wed, Oct 24, 2018 at 08:33:01AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 24 October 2018 at 08:28, Bin Meng <bmeng.cn@gmail.com> wrote:
> > Hi Simon,
> >
> > On Wed, Oct 24, 2018 at 10:14 PM Simon Glass <sjg@chromium.org> wrote:
> >>
> >> Hi Tom,
> >>
> >> On 19 October 2018 at 06:10, Tom Rini <trini@konsulko.com> wrote:
> >> > 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!
> >>
> >> Just to follow up, I really don't see anything that fits that category.
> >>
> >> Bin, are any of your patches necessary for this release to actually fix boards?
> >>
> >
> > Do you mean VirtIO patches? If we can get that merged, that will be
> > great! We can mention a feature-rich support of QEMU RISC-V as so far
> > it only has a serial port :)
>
> I didn't mean that. Since it is fairly self-contained I could pull it
> in if Tom agrees. If I did I suppose there are a few more patches that
> might qualify.
While I sit here QA'ing the i.MX8 stuff again, I don't think the virtio
stuff has been waiting quite as long so.. If there's no bug/regression
fixes we need in the DM area right now, lets hold all of that off then,
we're ~2 weeks from v2018.11 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/20181025/13ff62d2/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-24 14:28 ` Bin Meng
@ 2018-10-24 14:33 ` Simon Glass
2018-10-25 14:22 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-10-24 14:33 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 24 October 2018 at 08:28, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Simon,
>
> On Wed, Oct 24, 2018 at 10:14 PM Simon Glass <sjg@chromium.org> wrote:
>>
>> Hi Tom,
>>
>> On 19 October 2018 at 06:10, Tom Rini <trini@konsulko.com> wrote:
>> > 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!
>>
>> Just to follow up, I really don't see anything that fits that category.
>>
>> Bin, are any of your patches necessary for this release to actually fix boards?
>>
>
> Do you mean VirtIO patches? If we can get that merged, that will be
> great! We can mention a feature-rich support of QEMU RISC-V as so far
> it only has a serial port :)
I didn't mean that. Since it is fairly self-contained I could pull it
in if Tom agrees. If I did I suppose there are a few more patches that
might qualify.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-24 14:14 ` Simon Glass
@ 2018-10-24 14:28 ` Bin Meng
2018-10-24 14:33 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-10-24 14:28 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Wed, Oct 24, 2018 at 10:14 PM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> On 19 October 2018 at 06:10, Tom Rini <trini@konsulko.com> wrote:
> > 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!
>
> Just to follow up, I really don't see anything that fits that category.
>
> Bin, are any of your patches necessary for this release to actually fix boards?
>
Do you mean VirtIO patches? If we can get that merged, that will be
great! We can mention a feature-rich support of QEMU RISC-V as so far
it only has a serial port :)
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-24 13:40 ` Bin Meng
@ 2018-10-24 14:14 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-10-24 14:14 UTC (permalink / raw)
To: u-boot
Hi BIn,
On 24 October 2018 at 07:40, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Simon,
>
> On Mon, Oct 22, 2018 at 7:11 PM Tom Rini <trini@konsulko.com> wrote:
>>
>> On Mon, Oct 22, 2018 at 05:46:20PM +0800, Bin Meng wrote:
>> > Hi Simon,
>> >
>> > On Fri, Oct 19, 2018 at 8:10 PM Tom Rini <trini@konsulko.com> wrote:
>> > >
>> > > 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!
>> >
>> > I just realized that without my fix in this PR, some x86 boards just
>> > don't boot. I have a series that fixes the x86 boot problem @
>> > http://patchwork.ozlabs.org/project/uboot/list/?series=70686.
>> >
>> > It looks that I have to send out a fix to correct Tegra in this
>> > release now, and leave other clean ups in next release. Is that OK?
>>
>> OK with me.
>
> I spent some time creating a complete patch series [1] which cleans up
> all (I hope) DM_FLAG_PRE_RELOC flag usage. That should fix the
> reported Tegra issue as well as potential issues on some other boards.
>
> [1] http://patchwork.ozlabs.org/project/uboot/list/?series=72403
Thank you for that, will take a look.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-19 12:10 ` Tom Rini
2018-10-22 9:46 ` Bin Meng
@ 2018-10-24 14:14 ` Simon Glass
2018-10-24 14:28 ` Bin Meng
1 sibling, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-10-24 14:14 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 October 2018 at 06:10, Tom Rini <trini@konsulko.com> wrote:
> 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!
Just to follow up, I really don't see anything that fits that category.
Bin, are any of your patches necessary for this release to actually fix boards?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-22 11:11 ` Tom Rini
@ 2018-10-24 13:40 ` Bin Meng
2018-10-24 14:14 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-10-24 13:40 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Mon, Oct 22, 2018 at 7:11 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Mon, Oct 22, 2018 at 05:46:20PM +0800, Bin Meng wrote:
> > Hi Simon,
> >
> > On Fri, Oct 19, 2018 at 8:10 PM Tom Rini <trini@konsulko.com> wrote:
> > >
> > > 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!
> >
> > I just realized that without my fix in this PR, some x86 boards just
> > don't boot. I have a series that fixes the x86 boot problem @
> > http://patchwork.ozlabs.org/project/uboot/list/?series=70686.
> >
> > It looks that I have to send out a fix to correct Tegra in this
> > release now, and leave other clean ups in next release. Is that OK?
>
> OK with me.
I spent some time creating a complete patch series [1] which cleans up
all (I hope) DM_FLAG_PRE_RELOC flag usage. That should fix the
reported Tegra issue as well as potential issues on some other boards.
[1] http://patchwork.ozlabs.org/project/uboot/list/?series=72403
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-22 9:46 ` Bin Meng
@ 2018-10-22 11:11 ` Tom Rini
2018-10-24 13:40 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-10-22 11:11 UTC (permalink / raw)
To: u-boot
On Mon, Oct 22, 2018 at 05:46:20PM +0800, Bin Meng wrote:
> Hi Simon,
>
> On Fri, Oct 19, 2018 at 8:10 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > 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!
>
> I just realized that without my fix in this PR, some x86 boards just
> don't boot. I have a series that fixes the x86 boot problem @
> http://patchwork.ozlabs.org/project/uboot/list/?series=70686.
>
> It looks that I have to send out a fix to correct Tegra in this
> release now, and leave other clean ups in next release. Is that OK?
OK with me.
--
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/20181022/3da666fc/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-19 12:10 ` Tom Rini
@ 2018-10-22 9:46 ` Bin Meng
2018-10-22 11:11 ` Tom Rini
2018-10-24 14:14 ` Simon Glass
1 sibling, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-10-22 9:46 UTC (permalink / raw)
To: u-boot
Hi Simon,
On Fri, Oct 19, 2018 at 8:10 PM Tom Rini <trini@konsulko.com> wrote:
>
> 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!
I just realized that without my fix in this PR, some x86 boards just
don't boot. I have a series that fixes the x86 boot problem @
http://patchwork.ozlabs.org/project/uboot/list/?series=70686.
It looks that I have to send out a fix to correct Tegra in this
release now, and leave other clean ups in next release. Is that OK?
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-19 3:27 ` Simon Glass
@ 2018-10-19 12:10 ` Tom Rini
2018-10-22 9:46 ` Bin Meng
2018-10-24 14:14 ` Simon Glass
0 siblings, 2 replies; 300+ messages in thread
From: Tom Rini @ 2018-10-19 12:10 UTC (permalink / raw)
To: u-boot
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>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-17 17:14 ` Stephen Warren
@ 2018-10-19 3:27 ` Simon Glass
2018-10-19 12:10 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-10-19 3:27 UTC (permalink / raw)
To: u-boot
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?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-10-17 17:14 UTC (permalink / raw)
To: u-boot
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.
>
> 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.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-17 2:33 ` Bin Meng
@ 2018-10-17 2:40 ` Bin Meng
2018-10-17 17:14 ` Stephen Warren
1 sibling, 0 replies; 300+ messages in thread
From: Bin Meng @ 2018-10-17 2:40 UTC (permalink / raw)
To: u-boot
On Wed, Oct 17, 2018 at 10:33 AM Bin Meng <bmeng.cn@gmail.com> 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.
>
> 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.
>
I don't think we have enough time before release to address all of
these issues. Let's go with the following:
Simon, can you please just drop the 3 patches below:
dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()
dm: core: Mirror the chosen node parse logic in the livetree scanning
test: dm: core: Add a test case for driver marked with
DM_FLAG_PRE_RELOC flag
> 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 will work with a complete patchset targeting next release to clean up these.
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
0 siblings, 2 replies; 300+ messages in thread
From: Bin Meng @ 2018-10-17 2:33 UTC (permalink / raw)
To: u-boot
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.
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.
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-16 16:27 ` Stephen Warren
@ 2018-10-16 23:01 ` Bin Meng
2018-10-17 2:33 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Bin Meng @ 2018-10-16 23:01 UTC (permalink / raw)
To: u-boot
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.
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-10-16 16:27 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-15 23:43 ` Bin Meng
@ 2018-10-16 0:32 ` Tom Rini
2018-10-16 16:27 ` Stephen Warren
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-10-16 0:32 UTC (permalink / raw)
To: u-boot
On Tue, Oct 16, 2018 at 07:43:21AM +0800, 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?
and I'm going to hold off on this PR until we have this sorted out.
Thanks all!
--
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/20181015/9b692144/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
0 siblings, 2 replies; 300+ messages in thread
From: Bin Meng @ 2018-10-15 23:43 UTC (permalink / raw)
To: u-boot
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?
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-15 21:53 ` Stephen Warren
@ 2018-10-15 22:43 ` Stephen Warren
2018-10-15 23:43 ` Bin Meng
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-10-15 22:43 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-15 20:17 Simon Glass
@ 2018-10-15 21:53 ` Stephen Warren
2018-10-15 22:43 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-10-15 21:53 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-10-15 20:17 Simon Glass
2018-10-15 21:53 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-10-15 20:17 UTC (permalink / raw)
To: u-boot
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)
----------------------------------------------------------------
Bring in part of the regmap series (the part that builds)
Minor fixes in core driver model
----------------------------------------------------------------
Bin Meng (8):
dm: cpu: Fix print_cpuinfo() output
cpu: mpc83xx: Remove unnecessary characters in the description string
dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc()
dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()
dm: Correct pre_reloc_only parameter description in several APIs' comments
dm: core: Mirror the chosen node parse logic in the livetree scanning
test: dm: core: Add a test case for driver marked with
DM_FLAG_PRE_RELOC flag
timer: Sort Kconfig driver entries
Mario Six (8):
test: regmap: Increase size of syscon0 memory
regmap: Fix documentation
regmap: Add documentation
regmap: Improve error handling
misc: Sort Makefile entries
misc: Add gdsys_soc driver
misc: Add IHS FPGA driver
core: ofnode: Fix mem leak in error path
Simon Glass (2):
sandbox: Try to start the RAM buffer at a particular address
buildman: Add a --boards option to specify particular boards to build
Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt | 19 +
Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt | 19 +
Documentation/devicetree/bindings/misc/gdsys,soc.txt | 16 +
arch/sandbox/cpu/os.c | 7 +-
arch/sandbox/dts/test.dts | 6 +-
common/board_f.c | 2 +-
drivers/core/device.c | 2 +-
drivers/core/lists.c | 9 +-
drivers/core/ofnode.c | 4 +-
drivers/core/regmap.c | 23 +
drivers/core/root.c | 20 +-
drivers/core/util.c | 25 +
drivers/cpu/mpc83xx_cpu.c | 2 +-
drivers/misc/Kconfig | 17 +
drivers/misc/Makefile | 60 +--
drivers/misc/gdsys_soc.c | 74 +++
drivers/misc/gdsys_soc.h | 23 +
drivers/misc/ihs_fpga.c | 867
++++++++++++++++++++++++++++++++++
drivers/misc/ihs_fpga.h | 49 ++
drivers/serial/serial-uclass.c | 2 +-
drivers/timer/Kconfig | 110 ++---
drivers/timer/timer-uclass.c | 2 +-
include/dm/device-internal.h | 4 +-
include/dm/lists.h | 9 +-
include/dm/root.h | 17 +-
include/dm/util.h | 27 +-
include/regmap.h | 48 +-
test/dm/bus.c | 2 +-
test/dm/regmap.c | 2 +-
test/dm/test-fdt.c | 29 +-
tools/buildman/README | 12 +-
tools/buildman/board.py | 28 +-
tools/buildman/cmdline.py | 4 +-
tools/buildman/control.py | 20 +-
tools/buildman/test.py | 31 +-
35 files changed, 1440 insertions(+), 151 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocon_fpga.txt
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,iocpu_fpga.txt
create mode 100644 Documentation/devicetree/bindings/misc/gdsys,soc.txt
create mode 100644 drivers/misc/gdsys_soc.c
create mode 100644 drivers/misc/gdsys_soc.h
create mode 100644 drivers/misc/ihs_fpga.c
create mode 100644 drivers/misc/ihs_fpga.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-10-11 14:10 UTC (permalink / raw)
To: u-boot
On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here is my attempt at a signed pull request. I've brought in most of the
> outstanding dm patches. Please let me know if it looks OK. Do you have my
> public key?
Is it on the public key servers?
>
>
> The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:
>
> Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19
> -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git tags/dm-9oct18
>
> for you to fetch changes up to 41b781ddf1869f5349e05ace888979f3673fe8c6:
>
> dtoc: Fix the value of SetInt() (2018-10-09 04:40:27 -0600)
>
Applied to u-boot/master, 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/20181011/ebd6e981/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-10 0:24 Simon Glass
@ 2018-10-10 3:01 ` Simon Glass
2018-10-11 14:10 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-10-10 3:01 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 9 October 2018 at 18:24, Simon Glass <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> Here is my attempt at a signed pull request. I've brought in most of the outstanding dm patches. Please let me know if it looks OK. Do you have my public key?
>
Build result here:
https://travis-ci.org/sglass68/u-boot/builds/439071186
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-10-10 0:24 Simon Glass
2018-10-10 3:01 ` Simon Glass
2018-10-11 14:10 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2018-10-10 0:24 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is my attempt at a signed pull request. I've brought in most of the
outstanding dm patches. Please let me know if it looks OK. Do you have my
public key?
The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:
Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19
-0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/dm-9oct18
for you to fetch changes up to 41b781ddf1869f5349e05ace888979f3673fe8c6:
dtoc: Fix the value of SetInt() (2018-10-09 04:40:27 -0600)
----------------------------------------------------------------
Test improvements to tidy up output and drop duplicate tests
Sandbox SPL/TPL support
Various dm-related improvements
----------------------------------------------------------------
Marek Vasut (2):
ofnode: Replace of_n_addr_cells with of_n_size_cells
ofnode: Add missing address translation into ofnode_get_addr_size()
Simon Glass (74):
sandbox: Unprotect DATA regions in bus tests
patman: Handle unicode in _ProjectConfigParser tests
test/py: Fix unicode handling for log filtering
buildman: Make the toolchain test more forgiving
Makefile: Add a 'check' target for make
test: Simplify the PATH setup
test: Print the name of each test before running it
test: Tidy up comments and variable name
binman: Add a default path to libfdt.py
binman: Fix up removal of temporary directories
binman: Separate out testSplBssPad()
buildman: dtoc: Suppress unwanted output from test
tools: Set an initial value for indir
patman: Don't clear progress in tout unless it was used
test: Reduce the number of tests run with sandbox_flattree
binman: Run tests concurrently
log: Correct definition of log_msg_ret()
log: Add helpers for common log levels
sandbox: Support file truncation with os_open()
sandbox: Add a way to write data to the host filesystem
sandbox: spi: Drop command-line SPI option
sandbox: Support booting from TPL to SPL
sandbox: Add a flag to set the default log level
sandbox: Remove the old memory file later
sandbox: spi: Add more logging
sandbox: video: Speed up video output
sandbox: Add a debug UART
serial: sandbox: Allow serial output without device tree
sandbox: tpm: Tidy up enums and return values
sandbox: tpm: Enhance to support the latest Chromium OS
dm: spi: Clean up detection of sandbox SPI emulator
sandbox: Restore blocking I/O on exit
dm: core: Alloc uclass-private data to be cache-aligned
dm: core: Update some functions to use const
dm: core: Add a function to find the first inactive child
dm: core: Update ofnode to read binman-style flash entry
sf: Avoid allocating memory on every read operation
spl: input: Allow input in SPL and TPL
Makefile: Add a warning if SPL/TPL cannot be built
blk: Support block drivers in TPL
Kconfig: Convert CONFIG_RTC_MC146818 to Kconfig
rtc: Allow use of RTC in SPL and TPL
fdt: Document the fact that dtc is now built
doc: Update docs for device tree in SPL, TPL
fdt: Allow indicating a node is for U-Boot proper only
tpm: Add support for SPL and TPL
serial: Allow serial to be absent in TPL
fdt: Allow libfdt in TPL
cros: Update cros_ec code to use struct udevice
cros: Adjust board_get_cros_ec_dev() to return a udevice
dm: spi: Add logging of some return values
fdt: Remove fdtdec_decode_region() function
video: Adjust video_clear() to return an error
tpm: Use livetree and allow children
tpm: Tidy up logging in tpm-common.c
tpm: Add a few new commands for v1
binman: Move to three-digit test-file numbers
log: Add comments to the rest of the log categories
Add a header file for strings
Rename GPT_HEADER_SIGNATURE to avoid conflict
cros: Update ec_commands to latest version
x86: Update mtrr functions to allow leaving cache alone
cros_ec: Update cros_ec_read_hash() to specify the image
cros_ec: Add support for v3 messages on LPC
test: panel: Add a test for the panel uclass
panel: Expand the backlight support
ctags: Minor changes to fix ctags output
fdt: Allow C++ comments in link scripts and DT files
pci: Add a little more debugging to pci_rom
sysreset: Tidy up a few comments and logging
sysreset: Add a way to find the last reset
video: at91: Adjust vidconsole_position_cursor() to use char pos
video: Tidy up a few comments in video.o
dtoc: Fix the value of SetInt()
.travis.yml
| 1 +
Makefile
| 8 +-
arch/sandbox/cpu/os.c
| 85 +-
arch/sandbox/cpu/start.c
| 19 +-
arch/sandbox/cpu/state.c
| 6 +-
arch/sandbox/dts/sandbox.dts
| 20 +-
arch/sandbox/dts/sandbox64.dts
| 20 +-
arch/sandbox/dts/sandbox_pmic.dtsi
| 2 +-
arch/sandbox/dts/test.dts
| 49 +-
arch/sandbox/include/asm/state.h
| 2 +-
arch/sandbox/include/asm/test.h
| 15 +
arch/x86/cpu/coreboot/coreboot.c
| 4 +-
arch/x86/cpu/mtrr.c
| 31 +-
arch/x86/include/asm/mtrr.h
| 6 +-
board/atmel/common/video_display.c
| 5 +-
cmd/cros_ec.c
| 31 +-
cmd/tpm_test.c
| 15 -
cmd/x86/mtrr.c
| 8 +-
common/cros_ec.c
| 4 +-
common/log.c
| 3 +-
configs/chromebook_link64_defconfig
| 1 +
configs/edison_defconfig
| 1 +
configs/malta64_defconfig
| 1 +
configs/malta64el_defconfig
| 1 +
configs/malta_defconfig
| 1 +
configs/maltael_defconfig
| 1 +
configs/sandbox_defconfig
| 2 +
configs/sandbox_flattree_defconfig
| 1 +
disk/part_efi.c
| 6 +-
doc/README.fdt-control
| 16 +-
doc/driver-model/README.txt
| 7 +-
drivers/block/Kconfig
| 12 +
drivers/block/Makefile
| 2 +-
drivers/core/device.c
| 45 +-
drivers/core/of_extra.c
| 27 +-
drivers/core/ofnode.c
| 10 +-
drivers/input/Kconfig
| 48 +
drivers/input/Makefile
| 11 +-
drivers/input/input.c
| 5 +-
drivers/misc/cros_ec.c
| 178 +-
drivers/misc/cros_ec_lpc.c
| 33 +
drivers/misc/cros_ec_sandbox.c
| 8 +-
drivers/mtd/spi/sandbox.c
| 194 +-
drivers/mtd/spi/sf-uclass.c
| 6 +-
drivers/mtd/spi/sf_probe.c
| 2 +-
drivers/mtd/spi/spi_flash.c
| 17 +-
drivers/pci/pci_rom.c
| 4 +-
drivers/pwm/sandbox_pwm.c
| 25 +
drivers/rtc/Kconfig
| 26 +
drivers/rtc/Makefile
| 2 +-
drivers/serial/Kconfig
| 21 +
drivers/serial/sandbox.c
| 24 +-
drivers/serial/serial-uclass.c
| 4 +
drivers/spi/sandbox_spi.c
| 38 +-
drivers/spi/spi-uclass.c
| 6 +-
drivers/sysreset/sysreset-uclass.c
| 34 +-
drivers/sysreset/sysreset_sandbox.c
| 15 +
drivers/tpm/Makefile
| 2 +-
drivers/tpm/tpm-uclass.c
| 9 +-
drivers/tpm/tpm_tis_lpc.c
| 2 +-
drivers/tpm/tpm_tis_sandbox.c
| 115 +-
drivers/video/backlight-uclass.c
| 10 +
drivers/video/panel-uclass.c
| 18 +
drivers/video/pwm_backlight.c
| 187 +-
drivers/video/simple_panel.c
| 20 +-
drivers/video/tegra124/sor.c
| 3 +-
drivers/video/vidconsole-uclass.c
| 14 +-
drivers/video/video-uclass.c
| 10 +-
drivers/video/video_bmp.c
| 2 +-
include/backlight.h
| 25 +
include/configs/edison.h
| 1 -
include/configs/malta.h
| 1 -
include/cros_ec.h
| 72 +-
include/dm/device.h
| 39 +-
include/dm/of_extra.h
| 3 +-
include/dm/uclass.h
| 3 +
include/ec_commands.h
| 4324 +++++++++++++++++++++++++++------
include/fdtdec.h
| 45 -
include/linux/compiler-gcc.h
| 6 +-
include/log.h
| 29 +-
include/os.h
| 36 +-
include/panel.h
| 22 +-
include/part_efi.h
| 2 +-
include/string.h
| 1 +
include/sysreset.h
| 34 +-
include/tpm-v1.h
| 76 +
include/tpm-v2.h
| 1 +
include/video.h
| 11 +-
lib/Kconfig
| 32 +
lib/Makefile
| 10 +-
lib/fdtdec.c
| 83 -
lib/hang.c
| 5 +-
lib/tpm-common.c
| 10 +-
lib/tpm-v1.c
| 68 +-
scripts/Makefile.spl
| 9 +-
scripts/config_whitelist.txt
| 1 -
test/dm/Makefile
| 1 +
test/dm/bus.c
| 12 +
test/dm/core.c
| 31 +
test/dm/ofnode.c
| 16 +
test/dm/panel.c
| 79 +
test/dm/sysreset.c
| 21 +-
test/dm/video.c
| 2 +-
test/log/log_test.c
| 13 +
test/py/README.md
| 1 +
test/py/multiplexed_log.py
| 7 +-
test/py/tests/test_log.py
| 6 +
test/run
| 57 +-
tools/binman/binman.py
| 28 +-
tools/binman/cmdline.py
| 2 +
tools/binman/elf_test.py
| 5 +
tools/binman/entry_test.py
| 17 +-
tools/binman/fdt_test.py
| 8 +-
tools/binman/ftest.py
| 268 +-
tools/binman/test/{01_invalid.dts => 001_invalid.dts}
| 0
tools/binman/test/{02_missing_node.dts => 002_missing_node.dts}
| 0
tools/binman/test/{03_empty.dts => 003_empty.dts}
| 0
tools/binman/test/{04_invalid_entry.dts => 004_invalid_entry.dts}
| 0
tools/binman/test/{05_simple.dts => 005_simple.dts}
| 0
tools/binman/test/{06_dual_image.dts => 006_dual_image.dts}
| 0
tools/binman/test/{07_bad_align.dts => 007_bad_align.dts}
| 0
tools/binman/test/{08_pack.dts => 008_pack.dts}
| 0
tools/binman/test/{09_pack_extra.dts => 009_pack_extra.dts}
| 0
tools/binman/test/{10_pack_align_power2.dts => 010_pack_align_power2.dts}
| 0
.../{11_pack_align_size_power2.dts => 011_pack_align_size_power2.dts}
| 0
tools/binman/test/{12_pack_inv_align.dts => 012_pack_inv_align.dts}
| 0
.../test/{13_pack_inv_size_align.dts => 013_pack_inv_size_align.dts}
| 0
tools/binman/test/{14_pack_overlap.dts => 014_pack_overlap.dts}
| 0
tools/binman/test/{15_pack_overflow.dts => 015_pack_overflow.dts}
| 0
.../test/{16_pack_image_overflow.dts => 016_pack_image_overflow.dts}
| 0
tools/binman/test/{17_pack_image_size.dts => 017_pack_image_size.dts}
| 0
tools/binman/test/{18_pack_image_align.dts => 018_pack_image_align.dts}
| 0
.../test/{19_pack_inv_image_align.dts => 019_pack_inv_image_align.dts}
| 0
...ack_inv_image_align_power2.dts => 020_pack_inv_image_align_power2.dts}
| 0
tools/binman/test/{21_image_pad.dts => 021_image_pad.dts}
| 0
tools/binman/test/{22_image_name.dts => 022_image_name.dts}
| 0
tools/binman/test/{23_blob.dts => 023_blob.dts}
| 0
tools/binman/test/{24_sorted.dts => 024_sorted.dts}
| 0
tools/binman/test/{25_pack_zero_size.dts => 025_pack_zero_size.dts}
| 0
tools/binman/test/{26_pack_u_boot_dtb.dts => 026_pack_u_boot_dtb.dts}
| 0
tools/binman/test/{27_pack_4gb_no_size.dts => 027_pack_4gb_no_size.dts}
| 0
tools/binman/test/{28_pack_4gb_outside.dts => 028_pack_4gb_outside.dts}
| 0
tools/binman/test/{29_x86-rom.dts => 029_x86-rom.dts}
| 0
.../binman/test/{30_x86-rom-me-no-desc.dts => 030_x86-rom-me-no-desc.dts}
| 0
tools/binman/test/{31_x86-rom-me.dts => 031_x86-rom-me.dts}
| 0
tools/binman/test/{32_intel-vga.dts => 032_intel-vga.dts}
| 0
tools/binman/test/{33_x86-start16.dts => 033_x86-start16.dts}
| 0
tools/binman/test/{34_x86_ucode.dts => 034_x86_ucode.dts}
| 0
tools/binman/test/{35_x86_single_ucode.dts => 035_x86_single_ucode.dts}
| 0
tools/binman/test/{36_u_boot_img.dts => 036_u_boot_img.dts}
| 0
tools/binman/test/{37_x86_no_ucode.dts => 037_x86_no_ucode.dts}
| 0
.../{38_x86_ucode_missing_node.dts => 038_x86_ucode_missing_node.dts}
| 0
.../{39_x86_ucode_missing_node2.dts => 039_x86_ucode_missing_node2.dts}
| 0
.../{40_x86_ucode_not_in_image.dts => 040_x86_ucode_not_in_image.dts}
| 0
tools/binman/test/{41_unknown_pos_size.dts => 041_unknown_pos_size.dts}
| 0
tools/binman/test/{42_intel-fsp.dts => 042_intel-fsp.dts}
| 0
tools/binman/test/{43_intel-cmc.dts => 043_intel-cmc.dts}
| 0
.../binman/test/{44_x86_optional_ucode.dts => 044_x86_optional_ucode.dts}
| 0
tools/binman/test/{45_prop_test.dts => 045_prop_test.dts}
| 0
tools/binman/test/{46_intel-vbt.dts => 046_intel-vbt.dts}
| 0
tools/binman/test/{47_spl_bss_pad.dts => 047_spl_bss_pad.dts}
| 0
tools/binman/test/{48_x86-start16-spl.dts => 048_x86-start16-spl.dts}
| 0
tools/binman/test/{49_x86_ucode_spl.dts => 049_x86_ucode_spl.dts}
| 0
tools/binman/test/{50_intel_mrc.dts => 050_intel_mrc.dts}
| 0
tools/binman/test/{51_u_boot_spl_dtb.dts => 051_u_boot_spl_dtb.dts}
| 0
tools/binman/test/{52_u_boot_spl_nodtb.dts => 052_u_boot_spl_nodtb.dts}
| 0
tools/binman/test/{53_symbols.dts => 053_symbols.dts}
| 0
tools/binman/test/{54_unit_address.dts => 054_unit_address.dts}
| 0
tools/binman/test/{55_sections.dts => 055_sections.dts}
| 0
tools/binman/test/{56_name_prefix.dts => 056_name_prefix.dts}
| 0
tools/binman/test/{57_unknown_contents.dts => 057_unknown_contents.dts}
| 0
...58_x86_ucode_spl_needs_retry.dts => 058_x86_ucode_spl_needs_retry.dts}
| 0
tools/binman/test/{59_change_size.dts => 059_change_size.dts}
| 0
tools/binman/test/{60_fdt_update.dts => 060_fdt_update.dts}
| 0
tools/binman/test/{61_fdt_update_bad.dts => 061_fdt_update_bad.dts}
| 0
tools/binman/test/{62_entry_args.dts => 062_entry_args.dts}
| 0
.../binman/test/{63_entry_args_missing.dts => 063_entry_args_missing.dts}
| 0
.../test/{64_entry_args_required.dts => 064_entry_args_required.dts}
| 0
...ntry_args_unknown_datatype.dts => 065_entry_args_unknown_datatype.dts}
| 0
tools/binman/test/{66_text.dts => 066_text.dts}
| 0
tools/binman/test/{67_fmap.dts => 067_fmap.dts}
| 0
tools/binman/test/{68_blob_named_by_arg.dts => 068_blob_named_by_arg.dts}
| 0
tools/binman/test/{69_fill.dts => 069_fill.dts}
| 0
tools/binman/test/{70_fill_no_size.dts => 070_fill_no_size.dts}
| 0
tools/binman/test/{71_gbb.dts => 071_gbb.dts}
| 0
tools/binman/test/{72_gbb_too_small.dts => 072_gbb_too_small.dts}
| 0
tools/binman/test/{73_gbb_no_size.dts => 073_gbb_no_size.dts}
| 0
tools/binman/test/{74_vblock.dts => 074_vblock.dts}
| 0
tools/binman/test/{75_vblock_no_content.dts => 075_vblock_no_content.dts}
| 0
.../binman/test/{76_vblock_bad_phandle.dts => 076_vblock_bad_phandle.dts}
| 0
tools/binman/test/{77_vblock_bad_entry.dts => 077_vblock_bad_entry.dts}
| 0
tools/binman/test/{78_u_boot_tpl.dts => 078_u_boot_tpl.dts}
| 0
tools/binman/test/{79_uses_pos.dts => 079_uses_pos.dts}
| 0
tools/binman/test/{80_fill_empty.dts => 080_fill_empty.dts}
| 0
tools/binman/test/{81_x86-start16-tpl.dts => 081_x86-start16-tpl.dts}
| 0
tools/binman/test/{82_fdt_update_all.dts => 082_fdt_update_all.dts}
| 0
tools/binman/test/{83_compress.dts => 083_compress.dts}
| 0
tools/binman/test/{84_files.dts => 084_files.dts}
| 0
tools/binman/test/{85_files_compress.dts => 085_files_compress.dts}
| 0
tools/binman/test/{86_files_none.dts => 086_files_none.dts}
| 0
tools/binman/test/{87_files_no_pattern.dts => 087_files_no_pattern.dts}
| 0
tools/binman/test/{88_expand_size.dts => 088_expand_size.dts}
| 0
tools/binman/test/{89_expand_size_bad.dts => 089_expand_size_bad.dts}
| 0
tools/binman/test/{90_hash.dts => 090_hash.dts}
| 0
tools/binman/test/{91_hash_no_algo.dts => 091_hash_no_algo.dts}
| 0
tools/binman/test/{92_hash_bad_algo.dts => 092_hash_bad_algo.dts}
| 0
tools/binman/test/{93_x86_tpl_ucode.dts => 093_x86_tpl_ucode.dts}
| 0
tools/binman/test/{94_fmap_x86.dts => 094_fmap_x86.dts}
| 0
tools/binman/test/{95_fmap_x86_section.dts => 095_fmap_x86_section.dts}
| 0
tools/binman/test/{96_elf.dts => 096_elf.dts}
| 0
tools/binman/test/{97_elf_strip.dts => 097_elf_strip.dts}
| 0
tools/binman/test/{99_hash_section.dts => 099_hash_section.dts}
| 0
tools/buildman/test.py
| 8 +-
tools/concurrencytest/.gitignore
| 1 +
tools/concurrencytest/README.md
| 74 +
tools/concurrencytest/concurrencytest.py
| 144 ++
tools/dtoc/dtoc.py
| 7 +
tools/dtoc/fdt.py
| 2 +-
tools/dtoc/test_dtoc.py
| 6 +-
tools/dtoc/test_fdt.py
| 12 +-
tools/patman/settings.py
| 27 +-
tools/patman/test_util.py
| 2 +-
tools/patman/tools.py
| 3 +
tools/patman/tout.py
| 8 +-
224 files changed, 5757 insertions(+), 1621 deletions(-)
create mode 100644 include/string.h
create mode 100644 test/dm/panel.c
rename tools/binman/test/{01_invalid.dts => 001_invalid.dts} (100%)
rename tools/binman/test/{02_missing_node.dts => 002_missing_node.dts}
(100%)
rename tools/binman/test/{03_empty.dts => 003_empty.dts} (100%)
rename tools/binman/test/{04_invalid_entry.dts => 004_invalid_entry.dts}
(100%)
rename tools/binman/test/{05_simple.dts => 005_simple.dts} (100%)
rename tools/binman/test/{06_dual_image.dts => 006_dual_image.dts} (100%)
rename tools/binman/test/{07_bad_align.dts => 007_bad_align.dts} (100%)
rename tools/binman/test/{08_pack.dts => 008_pack.dts} (100%)
rename tools/binman/test/{09_pack_extra.dts => 009_pack_extra.dts} (100%)
rename tools/binman/test/{10_pack_align_power2.dts =>
010_pack_align_power2.dts} (100%)
rename tools/binman/test/{11_pack_align_size_power2.dts =>
011_pack_align_size_power2.dts} (100%)
rename tools/binman/test/{12_pack_inv_align.dts => 012_pack_inv_align.dts}
(100%)
rename tools/binman/test/{13_pack_inv_size_align.dts =>
013_pack_inv_size_align.dts} (100%)
rename tools/binman/test/{14_pack_overlap.dts => 014_pack_overlap.dts}
(100%)
rename tools/binman/test/{15_pack_overflow.dts => 015_pack_overflow.dts}
(100%)
rename tools/binman/test/{16_pack_image_overflow.dts =>
016_pack_image_overflow.dts} (100%)
rename tools/binman/test/{17_pack_image_size.dts =>
017_pack_image_size.dts} (100%)
rename tools/binman/test/{18_pack_image_align.dts =>
018_pack_image_align.dts} (100%)
rename tools/binman/test/{19_pack_inv_image_align.dts =>
019_pack_inv_image_align.dts} (100%)
rename tools/binman/test/{20_pack_inv_image_align_power2.dts =>
020_pack_inv_image_align_power2.dts} (100%)
rename tools/binman/test/{21_image_pad.dts => 021_image_pad.dts} (100%)
rename tools/binman/test/{22_image_name.dts => 022_image_name.dts} (100%)
rename tools/binman/test/{23_blob.dts => 023_blob.dts} (100%)
rename tools/binman/test/{24_sorted.dts => 024_sorted.dts} (100%)
rename tools/binman/test/{25_pack_zero_size.dts => 025_pack_zero_size.dts}
(100%)
rename tools/binman/test/{26_pack_u_boot_dtb.dts =>
026_pack_u_boot_dtb.dts} (100%)
rename tools/binman/test/{27_pack_4gb_no_size.dts =>
027_pack_4gb_no_size.dts} (100%)
rename tools/binman/test/{28_pack_4gb_outside.dts =>
028_pack_4gb_outside.dts} (100%)
rename tools/binman/test/{29_x86-rom.dts => 029_x86-rom.dts} (100%)
rename tools/binman/test/{30_x86-rom-me-no-desc.dts =>
030_x86-rom-me-no-desc.dts} (100%)
rename tools/binman/test/{31_x86-rom-me.dts => 031_x86-rom-me.dts} (100%)
rename tools/binman/test/{32_intel-vga.dts => 032_intel-vga.dts} (100%)
rename tools/binman/test/{33_x86-start16.dts => 033_x86-start16.dts} (100%)
rename tools/binman/test/{34_x86_ucode.dts => 034_x86_ucode.dts} (100%)
rename tools/binman/test/{35_x86_single_ucode.dts =>
035_x86_single_ucode.dts} (100%)
rename tools/binman/test/{36_u_boot_img.dts => 036_u_boot_img.dts} (100%)
rename tools/binman/test/{37_x86_no_ucode.dts => 037_x86_no_ucode.dts}
(100%)
rename tools/binman/test/{38_x86_ucode_missing_node.dts =>
038_x86_ucode_missing_node.dts} (100%)
rename tools/binman/test/{39_x86_ucode_missing_node2.dts =>
039_x86_ucode_missing_node2.dts} (100%)
rename tools/binman/test/{40_x86_ucode_not_in_image.dts =>
040_x86_ucode_not_in_image.dts} (100%)
rename tools/binman/test/{41_unknown_pos_size.dts =>
041_unknown_pos_size.dts} (100%)
rename tools/binman/test/{42_intel-fsp.dts => 042_intel-fsp.dts} (100%)
rename tools/binman/test/{43_intel-cmc.dts => 043_intel-cmc.dts} (100%)
rename tools/binman/test/{44_x86_optional_ucode.dts =>
044_x86_optional_ucode.dts} (100%)
rename tools/binman/test/{45_prop_test.dts => 045_prop_test.dts} (100%)
rename tools/binman/test/{46_intel-vbt.dts => 046_intel-vbt.dts} (100%)
rename tools/binman/test/{47_spl_bss_pad.dts => 047_spl_bss_pad.dts} (100%)
rename tools/binman/test/{48_x86-start16-spl.dts =>
048_x86-start16-spl.dts} (100%)
rename tools/binman/test/{49_x86_ucode_spl.dts => 049_x86_ucode_spl.dts}
(100%)
rename tools/binman/test/{50_intel_mrc.dts => 050_intel_mrc.dts} (100%)
rename tools/binman/test/{51_u_boot_spl_dtb.dts => 051_u_boot_spl_dtb.dts}
(100%)
rename tools/binman/test/{52_u_boot_spl_nodtb.dts =>
052_u_boot_spl_nodtb.dts} (100%)
rename tools/binman/test/{53_symbols.dts => 053_symbols.dts} (100%)
rename tools/binman/test/{54_unit_address.dts => 054_unit_address.dts}
(100%)
rename tools/binman/test/{55_sections.dts => 055_sections.dts} (100%)
rename tools/binman/test/{56_name_prefix.dts => 056_name_prefix.dts} (100%)
rename tools/binman/test/{57_unknown_contents.dts =>
057_unknown_contents.dts} (100%)
rename tools/binman/test/{58_x86_ucode_spl_needs_retry.dts =>
058_x86_ucode_spl_needs_retry.dts} (100%)
rename tools/binman/test/{59_change_size.dts => 059_change_size.dts} (100%)
rename tools/binman/test/{60_fdt_update.dts => 060_fdt_update.dts} (100%)
rename tools/binman/test/{61_fdt_update_bad.dts => 061_fdt_update_bad.dts}
(100%)
rename tools/binman/test/{62_entry_args.dts => 062_entry_args.dts} (100%)
rename tools/binman/test/{63_entry_args_missing.dts =>
063_entry_args_missing.dts} (100%)
rename tools/binman/test/{64_entry_args_required.dts =>
064_entry_args_required.dts} (100%)
rename tools/binman/test/{65_entry_args_unknown_datatype.dts =>
065_entry_args_unknown_datatype.dts} (100%)
rename tools/binman/test/{66_text.dts => 066_text.dts} (100%)
rename tools/binman/test/{67_fmap.dts => 067_fmap.dts} (100%)
rename tools/binman/test/{68_blob_named_by_arg.dts =>
068_blob_named_by_arg.dts} (100%)
rename tools/binman/test/{69_fill.dts => 069_fill.dts} (100%)
rename tools/binman/test/{70_fill_no_size.dts => 070_fill_no_size.dts}
(100%)
rename tools/binman/test/{71_gbb.dts => 071_gbb.dts} (100%)
rename tools/binman/test/{72_gbb_too_small.dts => 072_gbb_too_small.dts}
(100%)
rename tools/binman/test/{73_gbb_no_size.dts => 073_gbb_no_size.dts} (100%)
rename tools/binman/test/{74_vblock.dts => 074_vblock.dts} (100%)
rename tools/binman/test/{75_vblock_no_content.dts =>
075_vblock_no_content.dts} (100%)
rename tools/binman/test/{76_vblock_bad_phandle.dts =>
076_vblock_bad_phandle.dts} (100%)
rename tools/binman/test/{77_vblock_bad_entry.dts =>
077_vblock_bad_entry.dts} (100%)
rename tools/binman/test/{78_u_boot_tpl.dts => 078_u_boot_tpl.dts} (100%)
rename tools/binman/test/{79_uses_pos.dts => 079_uses_pos.dts} (100%)
rename tools/binman/test/{80_fill_empty.dts => 080_fill_empty.dts} (100%)
rename tools/binman/test/{81_x86-start16-tpl.dts =>
081_x86-start16-tpl.dts} (100%)
rename tools/binman/test/{82_fdt_update_all.dts => 082_fdt_update_all.dts}
(100%)
rename tools/binman/test/{83_compress.dts => 083_compress.dts} (100%)
rename tools/binman/test/{84_files.dts => 084_files.dts} (100%)
rename tools/binman/test/{85_files_compress.dts => 085_files_compress.dts}
(100%)
rename tools/binman/test/{86_files_none.dts => 086_files_none.dts} (100%)
rename tools/binman/test/{87_files_no_pattern.dts =>
087_files_no_pattern.dts} (100%)
rename tools/binman/test/{88_expand_size.dts => 088_expand_size.dts} (100%)
rename tools/binman/test/{89_expand_size_bad.dts =>
089_expand_size_bad.dts} (100%)
rename tools/binman/test/{90_hash.dts => 090_hash.dts} (100%)
rename tools/binman/test/{91_hash_no_algo.dts => 091_hash_no_algo.dts}
(100%)
rename tools/binman/test/{92_hash_bad_algo.dts => 092_hash_bad_algo.dts}
(100%)
rename tools/binman/test/{93_x86_tpl_ucode.dts => 093_x86_tpl_ucode.dts}
(100%)
rename tools/binman/test/{94_fmap_x86.dts => 094_fmap_x86.dts} (100%)
rename tools/binman/test/{95_fmap_x86_section.dts =>
095_fmap_x86_section.dts} (100%)
rename tools/binman/test/{96_elf.dts => 096_elf.dts} (100%)
rename tools/binman/test/{97_elf_strip.dts => 097_elf_strip.dts} (100%)
rename tools/binman/test/{99_hash_section.dts => 099_hash_section.dts}
(100%)
create mode 100644 tools/concurrencytest/.gitignore
create mode 100644 tools/concurrencytest/README.md
create mode 100644 tools/concurrencytest/concurrencytest.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-09-30 20:06 Simon Glass
2018-10-01 11:54 ` Tom Rini
@ 2018-10-03 14:38 ` Michal Simek
1 sibling, 0 replies; 300+ messages in thread
From: Michal Simek @ 2018-10-03 14:38 UTC (permalink / raw)
To: u-boot
Hi Jens and Simon,
ne 30. 9. 2018 v 22:07 odesÃlatel Simon Glass <sjg@chromium.org> napsal:
> Hi Tom,
>
> Here are some binman and core driver-model enhancements.
>
> https://travis-ci.org/sglass68/u-boot/builds/435045761
>
> Re signed tags, I did read this link:
>
> http://web.mit.edu/git/www/howto/using-signed-tag-in-pull-request.html
>
> but I get:
>
> error: gpg failed to sign the data
> error: unable to sign the tag
> The tag message has been left in .git/TAG_EDITMSG
>
> I have tried for a while to get gpg going. I used to use it a long
> time again. Do you know any good instructions for that?
>
> Regards,
> Simon
>
>
> The following changes since commit
> bbef20d479441b01d62252cf127498c58078b2c3:
>
> Merge tag 'xilinx-for-v2018.11' of
> git://git.denx.de/u-boot-microblaze (2018-09-27 08:29:10 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 31b8217e83a63d1c8c70edcdcdf5aff3b1791640:
>
> dm: test: Add "/firmware" node scan test (2018-09-29 11:49:35 -0600)
>
> ----------------------------------------------------------------
> Jens Wiklander (1):
> fdt: fdtdec_setup_memory_banksize() use livetree
>
>
This patch is breaking SPL at least on zynq board. I didn't test zynqmp but
I think situation will be very similar.
I am ending in this while loop and never come out of that.
1205 while (ofnode_read_resource(mem, reg++, &res)) {
1206 reg = 0;
1207 mem = get_next_memory_node(mem);
1208 if (!ofnode_valid(mem)) {
1209 if (bank)
1210 return 0;
1211 goto missing_node;
1212 }
1213 }
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-10-01 11:54 ` Tom Rini
@ 2018-10-01 17:26 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-10-01 17:26 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 1 October 2018 at 05:54, Tom Rini <trini@konsulko.com> wrote:
> On Sun, Sep 30, 2018 at 01:06:10PM -0700, Simon Glass wrote:
>
>> Hi Tom,
>>
>> Here are some binman and core driver-model enhancements.
>>
>> https://travis-ci.org/sglass68/u-boot/builds/435045761
>>
>> Re signed tags, I did read this link:
>>
>> http://web.mit.edu/git/www/howto/using-signed-tag-in-pull-request.html
>>
>> but I get:
>>
>> error: gpg failed to sign the data
>> error: unable to sign the tag
>> The tag message has been left in .git/TAG_EDITMSG
>>
>> I have tried for a while to get gpg going. I used to use it a long
>> time again. Do you know any good instructions for that?
>
> Have you fully switched to using gpg2 (as "gpg" even, or configured git
> to know to use gpg2 instead) ? That might be it.
OK I installed that, and it looks like I had configured the key
wrongly with gitconfig.
I think it is working now - thanks!
- Simon
[..]
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-10-01 11:54 UTC (permalink / raw)
To: u-boot
On Sun, Sep 30, 2018 at 01:06:10PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here are some binman and core driver-model enhancements.
>
> https://travis-ci.org/sglass68/u-boot/builds/435045761
>
> Re signed tags, I did read this link:
>
> http://web.mit.edu/git/www/howto/using-signed-tag-in-pull-request.html
>
> but I get:
>
> error: gpg failed to sign the data
> error: unable to sign the tag
> The tag message has been left in .git/TAG_EDITMSG
>
> I have tried for a while to get gpg going. I used to use it a long
> time again. Do you know any good instructions for that?
Have you fully switched to using gpg2 (as "gpg" even, or configured git
to know to use gpg2 instead) ? That might be it.
>
> Regards,
> Simon
>
>
> The following changes since commit bbef20d479441b01d62252cf127498c58078b2c3:
>
> Merge tag 'xilinx-for-v2018.11' of
> git://git.denx.de/u-boot-microblaze (2018-09-27 08:29:10 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 31b8217e83a63d1c8c70edcdcdf5aff3b1791640:
>
> dm: test: Add "/firmware" node scan test (2018-09-29 11:49:35 -0600)
>
Applied to u-boot/master, 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/20181001/6cf501d8/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-09-30 20:06 Simon Glass
2018-10-01 11:54 ` Tom Rini
2018-10-03 14:38 ` Michal Simek
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2018-09-30 20:06 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are some binman and core driver-model enhancements.
https://travis-ci.org/sglass68/u-boot/builds/435045761
Re signed tags, I did read this link:
http://web.mit.edu/git/www/howto/using-signed-tag-in-pull-request.html
but I get:
error: gpg failed to sign the data
error: unable to sign the tag
The tag message has been left in .git/TAG_EDITMSG
I have tried for a while to get gpg going. I used to use it a long
time again. Do you know any good instructions for that?
Regards,
Simon
The following changes since commit bbef20d479441b01d62252cf127498c58078b2c3:
Merge tag 'xilinx-for-v2018.11' of
git://git.denx.de/u-boot-microblaze (2018-09-27 08:29:10 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 31b8217e83a63d1c8c70edcdcdf5aff3b1791640:
dm: test: Add "/firmware" node scan test (2018-09-29 11:49:35 -0600)
----------------------------------------------------------------
Jens Wiklander (1):
fdt: fdtdec_setup_memory_banksize() use livetree
Liviu Dudau (2):
include/clk.h: Fix the name of the clock uclass in comment
include/dm.h: Remove duplicated include directive
Marek Vasut (1):
cmd: clk: Add trivial implementation of clock dump for DM
Mario Six (7):
core: Add functions to set properties in live-tree
test: Add tests for DT-manipulation functions
core: Add dev_{disable,enable}_by_path
test: Add tests for dev_{enable, disable}_by_path
drivers: Add board uclass
board: Add gazerbeam driver
test: Add tests for board uclass
Rajan Vaja (2):
firmware: Add FIRMWARE config prompt string
dm: test: Add "/firmware" node scan test
Simon Glass (33):
fdt: Add Python support for adding/removing nodes
binman: Move 'special properties' docs to README.entries
binman: Allow 'fill' entry to have a size of 0
binman: Generate an error when text is not provided
binman: Add x86 support for starting TPL
binman: Tidy up the vblock entry
binman: Support building a selection of images
dtoc: Allow syncing of the device tree back to a file
dtoc: Fixed endianness in Prop.GetEmpty()
dtoc: Support adding new nodes
dtoc: Add methods for adding and updating properties
dtoc: Add a way to create an Fdt object from a data block
binman: Add an entry method for getting the default filename
binman: Move state information into a new module
binman: Move state logic into the state module
binman: Centralise device-tree updates within binman
binman: Obtain the list of device trees from the config
binman: Allow control of whether a fake DT is used
binman: Support updating all device tree files
patman: Detect missing tools and report them
binman: Support compressed entries
binman: Allow zero-size sections
binman: Support adding files
binman: Support expanding entries
binman: Mention section attributes in docs
binman: Support hashing entries
binman: Support x86 microcode in TPL
binman: Record the parent section of each section
binman: Correct fmap output on x86
binman: Support ELF files for U-Boot and SPL
binman: Allow writing a map file when something goes wrong
buildman: Avoid hanging when the config changes
sandbox: Add an explanation of the sandbox variants
.travis.yml | 1 +
Documentation/devicetree/bindings/board/gdsys,board_gazerbeam.txt | 46 ++++
arch/Kconfig | 1 +
arch/sandbox/dts/test.dts | 10 +
board/sandbox/README.sandbox | 24 ++
cmd/clk.c | 37 +++
configs/sandbox64_defconfig | 2 +
configs/sandbox_defconfig | 2 +
configs/sandbox_flattree_defconfig | 2 +
configs/sandbox_noblk_defconfig | 2 +
configs/sandbox_spl_defconfig | 2 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/board/Kconfig | 22 ++
drivers/board/Makefile | 7 +
drivers/board/board-uclass.c | 60 +++++
drivers/board/gazerbeam.c |
262 ++++++++++++++++++++
drivers/board/gazerbeam.h | 18 ++
drivers/board/sandbox.c |
107 +++++++++
drivers/board/sandbox.h | 12 +
drivers/core/device.c | 78 ++++++
drivers/core/ofnode.c | 70 ++++++
drivers/firmware/Kconfig | 2 +-
drivers/firmware/Makefile | 1 +
drivers/firmware/firmware-sandbox.c | 20 ++
drivers/firmware/firmware-uclass.c | 2 +-
include/board.h |
139 +++++++++++
include/clk.h | 2 +-
include/dm.h | 1 -
include/dm/device.h | 16 ++
include/dm/ofnode.h | 46 ++++
include/dm/uclass-id.h | 1 +
lib/fdtdec.c | 44 ++--
scripts/dtc/pylibfdt/libfdt.i_shipped | 34 ++-
test/dm/Makefile | 2 +
test/dm/board.c | 57 +++++
test/dm/firmware.c | 22 ++
test/dm/test-fdt.c | 82 +++++++
tools/binman/README | 49 +++-
tools/binman/README.entries |
103 +++++++-
tools/binman/bsection.py | 69 +++++-
tools/binman/cmdline.py | 4 +
tools/binman/control.py |
96 ++++----
tools/binman/entry.py |
92 +++++++-
tools/binman/entry_test.py | 16 ++
tools/binman/etype/_testing.py | 7 +-
tools/binman/etype/blob.py | 49 +++-
tools/binman/etype/blob_dtb.py | 33 +++
tools/binman/etype/files.py | 57 +++++
tools/binman/etype/fill.py | 2 +-
tools/binman/etype/fmap.py | 11 +-
tools/binman/etype/section.py | 14 +-
tools/binman/etype/text.py | 3 +
tools/binman/etype/u_boot_dtb.py | 9 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 27 ++-
tools/binman/etype/u_boot_elf.py | 39 +++
tools/binman/etype/u_boot_spl_dtb.py | 6 +-
tools/binman/etype/u_boot_spl_elf.py | 24 ++
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +
tools/binman/etype/u_boot_tpl_dtb.py | 6 +-
tools/binman/etype/u_boot_tpl_dtb_with_ucode.py | 25 ++
tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 27 +++
tools/binman/etype/u_boot_ucode.py | 26 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 24 +-
tools/binman/etype/vblock.py | 11 +-
tools/binman/etype/x86_start16_tpl.py | 30 +++
tools/binman/fmap_util.py | 6 +-
tools/binman/ftest.py |
394 ++++++++++++++++++++++++++++++-
tools/binman/image.py | 30 ++-
tools/binman/state.py |
253 ++++++++++++++++++++
tools/binman/test/80_fill_empty.dts | 15 ++
tools/binman/test/81_x86-start16-tpl.dts | 14 ++
tools/binman/test/82_fdt_update_all.dts | 18 ++
tools/binman/test/83_compress.dts | 11 +
tools/binman/test/84_files.dts | 11 +
tools/binman/test/85_files_compress.dts | 11 +
tools/binman/test/86_files_none.dts | 12 +
tools/binman/test/87_files_no_pattern.dts | 11 +
tools/binman/test/88_expand_size.dts | 43 ++++
tools/binman/test/89_expand_size_bad.dts | 14 ++
tools/binman/test/90_hash.dts | 12 +
tools/binman/test/91_hash_no_algo.dts | 11 +
tools/binman/test/92_hash_bad_algo.dts | 12 +
tools/binman/test/93_x86_tpl_ucode.dts | 29 +++
tools/binman/test/94_fmap_x86.dts | 20 ++
tools/binman/test/95_fmap_x86_section.dts | 22 ++
tools/binman/test/96_elf.dts | 14 ++
tools/binman/test/97_elf_strip.dts | 15 ++
tools/binman/test/99_hash_section.dts | 18 ++
tools/binman/test/files/1.dat | 1 +
tools/binman/test/files/2.dat | 1 +
tools/binman/test/files/ignored_dir.dat/ignore | 0
tools/binman/test/files/not-this-one | 1 +
tools/buildman/builder.py | 2 +-
tools/dtoc/fdt.py |
197 +++++++++++++++-
tools/dtoc/test_fdt.py | 67 +++++-
tools/patman/tools.py | 47 +++-
97 files changed, 3212 insertions(+), 200 deletions(-)
create mode 100644
Documentation/devicetree/bindings/board/gdsys,board_gazerbeam.txt
create mode 100644 drivers/board/Kconfig
create mode 100644 drivers/board/Makefile
create mode 100644 drivers/board/board-uclass.c
create mode 100644 drivers/board/gazerbeam.c
create mode 100644 drivers/board/gazerbeam.h
create mode 100644 drivers/board/sandbox.c
create mode 100644 drivers/board/sandbox.h
create mode 100644 drivers/firmware/firmware-sandbox.c
create mode 100644 include/board.h
create mode 100644 test/dm/board.c
create mode 100644 test/dm/firmware.c
create mode 100644 tools/binman/etype/blob_dtb.py
create mode 100644 tools/binman/etype/files.py
create mode 100644 tools/binman/etype/u_boot_elf.py
create mode 100644 tools/binman/etype/u_boot_spl_elf.py
create mode 100644 tools/binman/etype/u_boot_tpl_dtb_with_ucode.py
create mode 100644 tools/binman/etype/u_boot_tpl_with_ucode_ptr.py
create mode 100644 tools/binman/etype/x86_start16_tpl.py
create mode 100644 tools/binman/state.py
create mode 100644 tools/binman/test/80_fill_empty.dts
create mode 100644 tools/binman/test/81_x86-start16-tpl.dts
create mode 100644 tools/binman/test/82_fdt_update_all.dts
create mode 100644 tools/binman/test/83_compress.dts
create mode 100644 tools/binman/test/84_files.dts
create mode 100644 tools/binman/test/85_files_compress.dts
create mode 100644 tools/binman/test/86_files_none.dts
create mode 100644 tools/binman/test/87_files_no_pattern.dts
create mode 100644 tools/binman/test/88_expand_size.dts
create mode 100644 tools/binman/test/89_expand_size_bad.dts
create mode 100644 tools/binman/test/90_hash.dts
create mode 100644 tools/binman/test/91_hash_no_algo.dts
create mode 100644 tools/binman/test/92_hash_bad_algo.dts
create mode 100644 tools/binman/test/93_x86_tpl_ucode.dts
create mode 100644 tools/binman/test/94_fmap_x86.dts
create mode 100644 tools/binman/test/95_fmap_x86_section.dts
create mode 100644 tools/binman/test/96_elf.dts
create mode 100644 tools/binman/test/97_elf_strip.dts
create mode 100644 tools/binman/test/99_hash_section.dts
create mode 100644 tools/binman/test/files/1.dat
create mode 100644 tools/binman/test/files/2.dat
create mode 100644 tools/binman/test/files/ignored_dir.dat/ignore
create mode 100644 tools/binman/test/files/not-this-one
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-09-19 0:13 Simon Glass
2018-09-19 2:05 ` Bin Meng
@ 2018-09-20 0:32 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-09-20 0:32 UTC (permalink / raw)
To: u-boot
On Tue, Sep 18, 2018 at 06:13:24PM -0600, Simon Glass wrote:
> Hi Tom,
>
> I was unable to get signed tags working, but here is a list of changes:
I assume you read the link from before, can you talk about the issues a
bit more? Thanks!
> - MPC83xx device tree additions (CPU and RAM)
> - Fix sandbox build error
> - Sync bitrev with Linux
> - Various ofnode/DT improvements
>
>
> The following changes since commit 40e44c8bf516e7071c9b80113473be5757e8c3f3:
>
> Merge branch 'master' of git://git.denx.de/u-boot-coldfire (2018-09-16
> 10:32:33 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 75629a25087cd9897305375421abe2248bc40e72:
>
> dm: uclass: Adding missing child_pre_probe description (2018-09-18
> 13:27:10 -0600)
Applied to u-boot/master, 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/20180919/3560e16d/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-09-19 0:13 Simon Glass
@ 2018-09-19 2:05 ` Bin Meng
2018-09-20 0:32 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Bin Meng @ 2018-09-19 2:05 UTC (permalink / raw)
To: u-boot
On Wed, Sep 19, 2018 at 8:13 AM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> I was unable to get signed tags working, but here is a list of changes:
>
Last time I wanted to have a try, but looks there was no enough
documentation to start with. If we can have some detailed instructions
about signed tags, that would be helpful.
> - MPC83xx device tree additions (CPU and RAM)
> - Fix sandbox build error
> - Sync bitrev with Linux
> - Various ofnode/DT improvements
>
>
Regards,
Bin
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-09-19 0:13 Simon Glass
2018-09-19 2:05 ` Bin Meng
2018-09-20 0:32 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2018-09-19 0:13 UTC (permalink / raw)
To: u-boot
Hi Tom,
I was unable to get signed tags working, but here is a list of changes:
- MPC83xx device tree additions (CPU and RAM)
- Fix sandbox build error
- Sync bitrev with Linux
- Various ofnode/DT improvements
The following changes since commit 40e44c8bf516e7071c9b80113473be5757e8c3f3:
Merge branch 'master' of git://git.denx.de/u-boot-coldfire (2018-09-16
10:32:33 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 75629a25087cd9897305375421abe2248bc40e72:
dm: uclass: Adding missing child_pre_probe description (2018-09-18
13:27:10 -0600)
----------------------------------------------------------------
Andy Shevchenko (1):
sandbox: Build with -fPIC
Bin Meng (3):
lib: bitrev: Sync with Linux kernel v4.17
sandbox: Enable bitrev library build
dm: uclass: Adding missing child_pre_probe description
Cédric Le Goater (1):
dm: core: fix devfdt_remap_addr_index()
Jens Wiklander (2):
ofnode: add ofnode_by_prop_value()
test: ofnode: test ofnode_by_prop_value()
Mario Six (17):
ram: Add driver for MPC83xx
powerpc: Add read*_*/write*_* macros
sysreset: Add get_status method
test: Add tests for sysreset_get_status
board_f: Add reset status printing
mpc83xx: Add sysreset driver
clk: Add MPC83xx clock driver
timer: Sort Makefile entries
timer: Add MPC83xx timer driver
common: board_f: Sort includes
init: Fix documentation
board_f: Use static print_cpuinfo if CONFIG_CPU is active
cpu: Fix cpu.h documentation
cpu: Add cpu_probe_all method
test: Add tests for CPU uclass
cpu: Add MPC83xx CPU driver
misc: Add MPC83xx serdes driver
Masahiro Yamada (1):
dm: fix alignment of help message of "dm" command
Michael Heimpold (1):
binman: fix a few typos in documentation
Rajan Vaja (2):
dm: core: Move "/clock" node scan into function
dm: core: Scan "/firmware" node by default
Documentation/devicetree/bindings/clk/fsl,mpc83xx-clk.txt | 23 +
Documentation/devicetree/bindings/cpu/fsl,mpc83xx.txt | 34 +
.../devicetree/bindings/misc/fsl,mpc83xx-serdes.txt | 24 +
.../bindings/ram/fsl,mpc83xx-mem-controller.txt | 314 +++++++
.../devicetree/bindings/timer/fsl,mpc83xx-timer.txt | 21 +
MAINTAINERS | 11 +
arch/Kconfig | 1 +
arch/powerpc/cpu/mpc83xx/cpu.c | 9 +-
arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +
arch/powerpc/cpu/mpc83xx/serdes.c | 4 +
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 +
arch/powerpc/cpu/mpc83xx/speed.c | 4 +
arch/powerpc/include/asm/arch-mpc83xx/soc.h | 74 ++
arch/powerpc/include/asm/config.h | 2 +-
arch/powerpc/include/asm/fsl_mpc83xx_serdes.h | 4 +
arch/powerpc/include/asm/global_data.h | 4 +
arch/powerpc/include/asm/io.h | 18 +
arch/powerpc/include/asm/processor.h | 2 +
arch/powerpc/lib/Makefile | 4 +
arch/powerpc/lib/interrupts.c | 5 +-
arch/sandbox/config.mk | 1 +
arch/sandbox/dts/test.dts | 12 +
common/board_f.c | 58 +-
drivers/clk/Kconfig | 6 +
drivers/clk/Makefile | 1 +
drivers/clk/mpc83xx_clk.c | 410 +++++++++
drivers/clk/mpc83xx_clk.h | 379 ++++++++
drivers/core/fdtaddr.c | 2 +-
drivers/core/of_access.c | 27 +
drivers/core/ofnode.c | 14 +
drivers/core/root.c | 35 +-
drivers/cpu/Kconfig | 7 +
drivers/cpu/Makefile | 2 +
drivers/cpu/cpu-uclass.c | 23 +
drivers/cpu/cpu_sandbox.c | 61 ++
drivers/cpu/mpc83xx_cpu.c | 349 ++++++++
drivers/cpu/mpc83xx_cpu.h | 126 +++
drivers/misc/Kconfig | 7 +
drivers/misc/Makefile | 1 +
drivers/misc/mpc83xx_serdes.c | 185 ++++
drivers/misc/mpc83xx_serdes.h | 232 +++++
drivers/ram/Kconfig | 9 +
drivers/ram/Makefile | 1 +
drivers/ram/mpc83xx_sdram.c | 1096
+++++++++++++++++++++++
drivers/sysreset/Kconfig | 5 +
drivers/sysreset/Makefile | 9 +-
drivers/sysreset/sysreset-uclass.c | 10 +
drivers/sysreset/sysreset_mpc83xx.c | 212 +++++
drivers/sysreset/sysreset_mpc83xx.h | 103 +++
drivers/sysreset/sysreset_sandbox.c | 16 +
drivers/timer/Kconfig | 7 +
drivers/timer/Makefile | 17 +-
drivers/timer/mpc83xx_timer.c | 249 +++++
include/cpu.h | 35 +-
include/dm/of_access.h | 16 +
include/dm/ofnode.h | 14 +
include/dm/uclass.h | 1 +
include/dt-bindings/clk/mpc83xx-clk.h | 33 +
include/dt-bindings/memory/mpc83xx-sdram.h | 161 ++++
include/init.h | 34 +-
include/linux/bitrev.h | 102 ++-
include/mpc83xx.h | 6 +
include/sysreset.h | 17 +
lib/bitrev.c | 28 +-
test/dm/Makefile | 1 +
test/dm/cmd_dm.c | 2 +-
test/dm/cpu.c | 45 +
test/dm/ofnode.c | 27 +
test/dm/sysreset.c | 20 +
tools/binman/README | 8 +-
70 files changed, 4695 insertions(+), 91 deletions(-)
create mode 100644
Documentation/devicetree/bindings/clk/fsl,mpc83xx-clk.txt
create mode 100644 Documentation/devicetree/bindings/cpu/fsl,mpc83xx.txt
create mode 100644
Documentation/devicetree/bindings/misc/fsl,mpc83xx-serdes.txt
create mode 100644
Documentation/devicetree/bindings/ram/fsl,mpc83xx-mem-controller.txt
create mode 100644
Documentation/devicetree/bindings/timer/fsl,mpc83xx-timer.txt
create mode 100644 arch/powerpc/include/asm/arch-mpc83xx/soc.h
create mode 100644 drivers/clk/mpc83xx_clk.c
create mode 100644 drivers/clk/mpc83xx_clk.h
create mode 100644 drivers/cpu/cpu_sandbox.c
create mode 100644 drivers/cpu/mpc83xx_cpu.c
create mode 100644 drivers/cpu/mpc83xx_cpu.h
create mode 100644 drivers/misc/mpc83xx_serdes.c
create mode 100644 drivers/misc/mpc83xx_serdes.h
create mode 100644 drivers/ram/mpc83xx_sdram.c
create mode 100644 drivers/sysreset/sysreset_mpc83xx.c
create mode 100644 drivers/sysreset/sysreset_mpc83xx.h
create mode 100644 drivers/timer/mpc83xx_timer.c
create mode 100644 include/dt-bindings/clk/mpc83xx-clk.h
create mode 100644 include/dt-bindings/memory/mpc83xx-sdram.h
create mode 100644 test/dm/cpu.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-17 15:33 ` Stephen Warren
@ 2018-08-23 10:45 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-08-23 10:45 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 17 July 2018 at 09:33, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 07/16/2018 10:40 PM, Simon Glass wrote:
>>
>> Hi Stephen,
>>
>> On 12 July 2018 at 15:26, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>
>>>
>>> On 07/12/2018 12:17 PM, Stephen Warren wrote:
>>>>
>>>>
>>>> On 07/12/2018 09:52 AM, Stephen Warren wrote:
>>>>>
>>>>>
>>>>> 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
>>>>
>>>>
>>>>
>>>> I suspect this is a missing dependency in the makefiles, or perhaps some
>>>> process isn't waiting for its child to exit. The code that's finding the bad
>>>> FDT magic appears to be reading from a file that hasn't yet been written
>>>> yet:
>>>>
>>>>> [pid 26251] execve("../tools/binman/binman", ["../tools/binman/binman",
>>>>> "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver",
>>>>> "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>>>
>>>>
>>>>
>>>>> [pid 26255] execve("../tools/binman/binman", ["../tools/binman/binman",
>>>>> "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver",
>>>>> "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>>>
>>>>
>>>>
>>>>> [pid 26255] open("./u-boot-out.dtb", O_WRONLY|O_CREAT|O_TRUNC, 0666
>>>>> <unfinished ...>
>>>>> [pid 26251] <... close resumed> ) = 0
>>>>> [pid 26251] close(3) = 0
>>>>> [pid 26251] open("./u-boot-out.dtb", O_RDONLY) = 3
>>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>>> [pid 26251] read(3, "", 4096) = 0
>>>>> [pid 26251] close(3) = 0
>>>>> [pid 26251] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
>>>>> [pid 26251] write(1, "binman: pylibfdt error -9: FDT_E"..., 44binman:
>>>>> pylibfdt error -9: FDT_ERR_BADMAGIC
>>>>
>>>>
>>>>
>>>>> [pid 26255] write(3,
>>>>> "\320\r\376\355\0\0We\0\0\0008\0\0Q\340\0\0\0(\0\0\0\21\0\0\0\20\0\0\0\0"...,
>>>>> 20480 <unfinished ...>
>>>
>>>
>>>
>>> Specifically, this Makefile rule:
>>>
>>> u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin: \
>>> spl/u-boot-spl u-boot.bin FORCE
>>> $(call if_changed,binman)
>>>
>>> runs that same binman invocation for all 3 target binaries separately and
>>> in parallel, and tools/binman/control.py:Binman() uses the same hard-coded
>>> filename for an output (or temporary?) file in each invocation. I'm not sure
>>> if we can simply replace:
>>>
>>> fname = tools.GetOutputFilename('u-boot-out.dtb')
>>>
>>> with a call to tempfile.mkstemp() or similar?
>>
>>
>> Thanks very much for digging into this. I actually think that rule is
>> wrong and needs to be fixed. I will take a look.
>
>
> Irrespective of whether the Makefile rule is wrong, and whether we change it
> at all, I still think we should apply the patch I sent for binman ("binman:
> ensure temp filenames don't collide") to solve this, since that's a
> legitimate fix irrespective of the Makefile rule.
Just to close this out, we ended up applying this patch:
2547e91dc1 tegra: Indicate that binman makes all three output files
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-08-09 14:29 Simon Glass
@ 2018-08-10 3:28 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-08-10 3:28 UTC (permalink / raw)
To: u-boot
On Thu, Aug 09, 2018 at 08:29:13AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes Bin's PCI improvements, a patman fix and moving pylibfdt over
> to match upstream.
>
>
> The following changes since commit b1aad8dbe28415695b290726199681ced969c118:
>
> zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boards
> (2018-08-07 11:36:39 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 41d7535cba42cd88f3b04f8fbd4409e5a479076f:
>
> patman: Correct unit test failure (2018-08-08 12:49:36 +0100)
>
Applied to u-boot/master, 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/20180809/0bf9daee/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-08-09 14:29 Simon Glass
2018-08-10 3:28 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-08-09 14:29 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes Bin's PCI improvements, a patman fix and moving pylibfdt over
to match upstream.
The following changes since commit b1aad8dbe28415695b290726199681ced969c118:
zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boards
(2018-08-07 11:36:39 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 41d7535cba42cd88f3b04f8fbd4409e5a479076f:
patman: Correct unit test failure (2018-08-08 12:49:36 +0100)
----------------------------------------------------------------
Bin Meng (21):
pci: Remove 440ep-specific macros
dm: Correct typos in uclass_first/next_device_check()
dm: core: Add ofnode function to read PCI vendor and device id
dm: pci: Extract vendor/device id in child_post_bind()
dm: pci: Fix scanning multi-function device
test: dm: pci: Remove unnecessary steps in dm_test_pci_swapcase()
test: dm: pci: Test more than one device on the same bus
pci: sandbox: swap_case: Preserve space indicator bit in BAR registers
test: dm: pci: Test more than one PCI host controller
test: dm: pci: Add tests for configuration space access
pci: sandbox: emul: Fix the call to pci_bus_find_devfn()
dm: pci: Assign correct driver data when binding a driver
pci: sandbox: Support dynamically binding device driver
pci: sandbox: swap_case: Declare dynamic driver matching
sandbox: Update test.dts for dynamic PCI device driver matching
test: dm: pci: Test driver binding with driver data provided
pci: sandbox: emul: Rename priv structure
test: dm: pci: Add tests for mixed static and dynamic devices on the
same bus
pci: Add all known capability and extended capability ids
dm: pci: Add APIs to find capability and extended capability
test: dm: pci: Add cases for finding PCI capability APIs
Simon Glass (2):
libfdt: Update to latest pylibfdt implementation
patman: Correct unit test failure
arch/sandbox/dts/test.dts | 41 ++-
arch/sandbox/include/asm/test.h | 12 +
doc/driver-model/pci-info.txt | 28 ++
drivers/core/ofnode.c | 36 ++
drivers/misc/swap_case.c | 36 +-
drivers/pci/pci-emul-uclass.c | 24 +-
drivers/pci/pci-uclass.c | 83 ++++-
drivers/pci/pci_sandbox.c | 78 +++-
include/dm/ofnode.h | 13 +
include/dm/uclass.h | 4 +-
include/pci.h | 84 ++++-
scripts/dtc/pylibfdt/libfdt.i_shipped | 464
++++++++++++------------
test/dm/pci.c | 170 ++++++++-
tools/dtoc/fdt.py | 2 +-
tools/dtoc/test_fdt.py | 2 +-
...rrect-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch} | 0
16 files changed, 797 insertions(+), 280 deletions(-)
rename
tools/patman/test/{0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch
=> 0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch} (100%)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-08-01 18:50 ` Simon Glass
@ 2018-08-01 19:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-08-01 19:13 UTC (permalink / raw)
To: u-boot
On Wed, Aug 01, 2018 at 12:50:57PM -0600, Simon Glass wrote:
> Hi Tom.
>
> On 31 July 2018 at 06:42, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Mon, Jul 30, 2018 at 02:10:44PM -0600, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > Here are the binman changes, with the rename of the 'pos' property to 'offset'.
> > >
> > >
> > > The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593:
> > >
> > > Merge git://git.denx.de/u-boot-fsl-qoriq (2018-07-27 13:09:30 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > > git://git.denx.de/u-boot-dm.git
> > >
> > > for you to fetch changes up to e824c2422356cc9656d714335fc9b7907c3dace7:
> > >
> > > binman: Adjust _GetPropTree() parameters (2018-07-30 10:28:07 -0600)
> > >
> >
> > NAK, this seems to be introducing some failures:
> > binman: Section '/binman/image1': Symbol '_binman_u_boot_any_prop_pos'
> > in entry '/binman/image1/u-boot-spl': No such property 'pos'
> > /home/trini/work/u-boot/u-boot/Makefile:1240: recipe for target 'u-boot-tegra.bin' failed
> > make[1]: *** [u-boot-tegra.bin] Error 1
> > make[1]: Leaving directory '/tmp/colibri_t30'
> > Makefile:148: recipe for target 'sub-make' failed
> > make: *** [sub-make] Error 2
>
> I'm sorry about that. I saw the failure and thought it was device tree
> stuff. Oops.
>
> Do you know what is happening with all the device-tree warnings? Are
> they slowing going away?
They're staying about constant. I looked before, and I guess these are
also warnings in upstream Linux. In some cases a re-sync helps.
--
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/20180801/2736521c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-31 12:42 ` Tom Rini
@ 2018-08-01 18:50 ` Simon Glass
2018-08-01 19:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-08-01 18:50 UTC (permalink / raw)
To: u-boot
Hi Tom.
On 31 July 2018 at 06:42, Tom Rini <trini@konsulko.com> wrote:
>
> On Mon, Jul 30, 2018 at 02:10:44PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Here are the binman changes, with the rename of the 'pos' property to 'offset'.
> >
> >
> > The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593:
> >
> > Merge git://git.denx.de/u-boot-fsl-qoriq (2018-07-27 13:09:30 -0400)
> >
> > are available in the Git repository at:
> >
> > git://git.denx.de/u-boot-dm.git
> >
> > for you to fetch changes up to e824c2422356cc9656d714335fc9b7907c3dace7:
> >
> > binman: Adjust _GetPropTree() parameters (2018-07-30 10:28:07 -0600)
> >
>
> NAK, this seems to be introducing some failures:
> binman: Section '/binman/image1': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image1/u-boot-spl': No such property 'pos'
> /home/trini/work/u-boot/u-boot/Makefile:1240: recipe for target 'u-boot-tegra.bin' failed
> make[1]: *** [u-boot-tegra.bin] Error 1
> make[1]: Leaving directory '/tmp/colibri_t30'
> Makefile:148: recipe for target 'sub-make' failed
> make: *** [sub-make] Error 2
I'm sorry about that. I saw the failure and thought it was device tree
stuff. Oops.
Do you know what is happening with all the device-tree warnings? Are
they slowing going away?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-30 20:10 Simon Glass
@ 2018-07-31 12:42 ` Tom Rini
2018-08-01 18:50 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-07-31 12:42 UTC (permalink / raw)
To: u-boot
On Mon, Jul 30, 2018 at 02:10:44PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here are the binman changes, with the rename of the 'pos' property to 'offset'.
>
>
> The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593:
>
> Merge git://git.denx.de/u-boot-fsl-qoriq (2018-07-27 13:09:30 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to e824c2422356cc9656d714335fc9b7907c3dace7:
>
> binman: Adjust _GetPropTree() parameters (2018-07-30 10:28:07 -0600)
>
NAK, this seems to be introducing some failures:
binman: Section '/binman/image1': Symbol '_binman_u_boot_any_prop_pos'
in entry '/binman/image1/u-boot-spl': No such property 'pos'
/home/trini/work/u-boot/u-boot/Makefile:1240: recipe for target 'u-boot-tegra.bin' failed
make[1]: *** [u-boot-tegra.bin] Error 1
make[1]: Leaving directory '/tmp/colibri_t30'
Makefile:148: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
--
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/20180731/e2842c16/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-07-30 20:10 Simon Glass
2018-07-31 12:42 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-30 20:10 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are the binman changes, with the rename of the 'pos' property to 'offset'.
The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593:
Merge git://git.denx.de/u-boot-fsl-qoriq (2018-07-27 13:09:30 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to e824c2422356cc9656d714335fc9b7907c3dace7:
binman: Adjust _GetPropTree() parameters (2018-07-30 10:28:07 -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 ++--
tools/binman/README | 135
++++++++++++++-------
tools/binman/README.entries | 585
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/binman/binman.py | 22 ++--
tools/binman/bsection.py | 151
++++++++++++++++-------
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/vblock.py | 74 ++++++++++++
tools/binman/etype/x86_start16.py | 14 +++
tools/binman/etype/x86_start16_spl.py | 14 +++
tools/binman/fmap_util.py | 109 +++++++++++++++++
tools/binman/ftest.py | 428
+++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
tools/binman/image.py | 16 ++-
tools/binman/test/08_pack.dts | 2 +-
tools/binman/test/12_pack_inv_align.dts | 2 +-
tools/binman/test/14_pack_overlap.dts | 2 +-
tools/binman/test/21_image_pad.dts | 2 +-
tools/binman/test/24_sorted.dts | 6 +-
tools/binman/test/25_pack_zero_size.dts | 2 +-
tools/binman/test/27_pack_4gb_no_size.dts | 6 +-
tools/binman/test/28_pack_4gb_outside.dts | 6 +-
tools/binman/test/29_x86-rom.dts | 6 +-
tools/binman/test/30_x86-rom-me-no-desc.dts | 4 +-
tools/binman/test/31_x86-rom-me.dts | 4 +-
tools/binman/test/34_x86_ucode.dts | 2 +-
tools/binman/test/35_x86_single_ucode.dts | 2 +-
tools/binman/test/37_x86_no_ucode.dts | 2 +-
tools/binman/test/38_x86_ucode_missing_node.dts | 2 +-
tools/binman/test/39_x86_ucode_missing_node2.dts | 2 +-
tools/binman/test/40_x86_ucode_not_in_image.dts | 2 +-
tools/binman/test/44_x86_optional_ucode.dts | 2 +-
tools/binman/test/45_prop_test.dts | 4 +-
tools/binman/test/49_x86_ucode_spl.dts | 2 +-
tools/binman/test/53_symbols.dts | 2 +-
tools/binman/test/55_sections.dts | 4 +
tools/binman/test/58_x86_ucode_spl_needs_retry.dts | 2 +-
tools/binman/test/62_entry_args.dts | 14 +++
tools/binman/test/63_entry_args_missing.dts | 13 ++
tools/binman/test/64_entry_args_required.dts | 14 +++
tools/binman/test/65_entry_args_unknown_datatype.dts | 15 +++
tools/binman/test/66_text.dts | 28 +++++
tools/binman/test/67_fmap.dts | 29 +++++
tools/binman/test/68_blob_named_by_arg.dts | 12 ++
tools/binman/test/69_fill.dts | 15 +++
tools/binman/test/70_fill_no_size.dts | 14 +++
tools/binman/test/71_gbb.dts | 31 +++++
tools/binman/test/72_gbb_too_small.dts | 10 ++
tools/binman/test/73_gbb_no_size.dts | 9 ++
tools/binman/test/74_vblock.dts | 28 +++++
tools/binman/test/75_vblock_no_content.dts | 23 ++++
tools/binman/test/76_vblock_bad_phandle.dts | 24 ++++
tools/binman/test/77_vblock_bad_entry.dts | 27 +++++
tools/binman/test/78_u_boot_tpl.dts | 11 ++
tools/binman/test/79_uses_pos.dts | 10 ++
tools/binman/test/u_boot_binman_syms | Bin 4921 -> 4916 bytes
tools/binman/test/u_boot_binman_syms.c | 6 +-
tools/dtoc/fdt.py | 23 +++-
tools/dtoc/fdt_util.py | 96 +++++++++++++++
tools/dtoc/test_fdt.py | 49 +++++++-
tools/patman/command.py | 8 +-
tools/patman/tools.py | 80 ++++++++++++-
95 files changed, 3008 insertions(+), 346 deletions(-)
create mode 100644 tools/binman/README.entries
create mode 100644 tools/binman/etype/blob_named_by_arg.py
create mode 100644 tools/binman/etype/cros_ec_rw.py
create mode 100644 tools/binman/etype/fill.py
create mode 100644 tools/binman/etype/fmap.py
create mode 100644 tools/binman/etype/gbb.py
create mode 100644 tools/binman/etype/text.py
create mode 100644 tools/binman/etype/u_boot_tpl.py
create mode 100644 tools/binman/etype/u_boot_tpl_dtb.py
create mode 100644 tools/binman/etype/vblock.py
create mode 100644 tools/binman/fmap_util.py
create mode 100644 tools/binman/test/62_entry_args.dts
create mode 100644 tools/binman/test/63_entry_args_missing.dts
create mode 100644 tools/binman/test/64_entry_args_required.dts
create mode 100644 tools/binman/test/65_entry_args_unknown_datatype.dts
create mode 100644 tools/binman/test/66_text.dts
create mode 100644 tools/binman/test/67_fmap.dts
create mode 100644 tools/binman/test/68_blob_named_by_arg.dts
create mode 100644 tools/binman/test/69_fill.dts
create mode 100644 tools/binman/test/70_fill_no_size.dts
create mode 100644 tools/binman/test/71_gbb.dts
create mode 100644 tools/binman/test/72_gbb_too_small.dts
create mode 100644 tools/binman/test/73_gbb_no_size.dts
create mode 100644 tools/binman/test/74_vblock.dts
create mode 100644 tools/binman/test/75_vblock_no_content.dts
create mode 100644 tools/binman/test/76_vblock_bad_phandle.dts
create mode 100644 tools/binman/test/77_vblock_bad_entry.dts
create mode 100644 tools/binman/test/78_u_boot_tpl.dts
create mode 100644 tools/binman/test/79_uses_pos.dts
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-27 0:36 Simon Glass
@ 2018-07-27 17:08 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-07-27 17:08 UTC (permalink / raw)
To: u-boot
On Thu, Jul 26, 2018 at 06:36:12PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Just a few small things.
>
>
> The following changes since commit 0dd1fc09bb16869fd8adaaad082cd554c60b2c1a:
>
> board/imgtec/boston: Add new defconfigs to the MAINTAINERS list
> (2018-07-20 15:55:10 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ab948cd21d25ba2f54832fc98a59eea90e680eba:
>
> fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS (2018-07-26
> 14:20:27 -0600)
>
Applied to u-boot/master, 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/20180727/d74c1020/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-07-27 0:36 Simon Glass
2018-07-27 17:08 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-27 0:36 UTC (permalink / raw)
To: u-boot
Hi Tom,
Just a few small things.
The following changes since commit 0dd1fc09bb16869fd8adaaad082cd554c60b2c1a:
board/imgtec/boston: Add new defconfigs to the MAINTAINERS list
(2018-07-20 15:55:10 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ab948cd21d25ba2f54832fc98a59eea90e680eba:
fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS (2018-07-26
14:20:27 -0600)
----------------------------------------------------------------
Adam Sampson (2):
git-mailrc: Replace tabs with spaces in alias entries
patman: Split alias entries on arbitrary whitespace
Chris Packham (1):
doc: driver-model: Fix typo
Jens Wiklander (1):
fdt: fix fdtdec_setup_memory_banksize()
Masahiro Yamada (1):
fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS
doc/driver-model/README.txt | 2 +-
doc/git-mailrc | 4 ++--
lib/Kconfig | 2 +-
lib/fdtdec.c | 20 +++++++++++++++-----
tools/patman/settings.py | 2 +-
5 files changed, 20 insertions(+), 10 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-17 4:40 ` Simon Glass
@ 2018-07-17 15:33 ` Stephen Warren
2018-08-23 10:45 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-17 15:33 UTC (permalink / raw)
To: u-boot
On 07/16/2018 10:40 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 12 July 2018 at 15:26, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>
>> On 07/12/2018 12:17 PM, Stephen Warren wrote:
>>>
>>> On 07/12/2018 09:52 AM, Stephen Warren wrote:
>>>>
>>>> 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
>>>
>>>
>>> I suspect this is a missing dependency in the makefiles, or perhaps some process isn't waiting for its child to exit. The code that's finding the bad FDT magic appears to be reading from a file that hasn't yet been written yet:
>>>
>>>> [pid 26251] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>>
>>>
>>>> [pid 26255] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>>
>>>
>>>> [pid 26255] open("./u-boot-out.dtb", O_WRONLY|O_CREAT|O_TRUNC, 0666 <unfinished ...>
>>>> [pid 26251] <... close resumed> ) = 0
>>>> [pid 26251] close(3) = 0
>>>> [pid 26251] open("./u-boot-out.dtb", O_RDONLY) = 3
>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>>> [pid 26251] read(3, "", 4096) = 0
>>>> [pid 26251] close(3) = 0
>>>> [pid 26251] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
>>>> [pid 26251] write(1, "binman: pylibfdt error -9: FDT_E"..., 44binman: pylibfdt error -9: FDT_ERR_BADMAGIC
>>>
>>>
>>>> [pid 26255] write(3, "\320\r\376\355\0\0We\0\0\0008\0\0Q\340\0\0\0(\0\0\0\21\0\0\0\20\0\0\0\0"..., 20480 <unfinished ...>
>>
>>
>> Specifically, this Makefile rule:
>>
>> u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin: \
>> spl/u-boot-spl u-boot.bin FORCE
>> $(call if_changed,binman)
>>
>> runs that same binman invocation for all 3 target binaries separately and in parallel, and tools/binman/control.py:Binman() uses the same hard-coded filename for an output (or temporary?) file in each invocation. I'm not sure if we can simply replace:
>>
>> fname = tools.GetOutputFilename('u-boot-out.dtb')
>>
>> with a call to tempfile.mkstemp() or similar?
>
> Thanks very much for digging into this. I actually think that rule is
> wrong and needs to be fixed. I will take a look.
Irrespective of whether the Makefile rule is wrong, and whether we
change it at all, I still think we should apply the patch I sent for
binman ("binman: ensure temp filenames don't collide") to solve this,
since that's a legitimate fix irrespective of the Makefile rule.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-12 21:26 ` Stephen Warren
@ 2018-07-17 4:40 ` Simon Glass
2018-07-17 15:33 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-17 4:40 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 12 July 2018 at 15:26, Stephen Warren <swarren@wwwdotorg.org> wrote:
>
> On 07/12/2018 12:17 PM, Stephen Warren wrote:
>>
>> On 07/12/2018 09:52 AM, Stephen Warren wrote:
>>>
>>> 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
>>
>>
>> I suspect this is a missing dependency in the makefiles, or perhaps some process isn't waiting for its child to exit. The code that's finding the bad FDT magic appears to be reading from a file that hasn't yet been written yet:
>>
>>> [pid 26251] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>
>>
>>> [pid 26255] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
>>
>>
>>> [pid 26255] open("./u-boot-out.dtb", O_WRONLY|O_CREAT|O_TRUNC, 0666 <unfinished ...>
>>> [pid 26251] <... close resumed> ) = 0
>>> [pid 26251] close(3) = 0
>>> [pid 26251] open("./u-boot-out.dtb", O_RDONLY) = 3
>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>>> [pid 26251] read(3, "", 4096) = 0
>>> [pid 26251] close(3) = 0
>>> [pid 26251] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
>>> [pid 26251] write(1, "binman: pylibfdt error -9: FDT_E"..., 44binman: pylibfdt error -9: FDT_ERR_BADMAGIC
>>
>>
>>> [pid 26255] write(3, "\320\r\376\355\0\0We\0\0\0008\0\0Q\340\0\0\0(\0\0\0\21\0\0\0\20\0\0\0\0"..., 20480 <unfinished ...>
>
>
> Specifically, this Makefile rule:
>
> u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin: \
> spl/u-boot-spl u-boot.bin FORCE
> $(call if_changed,binman)
>
> runs that same binman invocation for all 3 target binaries separately and in parallel, and tools/binman/control.py:Binman() uses the same hard-coded filename for an output (or temporary?) file in each invocation. I'm not sure if we can simply replace:
>
> fname = tools.GetOutputFilename('u-boot-out.dtb')
>
> with a call to tempfile.mkstemp() or similar?
Thanks very much for digging into this. I actually think that rule is
wrong and needs to be fixed. I will take a look.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-12 18:17 ` Stephen Warren
@ 2018-07-12 21:26 ` Stephen Warren
2018-07-17 4:40 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-12 21:26 UTC (permalink / raw)
To: u-boot
On 07/12/2018 12:17 PM, Stephen Warren wrote:
> On 07/12/2018 09:52 AM, Stephen Warren wrote:
>> 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
>
> I suspect this is a missing dependency in the makefiles, or perhaps some
> process isn't waiting for its child to exit. The code that's finding the
> bad FDT magic appears to be reading from a file that hasn't yet been
> written yet:
>
>> [pid 26251] execve("../tools/binman/binman",
>> ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".",
>> "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */]
>> <unfinished ...>
>
>> [pid 26255] execve("../tools/binman/binman",
>> ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".",
>> "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */]
>> <unfinished ...>
>
>> [pid 26255] open("./u-boot-out.dtb", O_WRONLY|O_CREAT|O_TRUNC, 0666
>> <unfinished ...>
>> [pid 26251] <... close resumed> ) = 0
>> [pid 26251] close(3) = 0
>> [pid 26251] open("./u-boot-out.dtb", O_RDONLY) = 3
>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
>> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
>> [pid 26251] read(3, "", 4096) = 0
>> [pid 26251] close(3) = 0
>> [pid 26251] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
>> [pid 26251] write(1, "binman: pylibfdt error -9: FDT_E"..., 44binman:
>> pylibfdt error -9: FDT_ERR_BADMAGIC
>
>> [pid 26255] write(3,
>> "\320\r\376\355\0\0We\0\0\0008\0\0Q\340\0\0\0(\0\0\0\21\0\0\0\20\0\0\0\0"...,
>> 20480 <unfinished ...>
Specifically, this Makefile rule:
u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin: \
spl/u-boot-spl u-boot.bin FORCE
$(call if_changed,binman)
runs that same binman invocation for all 3 target binaries separately
and in parallel, and tools/binman/control.py:Binman() uses the same
hard-coded filename for an output (or temporary?) file in each
invocation. I'm not sure if we can simply replace:
fname = tools.GetOutputFilename('u-boot-out.dtb')
with a call to tempfile.mkstemp() or similar?
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-12 15:52 ` Stephen Warren
@ 2018-07-12 18:17 ` Stephen Warren
2018-07-12 21:26 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-12 18:17 UTC (permalink / raw)
To: u-boot
On 07/12/2018 09:52 AM, Stephen Warren wrote:
> 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
I suspect this is a missing dependency in the makefiles, or perhaps some
process isn't waiting for its child to exit. The code that's finding the
bad FDT magic appears to be reading from a file that hasn't yet been
written yet:
> [pid 26251] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
> [pid 26255] execve("../tools/binman/binman", ["../tools/binman/binman", "-d", "u-boot.dtb", "-O", ".", "-I", ".", "-I", "../board/nvidia/beaver", "spl/u-boot-spl"], [/* 158 vars */] <unfinished ...>
> [pid 26255] open("./u-boot-out.dtb", O_WRONLY|O_CREAT|O_TRUNC, 0666 <unfinished ...>
> [pid 26251] <... close resumed> ) = 0
> [pid 26251] close(3) = 0
> [pid 26251] open("./u-boot-out.dtb", O_RDONLY) = 3
> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
> [pid 26251] lseek(3, 0, SEEK_CUR) = 0
> [pid 26251] fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> [pid 26251] read(3, "", 4096) = 0
> [pid 26251] close(3) = 0
> [pid 26251] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> [pid 26251] write(1, "binman: pylibfdt error -9: FDT_E"..., 44binman: pylibfdt error -9: FDT_ERR_BADMAGIC
> [pid 26255] write(3, "\320\r\376\355\0\0We\0\0\0008\0\0Q\340\0\0\0(\0\0\0\21\0\0\0\20\0\0\0\0"..., 20480 <unfinished ...>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-12 0:12 ` Simon Glass
@ 2018-07-12 15:52 ` Stephen Warren
2018-07-12 18:17 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-12 15:52 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-10 20:58 Simon Glass
@ 2018-07-12 1:54 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-07-12 1:54 UTC (permalink / raw)
To: u-boot
On Tue, Jul 10, 2018 at 02:58:16PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here are some Python 3 fixes as mentioned on irc. I've left out the
> two which cause problems.
>
> Travis run is here:
>
> https://travis-ci.org/sglass68/u-boot/builds/402281566
>
>
> The following changes since commit e3396ffd720877976141fa0b76a0b8ee9643d7d1:
>
> Merge git://git.denx.de/u-boot-dm (2018-07-10 10:29:14 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 8793631ec13ee9e6c7189a7bdca38dde7b4390a8:
>
> test/py: vboot: Remove stderr redirect from openssl command
> (2018-07-10 14:50:50 -0600)
>
Applied to u-boot/master, 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/20180711/9eceac97/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-11 22:01 ` Stephen Warren
@ 2018-07-12 0:12 ` Simon Glass
2018-07-12 15:52 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-12 0:12 UTC (permalink / raw)
To: u-boot
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.
[..]
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-10 20:24 ` Simon Glass
@ 2018-07-11 22:01 ` Stephen Warren
2018-07-12 0:12 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-11 22:01 UTC (permalink / raw)
To: u-boot
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....
> Section '/binman/image1': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image1/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Section '/binman/image1': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image1/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Section '/binman/image2': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image2/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Section '/binman/image2': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image2/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Section '/binman/image3': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image3/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Section '/binman/image3': Symbol '_binman_u_boot_any_prop_pos'
> in entry '/binman/image3/u-boot-spl':
> insert _binman_u_boot_any_prop_pos, offset 592c, value 80110000, length 4
> Makefile:148: recipe for target 'sub-make' failed
> make: *** [sub-make] Error 2
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-07-10 20:58 Simon Glass
2018-07-12 1:54 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-10 20:58 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are some Python 3 fixes as mentioned on irc. I've left out the
two which cause problems.
Travis run is here:
https://travis-ci.org/sglass68/u-boot/builds/402281566
The following changes since commit e3396ffd720877976141fa0b76a0b8ee9643d7d1:
Merge git://git.denx.de/u-boot-dm (2018-07-10 10:29:14 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 8793631ec13ee9e6c7189a7bdca38dde7b4390a8:
test/py: vboot: Remove stderr redirect from openssl command
(2018-07-10 14:50:50 -0600)
----------------------------------------------------------------
Paul Burton (6):
test/py: Make print statements python 3.x safe
test/py: Use range() rather than xrange()
test/py: Import 'configparser' lower case to be python 3.x safe
test/py: fit: Open files as binary files
test/py: hush_if_test: Use open() in place of file()
test/py: vboot: Remove stderr redirect from openssl command
test/py/conftest.py | 10 +++++++---
test/py/test.py | 6 ++++--
test/py/tests/test_fit.py | 14 ++++++++------
test/py/tests/test_hush_if_test.py | 2 +-
test/py/tests/test_vboot.py | 4 ++--
test/py/u_boot_console_sandbox.py | 4 ++--
test/py/u_boot_spawn.py | 8 ++++----
test/py/u_boot_utils.py | 4 ++--
8 files changed, 30 insertions(+), 22 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-10 19:53 ` Stephen Warren
@ 2018-07-10 20:24 ` Simon Glass
2018-07-11 22:01 ` Stephen Warren
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-07-10 20:24 UTC (permalink / raw)
To: u-boot
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.
That said, I'm working on getting the real pylibffdt applied upstream,
hopefully will not be too much longer.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-10 18:47 ` Tom Rini
@ 2018-07-10 19:53 ` Stephen Warren
2018-07-10 20:24 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2018-07-10 19:53 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-07-10 18:47 UTC (permalink / raw)
To: u-boot
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)
>
Applied to u-boot/master, thanks!
That said, I see that this is a non-fatal error:
Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/7.3.0/
<unittest.result.TestResult run=35 errors=0 failures=1>
Traceback (most recent call last):
File "/home/trini/work/u-boot/u-boot/tools/buildman/test.py", line 426, in testToolchainDownload
self.toolchains.LocateArchUrl('arm'))
AssertionError: 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/x86_64-gcc-4.9.0-nolibc_arm-unknown-linux-gnueabi.tar.xz' != 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/7.3.0/x86_64-gcc-7.3.0-nolibc_arm-linux-gnueabi.tar.xz'
Which I think we should fix and make a fatal error. If it's a test and it
fails and it's not fatal, CI/etc won't catch it. 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/20180710/6a0e8604/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-07-09 19:53 Simon Glass
@ 2018-07-09 19:58 ` Simon Glass
2018-07-10 18:47 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2018-07-09 19:58 UTC (permalink / raw)
To: u-boot
On 9 July 2018 at 13:53, Simon Glass <sjg@chromium.org> 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.
https://travis-ci.org/sglass68/u-boot/builds/401827625
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-07-09 19:53 Simon Glass
2018-07-09 19:58 ` Simon Glass
2018-07-10 18:47 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2018-07-09 19:53 UTC (permalink / raw)
To: u-boot
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)
----------------------------------------------------------------
Michael Pratt (1):
fdt: Add device tree memory bindings
Simon Glass (38):
dm: core: Add ofnode function to read a 64-bit int
dm: core: Fix a few ofnode function comments
dm: core: Add comments to ofnode_read_resource() functoins
dm: core: Add a way to find an ofnode by compatible string
log: Add a way to log a return value with a message
dm: core: Add a way to bind a device by ofnode
dm: spi: Update sandbox SPI emulation driver to use ofnode
dm: core: Update of_read_fmap_entry() for livetree
dm: core: Add a function to decode a memory region
dm: core: Add logging of some common errors
binman: Make the operation of Entry__testing explicit
binman: Tidy up variables in _RunMicrocodeTest()
binman: Correct operation of ObtainContents()
binman: Tidy up execution of tests
binman: Tidy up setting of entry contents
libfdt: Bring in proposed pylibfdt changes
libfdt: Fix the Python pack() function
libfdt: Add get_property() and del_node()
binman: Move coverage logic into a new test_util file
dtoc: Add some tests for the fdt module
dtoc: Update tests to write failures to /tmp
dtoc: Make use of the new pylibfdt methods
dtoc: Drop use of a local dtb buffer
dtoc: Update fdt tests to increase code coverage
dtoc: Keep track of property offsets
dtoc: Fix Fdt.GetNode() to handle a missing node
dtoc: Fix properties with a single zero-arg phandle
dtoc: Fix some minor errors
dtoc: Add a test for code coverage
binman: Move capture_sys_output() to test_util
dtoc: Increase code coverage to 100%
test: Enable cover-coverage tests for dtoc and fdt
dtoc: Avoid unwanted output during tests
dtoc: Add functions to add integer properties
binman: Complete documentation of stages
binman: Add a ProcessFdt() method
binman: Add a SetCalculatedProperties() method
binman: Support updating the device tree with calc'd info
Tom Rini (1):
binman: Switch to 'python-coverage'
doc/device-tree-bindings/memory/memory.txt | 67 +++++++
drivers/core/device.c | 8 +
drivers/core/of_access.c | 20 +++
drivers/core/of_extra.c | 89 ++++++++-
drivers/core/ofnode.c | 44 +++++
drivers/core/uclass.c | 14 +-
drivers/misc/cros_ec.c | 4 +-
drivers/mtd/spi/sandbox.c | 9 +-
include/asm-generic/global_data.h | 1 +
include/dm/device-internal.h | 4 +
include/dm/of_access.h | 16 ++
include/dm/of_extra.h | 51 +++++-
include/dm/ofnode.h | 48 ++++-
include/fdt_support.h | 10 ++
include/fdtdec.h | 38 +++-
include/log.h | 8 +
include/spi_flash.h | 2 +-
lib/fdtdec.c | 109 +++++++++++
scripts/dtc/libfdt/libfdt.h | 3 +
scripts/dtc/pylibfdt/libfdt.i_shipped | 725
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
test/dm/spi.c | 8 +-
test/run | 7 +-
tools/binman/README | 45 +++--
tools/binman/binman.py | 40 +----
tools/binman/bsection.py | 27 +++
tools/binman/cmdline.py | 2 +
tools/binman/control.py | 58 +++++-
tools/binman/elf_test.py | 22 +--
tools/binman/entry.py | 42 +++++
tools/binman/etype/_testing.py | 37 +++-
tools/binman/etype/blob.py | 3 +-
tools/binman/etype/section.py | 13 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 46 ++---
tools/binman/etype/u_boot_spl_bss_pad.py | 4 +-
tools/binman/etype/u_boot_ucode.py | 9 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 11 +-
tools/binman/ftest.py | 159 ++++++++++++++---
tools/binman/image.py | 17 ++
tools/binman/image_test.py | 2 +-
tools/binman/test/41_unknown_pos_size.dts | 1 +
tools/binman/test/57_unknown_contents.dts | 14 ++
tools/binman/test/58_x86_ucode_spl_needs_retry.dts | 36 ++++
tools/binman/test/59_change_size.dts | 14 ++
tools/binman/test/60_fdt_update.dts | 31 ++++
tools/binman/test/61_fdt_update_bad.dts | 32 ++++
tools/dtoc/dtb_platdata.py | 15 +-
tools/dtoc/dtoc.py | 35 +++-
tools/dtoc/dtoc_test_add_prop.dts | 24 +++
tools/dtoc/dtoc_test_addr32_64.dts | 2 +-
tools/dtoc/dtoc_test_addr64_32.dts | 2 +-
tools/dtoc/dtoc_test_bad_reg.dts | 17 ++
tools/dtoc/dtoc_test_bad_reg2.dts | 17 ++
tools/dtoc/dtoc_test_phandle.dts | 6 +
tools/dtoc/dtoc_test_phandle_bad.dts | 16 ++
tools/dtoc/dtoc_test_phandle_bad2.dts | 22 +++
tools/dtoc/dtoc_test_phandle_reorder.dts | 23 +++
tools/dtoc/dtoc_test_phandle_single.dts | 23 +++
tools/dtoc/dtoc_test_simple.dts | 1 +
tools/dtoc/fdt.py | 115 ++++++++----
tools/dtoc/fdt_util.py | 29 +--
tools/dtoc/test_dtoc.py | 221
+++++++++++++++++++++--
tools/dtoc/test_fdt | 1 +
tools/dtoc/test_fdt.py | 450
++++++++++++++++++++++++++++++++++++++++++++++
tools/patman/test_util.py | 85 +++++++++
64 files changed, 2769 insertions(+), 285 deletions(-)
create mode 100644 doc/device-tree-bindings/memory/memory.txt
create mode 100644 tools/binman/test/57_unknown_contents.dts
create mode 100644 tools/binman/test/58_x86_ucode_spl_needs_retry.dts
create mode 100644 tools/binman/test/59_change_size.dts
create mode 100644 tools/binman/test/60_fdt_update.dts
create mode 100644 tools/binman/test/61_fdt_update_bad.dts
create mode 100644 tools/dtoc/dtoc_test_add_prop.dts
create mode 100644 tools/dtoc/dtoc_test_bad_reg.dts
create mode 100644 tools/dtoc/dtoc_test_bad_reg2.dts
create mode 100644 tools/dtoc/dtoc_test_phandle_bad.dts
create mode 100644 tools/dtoc/dtoc_test_phandle_bad2.dts
create mode 100644 tools/dtoc/dtoc_test_phandle_reorder.dts
create mode 100644 tools/dtoc/dtoc_test_phandle_single.dts
create mode 120000 tools/dtoc/test_fdt
create mode 100755 tools/dtoc/test_fdt.py
create mode 100644 tools/patman/test_util.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-06-25 2:42 Simon Glass
@ 2018-06-27 17:08 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-06-27 17:08 UTC (permalink / raw)
To: u-boot
On Sun, Jun 24, 2018 at 08:42:28PM -0600, Simon Glass wrote:
> Hi Tom,
>
> A few patman enhancements.
>
>
> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier
> (2018-06-22 13:12:53 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to a60aedfd31722f835dc834f9f2f60882beb96991:
>
> patman: Support using a particular SMTP server (2018-06-23 08:03:43 -0600)
>
Applied to u-boot/master, 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/20180627/ed8c4fa4/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-06-25 2:42 Simon Glass
2018-06-27 17:08 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-06-25 2:42 UTC (permalink / raw)
To: u-boot
Hi Tom,
A few patman enhancements.
The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
(2018-06-22 13:12:53 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to a60aedfd31722f835dc834f9f2f60882beb96991:
patman: Support using a particular SMTP server (2018-06-23 08:03:43 -0600)
----------------------------------------------------------------
Chris Packham (2):
patman: add option for limiting the Cc list
patman: add test for SPDX license
Simon Glass (1):
patman: Support using a particular SMTP server
tools/patman/README | 1 +
tools/patman/func_test.py | 3 ++-
tools/patman/gitutil.py | 6 +++++-
tools/patman/patman.py | 9 +++++++--
tools/patman/series.py | 5 ++++-
tools/patman/test.py | 18 ++++++++++++++++--
6 files changed, 35 insertions(+), 7 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-06-07 23:18 Simon Glass
@ 2018-06-09 4:39 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-06-09 4:39 UTC (permalink / raw)
To: u-boot
On Thu, Jun 07, 2018 at 03:18:29PM -0800, Simon Glass wrote:
> Hi Tom,
>
> Here are the binman patches (support for hierarchical images and map
> files), buildman environment support and a few test fixes.
>
> As you know there are more test fixes to come once we figure things out.
>
>
>
> The following changes since commit 3eceff642c01e03e055127c9cf21608faaff28ac:
>
> Merge branch 'master' of git://git.denx.de/u-boot-samsung
> (2018-06-06 09:08:16 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 844e5b20f2691eccce9ac8f7e3732bbb5d0ac757:
>
> binman: Mark 'align-end' as implemented (2018-06-07 11:25:08 -0800)
>
Applied to u-boot/master, 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/20180609/d990b03b/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-06-07 23:18 Simon Glass
2018-06-09 4:39 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-06-07 23:18 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are the binman patches (support for hierarchical images and map
files), buildman environment support and a few test fixes.
As you know there are more test fixes to come once we figure things out.
The following changes since commit 3eceff642c01e03e055127c9cf21608faaff28ac:
Merge branch 'master' of git://git.denx.de/u-boot-samsung
(2018-06-06 09:08:16 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 844e5b20f2691eccce9ac8f7e3732bbb5d0ac757:
binman: Mark 'align-end' as implemented (2018-06-07 11:25:08 -0800)
----------------------------------------------------------------
Alex Kiernan (2):
buildman: Extract environment as part of each build
buildman: Add support for environment delta in summary
Simon Glass (14):
patman: Fix unit tests for SPDX
test: Fix sandbox_spl test filter
binman: Allow unit addresses for binaries
binman: Refactor much of the image code into 'section'
binman: Rename ELF parameters to 'section'
binman: Rename Entry property to 'section'
binman: Avoid setting sys.path globally
binman: Add support for sections
binman: Add documentation for pos-unset property
binman: Allow a single test to be executed
binman: Tidy up some docs and comments
binman: Add support for outputing a map file
binman: Add support for adding a name prefix to entries
binman: Mark 'align-end' as implemented
test/run | 3 +-
tools/binman/README | 89 +++++++++++--
tools/binman/binman.py | 24 +++-
tools/binman/bsection.py | 318
++++++++++++++++++++++++++++++++++++++++++++
tools/binman/cmdline.py | 2 +
tools/binman/control.py | 2 +
tools/binman/elf.py | 10 +-
tools/binman/elf_test.py | 28 ++--
tools/binman/{etype => }/entry.py | 74 +++++++++--
tools/binman/etype/_testing.py | 4 +-
tools/binman/etype/blob.py | 4 +-
tools/binman/etype/intel_cmc.py | 4 +-
tools/binman/etype/intel_descriptor.py | 4 +-
tools/binman/etype/intel_fsp.py | 4 +-
tools/binman/etype/intel_me.py | 4 +-
tools/binman/etype/intel_mrc.py | 4 +-
tools/binman/etype/intel_vbt.py | 4 +-
tools/binman/etype/intel_vga.py | 4 +-
tools/binman/etype/section.py | 59 ++++++++
tools/binman/etype/u_boot.py | 4 +-
tools/binman/etype/u_boot_dtb.py | 4 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 12 +-
tools/binman/etype/u_boot_img.py | 4 +-
tools/binman/etype/u_boot_nodtb.py | 4 +-
tools/binman/etype/u_boot_spl.py | 8 +-
tools/binman/etype/u_boot_spl_bss_pad.py | 4 +-
tools/binman/etype/u_boot_spl_dtb.py | 4 +-
tools/binman/etype/u_boot_spl_nodtb.py | 4 +-
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 4 +-
tools/binman/etype/u_boot_ucode.py | 14 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 20 +--
tools/binman/etype/x86_start16.py | 4 +-
tools/binman/etype/x86_start16_spl.py | 4 +-
tools/binman/ftest.py | 98 ++++++++++----
tools/binman/image.py | 262
+++++-------------------------------
tools/binman/image_test.py | 18 ++-
tools/binman/test/54_unit_address.dts | 15 +++
tools/binman/test/55_sections.dts | 28 ++++
tools/binman/test/56_name_prefix.dts | 30 +++++
tools/buildman/README | 28 ++++
tools/buildman/builder.py | 128 +++++++++++++++---
tools/buildman/builderthread.py | 10 ++
tools/buildman/cmdline.py | 2 +
tools/buildman/control.py | 3 +-
tools/buildman/func_test.py | 5 +
tools/patman/test.py | 2 +-
46 files changed, 977 insertions(+), 391 deletions(-)
create mode 100644 tools/binman/bsection.py
rename tools/binman/{etype => }/entry.py (75%)
create mode 100644 tools/binman/etype/section.py
create mode 100644 tools/binman/test/54_unit_address.dts
create mode 100644 tools/binman/test/55_sections.dts
create mode 100644 tools/binman/test/56_name_prefix.dts
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-05-16 20:57 Simon Glass
@ 2018-05-17 20:15 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-05-17 20:15 UTC (permalink / raw)
To: u-boot
On Wed, May 16, 2018 at 02:57:30PM -0600, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 0315d6959fdd9d2a4d89016c311e9c8c8d239a10:
>
> ARM: mvebu: a38x: Add missing SPDX license identfier (2018-05-15
> 09:08:00 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to f717b4c8e7fc871573755a05be96c8ef857eabce:
>
> pinctrl: do not set_state for device without valid ofnode
> (2018-05-16 00:25:19 -0600)
>
Applied to u-boot/master, 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/20180517/64df1610/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-05-16 20:57 Simon Glass
2018-05-17 20:15 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-05-16 20:57 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 0315d6959fdd9d2a4d89016c311e9c8c8d239a10:
ARM: mvebu: a38x: Add missing SPDX license identfier (2018-05-15
09:08:00 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to f717b4c8e7fc871573755a05be96c8ef857eabce:
pinctrl: do not set_state for device without valid ofnode
(2018-05-16 00:25:19 -0600)
----------------------------------------------------------------
Kever Yang (1):
pinctrl: do not set_state for device without valid ofnode
Lothar Waßmann (1):
tools: buildman: Don't use the working dir as build dir
drivers/pinctrl/pinctrl-uclass.c | 6 ++++++
tools/buildman/builderthread.py | 4 ++++
tools/buildman/control.py | 28 +++++++++++++++++++++++++---
tools/buildman/func_test.py | 9 +++++++++
4 files changed, 44 insertions(+), 3 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-04-01 23:22 Simon Glass
@ 2018-04-03 0:33 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-04-03 0:33 UTC (permalink / raw)
To: u-boot
On Mon, Apr 02, 2018 at 07:22:39AM +0800, Simon Glass wrote:
> Hi Tom,
>
> Here's an assortment of things that were in my queue. Test result is here:
>
> https://travis-ci.org/sglass68/u-boot/builds/360881266
>
>
> The following changes since commit 81cf7c8d45935a295991fe2cd1df286f0f47511f:
>
> Merge git://git.denx.de/u-boot-ubi (2018-03-25 12:02:13 -0400)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 641599a63df258c3e3cb259c75cdada0cc009d56:
>
> image.h: add forward declaration of struct fdt_region (2018-04-01
> 22:19:10 +0800)
>
Applied to u-boot/master, 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/20180402/a458eee2/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-04-02 6:11 ` Simon Glass
@ 2018-04-03 0:33 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-04-03 0:33 UTC (permalink / raw)
To: u-boot
On Mon, Apr 02, 2018 at 02:11:59PM +0800, Simon Glass wrote:
> Hi Tom,
>
> On 4 February 2018 at 02:13, Tom Rini <trini@konsulko.com> wrote:
> > On Sat, Feb 03, 2018 at 10:12:41AM -0700, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 26 January 2018 at 17:50, Tom Rini <trini@konsulko.com> wrote:
> >> > On Fri, Jan 26, 2018 at 02:45:29PM -0700, Simon Glass wrote:
> >> >
> >> >> Hi Tom,
> >> >>
> >> >> Here are some additions to logging and 64-bit sandbox support.
> >> >>
> >> >>
> >> >> The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
> >> >>
> >> >> ARM: socfpga: Convert callers of cm_write_with_phase for
> >> >> wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
> >> >>
> >> >> are available in the Git repository at:
> >> >>
> >> >> git://git.denx.de/u-boot-dm.git
> >> >>
> >> >> for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
> >> >>
> >> >> log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
> >> >>
> >> >
> >> > NAK:
> >> > Starting LLVM-3.8 test
> >> > common/log.c:44:17: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> >> > if (log_uc_cat(cat) >= LOGC_NONE)
> >> > ~~~~~~~~~~ ^~~
> >> > common/log.c:47:36: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> >> > return uclass_get_name(log_uc_cat(cat));
> >> > ~~~~~~~~~~ ^~~
> >> > 2 warnings generated.
> >> >
> >> > Also, checkpatch.pl notes that the sandbox64 defconfig isn't caught by
> >> > MAINTAINERS and then I see the 32bit one already isn't.
> >> >
> >> > Finally, I see a bunch of warnings on sandbox64:
> >> > lib/fdtdec.c: In function ‘fdtdec_get_addr_size_auto_noparent’:
> >> > include/fdtdec.h:27:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> >> > #define FDT_ADDR_T_NONE (-1ULL)
> >> >
> >> > That's with my normal 64bit host gcc (5.4.0, Ubuntu 16.04).
> >>
> >> OK I'll drop sandbox64 for now. I'm not sure why buildman was happy,
> >> but I may have missed it because there are already a lot of warnings
> >> with sandbox. I'll see if I can fix those. I need to add clang to my
> >> workflow...
> >
> > It's not too hard. Note that if you go newer than 3.8 there's a ton of
> > warnings I haven't had time to look into. And I only test sandbox with
> > clang atm.
>
> I don't see any warnings doing this:
>
> $ make -s -j10 HOSTCC=clang-3.8 O=b/sandbox/ sandbox_defconfig all
> $ make -s -j10 HOSTCC=clang-3.8 O=b/sandbox64/ sandbox64_defconfig all
> $
>
> How do I get the warnings?
They have been fixed since then, I guess it was something else that was
also in that PR at the time? 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/20180402/13a68aff/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-02-03 18:13 ` Tom Rini
@ 2018-04-02 6:11 ` Simon Glass
2018-04-03 0:33 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-04-02 6:11 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 4 February 2018 at 02:13, Tom Rini <trini@konsulko.com> wrote:
> On Sat, Feb 03, 2018 at 10:12:41AM -0700, Simon Glass wrote:
>> Hi Tom,
>>
>> On 26 January 2018 at 17:50, Tom Rini <trini@konsulko.com> wrote:
>> > On Fri, Jan 26, 2018 at 02:45:29PM -0700, Simon Glass wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> Here are some additions to logging and 64-bit sandbox support.
>> >>
>> >>
>> >> The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
>> >>
>> >> ARM: socfpga: Convert callers of cm_write_with_phase for
>> >> wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
>> >>
>> >> are available in the Git repository at:
>> >>
>> >> git://git.denx.de/u-boot-dm.git
>> >>
>> >> for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
>> >>
>> >> log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
>> >>
>> >
>> > NAK:
>> > Starting LLVM-3.8 test
>> > common/log.c:44:17: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
>> > if (log_uc_cat(cat) >= LOGC_NONE)
>> > ~~~~~~~~~~ ^~~
>> > common/log.c:47:36: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
>> > return uclass_get_name(log_uc_cat(cat));
>> > ~~~~~~~~~~ ^~~
>> > 2 warnings generated.
>> >
>> > Also, checkpatch.pl notes that the sandbox64 defconfig isn't caught by
>> > MAINTAINERS and then I see the 32bit one already isn't.
>> >
>> > Finally, I see a bunch of warnings on sandbox64:
>> > lib/fdtdec.c: In function ‘fdtdec_get_addr_size_auto_noparent’:
>> > include/fdtdec.h:27:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
>> > #define FDT_ADDR_T_NONE (-1ULL)
>> >
>> > That's with my normal 64bit host gcc (5.4.0, Ubuntu 16.04).
>>
>> OK I'll drop sandbox64 for now. I'm not sure why buildman was happy,
>> but I may have missed it because there are already a lot of warnings
>> with sandbox. I'll see if I can fix those. I need to add clang to my
>> workflow...
>
> It's not too hard. Note that if you go newer than 3.8 there's a ton of
> warnings I haven't had time to look into. And I only test sandbox with
> clang atm.
I don't see any warnings doing this:
$ make -s -j10 HOSTCC=clang-3.8 O=b/sandbox/ sandbox_defconfig all
$ make -s -j10 HOSTCC=clang-3.8 O=b/sandbox64/ sandbox64_defconfig all
$
How do I get the warnings?
Regards
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-04-01 23:22 Simon Glass
2018-04-03 0:33 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-04-01 23:22 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here's an assortment of things that were in my queue. Test result is here:
https://travis-ci.org/sglass68/u-boot/builds/360881266
The following changes since commit 81cf7c8d45935a295991fe2cd1df286f0f47511f:
Merge git://git.denx.de/u-boot-ubi (2018-03-25 12:02:13 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 641599a63df258c3e3cb259c75cdada0cc009d56:
image.h: add forward declaration of struct fdt_region (2018-04-01
22:19:10 +0800)
----------------------------------------------------------------
Andre Heider (2):
cmd: cbfs: fix reading the end_of_rom pointer for 64bit archs
fs: cbfs: fix locating the cbfs header
Andy Yan (1):
dm: core: make fixed-clock dt scan live dt compatible
Kever Yang (2):
core: add uclass_get_device_by_phandle_id() api
pinctrl-uclass: convert to use live dt
Mario Six (1):
core: ofnode: Fix translation for #size-cells == 0
Masahiro Yamada (3):
libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c
fdt_region: remove unneeded fdt_internal.h inclusion
image.h: add forward declaration of struct fdt_region
arch/sandbox/dts/test.dts | 48
++++++++++++++++++++++++++++++++++++++++++++++++
cmd/cbfs.c | 2 +-
common/image-fdt.c | 3 +++
drivers/core/fdtaddr.c | 17 +++++++++++------
drivers/core/ofnode.c | 5 ++++-
drivers/core/root.c | 16 +++++++++++-----
drivers/core/uclass.c | 26 ++++++++++++++++++++++++++
drivers/pinctrl/pinctrl-uclass.c | 19 +++++--------------
fs/cbfs/cbfs.c | 4 ++--
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 16 ++++++++++++++++
include/image.h | 1 +
include/linux/libfdt.h | 3 ---
lib/libfdt/fdt_region.c | 2 --
test/dm/test-fdt.c | 43
+++++++++++++++++++++++++++++++++++++++++++
15 files changed, 172 insertions(+), 34 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-02-19 15:37 Simon Glass
@ 2018-02-20 4:00 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-02-20 4:00 UTC (permalink / raw)
To: u-boot
On Mon, Feb 19, 2018 at 08:37:01AM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here is another crack at sandbox64 and a few more patches in my queue.
> I've also including the dtc warning fixes.
>
> The following changes since commit 32fe36574ea5e6ea55313e16547b98a984af7767:
>
> Merge git://git.denx.de/u-boot-arc (2018-02-15 14:07:04 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to c6b89f31806df06a5d7b688a65f9d2e6e6119a55:
>
> sandbox: Add 64-bit sandbox (2018-02-18 15:53:48 -0700)
>
Applied to u-boot/master, 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/20180219/6c06709d/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-02-19 15:37 Simon Glass
2018-02-20 4:00 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-02-19 15:37 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is another crack at sandbox64 and a few more patches in my queue.
I've also including the dtc warning fixes.
The following changes since commit 32fe36574ea5e6ea55313e16547b98a984af7767:
Merge git://git.denx.de/u-boot-arc (2018-02-15 14:07:04 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to c6b89f31806df06a5d7b688a65f9d2e6e6119a55:
sandbox: Add 64-bit sandbox (2018-02-18 15:53:48 -0700)
----------------------------------------------------------------
Alexey Brodkin (1):
fdt: Implement weak arch_fixup_fdt()
Mario Six (1):
sandbox: Add 64-bit sandbox
Simon Glass (2):
sandbox: Correct dtc warning in /chosen node
sandbox: Rename 'num-gpios' property to avoid dtc warning
Thierry Reding (1):
fdt: Fixup only valid memory banks
arch/arc/lib/bootm.c | 5 -
arch/microblaze/lib/bootm.c | 5 -
arch/mips/lib/bootm.c | 6 +-
arch/nds32/lib/bootm.c | 6 -
arch/powerpc/lib/bootm.c | 5 -
arch/sandbox/Kconfig | 16 +-
arch/sandbox/cpu/cpu.c | 2 +-
arch/sandbox/dts/Makefile | 4 +
arch/sandbox/dts/sandbox.dts | 4 +-
arch/sandbox/dts/sandbox64.dts | 317 +++++++++++++++++++++++++++++++++++++++
arch/sandbox/dts/test.dts | 6 +-
arch/sandbox/include/asm/io.h | 6 +
arch/sandbox/include/asm/types.h | 17 ++-
arch/sandbox/lib/bootm.c | 5 -
arch/x86/lib/bootm.c | 5 -
board/sandbox/MAINTAINERS | 8 +
board/sandbox/README.sandbox | 7 +-
cmd/demo.c | 6 +-
common/fdt_support.c | 8 +-
common/image-fdt.c | 5 +
configs/sandbox64_defconfig | 201 +++++++++++++++++++++++++
drivers/demo/demo-simple.c | 2 +-
drivers/gpio/sandbox.c | 3 +-
include/fdtdec.h | 2 +-
24 files changed, 593 insertions(+), 58 deletions(-)
create mode 100644 arch/sandbox/dts/sandbox64.dts
create mode 100644 configs/sandbox64_defconfig
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-02-03 17:12 ` Simon Glass
@ 2018-02-03 18:13 ` Tom Rini
2018-04-02 6:11 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-02-03 18:13 UTC (permalink / raw)
To: u-boot
On Sat, Feb 03, 2018 at 10:12:41AM -0700, Simon Glass wrote:
> Hi Tom,
>
> On 26 January 2018 at 17:50, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Jan 26, 2018 at 02:45:29PM -0700, Simon Glass wrote:
> >
> >> Hi Tom,
> >>
> >> Here are some additions to logging and 64-bit sandbox support.
> >>
> >>
> >> The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
> >>
> >> ARM: socfpga: Convert callers of cm_write_with_phase for
> >> wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
> >>
> >> are available in the Git repository at:
> >>
> >> git://git.denx.de/u-boot-dm.git
> >>
> >> for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
> >>
> >> log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
> >>
> >
> > NAK:
> > Starting LLVM-3.8 test
> > common/log.c:44:17: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> > if (log_uc_cat(cat) >= LOGC_NONE)
> > ~~~~~~~~~~ ^~~
> > common/log.c:47:36: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> > return uclass_get_name(log_uc_cat(cat));
> > ~~~~~~~~~~ ^~~
> > 2 warnings generated.
> >
> > Also, checkpatch.pl notes that the sandbox64 defconfig isn't caught by
> > MAINTAINERS and then I see the 32bit one already isn't.
> >
> > Finally, I see a bunch of warnings on sandbox64:
> > lib/fdtdec.c: In function ‘fdtdec_get_addr_size_auto_noparent’:
> > include/fdtdec.h:27:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> > #define FDT_ADDR_T_NONE (-1ULL)
> >
> > That's with my normal 64bit host gcc (5.4.0, Ubuntu 16.04).
>
> OK I'll drop sandbox64 for now. I'm not sure why buildman was happy,
> but I may have missed it because there are already a lot of warnings
> with sandbox. I'll see if I can fix those. I need to add clang to my
> workflow...
It's not too hard. Note that if you go newer than 3.8 there's a ton of
warnings I haven't had time to look into. And I only test sandbox with
clang atm.
--
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/20180203/a3ced4a1/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-01-27 0:50 ` Tom Rini
@ 2018-02-03 17:12 ` Simon Glass
2018-02-03 18:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-02-03 17:12 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 26 January 2018 at 17:50, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Jan 26, 2018 at 02:45:29PM -0700, Simon Glass wrote:
>
>> Hi Tom,
>>
>> Here are some additions to logging and 64-bit sandbox support.
>>
>>
>> The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
>>
>> ARM: socfpga: Convert callers of cm_write_with_phase for
>> wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
>>
>> are available in the Git repository at:
>>
>> git://git.denx.de/u-boot-dm.git
>>
>> for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
>>
>> log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
>>
>
> NAK:
> Starting LLVM-3.8 test
> common/log.c:44:17: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> if (log_uc_cat(cat) >= LOGC_NONE)
> ~~~~~~~~~~ ^~~
> common/log.c:47:36: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
> return uclass_get_name(log_uc_cat(cat));
> ~~~~~~~~~~ ^~~
> 2 warnings generated.
>
> Also, checkpatch.pl notes that the sandbox64 defconfig isn't caught by
> MAINTAINERS and then I see the 32bit one already isn't.
>
> Finally, I see a bunch of warnings on sandbox64:
> lib/fdtdec.c: In function ‘fdtdec_get_addr_size_auto_noparent’:
> include/fdtdec.h:27:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> #define FDT_ADDR_T_NONE (-1ULL)
>
> That's with my normal 64bit host gcc (5.4.0, Ubuntu 16.04).
OK I'll drop sandbox64 for now. I'm not sure why buildman was happy,
but I may have missed it because there are already a lot of warnings
with sandbox. I'll see if I can fix those. I need to add clang to my
workflow...
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-01-26 21:45 Simon Glass
@ 2018-01-27 0:50 ` Tom Rini
2018-02-03 17:12 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2018-01-27 0:50 UTC (permalink / raw)
To: u-boot
On Fri, Jan 26, 2018 at 02:45:29PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here are some additions to logging and 64-bit sandbox support.
>
>
> The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
>
> ARM: socfpga: Convert callers of cm_write_with_phase for
> wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
>
> log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
>
NAK:
Starting LLVM-3.8 test
common/log.c:44:17: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
if (log_uc_cat(cat) >= LOGC_NONE)
~~~~~~~~~~ ^~~
common/log.c:47:36: warning: implicit conversion from enumeration type 'enum log_category_t' to different enumeration type 'enum uclass_id' [-Wenum-conversion]
return uclass_get_name(log_uc_cat(cat));
~~~~~~~~~~ ^~~
2 warnings generated.
Also, checkpatch.pl notes that the sandbox64 defconfig isn't caught by
MAINTAINERS and then I see the 32bit one already isn't.
Finally, I see a bunch of warnings on sandbox64:
lib/fdtdec.c: In function ‘fdtdec_get_addr_size_auto_noparent’:
include/fdtdec.h:27:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define FDT_ADDR_T_NONE (-1ULL)
That's with my normal 64bit host gcc (5.4.0, Ubuntu 16.04).
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/20180126/888426b0/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-01-26 21:45 Simon Glass
2018-01-27 0:50 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-01-26 21:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are some additions to logging and 64-bit sandbox support.
The following changes since commit ab12aa24e619b5e81cbde7de88c6d9a19f04313b:
ARM: socfpga: Convert callers of cm_write_with_phase for
wait_for_bit_le32 (2018-01-26 13:08:03 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 4e94617bf911595efcecf52d6c9f323744a81cda:
log: add category LOGC_EFI (2018-01-26 12:20:55 -0700)
----------------------------------------------------------------
Heinrich Schuchardt (1):
log: add category LOGC_EFI
Mario Six (1):
sandbox: Add 64-bit sandbox
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
arch/sandbox/Kconfig | 16 ++-
arch/sandbox/cpu/cpu.c | 2 +-
arch/sandbox/dts/Makefile | 4 +
arch/sandbox/dts/sandbox64.dts | 317
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/sandbox/include/asm/io.h | 6 ++
arch/sandbox/include/asm/types.h | 17 +++-
board/sandbox/README.sandbox | 7 +-
cmd/demo.c | 6 +-
cmd/log.c | 82 +++++++++++++++
common/Kconfig | 13 +++
common/log.c | 69 +++++++++++++
common/log_console.c | 27 ++++-
configs/sandbox64_defconfig | 200 ++++++++++++++++++++++++++++++++++++
configs/sandbox_defconfig | 1 +
doc/README.log | 36 +++++++
drivers/core/uclass.c | 14 +++
drivers/demo/demo-simple.c | 2 +-
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 +++++-
22 files changed, 912 insertions(+), 22 deletions(-)
create mode 100644 arch/sandbox/dts/sandbox64.dts
create mode 100644 configs/sandbox64_defconfig
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-01-22 1:09 Simon Glass
@ 2018-01-22 12:18 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-01-22 12:18 UTC (permalink / raw)
To: u-boot
On Sun, Jan 21, 2018 at 06:09:23PM -0700, Simon Glass wrote:
> Hi Tom.
>
> The following changes since commit 557767ed29968af0294e3aae48433e5d5a298e0b:
>
> Merge git://git.denx.de/u-boot-marvell (2018-01-20 08:39:47 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to b79221a7d9132fd7bfd81cad9ebdc37acb39f69e:
>
> lib: fdtdec: Fix some style violations (2018-01-21 10:01:02 -0700)
>
Applied to u-boot/master, 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/20180122/42ba33f5/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-01-22 1:09 Simon Glass
2018-01-22 12:18 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-01-22 1:09 UTC (permalink / raw)
To: u-boot
Hi Tom.
The following changes since commit 557767ed29968af0294e3aae48433e5d5a298e0b:
Merge git://git.denx.de/u-boot-marvell (2018-01-20 08:39:47 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to b79221a7d9132fd7bfd81cad9ebdc37acb39f69e:
lib: fdtdec: Fix some style violations (2018-01-21 10:01:02 -0700)
----------------------------------------------------------------
Heinrich Schuchardt (1):
dm: fix typo falback
Mario Six (11):
drivers: core: Add translation in live tree case
clk: clk-uclass: Fix style violations
clk: clk_fixed_rate: Fix style violation
clk: Remove superfluous gd declarations
clk: Makefile: Sort entries alphabetically
core: ofnode: Fix style violations
core: read: Fix style violations
core: Add {ofnode, dev}_translate_address functions
core: Make device_is_compatible live-tree compatible
lib: fdtdec: Fix whitespace style violations
lib: fdtdec: Fix some style violations
Peng Fan (1):
dm: pinctrl: sync with Linux to use pin_config_param
Stefan Brüns (1):
patman: Unquote output from get_maintainer.pl
drivers/clk/Makefile | 20 ++++----
drivers/clk/clk-uclass.c | 22 ++++----
drivers/clk/clk_fixed_rate.c | 6 +--
drivers/core/device.c | 7 ++-
drivers/core/ofnode.c | 35 +++++++++----
drivers/core/read.c | 14 ++++--
include/dm/ofnode.h | 13 +++++
include/dm/pinctrl.h | 112 ++++++++++++++++++++++++-----------------
include/dm/read.h | 17 +++++++
include/dm/uclass.h | 4 +-
lib/fdtdec.c | 85 ++++++++++++++++---------------
tools/patman/get_maintainer.py | 3 +-
12 files changed, 207 insertions(+), 131 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2018-01-16 14:56 Simon Glass
@ 2018-01-17 1:26 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2018-01-17 1:26 UTC (permalink / raw)
To: u-boot
On Tue, Jan 16, 2018 at 06:56:13AM -0800, Simon Glass wrote:
> Hi Tom,
>
> Here are the patches left over from last time, along with the two to
> fix the 'old dtc' problem you identified. Let me know if there are any
> problems.
>
> I'm still a bit conflicted about the move from fdt at 1, kernel at 1 to
> fdt-1 and kernel-1 in the FIT format. I've been thinking whether we
> should just disable the DT warning. But I gather that everyone else is
> happy about it, so I suppose we should go ahead.
>
>
> The following changes since commit 8e9801c283c0e5a7ccd5c04f5ba09003d01f1591:
>
> Merge git://git.denx.de/u-boot-imx (2018-01-15 16:44:18 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ed772fe79bf4419320e997de94b3f93dbbe0838a:
>
> test: Set the DTC environment variable (2018-01-15 18:29:21 -0700)
>
Thanks for a checkpatch.pl clean PR and applied to u-boot/master, 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/20180116/0ca3d51e/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2018-01-16 14:56 Simon Glass
2018-01-17 1:26 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2018-01-16 14:56 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are the patches left over from last time, along with the two to
fix the 'old dtc' problem you identified. Let me know if there are any
problems.
I'm still a bit conflicted about the move from fdt at 1, kernel at 1 to
fdt-1 and kernel-1 in the FIT format. I've been thinking whether we
should just disable the DT warning. But I gather that everyone else is
happy about it, so I suppose we should go ahead.
The following changes since commit 8e9801c283c0e5a7ccd5c04f5ba09003d01f1591:
Merge git://git.denx.de/u-boot-imx (2018-01-15 16:44:18 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ed772fe79bf4419320e997de94b3f93dbbe0838a:
test: Set the DTC environment variable (2018-01-15 18:29:21 -0700)
----------------------------------------------------------------
Andre Przywara (7):
doc: FIT image: fix incorrect description of DT node unit address
doc: FIT image: fix incorrect examples of DT node unit address
doc: fix incorrect usage of DT node unit address
fix incorrect usage of DT node unit address in comments
sunxi: arm64: correct usage of DT node address in FIT generation
tools: fix incorrect usage of DT node unit address
armv8: secure firmware: fix incorrect unit address in node name
Simon Glass (8):
test: Run binman tests
test: Run patman tests
test: Run buildman tests
test: Run dtoc tests
travis.yml: Run tests for tools
binman: Run code coverage tests
dtoc: Allow DTC environment variable to provide path to dtc
test: Set the DTC environment variable
.travis.yml | 15 ++++
.../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 16 ++--
arch/arm/cpu/armv8/sec_firmware.c | 2 +-
board/sunxi/mksunxi_fit_atf.sh | 16 ++--
common/image-fit.c | 16 ++--
common/image-sig.c | 2 +-
doc/README.uniphier | 36 ++++----
doc/chromium/chromebook_jerry.its | 16 ++--
doc/chromium/nyan-big.its | 16 ++--
doc/uImage.FIT/beaglebone_vboot.txt | 84 ++++++++---------
doc/uImage.FIT/command_syntax_extensions.txt | 42 ++++-----
doc/uImage.FIT/howto.txt | 52 +++++------
doc/uImage.FIT/kernel.its | 28 +++---
doc/uImage.FIT/kernel_fdt.its | 20 ++---
doc/uImage.FIT/multi-with-fpga.its | 28 +++---
doc/uImage.FIT/multi-with-loadables.its | 40 ++++-----
doc/uImage.FIT/multi.its | 54 +++++------
doc/uImage.FIT/multi_spl.its | 14 +--
doc/uImage.FIT/overlay-fdt-boot.txt | 78 ++++++++--------
doc/uImage.FIT/sign-configs.its | 18 ++--
doc/uImage.FIT/sign-images.its | 16 ++--
doc/uImage.FIT/signature.txt | 100 ++++++++++-----------
doc/uImage.FIT/source_file_format.txt | 26 +++---
doc/uImage.FIT/update3.its | 12 +--
doc/uImage.FIT/update_uboot.its | 4 +-
doc/uImage.FIT/x86-fit-boot.txt | 10 +--
include/image.h | 26 +++---
test/run | 15 ++++
tools/binman/README | 4 +
tools/dtoc/fdt_util.py | 3 +-
tools/fit_image.c | 24 ++---
tools/image-host.c | 10 +--
32 files changed, 439 insertions(+), 404 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-19 21:30 ` Tom Rini
@ 2017-12-19 21:40 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2017-12-19 21:40 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 December 2017 at 14:30, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Dec 19, 2017 at 02:27:06PM -0700, Simon Glass wrote:
>> Hi Tom,
>>
>> On 19 December 2017 at 14:19, Tom Rini <trini@konsulko.com> wrote:
>> >
>> > On Tue, Dec 19, 2017 at 06:30:48AM -0700, Simon Glass wrote:
>> >
>> > > Hi Tom,
>> > >
>> > > Here is the remainder of my queue for u-boot-dm, including the test
>> > > patches that were dropped. If any of the test patches cause a problem
>> > > with your workflow, please let me know. If you would rather hold these
>> > > off until next release that's fine too.
>> >
>> > The problem is that travis doesn't (yet? I suppose we could add that
>> > into the matrix) run 'make tests' but I do. And the new binman tests
>> > don't pass, both due to dtc things:
>> > 15:56:55 FATAL ERROR: Unrecognized check name "unit_address_vs_reg"
>>
>> That sounds like you need a newer dtc. I wonder if we should run the
>> one in the U-Boot tree?
>
> Yes, not running the one in the U-Boot tree would be a bug :)
Ah OK. Then that means that the coverage patch needs to be dropped / respun.
>
>> > and utils:
>> > 15:56:58 sh: 1: coverage: not found
>> > 15:56:58 Exception: Error running 'coverage report': <type 'str'>
>>
>> Yes you need the coverage tools:
>>
>> To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
>>
>> $ sudo apt-get install python-pip python-pytest
>> $ sudo pip install coverage
>
> Is this documented already somewhere? I can update my docker slaves to
> include python-coverage.
Yes, tools/binman/README
>
> --
> Tom
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-19 21:27 ` Simon Glass
@ 2017-12-19 21:30 ` Tom Rini
2017-12-19 21:40 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2017-12-19 21:30 UTC (permalink / raw)
To: u-boot
On Tue, Dec 19, 2017 at 02:27:06PM -0700, Simon Glass wrote:
> Hi Tom,
>
> On 19 December 2017 at 14:19, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Tue, Dec 19, 2017 at 06:30:48AM -0700, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > Here is the remainder of my queue for u-boot-dm, including the test
> > > patches that were dropped. If any of the test patches cause a problem
> > > with your workflow, please let me know. If you would rather hold these
> > > off until next release that's fine too.
> >
> > The problem is that travis doesn't (yet? I suppose we could add that
> > into the matrix) run 'make tests' but I do. And the new binman tests
> > don't pass, both due to dtc things:
> > 15:56:55 FATAL ERROR: Unrecognized check name "unit_address_vs_reg"
>
> That sounds like you need a newer dtc. I wonder if we should run the
> one in the U-Boot tree?
Yes, not running the one in the U-Boot tree would be a bug :)
> > and utils:
> > 15:56:58 sh: 1: coverage: not found
> > 15:56:58 Exception: Error running 'coverage report': <type 'str'>
>
> Yes you need the coverage tools:
>
> To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
>
> $ sudo apt-get install python-pip python-pytest
> $ sudo pip install coverage
Is this documented already somewhere? I can update my docker slaves to
include python-coverage.
--
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/20171219/ac2b9333/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-19 21:19 ` Tom Rini
@ 2017-12-19 21:27 ` Simon Glass
2017-12-19 21:30 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-12-19 21:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 December 2017 at 14:19, Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Dec 19, 2017 at 06:30:48AM -0700, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Here is the remainder of my queue for u-boot-dm, including the test
> > patches that were dropped. If any of the test patches cause a problem
> > with your workflow, please let me know. If you would rather hold these
> > off until next release that's fine too.
>
> The problem is that travis doesn't (yet? I suppose we could add that
> into the matrix) run 'make tests' but I do. And the new binman tests
> don't pass, both due to dtc things:
> 15:56:55 FATAL ERROR: Unrecognized check name "unit_address_vs_reg"
That sounds like you need a newer dtc. I wonder if we should run the
one in the U-Boot tree?
> and utils:
> 15:56:58 sh: 1: coverage: not found
> 15:56:58 Exception: Error running 'coverage report': <type 'str'>
Yes you need the coverage tools:
To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
$ sudo apt-get install python-pip python-pytest
$ sudo pip install coverage
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-19 13:30 Simon Glass
@ 2017-12-19 21:19 ` Tom Rini
2017-12-19 21:27 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2017-12-19 21:19 UTC (permalink / raw)
To: u-boot
On Tue, Dec 19, 2017 at 06:30:48AM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here is the remainder of my queue for u-boot-dm, including the test
> patches that were dropped. If any of the test patches cause a problem
> with your workflow, please let me know. If you would rather hold these
> off until next release that's fine too.
The problem is that travis doesn't (yet? I suppose we could add that
into the matrix) run 'make tests' but I do. And the new binman tests
don't pass, both due to dtc things:
15:56:55 FATAL ERROR: Unrecognized check name "unit_address_vs_reg"
and utils:
15:56:58 sh: 1: coverage: not found
15:56:58 Exception: Error running 'coverage report': <type 'str'>
--
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/20171219/7d0892fa/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-12-19 13:30 Simon Glass
2017-12-19 21:19 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-12-19 13:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the remainder of my queue for u-boot-dm, including the test
patches that were dropped. If any of the test patches cause a problem
with your workflow, please let me know. If you would rather hold these
off until next release that's fine too.
I have had to leave out the live-tree translation patch due to it
breaking Jetson-TX1. It looks like you are tracking that:
http://patchwork.ozlabs.org/patch/849881/
It would be good to get that in if we can once we have a respin.
Travis build here (I'm running another now):
https://travis-ci.org/sglass68/u-boot/builds/318440976
The following changes since commit 9da71fc83a38e9dbf71240b3e548f6b37417764a:
Prepare v2018.01-rc2 (2017-12-18 20:55:17 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to a1626e99b5d00f7d99469dc30b6201ab69d4d5bd:
armv8: secure firmware: fix incorrect unit address in node name
(2017-12-18 21:25:57 -0700)
----------------------------------------------------------------
Andre Przywara (7):
doc: FIT image: fix incorrect description of DT node unit address
doc: FIT image: fix incorrect examples of DT node unit address
doc: fix incorrect usage of DT node unit address
fix incorrect usage of DT node unit address in comments
sunxi: arm64: correct usage of DT node address in FIT generation
tools: fix incorrect usage of DT node unit address
armv8: secure firmware: fix incorrect unit address in node name
Prabhakar Kushwaha (3):
common: Fix-up MAC addr in dts by fetching env variable serially
arm: Add support of updating dts before fix-up
boards: ls1046ardb: disable unavailable "ethernet" node in dts
Simon Glass (6):
test: Run binman tests
test: Run patman tests
test: Run buildman tests
test: Run dtoc tests
travis.yml: Run tests for tools
binman: Run code coverage tests
.travis.yml | 15 ++++
README | 9 ++
.../arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 16 ++--
arch/arm/cpu/armv8/sec_firmware.c | 2 +-
arch/arm/lib/bootm-fdt.c | 12 +++
board/freescale/ls1046ardb/eth.c | 51 +++++++++++
board/sunxi/mksunxi_fit_atf.sh | 16 ++--
common/fdt_support.c | 25 +++++-
common/image-fit.c | 16 ++--
common/image-sig.c | 2 +-
doc/README.uniphier | 36 ++++----
doc/chromium/chromebook_jerry.its | 16 ++--
doc/chromium/nyan-big.its | 16 ++--
doc/uImage.FIT/beaglebone_vboot.txt | 84 ++++++++---------
doc/uImage.FIT/command_syntax_extensions.txt | 42 ++++-----
doc/uImage.FIT/howto.txt | 52 +++++------
doc/uImage.FIT/kernel.its | 28 +++---
doc/uImage.FIT/kernel_fdt.its | 20 ++---
doc/uImage.FIT/multi-with-fpga.its | 28 +++---
doc/uImage.FIT/multi-with-loadables.its | 40 ++++-----
doc/uImage.FIT/multi.its | 54 +++++------
doc/uImage.FIT/multi_spl.its | 14 +--
doc/uImage.FIT/overlay-fdt-boot.txt | 78 ++++++++--------
doc/uImage.FIT/sign-configs.its | 18 ++--
doc/uImage.FIT/sign-images.its | 16 ++--
doc/uImage.FIT/signature.txt | 100 ++++++++++-----------
doc/uImage.FIT/source_file_format.txt | 26 +++---
doc/uImage.FIT/update3.its | 12 +--
doc/uImage.FIT/update_uboot.its | 4 +-
doc/uImage.FIT/x86-fit-boot.txt | 10 +--
include/configs/ls1046ardb.h | 2 +
include/fdt_support.h | 3 +
include/image.h | 26 +++---
test/run | 13 +++
tools/fit_image.c | 24 ++---
tools/image-host.c | 10 +--
36 files changed, 529 insertions(+), 407 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-12 11:15 ` Felix Brack
@ 2017-12-12 14:01 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-12-12 14:01 UTC (permalink / raw)
To: u-boot
On Tue, Dec 12, 2017 at 12:15:15PM +0100, Felix Brack wrote:
> Hi Simon,
>
> Are you sure this one made it to Tom? You didn't CC him I think.
>
> regards Felix
>
> On 08.12.2017 23:44, Simon Glass wrote:
> > Hi Tom,
> >
> > This is the binman symbol feature plus a few other things that I found
> > in my queue. I'll sort out the test patch problems next week.
This one shows some issues on nvidia hardware, as reported by Stephen.
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/20171212/ccc1ad59/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-12-08 22:44 Simon Glass
@ 2017-12-12 11:15 ` Felix Brack
2017-12-12 14:01 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Felix Brack @ 2017-12-12 11:15 UTC (permalink / raw)
To: u-boot
Hi Simon,
Are you sure this one made it to Tom? You didn't CC him I think.
regards Felix
On 08.12.2017 23:44, Simon Glass wrote:
> Hi Tom,
>
> This is the binman symbol feature plus a few other things that I found
> in my queue. I'll sort out the test patch problems next week.
>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-12-08 22:44 Simon Glass
2017-12-12 11:15 ` Felix Brack
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-12-08 22:44 UTC (permalink / raw)
To: u-boot
Hi Tom,
This is the binman symbol feature plus a few other things that I found
in my queue. I'll sort out the test patch problems next week.
Buildman is clean, and travis-ci:
https://travis-ci.org/sglass68/u-boot/builds/313582145
The following changes since commit 6c7010b779ef29a40ed66acc414f65d2f4b75ced:
Merge git://git.denx.de/u-boot-fsl-qoriq (2017-12-07 17:56:51 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 2b64d049a06131301f86e9deb57919724effb913:
power: pmic/regulator: Add basic support for TPS65910 (2017-12-08
06:25:34 -0700)
----------------------------------------------------------------
Felix Brack (2):
power: extend prefix match to regulator-name property
power: pmic/regulator: Add basic support for TPS65910
Mario Six (1):
drivers: core: Add translation in live tree case
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/core/ofnode.c | 8 +-
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 | 14 ++
tools/binman/test/u_boot_binman_syms.lds | 30 ++++
tools/binman/test/u_boot_binman_syms_bad | Bin 0 -> 4890 bytes
tools/binman/test/u_boot_binman_syms_bad.c | 1 +
tools/binman/test/u_boot_binman_syms_bad.lds | 29 ++++
tools/binman/test/u_boot_binman_syms_size | Bin 0 -> 4825 bytes
tools/binman/test/u_boot_binman_syms_size.c | 12 ++
tools/binman/test/u_boot_ucode_ptr.c | 2 +-
62 files changed, 1645 insertions(+), 63 deletions(-)
create mode 100644 arch/arm/dts/tegra-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra114-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra124-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra210-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra30-u-boot.dtsi
create mode 100644 drivers/power/pmic/pmic_tps65910_dm.c
create mode 100644 drivers/power/regulator/tps65910_regulator.c
create mode 100644 include/binman_sym.h
create mode 100644 include/power/tps65910_pmic.h
create mode 100644 tools/binman/elf.py
create mode 100644 tools/binman/elf_test.py
create mode 100644 tools/binman/etype/u_boot_spl_dtb.py
create mode 100644 tools/binman/etype/u_boot_spl_nodtb.py
create mode 100644 tools/binman/image_test.py
create mode 100644 tools/binman/test/51_u_boot_spl_dtb.dts
create mode 100644 tools/binman/test/52_u_boot_spl_nodtb.dts
create mode 100644 tools/binman/test/53_symbols.dts
create mode 100755 tools/binman/test/u_boot_binman_syms
create mode 100644 tools/binman/test/u_boot_binman_syms.c
create mode 100644 tools/binman/test/u_boot_binman_syms.lds
create mode 100755 tools/binman/test/u_boot_binman_syms_bad
create mode 120000 tools/binman/test/u_boot_binman_syms_bad.c
create mode 100644 tools/binman/test/u_boot_binman_syms_bad.lds
create mode 100755 tools/binman/test/u_boot_binman_syms_size
create mode 100644 tools/binman/test/u_boot_binman_syms_size.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-11-24 1:48 Simon Glass
@ 2017-11-24 21:33 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-11-24 21:33 UTC (permalink / raw)
To: u-boot
On Thu, Nov 23, 2017 at 06:48:52PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Happy Thanksgiving. Herewith some test fix-ups.
>
> After this I have some patches to enable these tests with 'make
> tests'. But I'm a little nervous about it. One of them needs Python
> code coverage tools which not everyone will have. So I'll take those
> separately after I've tried with travis-cl.
>
> https://travis-ci.org/sglass68/u-boot/builds/306101351
>
>
> The following changes since commit 16fa2eb95172e63820ee5f3d4052f3362a6de84e:
>
> ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx
> (2017-11-21 08:03:39 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 9677faa34ee81c7abb4c08b0dc4ce4aace5473fc:
>
> binman: Return non-zero exit code on test failure (2017-11-22 18:05:38 -0700)
>
Applied to u-boot/master, 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/20171124/3f5c7a6c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-11-24 1:48 Simon Glass
2017-11-24 21:33 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-11-24 1:48 UTC (permalink / raw)
To: u-boot
Hi Tom,
Happy Thanksgiving. Herewith some test fix-ups.
After this I have some patches to enable these tests with 'make
tests'. But I'm a little nervous about it. One of them needs Python
code coverage tools which not everyone will have. So I'll take those
separately after I've tried with travis-cl.
https://travis-ci.org/sglass68/u-boot/builds/306101351
The following changes since commit 16fa2eb95172e63820ee5f3d4052f3362a6de84e:
ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx
(2017-11-21 08:03:39 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 9677faa34ee81c7abb4c08b0dc4ce4aace5473fc:
binman: Return non-zero exit code on test failure (2017-11-22 18:05:38 -0700)
----------------------------------------------------------------
Simon Glass (21):
binman: Add better Makefile debugging
binman: Add docs explaining how to enable binman for a board
binman: Add a Makefile for test-program compilation
binman: Rename tests to ftest
binman: Disable the no-unit_address_vs_reg warnings
test/run: Report and return failure
patman: Fix up tests to pass with newest checkpatch
buildman: Allow skipping of tests which use the network
buildman: Fix up tests
dtoc: Fix up tests
binman: Append to PYTHONPATH when running test coverage
binman: Set up 'entry' to permit full test coverage
binman: Add tests for importlib availability
binman: Add a main program to the tests
binman: Increase test coverage back to 100%
binman: Check for files missing from test coverage
binman: Add test for u-boot-spl-bss-pad
binman: Add a test for x86-start16-spl
binman: Add add test for SPL with a microcode pointer
binman: Add add test for using an Intel MRC binary
binman: Return non-zero exit code on test failure
scripts/Makefile.lib | 18 +++-
test/run | 20 ++++-
tools/binman/README | 24 +++++-
tools/binman/binman.py | 42 +++++++--
tools/binman/entry_test.py | 36 +++++++-
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +-
tools/binman/etype/u_boot_ucode.py | 11 +--
tools/binman/{func_test.py => ftest.py} | 108 ++++++++++++++++++------
tools/binman/image.py | 7 +-
tools/binman/test/47_spl_bss_pad.dts | 17 ++++
tools/binman/test/48_x86-start16-spl.dts | 13 +++
tools/binman/test/49_x86_ucode_spl.dts | 29 +++++++
tools/binman/test/50_intel_mrc.dts | 13 +++
tools/binman/test/Makefile | 39 +++++++++
tools/binman/test/bss_data | Bin 0 -> 5020 bytes
tools/binman/test/bss_data.c | 18 ++++
tools/binman/test/bss_data.lds | 16 ++++
tools/binman/test/u_boot_no_ucode_ptr.c | 4 -
tools/binman/test/u_boot_ucode_ptr.c | 4 -
tools/buildman/buildman.py | 6 +-
tools/buildman/cmdline.py | 2 +
tools/buildman/test.py | 38 ++++++---
tools/dtoc/fdt_util.py | 3 +-
tools/dtoc/test_dtoc.py | 82 ++++++++----------
tools/patman/test.py | 41 +++++----
25 files changed, 455 insertions(+), 138 deletions(-)
rename tools/binman/{func_test.py => ftest.py} (91%)
create mode 100644 tools/binman/test/47_spl_bss_pad.dts
create mode 100644 tools/binman/test/48_x86-start16-spl.dts
create mode 100644 tools/binman/test/49_x86_ucode_spl.dts
create mode 100644 tools/binman/test/50_intel_mrc.dts
create mode 100644 tools/binman/test/Makefile
create mode 100755 tools/binman/test/bss_data
create mode 100644 tools/binman/test/bss_data.c
create mode 100644 tools/binman/test/bss_data.lds
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-09-29 23:14 Simon Glass
@ 2017-09-30 0:38 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-09-30 0:38 UTC (permalink / raw)
To: u-boot
On Fri, Sep 29, 2017 at 05:14:12PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here are a few clean-ups and fixes.
>
> https://travis-ci.org/sglass68/u-boot/builds/281422204
>
>
>
> The following changes since commit ec4e99a4a24c84069c710df3202ecb1e501ff60f:
>
> Merge git://git.denx.de/u-boot-mmc (2017-09-28 23:31:11 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 6d2eeed584240a2a141e68d40e893e66d12c100c:
>
> sandbox: avoid memory leak in os_dirent_ls (2017-09-29 13:13:24 -0600)
>
NAK, on omap3_beagle (xM specifically):
U-Boot SPL 2017.09-00405-ged8ea3f (Sep 29 2017 - 20:00:11)
Trying to boot from MMC1
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img
U-Boot 2017.09-00405-ged8ea3f (Sep 29 2017 - 20:00:11 -0400), Build: jenkins-u-boot-mainline-hw-764
OMAP3630/3730-GP ES1.1, CPU-OPP2, L3-200MHz, Max CPU Clock 800 MHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
No match for driver 'gpio_omap'
No match for driver 'gpio_omap'
No match for driver 'gpio_omap'
No match for driver 'gpio_omap'
No match for driver 'gpio_omap'
No match for driver 'gpio_omap'
initcall sequence 9ff98b7c failed at call 801105bb (err=-22)
### ERROR ### Please RESET the board ###
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170929/17fd760b/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-09-29 23:14 Simon Glass
2017-09-30 0:38 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-09-29 23:14 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are a few clean-ups and fixes.
https://travis-ci.org/sglass68/u-boot/builds/281422204
The following changes since commit ec4e99a4a24c84069c710df3202ecb1e501ff60f:
Merge git://git.denx.de/u-boot-mmc (2017-09-28 23:31:11 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 6d2eeed584240a2a141e68d40e893e66d12c100c:
sandbox: avoid memory leak in os_dirent_ls (2017-09-29 13:13:24 -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 | 11 ++++++-----
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(+), 60 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-09-14 1:34 Simon Glass
@ 2017-09-14 2:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-09-14 2:13 UTC (permalink / raw)
To: u-boot
On Wed, Sep 13, 2017 at 07:34:32PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This fixes an annoying problem discovered in a recent patman feature.
>
>
> The following changes since commit ba39608147c797cffb266579b5791649f0f8e60c:
>
> ARM: DRA72x: Add support for detection of DRA71x SR 2.1 (2017-09-12
> 18:02:29 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ad8931400b193f701a415e7f69f1ad454d1b0380:
>
> patman: Fix error when the email blacklist is missing (2017-09-13
> 19:32:13 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/9f11fdb9/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-09-14 1:34 Simon Glass
2017-09-14 2:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-09-14 1:34 UTC (permalink / raw)
To: u-boot
Hi Tom,
This fixes an annoying problem discovered in a recent patman feature.
The following changes since commit ba39608147c797cffb266579b5791649f0f8e60c:
ARM: DRA72x: Add support for detection of DRA71x SR 2.1 (2017-09-12
18:02:29 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ad8931400b193f701a415e7f69f1ad454d1b0380:
patman: Fix error when the email blacklist is missing (2017-09-13
19:32:13 -0600)
----------------------------------------------------------------
Simon Glass (1):
patman: Fix error when the email blacklist is missing
tools/patman/settings.py | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-09-12 10:58 Simon Glass
@ 2017-09-12 21:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-09-12 21:13 UTC (permalink / raw)
To: u-boot
On Tue, Sep 12, 2017 at 04:58:47AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here is an assortment of minor changes related to driver model,
> sandbox and patman/other tools.
>
>
> The following changes since commit c98ac3487e413c71e5d36322ef3324b21c6f60f9:
>
> Prepare v2017.09 (2017-09-11 14:10:40 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ee87a097b0f66158ce2985940a5f28ba15a3552d:
>
> dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in
> dm_do_test (2017-09-11 21:43:58 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170912/16a061d6/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-09-12 10:58 Simon Glass
2017-09-12 21:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-09-12 10:58 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is an assortment of minor changes related to driver model,
sandbox and patman/other tools.
The following changes since commit c98ac3487e413c71e5d36322ef3324b21c6f60f9:
Prepare v2017.09 (2017-09-11 14:10:40 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ee87a097b0f66158ce2985940a5f28ba15a3552d:
dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in
dm_do_test (2017-09-11 21:43:58 -0600)
----------------------------------------------------------------
Bin Meng (2):
sandbox: Introduce Kconfig option for 32/64 bit host
sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig
Chris Packham (1):
patman: add support for omitting bouncing addresses
Jean-Jacques Hiblot (1):
blk: dm: make blk_create_device() take a number of block instead of a size
Patrice Chotard (2):
dm: core: add clocks node scan
dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test
Simon Glass (5):
dm: core: Drop use of strlcpy()
dm: core: Show driver name with 'dm tree'
genconfig.py: Print defconfig next to warnings
dm: core: Add ofnode_for_each_subnode()
moveconfig: Use fd.write() instead of print >>
arch/arm/mach-tegra/xusb-padctl-common.c | 8 ++------
arch/sandbox/Kconfig | 22 +++++++++++++++++++++
arch/sandbox/dts/test.dts | 10 ++++++----
board/sandbox/README.sandbox | 7 +++----
doc/bounces | 3 +++
drivers/block/blk-uclass.c | 8 ++++----
drivers/block/sandbox.c | 2 +-
drivers/core/dump.c | 8 +++-----
drivers/core/ofnode.c | 9 +++++----
drivers/core/root.c | 34 ++++++++++++++++++++++++++++++--
drivers/misc/cros_ec.c | 3 +--
drivers/power/pmic/pmic-uclass.c | 4 +---
drivers/scsi/scsi.c | 2 +-
include/blk.h | 8 ++++----
include/dm/ofnode.h | 24 ++++++++++++++++++++++
include/dm/root.h | 14 +++++++++++++
lib/libfdt/pylibfdt/libfdt.i | 2 ++
scripts/config_whitelist.txt | 1 -
test/dm/blk.c | 6 +++---
test/dm/test-main.c | 2 +-
tools/buildman/kconfiglib.py | 22 +++++++++++++++------
tools/genboardscfg.py | 7 +++++--
tools/moveconfig.py | 6 +++---
tools/patman/README | 12 +++++++++++
tools/patman/series.py | 5 +++++
tools/patman/settings.py | 18 +++++++++++++++++
26 files changed, 191 insertions(+), 56 deletions(-)
create mode 100644 doc/bounces
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-09-04 16:31 Simon Glass
@ 2017-09-05 11:11 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-09-05 11:11 UTC (permalink / raw)
To: u-boot
On Tue, Sep 05, 2017 at 12:31:13AM +0800, Simon Glass wrote:
> Hi Tom,
>
> Here are a few bug fixes and doc changes, including the CONFIG_BLK
> migration timeline.
>
>
> The following changes since commit 6935aec0e3f0064698d8970a00b908f5a162b93f:
>
> Makefile: Suppress output of python libfdt build command (2017-09-03
> 15:30:37 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to d944bf6b5e5c0248eebb035d3f6a67dec70d7dd9:
>
> dm: core: Add livetree documentation (2017-09-04 02:10:06 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170905/5635ba64/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-09-04 16:31 Simon Glass
2017-09-05 11:11 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-09-04 16:31 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are a few bug fixes and doc changes, including the CONFIG_BLK
migration timeline.
The following changes since commit 6935aec0e3f0064698d8970a00b908f5a162b93f:
Makefile: Suppress output of python libfdt build command (2017-09-03
15:30:37 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to d944bf6b5e5c0248eebb035d3f6a67dec70d7dd9:
dm: core: Add livetree documentation (2017-09-04 02:10:06 -0600)
----------------------------------------------------------------
Hannes Schmelzer (1):
fdt: fix 'prop (...) not found!' error in 'fdt set' command
Philipp Tomsich (1):
gitignore: add intermediates from libfdt build
Simon Glass (2):
dm: Add migration plan for CONFIG_BLK
dm: core: Add livetree documentation
.gitignore | 8 ++
cmd/fdt.c | 8 +-
doc/driver-model/MIGRATION.txt | 20 +++
doc/driver-model/livetree.txt | 272
+++++++++++++++++++++++++++++++++++++++++
4 files changed, 303 insertions(+), 5 deletions(-)
create mode 100644 doc/driver-model/MIGRATION.txt
create mode 100644 doc/driver-model/livetree.txt
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-07-28 18:46 Simon Glass
@ 2017-07-29 1:32 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-07-29 1:32 UTC (permalink / raw)
To: u-boot
On Fri, Jul 28, 2017 at 12:46:36PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes the tegra livetree conversion at last, plus a few other things.
>
>
> The following changes since commit 26722335253a9fa384ceb423419254cb00d0def1:
>
> rockchip: puma-rk3399: remove duplicate code (merge artifact)
> (2017-07-27 14:59:04 +0200)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 32ca40bf8b95fa1312de52109b84f888e2ea3642:
>
> dm: tegra: Move nyan-big, jetson-tk1/tx1, beaver to livetree
> (2017-07-28 12:02:48 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170728/c2c9d2ac/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-07-28 18:46 Simon Glass
2017-07-29 1:32 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-07-28 18:46 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the tegra livetree conversion at last, plus a few other things.
The following changes since commit 26722335253a9fa384ceb423419254cb00d0def1:
rockchip: puma-rk3399: remove duplicate code (merge artifact)
(2017-07-27 14:59:04 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 32ca40bf8b95fa1312de52109b84f888e2ea3642:
dm: tegra: Move nyan-big, jetson-tk1/tx1, beaver to livetree
(2017-07-28 12:02:48 -0600)
----------------------------------------------------------------
Bin Meng (2):
dm: ahci: Avoid scsi_scan_dev() in ahci_probe_scsi()
cmd: scsi: Fix null pointer dereference in 'scsi reset'
Masahiro Yamada (3):
dm: ofnode: change return type of dev_read_prop() to opaque pointer
sandbox: remove os_putc() and os_puts()
console: simplify puts()
Philipp Tomsich (1):
dm: Fix typo in include-guard for dm-structs.h
Simon Glass (20):
dm: core: Add ofnode_read_resource()
dm: core: Fix up ofnode_get_addr_index() for 64-bit values
tegra: spl: Enable debug UART
tegra: tegra124: Add a PMC syscon driver
dm: tegra: Convert USB setup to livetree
dm: tegra: Convert clock_decode_periph_id() to support livetree
dm: video: tegra124: Convert to livetree
tegra: dts: Move stdout-path to /chosen
dm: tegra: gpio: Convert to support livetree
dm: tegra: usb: Convert to livetree
dm: tegra: spi: Convert to livetree
dm: tegra: i2c: Convert to livetree
dm: tegra: pwm: Convert to livetree
dm: tegra: mmc: Convert to livetree
dm: tegra: pci: Convert to livetree
power: Add a regulator driver for the as3722 PMIC
power: Add a GPIO driver for the as3722 PMIC
dm: power: Convert as3722 to driver model
fdtdec: Drop old compatible values
dm: tegra: Move nyan-big, jetson-tk1/tx1, beaver to livetree
arch/arm/dts/tegra124-nyan-big.dts | 5 +-
arch/arm/include/asm/arch-tegra/clock.h | 2 +-
arch/arm/include/asm/arch-tegra/tegra.h | 5 ++
arch/arm/include/asm/arch-tegra/xusb-padctl.h | 2 +-
arch/arm/mach-tegra/Kconfig | 2 +
arch/arm/mach-tegra/board2.c | 8 +-
arch/arm/mach-tegra/clock.c | 5 +-
arch/arm/mach-tegra/spl.c | 4 +
arch/arm/mach-tegra/tegra124/Makefile | 1 +
arch/arm/mach-tegra/tegra124/pmc.c | 19 +++++
arch/arm/mach-tegra/tegra124/xusb-padctl.c | 36 +++++++--
arch/arm/mach-tegra/tegra210/xusb-padctl.c | 42 ++++++++---
arch/arm/mach-tegra/xusb-padctl-common.c | 60 +++++++++------
arch/arm/mach-tegra/xusb-padctl-common.h | 8 +-
arch/arm/mach-tegra/xusb-padctl-dummy.c | 2 +-
arch/sandbox/cpu/os.c | 11 ---
board/cei/cei-tk1-som/cei-tk1-som.c | 2 +
board/nvidia/jetson-tk1/jetson-tk1.c | 44 ++++++++---
board/nvidia/nyan-big/nyan-big.c | 22 +++---
board/toradex/apalis-tk1/apalis-tk1.c | 6 ++
cmd/scsi.c | 2 +
common/console.c | 44 +----------
configs/apalis-tk1_defconfig | 3 +
configs/beaver_defconfig | 1 +
configs/cei-tk1-som_defconfig | 3 +
configs/jetson-tk1_defconfig | 4 +
configs/nyan-big_defconfig | 2 +
configs/p2371-2180_defconfig | 1 +
drivers/ata/ahci.c | 5 --
drivers/core/ofnode.c | 30 +++++++-
drivers/core/read.c | 7 +-
drivers/core/read_extra.c | 25 +-----
drivers/gpio/tegra_gpio.c | 10 ++-
drivers/i2c/tegra_i2c.c | 7 +-
drivers/mmc/tegra_mmc.c | 17 ++---
drivers/pci/pci_tegra.c | 53 ++++++-------
drivers/power/pmic/Makefile | 2 +-
drivers/power/pmic/as3722.c | 292
++++++++++++++++++++++++-----------------------------------------------
drivers/power/pmic/as3722_gpio.c | 120
+++++++++++++++++++++++++++++
drivers/power/regulator/Kconfig | 9 +++
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/as3722_regulator.c | 149
++++++++++++++++++++++++++++++++++++
drivers/pwm/tegra_pwm.c | 2 +-
drivers/spi/tegra114_spi.c | 15 ++--
drivers/spi/tegra20_sflash.c | 2 +-
drivers/spi/tegra20_slink.c | 2 +-
drivers/spi/tegra210_qspi.c | 2 +-
drivers/usb/host/ehci-tegra.c | 36 ++++-----
drivers/video/tegra124/display.c | 8 +-
drivers/video/tegra124/dp.c | 3 +-
drivers/video/tegra124/sor.c | 25 ++----
include/dm/ofnode.h | 4 +
include/dm/read.h | 32 ++++----
include/dt-structs.h | 4 +-
include/fdtdec.h | 6 --
include/os.h | 20 -----
include/power/as3722.h | 29 ++++---
lib/fdtdec.c | 6 --
58 files changed, 740 insertions(+), 529 deletions(-)
create mode 100644 arch/arm/mach-tegra/tegra124/pmc.c
create mode 100644 drivers/power/pmic/as3722_gpio.c
create mode 100644 drivers/power/regulator/as3722_regulator.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-07-11 18:42 Simon Glass
@ 2017-07-12 2:36 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-07-12 2:36 UTC (permalink / raw)
To: u-boot
On Tue, Jul 11, 2017 at 12:42:31PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes SCSI DM conversion, livetree updates for tegra (although many
> patches will come later due to testing problems), ofnode tidy-up patches,
> dtoc and moveconfig improvements.
>
> I am having trouble with timeouts with travis-ci but buildman is clean.
>
> The following changes since commit 6b26aaef083957b75bcd69aa65bd6ffcf9245bb3:
>
> pipe3: Fix broken dependency (2017-07-10 14:26:05 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 8c9eaadaaad888e0cd77512553d0d02d476b4dde:
>
> dm: ofnode: use fdt32_t for DT property value to fix sparse warning
> (2017-07-11 10:08:20 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170711/505e4487/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-07-11 18:42 Simon Glass
2017-07-12 2:36 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-07-11 18:42 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes SCSI DM conversion, livetree updates for tegra (although many
patches will come later due to testing problems), ofnode tidy-up patches,
dtoc and moveconfig improvements.
I am having trouble with timeouts with travis-ci but buildman is clean.
The following changes since commit 6b26aaef083957b75bcd69aa65bd6ffcf9245bb3:
pipe3: Fix broken dependency (2017-07-10 14:26:05 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 8c9eaadaaad888e0cd77512553d0d02d476b4dde:
dm: ofnode: use fdt32_t for DT property value to fix sparse warning
(2017-07-11 10:08:20 -0600)
----------------------------------------------------------------
Alison Chaiken (2):
sandbox: README: fix partition command invocation
cmd gpt: test in sandbox
Kever Yang (1):
rockchip: dts: rk3328: add aliases for mmc controller
Masahiro Yamada (7):
dm: include <dm/util.h> from drivers/core/util.c
dm: ofnode: use ofnode_read_bool() to check property existence
dm: ofnode: simplify ofnode_read_prop()
dm: ofnode: rename ofnode_read_prop() to ofnode_get_property()
dm: ofnode: simplify ofnode_read_bool()
dm: include <dm/util.h> from driver/core/dump.c
dm: ofnode: use fdt32_t for DT property value to fix sparse warning
Simon Glass (76):
dm: core: Clarify uclass_first/next_device() comments
dm: core: Test uclass_first/next_device() on probe failure
dm: core: Add uclass_first/next_device_check()
moveconfig: Support providing a path to the defconfig files
moveconfig: Allow reading the defconfig list from stdin
moveconfig: Tidy up the documentation and add hints
moveconfig: Add a constant for auto.conf
moveconfig: Support building a simple config database
moveconfig: Support looking for implied CONFIG options
dtoc: Support multiple compatible strings in a node
Convert CONFIG_SCSI to Kconfig
scsi: Drop sym53c8xx driver
scsi: Drop scsi_print_error()
Convert CONFIG_CMD_SATA to Kconfig
Kconfig: Add CONFIG_SATA to enable SATA
sata: Move drivers into new drivers/ata directory
scsi: Move drivers into new drivers/scsi directory
dm: scsi: Rearrange header file for driver model
dm: scsi: Rename struct SCSI_cmd_block to struct scsi_cmd
dm: scsi: Drop the ccb typedef
dm: scsi: Use the uclass platform data
dm: ahci: Rename struct ahci_probe_ent
dm: sata: Move ataid into struct ahci_uc_priv
dm: ahci: Refactor to avoid static variables
dm: scsi: Indent the confusing #ifdefs
dm: ahci: Move common code for starting ports into a function
dm: ahci: Unwind the confusing init code
dm: ahci: Drop use of probe_ent
dm: scsi: Add operations
dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset()
dm: scsi: Document and rename the scsi_scan() parameter
dm: ahci: Create a local version of two SCSI functions
dm: scsi: Add operations for SCSI devices
dm: scsi: Adjust return value of scsi_exec()
dm: scsi: Split out the bus scanning code
dm: ahci: Add a driver for SCSI on AHCI
dm: scsi: Drop scsi_init() when driver model is used
x86: Move link to use driver model for SCSI
display_options: Refactor to allow obtaining the banner
Allow displaying the U-Boot banner on a video display
test: Add a test for snprintf() and the banner/version
console: Use map_sysmem() for the pre-relocation console
sandbox: Enable more console options
sandbox: Drop special case console code for sandbox
moveconfig: Allow piping in 'git show --stat' output
moveconfig: Allow control of which implying configs are shown
moveconfig: Allow automatic location and adding of 'imply'
dtoc: Use self._options instead of the global options
dtoc: Add a comment at the top
dtoc: Split out the main class into its own file
dtoc: Fix pylint warnings
dtoc: Don't handle properties with / in them
dtoc: Pass include_disabled explicitly
dtoc: Move static functions out of the class
dtoc: Move the main logic into the dtb_platdata file
dtoc: Add a comment about string replace in conv_name_to_c()
sandbox: Stop printing platdata at the start of SPL
dtoc: Add tests
binman: Put our local modules ahead of system modules
dm: core: Add ofnode_read_string_count()
dm: core: Add dev_read_resource() to read device resources
dm: core: Add dev_read_enabled() to check if a device is enabled
dm: core: Add functions to obtain node's address/size cells
tegra: video: Time the LCD init
tegra: nyan-big: Enable the debug UART
dm: Fix error handling when unflattening the DT
tegra: nyan-big: Enable bootstage
dm: video: Sync display on backspace
dm: video: Update pwm_backlight to support livetree
video: simple-panel: Add a little more debugging
tegra: Fix up include file ordering
dm: serial: ns16550: Convert to livetree
dm: serial: Separate out the core serial-device finding code
dm: serial: Add livetree support
tegra: Show a debug message if the LCD PMIC fails to start
tegra: fdt: Ensure that the console UART is enabled
Tom Rini (1):
fdt: Check for NULL return from fdt_getprop in 'fdt set'
README | 6 -
api/api_storage.c | 2 +-
arch/Kconfig | 2 +
arch/arm/Kconfig | 10 +
arch/arm/cpu/armv7/ls102xa/Kconfig | 1 +
arch/arm/cpu/armv7/ls102xa/ls102xa_sata.c | 2 +-
arch/arm/cpu/armv7/mx6/Kconfig | 4 +
arch/arm/cpu/armv7/mx6/clock.c | 6 +-
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 +
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 +-
arch/arm/dts/rk3328.dtsi | 3 +
arch/arm/dts/tegra114-dalmore.dts | 4 +
arch/arm/dts/tegra124-cei-tk1-som.dts | 4 +
arch/arm/dts/tegra124-jetson-tk1.dts | 4 +
arch/arm/dts/tegra124-venice2.dts | 4 +
arch/arm/dts/tegra186-p2771-0000.dtsi | 4 +
arch/arm/dts/tegra20-colibri.dts | 4 +
arch/arm/dts/tegra20-harmony.dts | 4 +
arch/arm/dts/tegra20-trimslice.dts | 4 +
arch/arm/dts/tegra210-e2220-1170.dts | 4 +
arch/arm/dts/tegra210-p2371-0000.dts | 4 +
arch/arm/dts/tegra210-p2371-2180.dts | 4 +
arch/arm/dts/tegra210-p2571.dts | 4 +
arch/arm/dts/tegra30-apalis.dts | 4 +
arch/arm/dts/tegra30-beaver.dts | 4 +
arch/arm/dts/tegra30-cardhu.dts | 4 +
arch/arm/dts/tegra30-colibri.dts | 4 +
arch/arm/dts/tegra30-tec-ng.dts | 4 +
arch/arm/imx-common/Makefile | 2 +-
arch/arm/imx-common/cpu.c | 2 +-
arch/arm/include/asm/arch-ls102xa/config.h | 1 -
arch/arm/mach-mvebu/Kconfig | 4 +
arch/arm/mach-omap2/omap5/Kconfig | 2 +
arch/arm/mach-omap2/sata.c | 4 +-
arch/arm/mach-tegra/board2.c | 26 +-
arch/arm/mach-tegra/clock.c | 4 +-
arch/powerpc/cpu/mpc83xx/Kconfig | 1 +
arch/powerpc/cpu/mpc85xx/Kconfig | 46 ++++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +-
arch/powerpc/cpu/mpc86xx/Kconfig | 1 +
arch/sandbox/cpu/spl.c | 11 -
arch/sandbox/dts/sandbox.dts | 1 +
arch/sandbox/dts/test.dts | 19 ++
arch/x86/cpu/ivybridge/sata.c | 22 +-
board/advantech/dms-ba16/dms-ba16.c | 2 +-
board/bachmann/ot1200/ot1200.c | 2 +-
board/boundary/nitrogen6x/nitrogen6x.c | 2 +-
board/congatec/Kconfig | 1 +
board/congatec/cgtqmx6eval/cgtqmx6eval.c | 2 +-
board/dfi/Kconfig | 1 +
board/gateworks/gw_ventana/gw_ventana.c | 2 +-
board/highbank/ahci.c | 2 +-
board/highbank/highbank.c | 2 +-
board/kosagi/novena/novena.c | 2 +-
board/sandbox/README.sandbox | 2 +-
board/toradex/apalis_imx6/apalis_imx6.c | 2 +-
board/toradex/colibri_imx6/colibri_imx6.c | 2 +-
board/udoo/udoo.c | 2 +-
board/wandboard/wandboard.c | 2 +-
cmd/Kconfig | 13 +
cmd/fdt.c | 4 +
cmd/scsi.c | 6 +-
cmd/version.c | 4 +-
common/Kconfig | 2 +-
common/Makefile | 5 -
common/board_r.c | 1 +
common/console.c | 41 +--
common/spl/spl_sata.c | 2 +-
common/splash_source.c | 2 +-
common/usb_storage.c | 44 ++--
configs/A10-OLinuXino-Lime_defconfig | 1 +
configs/A20-OLinuXino-Lime2_defconfig | 1 +
configs/A20-OLinuXino-Lime_defconfig | 1 +
configs/A20-OLinuXino_MICRO_defconfig | 1 +
configs/A20-Olimex-SOM-EVB_defconfig | 1 +
configs/Bananapi_M2_Ultra_defconfig | 1 +
configs/Bananapi_defconfig | 1 +
configs/Bananapro_defconfig | 1 +
configs/Cubieboard2_defconfig | 1 +
configs/Cubieboard_defconfig | 1 +
configs/Cubietruck_defconfig | 1 +
configs/Itead_Ibox_A20_defconfig | 1 +
configs/Lamobo_R1_defconfig | 1 +
configs/Linksprite_pcDuino3_Nano_defconfig | 1 +
configs/Linksprite_pcDuino3_defconfig | 1 +
configs/MPC8315ERDB_defconfig | 1 +
configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
configs/MPC8349ITX_defconfig | 1 +
configs/MPC837XERDB_defconfig | 1 +
configs/MPC8544DS_defconfig | 1 +
configs/MPC8610HPCD_defconfig | 1 +
configs/Marsboard_A10_defconfig | 1 +
configs/Mele_A1000_defconfig | 1 +
configs/Mele_M5_defconfig | 1 +
configs/Orangepi_defconfig | 1 +
configs/Orangepi_mini_defconfig | 1 +
configs/Wits_Pro_A20_DKT_defconfig | 1 +
configs/bayleybay_defconfig | 1 +
configs/cgtqmx6eval_defconfig | 1 +
configs/chromebook_link64_defconfig | 3 +
configs/chromebook_link_defconfig | 3 +
configs/chromebook_samus_defconfig | 1 +
configs/chromebox_panther_defconfig | 3 +
configs/cm_fx6_defconfig | 1 +
configs/cm_t54_defconfig | 1 +
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 1 +
configs/controlcenterd_36BIT_SDCARD_defconfig | 1 +
configs/controlcenterdc_defconfig | 1 +
configs/cougarcanyon2_defconfig | 1 +
configs/crownbay_defconfig | 1 +
configs/db-88f6820-gp_defconfig | 1 +
configs/db-mv784mp-gp_defconfig | 1 +
configs/highbank_defconfig | 1 +
configs/ls1012aqds_qspi_defconfig | 1 +
configs/ls2081ardb_defconfig | 1 +
configs/m53evk_defconfig | 1 +
configs/minnowmax_defconfig | 1 +
configs/mx53loco_defconfig | 1 +
configs/mx6qsabrelite_defconfig | 1 +
configs/nitrogen6q2g_defconfig | 1 +
configs/nitrogen6q_defconfig | 1 +
configs/novena_defconfig | 1 +
configs/nyan-big_defconfig | 9 +
configs/omap5_uevm_defconfig | 1 +
configs/sandbox_defconfig | 2 +
configs/som-db5800-som-6867_defconfig | 1 +
configs/tbs2910_defconfig | 1 +
configs/udoo_defconfig | 1 +
configs/wandboard_defconfig | 1 +
configs/xilinx_zynqmp_ep_defconfig | 1 +
configs/xilinx_zynqmp_zcu102_defconfig | 1 +
configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 +
doc/README.gpt | 10 +
doc/driver-model/of-plat.txt | 5 +
drivers/Kconfig | 4 +
drivers/Makefile | 4 +-
drivers/ata/Kconfig | 62 +++++
drivers/ata/Makefile | 22 ++
drivers/{block => ata}/ahci-uclass.c | 0
drivers/{block => ata}/ahci.c | 395
++++++++++++++++++-----------
drivers/{block => ata}/dwc_ahci.c | 10 +-
drivers/{block => ata}/dwc_ahsata.c | 74 +++---
drivers/{block => ata}/dwc_ahsata.h | 0
drivers/{block => ata}/fsl_sata.c | 0
drivers/{block => ata}/fsl_sata.h | 0
drivers/{block => ata}/libata.c | 0
drivers/{block => ata}/mvsata_ide.c | 0
drivers/{block => ata}/mxc_ata.c | 0
{common => drivers/ata}/sata.c | 0
drivers/{block => ata}/sata_ceva.c | 9 +-
drivers/{block => ata}/sata_dwc.c | 0
drivers/{block => ata}/sata_dwc.h | 0
drivers/{block => ata}/sata_mv.c | 0
drivers/{block => ata}/sata_sandbox.c | 0
drivers/{block => ata}/sata_sil.c | 0
drivers/{block => ata}/sata_sil.h | 0
drivers/{block => ata}/sata_sil3114.c | 0
drivers/{block => ata}/sata_sil3114.h | 0
drivers/block/Kconfig | 41 ---
drivers/block/Makefile | 17 +-
drivers/block/scsi-uclass.c | 27 --
drivers/block/sym53c8xx.c | 851
---------------------------------------------------------------
drivers/core/Makefile | 2 +-
drivers/core/dump.c | 1 +
drivers/core/lists.c | 3 +-
drivers/core/of_access.c | 24 ++
drivers/core/ofnode.c | 72 +++---
drivers/core/read.c | 23 +-
drivers/core/read_extra.c | 37 +++
drivers/core/regmap.c | 4 +-
drivers/core/uclass.c | 30 ++-
drivers/core/util.c | 5 +
drivers/misc/cros_ec_sandbox.c | 2 +-
drivers/pci/pci-uclass.c | 8 +-
drivers/pinctrl/pinctrl-uclass.c | 2 +-
drivers/scsi/Kconfig | 17 ++
drivers/scsi/Makefile | 20 ++
drivers/{block => scsi}/sandbox_scsi.c | 9 +-
drivers/scsi/scsi-uclass.c | 40 +++
{common => drivers/scsi}/scsi.c | 147 ++++++-----
drivers/serial/ns16550.c | 15 +-
drivers/serial/serial-uclass.c | 92 ++++---
drivers/usb/emul/sandbox_flash.c | 2 +-
drivers/video/pwm_backlight.c | 22 +-
drivers/video/simple_panel.c | 2 +
drivers/video/tegra124/display.c | 2 +
drivers/video/vidconsole-uclass.c | 1 +
fs/fat/fat.c | 2 +-
include/ahci.h | 57 ++++-
include/config_cmd_all.h | 1 -
include/config_distro_bootcmd.h | 6 +-
include/config_fallbacks.h | 2 +-
include/configs/MPC8315ERDB.h | 1 -
include/configs/MPC8349ITX.h | 4 -
include/configs/MPC837XEMDS.h | 1 -
include/configs/MPC837XERDB.h | 1 -
include/configs/MPC8536DS.h | 1 -
include/configs/MPC8544DS.h | 1 -
include/configs/MPC8572DS.h | 1 -
include/configs/MPC8610HPCD.h | 1 -
include/configs/MPC8641HPCN.h | 1 -
include/configs/P1010RDB.h | 1 -
include/configs/P1022DS.h | 1 -
include/configs/P2041RDB.h | 1 -
include/configs/P4080DS.h | 1 -
include/configs/T102xQDS.h | 1 -
include/configs/T1040QDS.h | 1 -
include/configs/T104xRDB.h | 1 -
include/configs/T208xQDS.h | 1 -
include/configs/T208xRDB.h | 1 -
include/configs/T4240QDS.h | 1 -
include/configs/T4240RDB.h | 2 -
include/configs/UCP1020.h | 1 -
include/configs/advantech_dms-ba16.h | 1 -
include/configs/am57xx_evm.h | 1 -
include/configs/apalis_imx6.h | 4 -
include/configs/cgtqmx6eval.h | 1 -
include/configs/cm_fx6.h | 1 -
include/configs/cm_t54.h | 1 -
include/configs/controlcenterd.h | 1 -
include/configs/controlcenterdc.h | 1 -
include/configs/corenet_ds.h | 1 -
include/configs/cyrus.h | 1 -
include/configs/db-88f6820-gp.h | 1 -
include/configs/db-mv784mp-gp.h | 1 -
include/configs/dra7xx_evm.h | 1 -
include/configs/efi-x86.h | 1 -
include/configs/galileo.h | 1 -
include/configs/gw_ventana.h | 1 -
include/configs/highbank.h | 1 -
include/configs/ls1012aqds.h | 1 -
include/configs/ls1012ardb.h | 1 -
include/configs/ls1043aqds.h | 1 -
include/configs/ls1046aqds.h | 1 -
include/configs/ls1046ardb.h | 1 -
include/configs/ls2080aqds.h | 1 -
include/configs/ls2080ardb.h | 1 -
include/configs/m53evk.h | 1 -
include/configs/mvebu_armada-37xx.h | 1 -
include/configs/mvebu_armada-8k.h | 1 -
include/configs/mx53loco.h | 1 -
include/configs/nitrogen6x.h | 4 -
include/configs/novena.h | 1 -
include/configs/omap5_uevm.h | 1 -
include/configs/ot1200.h | 4 -
include/configs/p1_p2_rdb_pc.h | 1 -
include/configs/p1_twr.h | 1 -
include/configs/qemu-x86.h | 1 -
include/configs/sandbox.h | 3 +-
include/configs/sunxi-common.h | 1 -
include/configs/t4qds.h | 1 -
include/configs/tbs2910.h | 1 -
include/configs/theadorable.h | 1 -
include/configs/udoo.h | 1 -
include/configs/wandboard.h | 1 -
include/configs/x86-common.h | 1 -
include/configs/xilinx_zynqmp.h | 1 -
include/console.h | 12 +
include/display_options.h | 19 ++
include/dm/of_access.h | 38 +++
include/dm/ofnode.h | 36 ++-
include/dm/read.h | 64 ++++-
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 44 +++-
include/scsi.h | 85 +++++--
lib/display_options.c | 36 ++-
lib/of_live.c | 7 +-
scripts/config_whitelist.txt | 4 -
test/Makefile | 1 +
test/dm/test-fdt.c | 152 ++++++++++++
test/print_ut.c | 83 +++++++
test/py/tests/test_ofplatdata.py | 30 +--
tools/binman/binman.py | 9 +-
tools/dtoc/dtb_platdata.py | 456
++++++++++++++++++++++++++++++++++
tools/dtoc/dtoc.py | 452
++++-----------------------------
tools/dtoc/dtoc_test.dts | 12 +
tools/dtoc/dtoc_test_aliases.dts | 18 ++
tools/dtoc/dtoc_test_empty.dts | 12 +
tools/dtoc/dtoc_test_phandle.dts | 23 ++
tools/dtoc/dtoc_test_simple.dts | 48 ++++
tools/dtoc/test_dtoc.py | 271
++++++++++++++++++++
tools/moveconfig.py | 604
+++++++++++++++++++++++++++++++++++++++++++--
282 files changed, 3281 insertions(+), 1986 deletions(-)
create mode 100644 drivers/ata/Kconfig
create mode 100644 drivers/ata/Makefile
rename drivers/{block => ata}/ahci-uclass.c (100%)
rename drivers/{block => ata}/ahci.c (74%)
rename drivers/{block => ata}/dwc_ahci.c (92%)
rename drivers/{block => ata}/dwc_ahsata.c (92%)
rename drivers/{block => ata}/dwc_ahsata.h (100%)
rename drivers/{block => ata}/fsl_sata.c (100%)
rename drivers/{block => ata}/fsl_sata.h (100%)
rename drivers/{block => ata}/libata.c (100%)
rename drivers/{block => ata}/mvsata_ide.c (100%)
rename drivers/{block => ata}/mxc_ata.c (100%)
rename {common => drivers/ata}/sata.c (100%)
rename drivers/{block => ata}/sata_ceva.c (95%)
rename drivers/{block => ata}/sata_dwc.c (100%)
rename drivers/{block => ata}/sata_dwc.h (100%)
rename drivers/{block => ata}/sata_mv.c (100%)
rename drivers/{block => ata}/sata_sandbox.c (100%)
rename drivers/{block => ata}/sata_sil.c (100%)
rename drivers/{block => ata}/sata_sil.h (100%)
rename drivers/{block => ata}/sata_sil3114.c (100%)
rename drivers/{block => ata}/sata_sil3114.h (100%)
delete mode 100644 drivers/block/scsi-uclass.c
delete mode 100644 drivers/block/sym53c8xx.c
create mode 100644 drivers/core/read_extra.c
create mode 100644 drivers/scsi/Kconfig
create mode 100644 drivers/scsi/Makefile
rename drivers/{block => scsi}/sandbox_scsi.c (75%)
create mode 100644 drivers/scsi/scsi-uclass.c
rename {common => drivers/scsi}/scsi.c (86%)
create mode 100644 test/print_ut.c
create mode 100644 tools/dtoc/dtb_platdata.py
create mode 100644 tools/dtoc/dtoc_test.dts
create mode 100644 tools/dtoc/dtoc_test_aliases.dts
create mode 100644 tools/dtoc/dtoc_test_empty.dts
create mode 100644 tools/dtoc/dtoc_test_phandle.dts
create mode 100644 tools/dtoc/dtoc_test_simple.dts
create mode 100644 tools/dtoc/test_dtoc.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-06-09 19:01 ` Stephen Warren
@ 2017-06-09 19:04 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2017-06-09 19:04 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 9 June 2017 at 13:01, Stephen Warren <swarren@wwwdotorg.org> wrote:
>
> On 06/08/2017 08:24 PM, Simon Glass wrote:
>>
>> Hi Tom,
>>
>> This includes the utf-8 fixes for patman and buildman as well as
>> chain-loading support for two Chromebooks.
>>
>>
>> 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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
>>
>> cmd/fdt: support single value replacement within an array (2017-06-08
>> 20:22:00 -0600)
>
>
> Note that something in u-boot-dm's current content breaks many Tegra systems. See the email I sent on this topic last night. I'd prefer that be resolved before this is pulled...
>
> https://lists.denx.de/pipermail/u-boot/2017-June/294897.html
> [U-Boot] u-boot-dm crashes on NVIDIA Jetson TX1 running "version"
I suspect this is related to the build info. I don't think we have a
test for it. Let's scrap this pull request and I'll take a look.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-06-09 2:24 Simon Glass
2017-06-09 13:45 ` Tom Rini
@ 2017-06-09 19:01 ` Stephen Warren
2017-06-09 19:04 ` Simon Glass
1 sibling, 1 reply; 300+ messages in thread
From: Stephen Warren @ 2017-06-09 19:01 UTC (permalink / raw)
To: u-boot
On 06/08/2017 08:24 PM, Simon Glass wrote:
> Hi Tom,
>
> This includes the utf-8 fixes for patman and buildman as well as
> chain-loading support for two Chromebooks.
>
>
> 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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
>
> cmd/fdt: support single value replacement within an array (2017-06-08
> 20:22:00 -0600)
Note that something in u-boot-dm's current content breaks many Tegra
systems. See the email I sent on this topic last night. I'd prefer that
be resolved before this is pulled...
https://lists.denx.de/pipermail/u-boot/2017-June/294897.html
[U-Boot] u-boot-dm crashes on NVIDIA Jetson TX1 running "version"
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-06-09 15:52 ` Dr. Philipp Tomsich
@ 2017-06-09 18:02 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2017-06-09 18:02 UTC (permalink / raw)
To: u-boot
On 9 June 2017 at 09:52, Dr. Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Tom & Simon,
>
>> On 09 Jun 2017, at 15:45, Tom Rini <trini@konsulko.com> wrote:
>>
>> On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote:
>>
>>> Hi Tom,
>>>
>>> This includes the utf-8 fixes for patman and buildman as well as
>>> chain-loading support for two Chromebooks.
>>>
>>>
>>> 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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
>>>
>>> cmd/fdt: support single value replacement within an array (2017-06-08
>>> 20:22:00 -0600)
>>>
>>
>> This introduces a new warning on:
>> puma-rk3399,rock2,chromebook_minnie,chromebook_jerry,evb-rk3399,firefly-rk3288,
>> chromebit_mickey,miqi-rk3288.
>>
>> ../drivers/video/rockchip/rk_vop.c: In function ?rkvop_enable_output?:
>> include/asm/arch/hardware.h:18:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
>> ../drivers/video/rockchip/rk3288_vop.c: In function ?rk_vop_remove?:
>> include/asm/arch/hardware.h:19:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
>
> This happened with
>
>> commit 1714e4b8ba33035251eab2d7e921a2e7b0dad926
>> Author: Simon Glass <sjg@chromium.org>
>> Date: Wed May 31 17:57:29 2017 -0600
>>
>> rockchip: video: Take the vop device out of standby
>
> and just needs the rk_clrreg changed to a clrbits_le32.
> The VOP uses regular registers and not the atomic registers.
>
> I’ll send a fixup for Tom.
Thanks Philipp. I think my toolchain failed to report that error. Tom
please let me know if you'd like a new pull request.
- Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-06-09 13:45 ` Tom Rini
@ 2017-06-09 15:52 ` Dr. Philipp Tomsich
2017-06-09 18:02 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Dr. Philipp Tomsich @ 2017-06-09 15:52 UTC (permalink / raw)
To: u-boot
Tom & Simon,
> On 09 Jun 2017, at 15:45, Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote:
>
>> Hi Tom,
>>
>> This includes the utf-8 fixes for patman and buildman as well as
>> chain-loading support for two Chromebooks.
>>
>>
>> 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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
>>
>> cmd/fdt: support single value replacement within an array (2017-06-08
>> 20:22:00 -0600)
>>
>
> This introduces a new warning on:
> puma-rk3399,rock2,chromebook_minnie,chromebook_jerry,evb-rk3399,firefly-rk3288,
> chromebit_mickey,miqi-rk3288.
>
> ../drivers/video/rockchip/rk_vop.c: In function ?rkvop_enable_output?:
> include/asm/arch/hardware.h:18:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
> ../drivers/video/rockchip/rk3288_vop.c: In function ?rk_vop_remove?:
> include/asm/arch/hardware.h:19:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
This happened with
> commit 1714e4b8ba33035251eab2d7e921a2e7b0dad926
> Author: Simon Glass <sjg@chromium.org>
> Date: Wed May 31 17:57:29 2017 -0600
>
> rockchip: video: Take the vop device out of standby
and just needs the rk_clrreg changed to a clrbits_le32.
The VOP uses regular registers and not the atomic registers.
I’ll send a fixup for Tom.
Regards,
Philipp.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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 19:01 ` Stephen Warren
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2017-06-09 13:45 UTC (permalink / raw)
To: u-boot
On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes the utf-8 fixes for patman and buildman as well as
> chain-loading support for two Chromebooks.
>
>
> 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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
>
> cmd/fdt: support single value replacement within an array (2017-06-08
> 20:22:00 -0600)
>
This introduces a new warning on:
puma-rk3399,rock2,chromebook_minnie,chromebook_jerry,evb-rk3399,firefly-rk3288,
chromebit_mickey,miqi-rk3288.
../drivers/video/rockchip/rk_vop.c: In function ?rkvop_enable_output?:
include/asm/arch/hardware.h:18:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
../drivers/video/rockchip/rk3288_vop.c: In function ?rk_vop_remove?:
include/asm/arch/hardware.h:19:44: warning: result of ?4194304 << 16? requires 40 bits to represent, but ?int? only has 32 bits [-Wshift-overflow=]
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170609/05e5a994/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-06-09 2:24 Simon Glass
2017-06-09 13:45 ` Tom Rini
2017-06-09 19:01 ` Stephen Warren
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2017-06-09 2:24 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the utf-8 fixes for patman and buildman as well as
chain-loading support for two Chromebooks.
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 ade56ff5d33bb1e0bc9babec3efe298165245c64:
cmd/fdt: support single value replacement within an array (2017-06-08
20:22:00 -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 (37):
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
display_options: Refactor to allow obtaining the banner
Allow displaying the U-Boot banner on a video display
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 ++-
cmd/version.c | 4 +-
common/board_r.c | 1 +
common/console.c | 15 +-
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 +-
include/console.h | 12 +
include/display_options.h | 15 ++
lib/display_options.c | 22 +-
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/0000-cover-letter.patch | 23 ++
.../test/0001-pci-Correct-cast-for-sandbox.patch | 48 ++++
...-cast-for-sandbox-in-fdtdec_setup_memory_.patch | 73 ++++++
tools/patman/test/test01.txt | 56 +++++
49 files changed, 1180 insertions(+), 177 deletions(-)
create mode 100644 doc/README.chromium
create mode 100644 doc/chromium/chromebook_jerry.its
create mode 100644 doc/chromium/devkeys/kernel.keyblock
create mode 100644 doc/chromium/devkeys/kernel_data_key.vbprivk
create mode 100644 doc/chromium/nyan-big.its
create mode 100644 tools/patman/func_test.py
create mode 100644 tools/patman/test/0000-cover-letter.patch
create mode 100644
tools/patman/test/0001-pci-Correct-cast-for-sandbox.patch
create mode 100644
tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch
create mode 100644 tools/patman/test/test01.txt
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-05-26 16:16 ` Simon Glass
@ 2017-05-27 14:16 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2017-05-27 14:16 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 26 May 2017 at 10:16, Simon Glass <sjg@chromium.org> wrote:
> Hi Tom,
>
> On 26 May 2017 at 09:18, Tom Rini <trini@konsulko.com> wrote:
>>
>> On Wed, May 24, 2017 at 06:19:04PM -0600, Simon Glass wrote:
>>
>> > Hi Tom,
>> >
>> > This is the first two of the livetree series as well as some
>> > driver-model adjustments for MMC.
>> >
>> > It's up to you if you want to take this now, or wait. I will send a
>> > new version of the 3rd livetree series later by early next week and am
>> > happy to do this all at once if you prefer. On the other hand I don't
>> > want to miss RC1 if I can help it.
>> >
>> >
>> > The following changes since commit be62fbf376261ab3a4ed5db3bf54d5df9e216d9f:
>> >
>> > Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2017-05-23
>> > 16:22:03 -0400)
>> >
>> > are available in the git repository at:
>> >
>> > git://git.denx.de/u-boot-dm.git
>> >
>> > for you to fetch changes up to 68dbdcb3cf8c59ab04b1b31d750fcee1e603e760:
>> >
>> > sandbox: Move to use live tree (2017-05-24 14:18:23 -0600)
>>
>> I bisected a boot time failure:
>> U-Boot SPL 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31)
>> DRA722-GP ES1.0
>> Trying to boot from MMC1
>> *** Warning - No MMC card found, using default environment
>>
>> reading u-boot.img
>> reading u-boot.img
>> reading u-boot.img
>> reading u-boot.img
>>
>>
>> U-Boot 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31 -0400)
>>
>> CPU : DRA722-GP ES1.0
>> Model: TI DRA722
>> Board: DRA72x EVM REV
>> DRAM: 1 GiB
>> MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
>> ### ERROR ### Please RESET the board ###
>
> Where is this error coming from? Normally we would see the initcall
> report a message. There are only a very few places where we can die
> without a preceding message.
>
>>
>> down to:
>>
>> commit 8e8cb1b3dd28404fa6d8fed316867185673f43ea
>> Author: Simon Glass <sjg@chromium.org>
>> Date: Wed May 17 17:18:09 2017 -0600
>>
>> dm: core: Replace of_offset with accessor (part 2)
>>
>> but don't quite know what would cause it to fail.
>
> Me neither, although I have stared at the code pretty hard for a while.
>
> Would it be possible for me to repeat this with beaglebone black? I'm
> not sure what board you are using here.
As suggested on IRC I tried this with BBB but no luck. It boots OK
from a micro-SD card and MMC seems to work.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-05-26 15:18 ` Tom Rini
@ 2017-05-26 16:16 ` Simon Glass
2017-05-27 14:16 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-05-26 16:16 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 26 May 2017 at 09:18, Tom Rini <trini@konsulko.com> wrote:
>
> On Wed, May 24, 2017 at 06:19:04PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > This is the first two of the livetree series as well as some
> > driver-model adjustments for MMC.
> >
> > It's up to you if you want to take this now, or wait. I will send a
> > new version of the 3rd livetree series later by early next week and am
> > happy to do this all at once if you prefer. On the other hand I don't
> > want to miss RC1 if I can help it.
> >
> >
> > The following changes since commit be62fbf376261ab3a4ed5db3bf54d5df9e216d9f:
> >
> > Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2017-05-23
> > 16:22:03 -0400)
> >
> > are available in the git repository at:
> >
> > git://git.denx.de/u-boot-dm.git
> >
> > for you to fetch changes up to 68dbdcb3cf8c59ab04b1b31d750fcee1e603e760:
> >
> > sandbox: Move to use live tree (2017-05-24 14:18:23 -0600)
>
> I bisected a boot time failure:
> U-Boot SPL 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31)
> DRA722-GP ES1.0
> Trying to boot from MMC1
> *** Warning - No MMC card found, using default environment
>
> reading u-boot.img
> reading u-boot.img
> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31 -0400)
>
> CPU : DRA722-GP ES1.0
> Model: TI DRA722
> Board: DRA72x EVM REV
> DRAM: 1 GiB
> MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
> ### ERROR ### Please RESET the board ###
Where is this error coming from? Normally we would see the initcall
report a message. There are only a very few places where we can die
without a preceding message.
>
> down to:
>
> commit 8e8cb1b3dd28404fa6d8fed316867185673f43ea
> Author: Simon Glass <sjg@chromium.org>
> Date: Wed May 17 17:18:09 2017 -0600
>
> dm: core: Replace of_offset with accessor (part 2)
>
> but don't quite know what would cause it to fail.
Me neither, although I have stared at the code pretty hard for a while.
Would it be possible for me to repeat this with beaglebone black? I'm
not sure what board you are using here.
>
> --
> Tom
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-05-25 0:19 Simon Glass
@ 2017-05-26 15:18 ` Tom Rini
2017-05-26 16:16 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2017-05-26 15:18 UTC (permalink / raw)
To: u-boot
On Wed, May 24, 2017 at 06:19:04PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This is the first two of the livetree series as well as some
> driver-model adjustments for MMC.
>
> It's up to you if you want to take this now, or wait. I will send a
> new version of the 3rd livetree series later by early next week and am
> happy to do this all at once if you prefer. On the other hand I don't
> want to miss RC1 if I can help it.
>
>
> The following changes since commit be62fbf376261ab3a4ed5db3bf54d5df9e216d9f:
>
> Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2017-05-23
> 16:22:03 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 68dbdcb3cf8c59ab04b1b31d750fcee1e603e760:
>
> sandbox: Move to use live tree (2017-05-24 14:18:23 -0600)
I bisected a boot time failure:
U-Boot SPL 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31)
DRA722-GP ES1.0
Trying to boot from MMC1
*** Warning - No MMC card found, using default environment
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2017.05-00797-g137396d6249b (May 26 2017 - 11:08:31 -0400)
CPU : DRA722-GP ES1.0
Model: TI DRA722
Board: DRA72x EVM REV
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
### ERROR ### Please RESET the board ###
down to:
commit 8e8cb1b3dd28404fa6d8fed316867185673f43ea
Author: Simon Glass <sjg@chromium.org>
Date: Wed May 17 17:18:09 2017 -0600
dm: core: Replace of_offset with accessor (part 2)
but don't quite know what would cause it to fail.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170526/ee20b7bb/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-05-25 0:19 Simon Glass
2017-05-26 15:18 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-05-25 0:19 UTC (permalink / raw)
To: u-boot
Hi Tom,
This is the first two of the livetree series as well as some
driver-model adjustments for MMC.
It's up to you if you want to take this now, or wait. I will send a
new version of the 3rd livetree series later by early next week and am
happy to do this all at once if you prefer. On the other hand I don't
want to miss RC1 if I can help it.
The following changes since commit be62fbf376261ab3a4ed5db3bf54d5df9e216d9f:
Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2017-05-23
16:22:03 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 68dbdcb3cf8c59ab04b1b31d750fcee1e603e760:
sandbox: Move to use live tree (2017-05-24 14:18:23 -0600)
----------------------------------------------------------------
Simon Glass (90):
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: Avoid probing block devices in find_mmc_device()
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: i2c_rtc: Drop fdtdec.h header
dm: spi-flash: Convert uclass to livetree
dm: sandbox: spi: Convert driver to support livetree
dm: sandbox: sysreset: Convert driver to livetree
dm: test: Fix nit with position of backslash
dm: gpio: power: Convert pm8916 drivers to livetree
sandbox: Move to use live tree
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 4 +-
arch/arm/lib/bootm.c | 2 +-
arch/arm/mach-mvebu/sata.c | 2 +-
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 2 +-
arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 +-
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 2 +-
arch/arm/mach-snapdragon/clock-apq8016.c | 2 +-
arch/arm/mach-tegra/tegra186/nvtboot_mem.c | 4 +-
arch/arm/mach-uniphier/pinctrl-glue.c | 4 +-
arch/sandbox/cpu/cpu.c | 1 +
arch/sandbox/cpu/state.c | 15 +-
arch/sandbox/dts/test.dts | 12 +-
arch/sandbox/include/asm/state.h | 7 +
board/amlogic/odroid-c2/odroid-c2.c | 2 +-
board/armltd/integrator/integrator.c | 2 +-
board/armltd/vexpress64/vexpress64.c | 2 +-
board/beckhoff/mx53cx9020/mx53cx9020.c | 2 +-
board/cadence/xtfpga/xtfpga.c | 2 +-
board/cavium/thunderx/thunderx.c | 2 +-
board/freescale/common/fsl_chain_of_trust.c | 1 +
board/freescale/common/fsl_validate.c | 2 +-
board/qualcomm/dragonboard410c/dragonboard410c.c | 12 +-
board/samsung/common/board.c | 4 +-
board/samsung/common/exynos5-dt.c | 2 +-
board/samsung/common/misc.c | 13 +
board/sandbox/MAINTAINERS | 7 +
board/st/stm32f429-discovery/stm32f429-discovery.c | 2 +-
board/st/stm32f746-disco/stm32f746-disco.c | 2 +-
board/st/stv0991/stv0991.c | 2 +-
board/toradex/apalis_imx6/apalis_imx6.c | 1 +
board/toradex/colibri_imx6/colibri_imx6.c | 1 +
board/toradex/colibri_pxa270/colibri_pxa270.c | 1 +
board/toradex/common/tdx-cfg-block.c | 2 +-
cmd/bootefi.c | 2 +-
common/board_r.c | 12 +
common/env_mmc.c | 3 +-
common/env_sf.c | 1 +
common/fdt_support.c | 28 +-
configs/apalis-tk1_defconfig | 2 -
configs/apalis_t30_defconfig | 2 -
configs/beaver_defconfig | 2 -
configs/cardhu_defconfig | 2 -
configs/cei-tk1-som_defconfig | 2 -
configs/colibri_t20_defconfig | 2 -
configs/colibri_t30_defconfig | 2 -
configs/dalmore_defconfig | 2 -
configs/e2220-1170_defconfig | 2 -
configs/harmony_defconfig | 2 -
configs/jetson-tk1_defconfig | 2 -
configs/medcom-wide_defconfig | 2 -
configs/nyan-big_defconfig | 2 -
configs/p2371-0000_defconfig | 2 -
configs/p2371-2180_defconfig | 2 -
configs/p2571_defconfig | 2 -
configs/p2771-0000-000_defconfig | 2 -
configs/p2771-0000-500_defconfig | 2 -
configs/paz00_defconfig | 2 -
configs/plutux_defconfig | 2 -
configs/sandbox_defconfig | 1 +
configs/sandbox_flattree_defconfig | 179 +++++
configs/seaboard_defconfig | 2 -
configs/tec-ng_defconfig | 2 -
configs/tec_defconfig | 2 -
configs/trimslice_defconfig | 2 -
configs/venice2_defconfig | 2 -
configs/ventana_defconfig | 2 -
configs/whistler_defconfig | 2 -
drivers/adc/adc-uclass.c | 14 +-
drivers/adc/exynos-adc.c | 2 +-
drivers/block/blk-uclass.c | 65 +-
drivers/block/dwc_ahci.c | 10 +-
drivers/block/sata_ceva.c | 2 +-
drivers/clk/aspeed/clk_ast2500.c | 2 +-
drivers/clk/at91/clk-generated.c | 2 +-
drivers/clk/at91/clk-h32mx.c | 2 +-
drivers/clk/at91/clk-main.c | 2 +-
drivers/clk/at91/clk-master.c | 2 +-
drivers/clk/at91/clk-peripheral.c | 2 +-
drivers/clk/at91/clk-plla.c | 2 +-
drivers/clk/at91/clk-slow.c | 2 +-
drivers/clk/at91/clk-system.c | 2 +-
drivers/clk/at91/clk-utmi.c | 2 +-
drivers/clk/at91/pmc.c | 11 +-
drivers/clk/at91/pmc.h | 2 +-
drivers/clk/at91/sckc.c | 3 +-
drivers/clk/clk-uclass.c | 14 +-
drivers/clk/clk_bcm6345.c | 2 +-
drivers/clk/clk_fixed_rate.c | 7 +-
drivers/clk/clk_stm32f7.c | 3 +-
drivers/clk/clk_zynq.c | 2 +-
drivers/clk/clk_zynqmp.c | 2 +-
drivers/clk/exynos/clk-exynos7420.c | 4 +-
drivers/clk/rockchip/clk_rk3036.c | 2 +-
drivers/clk/rockchip/clk_rk3188.c | 2 +-
drivers/clk/rockchip/clk_rk3288.c | 2 +-
drivers/clk/rockchip/clk_rk3328.c | 2 +-
drivers/clk/rockchip/clk_rk3399.c | 4 +-
drivers/clk/uniphier/clk-uniphier-core.c | 4 +-
drivers/core/Kconfig | 4 +
drivers/core/Makefile | 7 +-
drivers/core/device.c | 153 +----
drivers/core/fdtaddr.c | 143 ++++
drivers/core/lists.c | 29 +-
drivers/core/of_access.c | 735 +++++++++++++++++++++
drivers/core/of_addr.c | 359 ++++++++++
drivers/core/of_extra.c | 37 ++
drivers/core/ofnode.c | 579 ++++++++++++++++
drivers/core/read.c | 140 ++++
drivers/core/regmap.c | 36 +-
drivers/core/root.c | 77 ++-
drivers/core/simple-bus.c | 3 +-
drivers/core/uclass.c | 42 +-
drivers/cpu/bmips_cpu.c | 2 +-
drivers/cpu/cpu-uclass.c | 6 +-
drivers/dma/ti-edma3.c | 4 +-
drivers/firmware/firmware-uclass.c | 3 +-
drivers/firmware/psci.c | 10 +-
drivers/gpio/74x164_gpio.c | 2 +-
drivers/gpio/altera_pio.c | 2 +-
drivers/gpio/at91_gpio.c | 2 +-
drivers/gpio/atmel_pio4.c | 5 +-
drivers/gpio/bcm2835_gpio.c | 2 +-
drivers/gpio/bcm6345_gpio.c | 6 +-
drivers/gpio/gpio-uclass.c | 82 +--
drivers/gpio/gpio-uniphier.c | 4 +-
drivers/gpio/imx_rgpio2p.c | 2 +-
drivers/gpio/intel_ich6_gpio.c | 2 +-
drivers/gpio/lpc32xx_gpio.c | 1 +
drivers/gpio/msm_gpio.c | 2 +-
drivers/gpio/mvebu_gpio.c | 2 +-
drivers/gpio/mxc_gpio.c | 2 +-
drivers/gpio/omap_gpio.c | 2 +-
drivers/gpio/pca953x_gpio.c | 2 +-
drivers/gpio/pm8916_gpio.c | 10 +-
drivers/gpio/rk_gpio.c | 2 +-
drivers/gpio/s5p_gpio.c | 4 +-
drivers/gpio/sandbox.c | 12 +-
drivers/gpio/stm32f7_gpio.c | 2 +-
drivers/gpio/sunxi_gpio.c | 4 +-
drivers/gpio/tegra186_gpio.c | 4 +-
drivers/gpio/tegra_gpio.c | 4 +-
drivers/gpio/vybrid_gpio.c | 2 +-
drivers/gpio/zynq_gpio.c | 2 +-
drivers/i2c/Kconfig | 1 -
drivers/i2c/ast_i2c.c | 2 +-
drivers/i2c/at91_i2c.c | 2 +-
drivers/i2c/davinci_i2c.c | 2 +-
drivers/i2c/designware_i2c.c | 2 +-
drivers/i2c/exynos_hs_i2c.c | 2 +-
drivers/i2c/i2c-cdns.c | 4 +-
drivers/i2c/i2c-uclass.c | 28 +-
drivers/i2c/i2c-uniphier-f.c | 4 +-
drivers/i2c/i2c-uniphier.c | 4 +-
drivers/i2c/imx_lpi2c.c | 80 +--
drivers/i2c/muxes/i2c-mux-uclass.c | 11 +-
drivers/i2c/mv_i2c.c | 2 +-
drivers/i2c/mvtwsi.c | 2 +-
drivers/i2c/mxc_i2c.c | 14 +-
drivers/i2c/omap24xx_i2c.c | 2 +-
drivers/i2c/rk_i2c.c | 2 +-
drivers/i2c/s3c24x0_i2c.c | 2 +-
drivers/i2c/sandbox_i2c.c | 1 -
drivers/i2c/tegra_i2c.c | 2 +-
drivers/input/cros_ec_keyb.c | 24 +-
drivers/input/key_matrix.c | 19 +-
drivers/input/tegra-kbc.c | 5 +-
drivers/led/led_bcm6328.c | 7 +-
drivers/led/led_bcm6358.c | 7 +-
drivers/led/led_gpio.c | 13 +-
drivers/mailbox/mailbox-uclass.c | 20 +-
drivers/mailbox/tegra-hsp.c | 4 +-
drivers/misc/altera_sysid.c | 2 +-
drivers/misc/cros_ec.c | 36 +-
drivers/misc/cros_ec_sandbox.c | 23 +-
drivers/misc/i2c_eeprom_emul.c | 7 +-
drivers/misc/tegra186_bpmp.c | 6 +-
drivers/misc/tegra_car.c | 4 +-
drivers/mmc/atmel_sdhci.c | 2 +-
drivers/mmc/bcm2835_sdhci.c | 2 +-
drivers/mmc/fsl_esdhc.c | 8 +-
drivers/mmc/gen_atmel_mci.c | 4 +-
drivers/mmc/meson_gx_mmc.c | 4 +-
drivers/mmc/mmc-uclass.c | 30 +-
drivers/mmc/mmc.c | 15 +-
drivers/mmc/msm_sdhci.c | 2 +-
drivers/mmc/omap_hsmmc.c | 3 +-
drivers/mmc/pic32_sdhci.c | 2 +-
drivers/mmc/rockchip_dw_mmc.c | 2 +-
drivers/mmc/rockchip_sdhci.c | 2 +-
drivers/mmc/s5p_sdhci.c | 8 +-
drivers/mmc/sdhci-cadence.c | 6 +-
drivers/mmc/socfpga_dw_mmc.c | 2 +-
drivers/mmc/sti_sdhci.c | 2 +-
drivers/mmc/tangier_sdhci.c | 2 +-
drivers/mmc/tegra_mmc.c | 76 ++-
drivers/mmc/uniphier-sd.c | 4 +-
drivers/mmc/xenon_sdhci.c | 6 +-
drivers/mmc/zynq_sdhci.c | 4 +-
drivers/mtd/altera_qspi.c | 2 +-
drivers/mtd/cfi_flash.c | 2 +-
drivers/mtd/nand/sunxi_nand.c | 2 +-
drivers/mtd/nand/tegra_nand.c | 4 +-
drivers/mtd/pic32_flash.c | 2 +-
drivers/mtd/spi/sandbox.c | 6 +-
drivers/mtd/spi/spi_flash.c | 7 +-
drivers/net/ag7xxx.c | 2 +-
drivers/net/altera_tse.c | 2 +-
drivers/net/cpsw-common.c | 4 +-
drivers/net/cpsw.c | 2 +-
drivers/net/designware.c | 2 +-
drivers/net/dwc_eth_qos.c | 4 +-
drivers/net/ethoc.c | 6 +-
drivers/net/fec_mxc.c | 2 +-
drivers/net/keystone_net.c | 8 +-
drivers/net/macb.c | 2 +-
drivers/net/mvneta.c | 4 +-
drivers/net/mvpp2.c | 8 +-
drivers/net/phy/phy.c | 2 +-
drivers/net/phy/ti.c | 2 +-
drivers/net/pic32_eth.c | 3 +-
drivers/net/sandbox-raw.c | 2 +-
drivers/net/sandbox.c | 2 +-
drivers/net/sun8i_emac.c | 8 +-
drivers/net/sunxi_emac.c | 2 +-
drivers/net/tsec.c | 2 +-
drivers/net/xilinx_axi_emac.c | 2 +-
drivers/net/xilinx_emaclite.c | 2 +-
drivers/net/zynq_gem.c | 2 +-
drivers/pci/pci-uclass.c | 26 +-
drivers/pci/pcie_dw_mvebu.c | 4 +-
drivers/phy/marvell/comphy_core.c | 8 +-
drivers/phy/phy-uclass.c | 21 +-
drivers/phy/sandbox-phy.c | 3 +-
drivers/phy/ti-pipe3-phy.c | 4 +-
drivers/pinctrl/ath79/pinctrl_ar933x.c | 2 +-
drivers/pinctrl/ath79/pinctrl_qca953x.c | 2 +-
drivers/pinctrl/exynos/pinctrl-exynos.c | 2 +-
drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 3 +-
drivers/pinctrl/meson/pinctrl-meson.c | 2 +-
drivers/pinctrl/mvebu/pinctrl-mvebu.c | 2 +-
drivers/pinctrl/nxp/pinctrl-imx.c | 2 +-
drivers/pinctrl/nxp/pinctrl-imx5.c | 3 +-
drivers/pinctrl/nxp/pinctrl-imx6.c | 3 +-
drivers/pinctrl/nxp/pinctrl-imx7.c | 3 +-
drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 3 +-
drivers/pinctrl/pinctrl-at91-pio4.c | 4 +-
drivers/pinctrl/pinctrl-at91.c | 6 +-
drivers/pinctrl/pinctrl-generic.c | 2 +-
drivers/pinctrl/pinctrl-sandbox.c | 2 +-
drivers/pinctrl/pinctrl-single.c | 13 +-
drivers/pinctrl/pinctrl-uclass.c | 18 +-
drivers/pinctrl/pinctrl_stm32.c | 2 +-
drivers/pinctrl/rockchip/pinctrl_rk3188.c | 4 +-
drivers/pinctrl/rockchip/pinctrl_rk3328.c | 2 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 4 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-sld3.c | 3 +-
drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 3 +-
drivers/power/domain/bcm6328-power-domain.c | 2 +-
drivers/power/domain/power-domain-uclass.c | 19 +-
drivers/power/pmic/act8846.c | 8 +-
drivers/power/pmic/i2c_pmic_emul.c | 6 +-
drivers/power/pmic/lp873x.c | 12 +-
drivers/power/pmic/max77686.c | 8 +-
drivers/power/pmic/palmas.c | 16 +-
drivers/power/pmic/pfuze100.c | 8 +-
drivers/power/pmic/pm8916.c | 2 +-
drivers/power/pmic/pmic-uclass.c | 22 +-
drivers/power/pmic/rk8xx.c | 8 +-
drivers/power/pmic/s5m8767.c | 7 +-
drivers/power/pmic/sandbox.c | 2 +-
drivers/power/pmic/tps65090.c | 8 +-
drivers/power/regulator/fixed.c | 17 +-
drivers/power/regulator/regulator-uclass.c | 39 +-
drivers/pwm/exynos_pwm.c | 2 +-
drivers/pwm/rk_pwm.c | 2 +-
drivers/pwm/tegra_pwm.c | 2 +-
drivers/ram/bmips_ram.c | 4 +-
drivers/ram/stm32_sdram.c | 2 +-
drivers/reset/reset-bcm6345.c | 2 +-
drivers/reset/reset-uclass.c | 21 +-
drivers/reset/reset-uniphier.c | 4 +-
drivers/rtc/i2c_rtc_emul.c | 1 -
drivers/serial/altera_jtag_uart.c | 2 +-
drivers/serial/altera_uart.c | 2 +-
drivers/serial/atmel_usart.c | 2 +-
drivers/serial/ns16550.c | 2 +-
drivers/serial/serial-uclass.c | 3 +-
drivers/serial/serial_ar933x.c | 2 +-
drivers/serial/serial_arc.c | 2 +-
drivers/serial/serial_bcm283x_mu.c | 2 +-
drivers/serial/serial_bcm6345.c | 4 +-
drivers/serial/serial_lpuart.c | 4 +-
drivers/serial/serial_meson.c | 2 +-
drivers/serial/serial_msm.c | 2 +-
drivers/serial/serial_mvebu_a3700.c | 2 +-
drivers/serial/serial_mxc.c | 2 +-
drivers/serial/serial_pl01x.c | 2 +-
drivers/serial/serial_s5p.c | 2 +-
drivers/serial/serial_sti_asc.c | 2 +-
drivers/serial/serial_stm32x7.c | 2 +-
drivers/serial/serial_uniphier.c | 5 +-
drivers/serial/serial_xuartlite.c | 2 +-
drivers/serial/serial_zynq.c | 2 +-
drivers/sound/max98095.c | 2 +
drivers/sound/wm8994.c | 2 +-
drivers/spi/altera_spi.c | 2 +-
drivers/spi/ath79_spi.c | 2 +-
drivers/spi/atmel_spi.c | 2 +-
drivers/spi/davinci_spi.c | 2 +-
drivers/spi/designware_spi.c | 2 +-
drivers/spi/exynos_spi.c | 2 +-
drivers/spi/fsl_dspi.c | 4 +-
drivers/spi/kirkwood_spi.c | 2 +-
drivers/spi/mvebu_a3700_spi.c | 2 +-
drivers/spi/omap3_spi.c | 2 +-
drivers/spi/pic32_spi.c | 2 +-
drivers/spi/rk_spi.c | 2 +-
drivers/spi/spi-uclass.c | 31 +-
drivers/spi/tegra114_spi.c | 2 +-
drivers/spi/tegra20_sflash.c | 2 +-
drivers/spi/tegra20_slink.c | 2 +-
drivers/spi/tegra210_qspi.c | 2 +-
drivers/spi/ti_qspi.c | 12 +-
drivers/spi/zynq_spi.c | 2 +-
drivers/spmi/spmi-msm.c | 2 +-
drivers/sysreset/sysreset_psci.c | 3 +-
drivers/sysreset/sysreset_sandbox.c | 2 +-
drivers/sysreset/sysreset_snapdragon.c | 2 +-
drivers/timer/altera_timer.c | 2 +-
drivers/timer/arc_timer.c | 2 +-
drivers/timer/ast_timer.c | 2 +-
drivers/timer/omap-timer.c | 2 +-
drivers/timer/timer-uclass.c | 3 +-
drivers/tpm/tpm_tis_lpc.c | 2 +-
drivers/usb/emul/sandbox_flash.c | 4 +-
drivers/usb/emul/sandbox_hub.c | 3 +-
drivers/usb/host/dwc2.c | 2 +-
drivers/usb/host/ehci-atmel.c | 2 +-
drivers/usb/host/ehci-exynos.c | 2 +-
drivers/usb/host/ehci-fsl.c | 2 +-
drivers/usb/host/ehci-generic.c | 2 +-
drivers/usb/host/ehci-marvell.c | 4 +-
drivers/usb/host/ehci-msm.c | 2 +-
drivers/usb/host/ehci-mx6.c | 4 +-
drivers/usb/host/ehci-sunxi.c | 2 +-
drivers/usb/host/ehci-tegra.c | 9 +-
drivers/usb/host/ehci-vf.c | 7 +-
drivers/usb/host/ehci-zynq.c | 2 +-
drivers/usb/host/ohci-generic.c | 2 +-
drivers/usb/host/ohci-sunxi.c | 2 +-
drivers/usb/host/usb-uclass.c | 8 +-
drivers/usb/host/xhci-exynos5.c | 2 +-
drivers/usb/host/xhci-fsl.c | 2 +-
drivers/usb/host/xhci-mvebu.c | 2 +-
drivers/usb/host/xhci-rockchip.c | 6 +-
drivers/usb/musb-new/sunxi.c | 1 +
drivers/usb/musb-new/ti-musb.c | 4 +-
drivers/video/atmel_hlcdfb.c | 6 +-
drivers/video/exynos/exynos_dp.c | 4 +-
drivers/video/exynos/exynos_fb.c | 2 +-
drivers/video/rockchip/rk_edp.c | 2 +-
drivers/video/rockchip/rk_hdmi.c | 2 +-
drivers/video/rockchip/rk_lvds.c | 2 +-
drivers/video/rockchip/rk_mipi.c | 2 +-
drivers/video/rockchip/rk_vop.c | 2 +-
drivers/video/tegra.c | 2 +-
drivers/video/tegra124/dp.c | 2 +-
drivers/watchdog/ast_wdt.c | 2 +-
dts/Kconfig | 11 +
include/asm-generic/global_data.h | 3 +
include/asm-generic/gpio.h | 17 +-
include/blk.h | 15 +-
include/clk-uclass.h | 5 +-
include/configs/s5pc210_universal.h | 1 -
include/configs/trats.h | 1 -
include/configs/trats2.h | 1 -
include/cros_ec.h | 8 +-
include/dm.h | 4 +
include/dm/device-internal.h | 10 +-
include/dm/device.h | 110 +--
include/dm/fdtaddr.h | 110 +++
include/dm/lists.h | 9 +-
include/dm/of.h | 142 ++++
include/dm/of_access.h | 347 ++++++++++
include/dm/of_addr.h | 64 ++
include/dm/of_extra.h | 46 ++
include/dm/ofnode.h | 578 ++++++++++++++++
include/dm/read.h | 439 ++++++++++++
include/dm/root.h | 19 +-
include/dm/test.h | 2 +
include/dm/uclass-internal.h | 18 +
include/dm/uclass.h | 17 +
include/fdt_support.h | 6 +-
include/fdtdec.h | 34 -
include/generic-phy.h | 3 +-
include/i2c.h | 3 +-
include/key_matrix.h | 3 +-
include/linux/compat.h | 8 +-
include/linux/string.h | 28 +
include/mailbox-uclass.h | 2 +-
include/of_live.h | 24 +
include/power-domain-uclass.h | 2 +-
include/power/pmic.h | 2 +-
include/reset-uclass.h | 4 +-
include/spi.h | 2 +-
include/test/test.h | 4 +
include/test/ut.h | 2 +-
lib/Makefile | 1 +
lib/fdtdec.c | 33 +-
lib/of_live.c | 333 ++++++++++
lib/string.c | 32 +
test/dm/blk.c | 60 +-
test/dm/bus.c | 16 +-
test/dm/phy.c | 15 +-
test/dm/test-fdt.c | 3 +-
test/dm/test-main.c | 105 ++-
test/run | 8 +-
425 files changed, 5748 insertions(+), 1374 deletions(-)
create mode 100644 configs/sandbox_flattree_defconfig
create mode 100644 drivers/core/fdtaddr.c
create mode 100644 drivers/core/of_access.c
create mode 100644 drivers/core/of_addr.c
create mode 100644 drivers/core/of_extra.c
create mode 100644 drivers/core/ofnode.c
create mode 100644 drivers/core/read.c
create mode 100644 include/dm/fdtaddr.h
create mode 100644 include/dm/of.h
create mode 100644 include/dm/of_access.h
create mode 100644 include/dm/of_addr.h
create mode 100644 include/dm/of_extra.h
create mode 100644 include/dm/ofnode.h
create mode 100644 include/dm/read.h
create mode 100644 include/of_live.h
create mode 100644 lib/of_live.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-05-09 20:00 Simon Glass
@ 2017-05-09 23:49 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-05-09 23:49 UTC (permalink / raw)
To: u-boot
On Tue, May 09, 2017 at 02:00:25PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This was my dm/next branch - it includes generic PHY uclass, some SCSI
> changes and a lot of AT91 driver-mode conversions.
>
>
> The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f:
>
> p1_p2_rdb: Fix unused variable warning (2017-05-09 09:11:04 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 9d0c4decfeaa7e312f50e0debb677f60ad170f61:
>
> defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for SCSI
> (2017-05-09 12:14:16 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170509/2e306e27/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-05-09 20:00 Simon Glass
2017-05-09 23:49 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-05-09 20:00 UTC (permalink / raw)
To: u-boot
Hi Tom,
This was my dm/next branch - it includes generic PHY uclass, some SCSI
changes and a lot of AT91 driver-mode conversions.
The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f:
p1_p2_rdb: Fix unused variable warning (2017-05-09 09:11:04 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 9d0c4decfeaa7e312f50e0debb677f60ad170f61:
defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for SCSI
(2017-05-09 12:14:16 -0600)
----------------------------------------------------------------
Jean-Jacques Hiblot (7):
scsi: dm: split scsi_scan()
drivers: phy: add generic PHY framework
dm: test: Add tests for the generic PHY uclass
drivers: phy: add PIPE3 phy driver
dra7: dtsi: mark ocp2scp bus compatible with "simple-bus"
drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata
device
defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for
SCSI
Wenyou Yang (40):
ARM: dts: sama5d2: add clock property for uart1 node
ARM: dts: sama5d2_xplained: update for SPL
configs: sama5d2_xplained: enable CONFIG_DM_ETH
board: sama5d2_xplained: clean up macb init code
board: sama5d2_xplained: remove uart1 init
board: sama5d2_xplained: remove unnecessary header files
configs: sama5d2_xplained: update for SPL
board: sama5d4ek: fix DD2 configuration
configs: sama5d3xek: add default config for CMP board
net: macb: Add remove callback
net: macb: Align the compatibles with kernel
clk: at91: Enhance the peripheral clock
clk: at91: Align clk-master compatibles with kernel
clk: at91: Align the at91 pmc's compatibles
serial: atmel_usart: Fix early debug not work in SPL
serial: atmel_usart: Add clk support
ARM: dts: at91: Add dts files for at91sam9x5ek
ARM: dts: at91: Add dts files for at91sam9n12ek
ARM: dts: at91: Add dts files for at91sam9m10g45ek
ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek
ARM: dts: at91: Add dts files for at91sam9rlek
ARM: dts: at91: Add dts files for at91sam9263ek
configs: at91sam9x5ek: Update to support DM/DT
board: at91sam9x5ek: Clean up code
board: at91sam9x5ek: Enable early debug UART
configs: at91sam9n12ek: Update for DT and DM support
board: at91sam9n12ek: Clean up code
board: at91sam9n12ek: Enable early debug UART
configs: at91sam9m10g45ek: Update to support DM/DT
board: at91sam9m10g45ek: Clean up code
board: at91sam9m10g45ek: Enable early debug UART
configs: at91sam9260ek/9g20ek: Update for DT and DM
board: at91sam9260ek: Clean up code
board: at91sam9260ek/9g20ek: Enable early debug UART
configs: at91sam9rlek: Update for DT and DM support
board: at91sam9rlek: Clean up code
board: at91sam9rlek: Enable early debug UART
configs: at91sam9263ek: Update for DT and DM support
board: at91sam9263ek: Clean up code
board: at91sam9263ek: Enable early debug UART
arch/arm/dts/Makefile | 20 ++
arch/arm/dts/at91-sama5d2_xplained.dts | 12 +
arch/arm/dts/at91sam9260.dtsi | 149 ++++----
arch/arm/dts/at91sam9260ek.dts | 215 +++++++++++
arch/arm/dts/at91sam9263.dtsi | 198 ++++++-----
arch/arm/dts/at91sam9263ek.dts | 229 ++++++++++++
arch/arm/dts/at91sam9g15.dtsi | 29 ++
arch/arm/dts/at91sam9g15ek.dts | 26 ++
arch/arm/dts/at91sam9g20.dtsi | 4 +-
arch/arm/dts/at91sam9g20ek.dts | 29 ++
arch/arm/dts/at91sam9g20ek_2mmc.dts | 56 +++
arch/arm/dts/at91sam9g20ek_common.dtsi | 227 ++++++++++++
arch/arm/dts/at91sam9g25.dtsi | 31 ++
arch/arm/dts/at91sam9g25ek.dts | 69 ++++
arch/arm/dts/at91sam9g35.dtsi | 30 ++
arch/arm/dts/at91sam9g35ek.dts | 31 ++
arch/arm/dts/at91sam9g45.dtsi | 218 ++++++------
arch/arm/dts/at91sam9m10g45ek.dts | 359 +++++++++++++++++++
arch/arm/dts/at91sam9n12.dtsi | 1064
++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/at91sam9n12ek.dts | 265 ++++++++++++++
arch/arm/dts/at91sam9rl.dtsi | 1139
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/at91sam9rlek.dts | 239 +++++++++++++
arch/arm/dts/at91sam9x25.dtsi | 32 ++
arch/arm/dts/at91sam9x25ek.dts | 30 ++
arch/arm/dts/at91sam9x35.dtsi | 31 ++
arch/arm/dts/at91sam9x35ek.dts | 30 ++
arch/arm/dts/at91sam9x5.dtsi | 1302
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/at91sam9x5_can.dtsi | 71 ++++
arch/arm/dts/at91sam9x5_isi.dtsi | 72 ++++
arch/arm/dts/at91sam9x5_lcd.dtsi | 146 ++++++++
arch/arm/dts/at91sam9x5_macb0.dtsi | 67 ++++
arch/arm/dts/at91sam9x5_macb1.dtsi | 55 +++
arch/arm/dts/at91sam9x5_usart3.dtsi | 69 ++++
arch/arm/dts/at91sam9x5cm.dtsi | 100 ++++++
arch/arm/dts/at91sam9x5dm.dtsi | 66 ++++
arch/arm/dts/at91sam9x5ek.dtsi | 167 +++++++++
arch/arm/dts/omap5-u-boot.dtsi | 4 +
arch/arm/dts/sama5d2.dtsi | 22 ++
arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 7 +-
arch/sandbox/dts/test.dts | 17 +
board/atmel/at91sam9260ek/Makefile | 2 +-
board/atmel/at91sam9260ek/at91sam9260ek.c | 79 +----
board/atmel/at91sam9263ek/Makefile | 2 +-
board/atmel/at91sam9263ek/at91sam9263ek.c | 64 +---
board/atmel/at91sam9m10g45ek/Makefile | 2 +-
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 107 +-----
board/atmel/at91sam9n12ek/at91sam9n12ek.c | 64 +---
board/atmel/at91sam9rlek/Makefile | 2 +-
board/atmel/at91sam9rlek/at91sam9rlek.c | 24 +-
board/atmel/at91sam9x5ek/at91sam9x5ek.c | 82 +----
board/atmel/sama5d2_xplained/sama5d2_xplained.c | 49 +--
board/atmel/sama5d4ek/sama5d4ek.c | 16 +-
common/scsi.c | 102 +++---
configs/at91sam9260ek_dataflash_cs0_defconfig | 21 +-
configs/at91sam9260ek_dataflash_cs1_defconfig | 21 +-
configs/at91sam9260ek_nandflash_defconfig | 21 +-
configs/at91sam9263ek_dataflash_cs0_defconfig | 24 +-
configs/at91sam9263ek_dataflash_defconfig | 24 +-
configs/at91sam9263ek_nandflash_defconfig | 24 +-
configs/at91sam9263ek_norflash_boot_defconfig | 24 +-
configs/at91sam9263ek_norflash_defconfig | 24 +-
configs/at91sam9g20ek_2mmc_defconfig | 24 +-
configs/at91sam9g20ek_2mmc_nandflash_defconfig | 24 +-
configs/at91sam9g20ek_dataflash_cs0_defconfig | 21 +-
configs/at91sam9g20ek_dataflash_cs1_defconfig | 21 +-
configs/at91sam9g20ek_nandflash_defconfig | 21 +-
configs/at91sam9m10g45ek_mmc_defconfig | 34 +-
configs/at91sam9m10g45ek_nandflash_defconfig | 32 +-
configs/at91sam9n12ek_mmc_defconfig | 25 +-
configs/at91sam9n12ek_nandflash_defconfig | 31 +-
configs/at91sam9n12ek_spiflash_defconfig | 32 +-
configs/at91sam9rlek_dataflash_defconfig | 22 +-
configs/at91sam9rlek_mmc_defconfig | 22 +-
configs/at91sam9rlek_nandflash_defconfig | 22 +-
configs/at91sam9x5ek_dataflash_defconfig | 29 +-
configs/at91sam9x5ek_mmc_defconfig | 29 +-
configs/at91sam9x5ek_nandflash_defconfig | 35 +-
configs/at91sam9x5ek_spiflash_defconfig | 36 +-
configs/at91sam9xeek_dataflash_cs0_defconfig | 21 +-
configs/at91sam9xeek_dataflash_cs1_defconfig | 21 +-
configs/at91sam9xeek_nandflash_defconfig | 21 +-
configs/dra7xx_evm_defconfig | 12 +-
configs/dra7xx_hs_evm_defconfig | 11 +-
configs/sama5d2_xplained_mmc_defconfig | 10 +-
configs/sama5d2_xplained_spiflash_defconfig | 9 +-
configs/sama5d36ek_cmp_mmc_defconfig | 51 +++
configs/sama5d36ek_cmp_nandflash_defconfig | 51 +++
configs/sama5d36ek_cmp_spiflash_defconfig | 51 +++
configs/sandbox_defconfig | 2 +
configs/sandbox_noblk_defconfig | 2 +
configs/sandbox_spl_defconfig | 2 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/block/Kconfig | 10 +
drivers/block/Makefile | 1 +
drivers/block/dwc_ahci.c | 101 ++++++
drivers/clk/at91/clk-master.c | 1 +
drivers/clk/at91/clk-peripheral.c | 29 +-
drivers/clk/at91/pmc.c | 6 +
drivers/net/macb.c | 52 ++-
drivers/phy/Kconfig | 62 ++++
drivers/phy/Makefile | 10 +
drivers/phy/phy-uclass.c | 139 ++++++++
drivers/phy/sandbox-phy.c | 108 ++++++
drivers/phy/ti-pipe3-phy.c | 373 +++++++++++++++++++
drivers/serial/atmel_usart.c | 84 ++++-
include/configs/at91sam9260ek.h | 31 +-
include/configs/at91sam9263ek.h | 26 +-
include/configs/at91sam9m10g45ek.h | 31 +-
include/configs/at91sam9n12ek.h | 21 +-
include/configs/at91sam9rlek.h | 24 +-
include/configs/at91sam9x5ek.h | 27 +-
include/configs/sama5d2_xplained.h | 19 +-
include/dm/uclass-id.h | 1 +
include/generic-phy.h | 224 ++++++++++++
test/dm/Makefile | 1 +
test/dm/phy.c | 112 ++++++
117 files changed, 8935 insertions(+), 990 deletions(-)
create mode 100644 arch/arm/dts/at91sam9260ek.dts
create mode 100644 arch/arm/dts/at91sam9263ek.dts
create mode 100644 arch/arm/dts/at91sam9g15.dtsi
create mode 100644 arch/arm/dts/at91sam9g15ek.dts
create mode 100644 arch/arm/dts/at91sam9g20ek.dts
create mode 100644 arch/arm/dts/at91sam9g20ek_2mmc.dts
create mode 100644 arch/arm/dts/at91sam9g20ek_common.dtsi
create mode 100644 arch/arm/dts/at91sam9g25.dtsi
create mode 100644 arch/arm/dts/at91sam9g25ek.dts
create mode 100644 arch/arm/dts/at91sam9g35.dtsi
create mode 100644 arch/arm/dts/at91sam9g35ek.dts
create mode 100644 arch/arm/dts/at91sam9m10g45ek.dts
create mode 100644 arch/arm/dts/at91sam9n12.dtsi
create mode 100644 arch/arm/dts/at91sam9n12ek.dts
create mode 100644 arch/arm/dts/at91sam9rl.dtsi
create mode 100644 arch/arm/dts/at91sam9rlek.dts
create mode 100644 arch/arm/dts/at91sam9x25.dtsi
create mode 100644 arch/arm/dts/at91sam9x25ek.dts
create mode 100644 arch/arm/dts/at91sam9x35.dtsi
create mode 100644 arch/arm/dts/at91sam9x35ek.dts
create mode 100644 arch/arm/dts/at91sam9x5.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_can.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_isi.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_lcd.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_macb0.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_macb1.dtsi
create mode 100644 arch/arm/dts/at91sam9x5_usart3.dtsi
create mode 100644 arch/arm/dts/at91sam9x5cm.dtsi
create mode 100644 arch/arm/dts/at91sam9x5dm.dtsi
create mode 100644 arch/arm/dts/at91sam9x5ek.dtsi
create mode 100644 configs/sama5d36ek_cmp_mmc_defconfig
create mode 100644 configs/sama5d36ek_cmp_nandflash_defconfig
create mode 100644 configs/sama5d36ek_cmp_spiflash_defconfig
create mode 100644 drivers/block/dwc_ahci.c
create mode 100644 drivers/phy/Kconfig
create mode 100644 drivers/phy/Makefile
create mode 100644 drivers/phy/phy-uclass.c
create mode 100644 drivers/phy/sandbox-phy.c
create mode 100644 drivers/phy/ti-pipe3-phy.c
create mode 100644 include/generic-phy.h
create mode 100644 test/dm/phy.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-04-15 16:45 Simon Glass
@ 2017-04-17 22:16 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-04-17 22:16 UTC (permalink / raw)
To: u-boot
On Sat, Apr 15, 2017 at 10:45:35AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes the DM LED support, some more Atmel patches and as much
> of the SCSI changes as I can apply so far. I have not applied the
> generic phy changes yet as I still have some nits.
>
>
> The following changes since commit fbeb33752999e7317113199ef89873d6b6916814:
>
> buildman: Translate more strings to latin-1 (2017-04-14 12:21:48 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ad46af0e76384b22058d9ac979f34fad2483aff3:
>
> board: sama5d3_xplained: Enable early debug UART (2017-04-14 20:10:35 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170417/daa2f34c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-04-15 16:45 Simon Glass
2017-04-17 22:16 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-04-15 16:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the DM LED support, some more Atmel patches and as much
of the SCSI changes as I can apply so far. I have not applied the
generic phy changes yet as I still have some nits.
The following changes since commit fbeb33752999e7317113199ef89873d6b6916814:
buildman: Translate more strings to latin-1 (2017-04-14 12:21:48 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ad46af0e76384b22058d9ac979f34fad2483aff3:
board: sama5d3_xplained: Enable early debug UART (2017-04-14 20:10:35 -0600)
----------------------------------------------------------------
Jean-Jacques Hiblot (4):
arm: omap: sata: compile out board-level sata code when
CONFIG_DM_SCSI is defined
scsi: make the LUN a parameter of scsi_detect_dev()
scsi: move the partition initialization out of the scsi detection
dm: scsi: fix divide-by-0 error in scsi_scan()
Mugunthan V N (1):
arm: omap: sata: move enable sata clocks to enable_basic_clocks()
Simon Glass (9):
sandbox: Add some test LEDs
dm: led: Add a missing blank line in the Kconfig file
dm: led: Rename struct led_uclass_plat
dm: led: Adjust the LED uclass
dm: led: Add support for getting the state of an LED
dm: led: Support toggling LEDs
dm: led: Add support for blinking LEDs
led: Mark existing driver as legacy
dm: led: Add a new 'led' command
Wenyou Yang (6):
board: sama5d3xek: Update to support DM/DT
board: sama5d3xek: Clean up code
board: sama5d3xek: Enable early debug UART
board: sama5d3_xplained: Update to support DM/DT
board: sama5d3_xplained: Clean up code
board: sama5d3_xplained: Enable early debug UART
arch/arm/mach-omap2/Makefile | 2 +
arch/arm/mach-omap2/omap5/hw_data.c | 12 ++
arch/arm/mach-omap2/sata.c | 23 ---
arch/sandbox/dts/sandbox.dts | 14 ++
board/atmel/sama5d3_xplained/sama5d3_xplained.c | 49 ++---
board/atmel/sama5d3xek/sama5d3xek.c | 145 ++-----------
cmd/Kconfig | 9 +
cmd/Makefile | 3 +-
cmd/led.c | 262 ++++++++++--------------
cmd/legacy_led.c | 187 +++++++++++++++++
common/scsi.c | 48 +++--
configs/sama5d3_xplained_mmc_defconfig | 35 +++-
configs/sama5d3_xplained_nandflash_defconfig | 34 ++-
configs/sama5d3xek_mmc_defconfig | 40 +++-
configs/sama5d3xek_nandflash_defconfig | 37 +++-
configs/sama5d3xek_spiflash_defconfig | 41 +++-
configs/sandbox_defconfig | 1 +
configs/sandbox_noblk_defconfig | 1 +
configs/sandbox_spl_defconfig | 1 +
drivers/led/Kconfig | 10 +
drivers/led/led-uclass.c | 32 ++-
drivers/led/led_gpio.c | 39 +++-
include/configs/sama5d3_xplained.h | 26 +--
include/configs/sama5d3xek.h | 35 +---
include/led.h | 75 ++++++-
test/dm/led.c | 56 ++++-
26 files changed, 778 insertions(+), 439 deletions(-)
create mode 100644 cmd/legacy_led.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-04-13 21:27 Simon Glass
@ 2017-04-14 21:08 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-04-14 21:08 UTC (permalink / raw)
To: u-boot
On Thu, Apr 13, 2017 at 03:27:56PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here with some DM changes as well as the long-standing AT91 DM/DT
> conversion patches which I have picked up via dm.
>
>
> The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9:
>
> ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
> (2017-04-11 17:54:31 +0300)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 22e10be456014400788f80d45fc5f5c0b9d4a81d:
>
> board: sama5d4ek: enable early debug UART (2017-04-13 14:44:53 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170414/c949bbde/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-04-13 21:27 Simon Glass
2017-04-14 21:08 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-04-13 21:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here with some DM changes as well as the long-standing AT91 DM/DT
conversion patches which I have picked up via dm.
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9:
ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
(2017-04-11 17:54:31 +0300)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 22e10be456014400788f80d45fc5f5c0b9d4a81d:
board: sama5d4ek: enable early debug UART (2017-04-13 14:44:53 -0600)
----------------------------------------------------------------
Alexandru Gagniuc (2):
serial: ns16550: Link in the DM driver when when using platdata
core/uclass: Print name of device in uclass_find_device_by_seq()
George McCollister (2):
patman: Convert byte arrays to strings
dtoc: Decode val if it's a byte string
Simon Glass (3):
fdtgrep: Cope with the /aliases node being last
dm: core: Ensure DMA regions start up with the cache clean
buildman: Handle commit subjects containing unicode
Stefano Babic (1):
tools: allow to override python
Wenyou Yang (22):
ARM: at91: gpio: fix at91_set_gpio_value() define
mtd: nand: atmel: use another functions to set gpio value
gpio: at91_gpio: remove CPU_HAS_PIO3 macro
pinctrl: at91: add pinctrl driver
gpio: Kconfig: add CONFIG_AT91_GPIO option
gpio: at91_gpio: add the device tree support
gpio: at91_gpio: add the clock support
ARM: at91: dt: add dts files for sama5d3xek board
ARM: at91: dt: add dts file for sama5d3 Xplained
ARM: dts: at91: add dts files for sama5d4 Xplained
ARM: dts: at91: add dts file for sama5d4ek
ARM: at91: spl: specify MMC and NAND boot device
ARM: spl: atmel: bring in serial device before init
ARM: spl: atmel: move mem_init() advance in SPL init.
ARM: at91: lds: use "_image_binary_end" for DT location
configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
board: sama5d4_xplained: update to support DM/DT
board: sama5d4_xplained: clean up code
board: sama5d4_xplained: enable early debug UART
board: sama5d4ek: update to support DM/DT
board: sama5d4ek: clean up code
board: sama5d4ek: enable early debug UART
Makefile | 2 +-
arch/arm/dts/Makefile | 17 +
arch/arm/dts/at91-sama5d3_xplained.dts | 348 ++++
arch/arm/dts/at91-sama5d4_xplained.dts | 286 +++
arch/arm/dts/at91-sama5d4ek.dts | 341 ++++
arch/arm/dts/sama5d3.dtsi | 1539 ++++++++++++++++
arch/arm/dts/sama5d31.dtsi | 16 +
arch/arm/dts/sama5d31ek.dts | 56 +
arch/arm/dts/sama5d33.dtsi | 14 +
arch/arm/dts/sama5d33ek.dts | 49 +
arch/arm/dts/sama5d34.dtsi | 16 +
arch/arm/dts/sama5d34ek.dts | 66 +
arch/arm/dts/sama5d35.dtsi | 18 +
arch/arm/dts/sama5d35ek.dts | 59 +
arch/arm/dts/sama5d36.dtsi | 20 +
arch/arm/dts/sama5d36ek.dts | 57 +
arch/arm/dts/sama5d36ek_cmp.dts | 55 +
arch/arm/dts/sama5d3_can.dtsi | 74 +
arch/arm/dts/sama5d3_emac.dtsi | 55 +
arch/arm/dts/sama5d3_gmac.dtsi | 88 +
arch/arm/dts/sama5d3_lcd.dtsi | 215 +++
arch/arm/dts/sama5d3_mci2.dtsi | 59 +
arch/arm/dts/sama5d3_tcb1.dtsi | 39 +
arch/arm/dts/sama5d3_uart.dtsi | 79 +
arch/arm/dts/sama5d3xcm.dtsi | 123 ++
arch/arm/dts/sama5d3xcm_cmp.dtsi | 166 ++
arch/arm/dts/sama5d3xdm.dtsi | 41 +
arch/arm/dts/sama5d3xmb.dtsi | 234 +++
arch/arm/dts/sama5d3xmb_cmp.dtsi | 236 +++
arch/arm/dts/sama5d4.dtsi | 1935 ++++++++++++++++++++
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c | 106 +-
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c | 112 +-
arch/arm/mach-at91/armv7/sama5d3_devices.c | 140 +-
arch/arm/mach-at91/armv7/u-boot-spl.lds | 2 +
arch/arm/mach-at91/include/mach/at91_pio.h | 69 +-
arch/arm/mach-at91/include/mach/at91sam9x5.h | 2 -
arch/arm/mach-at91/include/mach/gpio.h | 12 +-
arch/arm/mach-at91/include/mach/sama5d3.h | 2 -
arch/arm/mach-at91/include/mach/sama5d4.h | 2 -
arch/arm/mach-at91/spl.c | 7 +
arch/arm/mach-at91/spl_atmel.c | 11 +-
board/atmel/at91sam9n12ek/at91sam9n12ek.c | 10 +-
board/atmel/at91sam9x5ek/at91sam9x5ek.c | 90 +-
board/atmel/sama5d3xek/sama5d3xek.c | 64 +-
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 241 +--
board/atmel/sama5d4ek/sama5d4ek.c | 229 +--
board/denx/ma5d4evk/ma5d4evk.c | 178 +-
board/l+g/vinco/vinco.c | 70 +-
configs/rock_defconfig | 1 +
configs/sama5d4_xplained_mmc_defconfig | 37 +-
configs/sama5d4_xplained_nandflash_defconfig | 36 +-
configs/sama5d4_xplained_spiflash_defconfig | 37 +-
configs/sama5d4ek_mmc_defconfig | 37 +
configs/sama5d4ek_nandflash_defconfig | 38 +-
configs/sama5d4ek_spiflash_defconfig | 38 +-
drivers/core/device.c | 30 +-
drivers/core/uclass.c | 2 +-
drivers/gpio/Kconfig | 13 +
drivers/gpio/at91_gpio.c | 170 +-
drivers/mtd/nand/atmel_nand.c | 5 +-
drivers/net/at91_emac.c | 4 +-
drivers/pinctrl/Kconfig | 14 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-at91.c | 453 +++++
drivers/serial/ns16550.c | 13 +-
include/configs/at91-sama5_common.h | 2 +
include/configs/sama5d4_xplained.h | 45 +-
include/configs/sama5d4ek.h | 45 +-
include/dt-bindings/pinctrl/at91.h | 2 +
lib/libfdt/fdt_region.c | 40 +-
tools/Makefile | 2 +-
tools/buildman/builder.py | 5 +-
tools/dtoc/fdt_util.py | 2 +
tools/fdtgrep.c | 3 -
tools/patman/cros_subprocess.py | 4 +
75 files changed, 7790 insertions(+), 939 deletions(-)
create mode 100644 arch/arm/dts/at91-sama5d3_xplained.dts
create mode 100644 arch/arm/dts/at91-sama5d4_xplained.dts
create mode 100644 arch/arm/dts/at91-sama5d4ek.dts
create mode 100644 arch/arm/dts/sama5d3.dtsi
create mode 100644 arch/arm/dts/sama5d31.dtsi
create mode 100644 arch/arm/dts/sama5d31ek.dts
create mode 100644 arch/arm/dts/sama5d33.dtsi
create mode 100644 arch/arm/dts/sama5d33ek.dts
create mode 100644 arch/arm/dts/sama5d34.dtsi
create mode 100644 arch/arm/dts/sama5d34ek.dts
create mode 100644 arch/arm/dts/sama5d35.dtsi
create mode 100644 arch/arm/dts/sama5d35ek.dts
create mode 100644 arch/arm/dts/sama5d36.dtsi
create mode 100644 arch/arm/dts/sama5d36ek.dts
create mode 100644 arch/arm/dts/sama5d36ek_cmp.dts
create mode 100644 arch/arm/dts/sama5d3_can.dtsi
create mode 100644 arch/arm/dts/sama5d3_emac.dtsi
create mode 100644 arch/arm/dts/sama5d3_gmac.dtsi
create mode 100644 arch/arm/dts/sama5d3_lcd.dtsi
create mode 100644 arch/arm/dts/sama5d3_mci2.dtsi
create mode 100644 arch/arm/dts/sama5d3_tcb1.dtsi
create mode 100644 arch/arm/dts/sama5d3_uart.dtsi
create mode 100644 arch/arm/dts/sama5d3xcm.dtsi
create mode 100644 arch/arm/dts/sama5d3xcm_cmp.dtsi
create mode 100644 arch/arm/dts/sama5d3xdm.dtsi
create mode 100644 arch/arm/dts/sama5d3xmb.dtsi
create mode 100644 arch/arm/dts/sama5d3xmb_cmp.dtsi
create mode 100644 arch/arm/dts/sama5d4.dtsi
create mode 100644 drivers/pinctrl/pinctrl-at91.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-04-05 9:31 Simon Glass
@ 2017-04-05 17:43 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-04-05 17:43 UTC (permalink / raw)
To: u-boot
On Wed, Apr 05, 2017 at 03:31:57AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This deals with closing down devices which have used DMA.
>
>
> he following changes since commit 11db152246607868f0e74db958947fbf79f28119:
>
> Prepare v2017.05-rc1 (2017-04-04 17:53:24 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 239ae4a9129b8b9f24a216e127042b255b07ae59:
>
> dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
> (2017-04-04 20:15:10 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170405/3d9d3a93/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-04-05 9:31 Simon Glass
2017-04-05 17:43 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-04-05 9:31 UTC (permalink / raw)
To: u-boot
Hi Tom,
This deals with closing down devices which have used DMA.
he following changes since commit 11db152246607868f0e74db958947fbf79f28119:
Prepare v2017.05-rc1 (2017-04-04 17:53:24 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 239ae4a9129b8b9f24a216e127042b255b07ae59:
dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
(2017-04-04 20:15:10 -0600)
----------------------------------------------------------------
Stefan Roese (4):
dm: core: Add flags parameter to device_remove()
dm: core: Add dm_remove_devices_flags() and hook it into device_remove()
arm: bootm: Add dm_remove_devices_flags() call to announce_and_cleanup()
dm: test: Add test for device removal
Vikas Manocha (1):
dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
arch/arm/lib/bootm.c | 9 +++++++
arch/x86/cpu/queensbay/tnc.c | 4 +--
cmd/cros_ec.c | 2 +-
cmd/sf.c | 2 +-
drivers/block/blk-uclass.c | 2 +-
drivers/block/sandbox.c | 2 +-
drivers/core/device-remove.c | 26 ++++++++++++------
drivers/core/device.c | 2 +-
drivers/core/root.c | 11 +++++++-
drivers/core/uclass.c | 2 +-
drivers/mmc/mmc-uclass.c | 2 +-
drivers/mtd/spi/sandbox.c | 2 +-
drivers/mtd/spi/sf-uclass.c | 2 +-
drivers/spi/spi-uclass.c | 4 +--
drivers/usb/emul/sandbox_hub.c | 2 +-
drivers/usb/host/usb-uclass.c | 4 +--
dts/Kconfig | 4 +--
include/dm/device-internal.h | 5 ++--
include/dm/device.h | 26 ++++++++++++++++++
include/dm/root.h | 16 +++++++++++
test/dm/bus.c | 8 +++---
test/dm/core.c | 82
++++++++++++++++++++++++++++++++++++++++++++++++++------
test/dm/eth.c | 2 +-
test/dm/spi.c | 2 +-
test/dm/test-driver.c | 11 ++++++++
25 files changed, 191 insertions(+), 43 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-03-29 23:51 Simon Glass
2017-04-04 20:00 ` Tom Rini
@ 2017-04-04 20:00 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-04-04 20:00 UTC (permalink / raw)
To: u-boot
On Wed, Mar 29, 2017 at 05:51:04PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Herewith some fairly minor changes from my patchwork queue.
>
>
> The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16:
>
> Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 44d5c371a63e56eb53866b645e75396fa1d95510:
>
> Add single register pin controller driver (2017-03-26 13:23:42 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170404/65ca4d0a/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-03-29 23:51 Simon Glass
@ 2017-04-04 20:00 ` Tom Rini
2017-04-04 20:00 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-04-04 20:00 UTC (permalink / raw)
To: u-boot
On Wed, Mar 29, 2017 at 05:51:04PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Herewith some fairly minor changes from my patchwork queue.
>
>
> The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16:
>
> Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 44d5c371a63e56eb53866b645e75396fa1d95510:
>
> Add single register pin controller driver (2017-03-26 13:23:42 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170404/c43fc1d7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-03-29 23:51 Simon Glass
2017-04-04 20:00 ` Tom Rini
2017-04-04 20:00 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2017-03-29 23:51 UTC (permalink / raw)
To: u-boot
Hi Tom,
Herewith some fairly minor changes from my patchwork queue.
The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16:
Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 44d5c371a63e56eb53866b645e75396fa1d95510:
Add single register pin controller driver (2017-03-26 13:23:42 -0600)
----------------------------------------------------------------
Felix Brack (1):
Add single register pin controller driver
Hou Zhiqiang (1):
pci: correct a function description
James Balean (1):
Ensure device tree DTS is compiled
Patrice Chotard (1):
reset: Add STi reset support
Vignesh R (1):
libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT
mario.six at gdsys.cc (3):
tpm: Add function to load keys via their parent's SHA1 hash
cmd: tpm: Fix flush command
lib: tpm: Add command to list resources
arch/arm/Kconfig | 1 +
cmd/tpm.c | 162 ++++++++++++++++++++++++---
drivers/pci/pci-uclass.c | 5 +-
drivers/pinctrl/Kconfig | 10 ++
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-single.c | 142 ++++++++++++++++++++++++
drivers/reset/Kconfig | 8 ++
drivers/reset/Makefile | 1 +
drivers/reset/sti-reset.c | 320
+++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/tpm/Kconfig | 15 +++
dts/Makefile | 13 ++-
include/tpm.h | 12 ++
lib/fdtdec.c | 2 +-
lib/tpm.c | 40 +++++++
14 files changed, 711 insertions(+), 21 deletions(-)
create mode 100644 drivers/pinctrl/pinctrl-single.c
create mode 100644 drivers/reset/sti-reset.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-03-23 15:41 Simon Glass
@ 2017-03-24 1:44 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-03-24 1:44 UTC (permalink / raw)
To: u-boot
On Thu, Mar 23, 2017 at 09:41:34AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here are the patches that survived testing so far. More to come next week.
>
>
> The following changes since commit 5877d8f398de26617be6f1f57bc30c49e9f90ebb:
>
> Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-03-21
> 14:10:15 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 55bc080e799ac18802a791bd5ce5d83a136da6e3:
>
> dtoc: make ScanTree recurse into subnodes (2017-03-22 07:27:19 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170323/5a642c92/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-03-23 15:41 Simon Glass
2017-03-24 1:44 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-03-23 15:41 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are the patches that survived testing so far. More to come next week.
The following changes since commit 5877d8f398de26617be6f1f57bc30c49e9f90ebb:
Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-03-21
14:10:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 55bc080e799ac18802a791bd5ce5d83a136da6e3:
dtoc: make ScanTree recurse into subnodes (2017-03-22 07:27:19 -0600)
----------------------------------------------------------------
Jean-Jacques Hiblot (2):
regmap: use fdt address translation
drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register
Lokesh Vutla (1):
dm: core: Fix Handling of global_data moving in SPL
Philipp Tomsich (1):
dtoc: make ScanTree recurse into subnodes
drivers/core/regmap.c | 14 ++++++++------
drivers/core/root.c | 6 ++++--
drivers/spi/ti_qspi.c | 47 ++++++++++++++++++++++++++++++++++++++++++-----
tools/dtoc/dtoc.py | 19 ++++++++++++++++++-
4 files changed, 72 insertions(+), 14 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-02-08 17:45 Simon Glass
@ 2017-02-09 3:03 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-02-09 3:03 UTC (permalink / raw)
To: u-boot
On Wed, Feb 08, 2017 at 10:45:20AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This includes a few more DM and patman/buildman patches and some
> cros_ec additions. The change to of_offset is best applied now that
> rc1 is out, since I should have picked up all the usages.
>
>
> The following changes since commit 446d4e048ee3b00f7907e15cd02aa404cc714c77:
>
> x86: make LOAD_FROM_32_BIT visible for platforms (2017-02-07 13:36:50 +0800)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to f11a0af713a714ee2efcd810dd81c6dfd59381aa:
>
> patman: Handle non-ascii characters in names (2017-02-08 06:12:16 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170208/6f736e98/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-02-08 17:45 Simon Glass
2017-02-09 3:03 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-02-08 17:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes a few more DM and patman/buildman patches and some
cros_ec additions. The change to of_offset is best applied now that
rc1 is out, since I should have picked up all the usages.
The following changes since commit 446d4e048ee3b00f7907e15cd02aa404cc714c77:
x86: make LOAD_FROM_32_BIT visible for platforms (2017-02-07 13:36:50 +0800)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to f11a0af713a714ee2efcd810dd81c6dfd59381aa:
patman: Handle non-ascii characters in names (2017-02-08 06:12:16 -0700)
----------------------------------------------------------------
Chris Packham (1):
patman: Handle non-ascii characters in names
Kever Yang (1):
simple-bus: enable support for of-platdata
Ladislav Michl (1):
common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
Moritz Fischer (2):
cros_ec: i2c: Group i2c write / read into single transaction
cros_ec: i2c: Add support for version 3 of the EC protocol
Simon Glass (4):
dtoc: Replace dot with underscore to avoid compiler errors
patman: Format checkpatch messages for IDE throwback
dm: core: Replace of_offset with accessor
buildman: Allow showing the list of boards with -n
arch/arm/mach-aspeed/ast2500/sdram_ast2500.c | 2 +-
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +-
arch/nios2/cpu/cpu.c | 2 +-
arch/sandbox/dts/sandbox.dts | 5 +++
arch/x86/cpu/broadwell/cpu.c | 10 +++---
arch/x86/cpu/broadwell/pch.c | 4 +--
arch/x86/cpu/broadwell/pinctrl_broadwell.c | 4 +--
arch/x86/cpu/broadwell/sata.c | 2 +-
arch/x86/cpu/cpu_x86.c | 2 +-
arch/x86/cpu/intel_common/lpc.c | 2 +-
arch/x86/cpu/intel_common/mrc.c | 2 +-
arch/x86/cpu/irq.c | 2 +-
arch/x86/cpu/ivybridge/lpc.c | 6 ++--
arch/x86/cpu/ivybridge/model_206ax.c | 4 +--
arch/x86/cpu/ivybridge/sata.c | 4 +--
arch/x86/cpu/mp_init.c | 3 +-
arch/x86/lib/mpspec.c | 3 +-
arch/x86/lib/pinctrl_ich6.c | 2 +-
board/qualcomm/dragonboard410c/dragonboard410c.c | 9 +++--
common/fdt_support.c | 5 ---
doc/driver-model/README.txt | 2 +-
doc/driver-model/of-plat.txt | 2 +-
doc/driver-model/spi-howto.txt | 2 +-
drivers/adc/adc-uclass.c | 4 +--
drivers/clk/at91/clk-generated.c | 5 ++-
drivers/clk/at91/pmc.c | 5 +--
drivers/clk/clk-uclass.c | 4 +--
drivers/clk/clk_fixed_rate.c | 2 +-
drivers/clk/clk_pic32.c | 5 +--
drivers/core/device.c | 27 +++++++-------
drivers/core/regmap.c | 4 +--
drivers/core/root.c | 4 +--
drivers/core/simple-bus.c | 6 +++-
drivers/core/uclass.c | 8 +++--
drivers/demo/demo-shape.c | 2 +-
drivers/demo/demo-uclass.c | 2 +-
drivers/gpio/74x164_gpio.c | 2 +-
drivers/gpio/altera_pio.c | 4 +--
drivers/gpio/atmel_pio4.c | 5 +--
drivers/gpio/dwapb_gpio.c | 6 ++--
drivers/gpio/gpio-uclass.c | 6 ++--
drivers/gpio/intel_broadwell_gpio.c | 4 +--
drivers/gpio/intel_ich6_gpio.c | 4 +--
drivers/gpio/lpc32xx_gpio.c | 2 +-
drivers/gpio/mpc85xx_gpio.c | 8 ++---
drivers/gpio/msm_gpio.c | 4 +--
drivers/gpio/omap_gpio.c | 2 +-
drivers/gpio/pca953x_gpio.c | 2 +-
drivers/gpio/pcf8575_gpio.c | 8 ++---
drivers/gpio/pic32_gpio.c | 3 +-
drivers/gpio/pm8916_gpio.c | 4 +--
drivers/gpio/s5p_gpio.c | 4 +--
drivers/gpio/sandbox.c | 6 ++--
drivers/gpio/sunxi_gpio.c | 2 +-
drivers/gpio/tegra186_gpio.c | 2 +-
drivers/gpio/tegra_gpio.c | 5 +--
drivers/gpio/vybrid_gpio.c | 2 +-
drivers/i2c/at91_i2c.c | 2 +-
drivers/i2c/cros_ec_tunnel.c | 2 +-
drivers/i2c/exynos_hs_i2c.c | 2 +-
drivers/i2c/fsl_i2c.c | 14 ++++----
drivers/i2c/i2c-gpio.c | 2 +-
drivers/i2c/i2c-uclass.c | 7 ++--
drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +-
drivers/i2c/muxes/i2c-mux-uclass.c | 4 +--
drivers/i2c/muxes/pca954x.c | 2 +-
drivers/i2c/mvtwsi.c | 6 ++--
drivers/i2c/mxc_i2c.c | 2 +-
drivers/i2c/s3c24x0_i2c.c | 2 +-
drivers/i2c/tegra186_bpmp_i2c.c | 2 +-
drivers/input/cros_ec_keyb.c | 2 +-
drivers/input/i8042.c | 2 +-
drivers/input/tegra-kbc.c | 2 +-
drivers/led/led_gpio.c | 2 +-
drivers/mailbox/mailbox-uclass.c | 4 +--
drivers/misc/cros_ec.c | 2 +-
drivers/misc/cros_ec_i2c.c | 110
++++++++++++++++++++++++++++++++++++++++++++++++++++------
drivers/misc/cros_ec_sandbox.c | 4 +--
drivers/misc/i2c_eeprom_emul.c | 4 +--
drivers/misc/tegra186_bpmp.c | 8 ++---
drivers/misc/tegra_car.c | 4 +--
drivers/mmc/atmel_sdhci.c | 2 +-
drivers/mmc/exynos_dw_mmc.c | 2 +-
drivers/mmc/fsl_esdhc.c | 2 +-
drivers/mmc/msm_sdhci.c | 19 +++++-----
drivers/mmc/omap_hsmmc.c | 2 +-
drivers/mmc/pic32_sdhci.c | 6 ++--
drivers/mmc/rockchip_dw_mmc.c | 10 +++---
drivers/mmc/rockchip_sdhci.c | 2 +-
drivers/mmc/s5p_sdhci.c | 2 +-
drivers/mmc/socfpga_dw_mmc.c | 8 ++---
drivers/mmc/tegra_mmc.c | 4 +--
drivers/mmc/uniphier-sd.c | 5 +--
drivers/mmc/xenon_sdhci.c | 5 +--
drivers/mtd/altera_qspi.c | 2 +-
drivers/mtd/cfi_flash.c | 2 +-
drivers/mtd/pic32_flash.c | 2 +-
drivers/mtd/spi/sandbox.c | 4 +--
drivers/mtd/spi/spi_flash.c | 2 +-
drivers/net/ag7xxx.c | 2 +-
drivers/net/altera_tse.c | 5 +--
drivers/net/cpsw-common.c | 4 +--
drivers/net/cpsw.c | 4 +--
drivers/net/designware.c | 9 ++---
drivers/net/fec_mxc.c | 3 +-
drivers/net/gmac_rockchip.c | 4 +--
drivers/net/keystone_net.c | 6 ++--
drivers/net/macb.c | 3 +-
drivers/net/mvneta.c | 5 +--
drivers/net/mvpp2.c | 6 ++--
drivers/net/phy/micrel.c | 2 +-
drivers/net/phy/ti.c | 6 ++--
drivers/net/phy/xilinx_phy.c | 2 +-
drivers/net/pic32_eth.c | 10 +++---
drivers/net/sandbox-raw.c | 2 +-
drivers/net/sandbox.c | 5 +--
drivers/net/sun8i_emac.c | 9 ++---
drivers/net/tsec.c | 6 ++--
drivers/net/xilinx_axi_emac.c | 8 ++---
drivers/net/xilinx_emaclite.c | 6 ++--
drivers/net/zynq_gem.c | 11 +++---
drivers/pci/pci-uclass.c | 9 ++---
drivers/pci/pci_tegra.c | 2 +-
drivers/pci/pcie_layerscape.c | 2 +-
drivers/pci/pcie_xilinx.c | 2 +-
drivers/phy/marvell/comphy_core.c | 2 +-
drivers/pinctrl/ath79/pinctrl_ar933x.c | 2 +-
drivers/pinctrl/ath79/pinctrl_qca953x.c | 2 +-
drivers/pinctrl/exynos/pinctrl-exynos.c | 2 +-
drivers/pinctrl/meson/pinctrl-meson.c | 6 ++--
drivers/pinctrl/mvebu/pinctrl-mvebu.c | 6 ++--
drivers/pinctrl/nxp/pinctrl-imx.c | 7 ++--
drivers/pinctrl/pinctrl-at91-pio4.c | 2 +-
drivers/pinctrl/pinctrl-generic.c | 4 +--
drivers/pinctrl/pinctrl-uclass.c | 4 +--
drivers/pinctrl/pinctrl_pic32.c | 4 +--
drivers/pinctrl/rockchip/pinctrl_rk3036.c | 2 +-
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 4 +--
drivers/pinctrl/rockchip/pinctrl_rk3399.c | 2 +-
drivers/power/domain/power-domain-uclass.c | 2 +-
drivers/power/pmic/act8846.c | 2 +-
drivers/power/pmic/i2c_pmic_emul.c | 6 ++--
drivers/power/pmic/lp873x.c | 2 +-
drivers/power/pmic/max77686.c | 2 +-
drivers/power/pmic/palmas.c | 2 +-
drivers/power/pmic/pfuze100.c | 2 +-
drivers/power/pmic/pmic-uclass.c | 2 +-
drivers/power/pmic/rk808.c | 2 +-
drivers/power/pmic/s5m8767.c | 2 +-
drivers/power/pmic/sandbox.c | 2 +-
drivers/power/pmic/tps65090.c | 2 +-
drivers/power/regulator/fixed.c | 4 +--
drivers/power/regulator/gpio-regulator.c | 2 +-
drivers/power/regulator/pwm_regulator.c | 2 +-
drivers/power/regulator/regulator-uclass.c | 4 +--
drivers/remoteproc/rproc-uclass.c | 2 +-
drivers/remoteproc/ti_power_proc.c | 2 +-
drivers/reset/reset-uclass.c | 4 +--
drivers/serial/altera_uart.c | 2 +-
drivers/serial/ns16550.c | 10 +++---
drivers/serial/sandbox.c | 2 +-
drivers/serial/serial_arc.c | 2 +-
drivers/serial/serial_bcm283x_mu.c | 5 +--
drivers/serial/serial_msm.c | 6 ++--
drivers/serial/serial_mxc.c | 2 +-
drivers/serial/serial_pic32.c | 3 +-
drivers/serial/serial_pl01x.c | 5 +--
drivers/serial/serial_s5p.c | 2 +-
drivers/serial/serial_sh.c | 5 +--
drivers/serial/serial_uniphier.c | 2 +-
drivers/spi/cadence_qspi.c | 2 +-
drivers/spi/davinci_spi.c | 2 +-
drivers/spi/designware_spi.c | 2 +-
drivers/spi/exynos_spi.c | 2 +-
drivers/spi/fsl_dspi.c | 2 +-
drivers/spi/fsl_qspi.c | 2 +-
drivers/spi/ich.c | 6 ++--
drivers/spi/mvebu_a3700_spi.c | 4 +--
drivers/spi/omap3_spi.c | 2 +-
drivers/spi/pic32_spi.c | 10 +++---
drivers/spi/rk_spi.c | 2 +-
drivers/spi/soft_spi.c | 2 +-
drivers/spi/spi-uclass.c | 7 ++--
drivers/spi/stm32_qspi.c | 2 +-
drivers/spi/tegra114_spi.c | 2 +-
drivers/spi/tegra20_sflash.c | 2 +-
drivers/spi/tegra20_slink.c | 2 +-
drivers/spi/tegra210_qspi.c | 2 +-
drivers/spi/ti_qspi.c | 2 +-
drivers/spi/zynq_qspi.c | 2 +-
drivers/spi/zynq_spi.c | 2 +-
drivers/spmi/spmi-msm.c | 10 ++----
drivers/sysreset/sysreset_sandbox.c | 2 +-
drivers/timer/timer-uclass.c | 2 +-
drivers/usb/emul/sandbox_flash.c | 4 +--
drivers/usb/emul/sandbox_hub.c | 3 +-
drivers/usb/host/dwc2.c | 4 +--
drivers/usb/host/ehci-exynos.c | 2 +-
drivers/usb/host/ehci-fsl.c | 2 +-
drivers/usb/host/ehci-mx6.c | 4 +--
drivers/usb/host/ehci-tegra.c | 2 +-
drivers/usb/host/ehci-vf.c | 2 +-
drivers/usb/host/usb-uclass.c | 7 ++--
drivers/usb/host/xhci-exynos5.c | 2 +-
drivers/usb/host/xhci-rockchip.c | 8 ++---
drivers/usb/musb-new/pic32.c | 2 +-
drivers/usb/musb-new/ti-musb.c | 6 ++--
drivers/video/atmel_lcdfb.c | 2 +-
drivers/video/bridge/ps862x.c | 3 +-
drivers/video/broadwell_igd.c | 2 +-
drivers/video/exynos/exynos_dp.c | 2 +-
drivers/video/exynos/exynos_fb.c | 4 +--
drivers/video/ivybridge_igd.c | 2 +-
drivers/video/pwm_backlight.c | 2 +-
drivers/video/rockchip/rk_lvds.c | 4 +--
drivers/video/rockchip/rk_vop.c | 2 +-
drivers/video/sandbox_sdl.c | 2 +-
drivers/video/tegra.c | 4 +--
drivers/video/tegra124/display.c | 4 +--
drivers/video/tegra124/sor.c | 6 ++--
include/dm/device.h | 10 ++++++
test/dm/spi.c | 2 +-
test/dm/test-fdt.c | 8 ++---
tools/buildman/README | 2 +-
tools/buildman/board.py | 10 +++---
tools/buildman/control.py | 19 +++++-----
tools/dtoc/dtoc.py | 1 +
tools/patman/checkpatch.py | 5 +--
tools/patman/series.py | 3 +-
229 files changed, 576 insertions(+), 440 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2017-01-09 20:46 Simon Glass
@ 2017-01-10 23:14 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2017-01-10 23:14 UTC (permalink / raw)
To: u-boot
On Mon, Jan 09, 2017 at 01:46:46PM -0700, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit a705ebc81b7f91bbd0ef7c634284208342901149:
>
> Prepare v2017.01 (2017-01-09 11:57:05 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to f8f41ae668040d58271e03bc85b58e13becb14af:
>
> scsi: dm: Unbind all scsi based block devices before new scan
> (2017-01-09 11:25:20 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170110/3e2670c7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2017-01-09 20:46 Simon Glass
2017-01-10 23:14 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2017-01-09 20:46 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit a705ebc81b7f91bbd0ef7c634284208342901149:
Prepare v2017.01 (2017-01-09 11:57:05 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to f8f41ae668040d58271e03bc85b58e13becb14af:
scsi: dm: Unbind all scsi based block devices before new scan
(2017-01-09 11:25:20 -0700)
----------------------------------------------------------------
Michal Simek (1):
scsi: dm: Unbind all scsi based block devices before new scan
Mugunthan V N (4):
drivers: usb: gadget: ether/rndis: convert driver to adopt
device driver model
am33xx: board: init usb ether gadget for rndis support
am335x_evm: enable usb ether gadget as it supports DM_ETH
defconfig: am335x_evm: enable usb driver model
arch/arm/mach-omap2/am33xx/board.c | 8 +++++
common/scsi.c | 2 ++
configs/am335x_evm_defconfig | 3 ++
drivers/usb/gadget/Kconfig | 4 +++
drivers/usb/gadget/ether.c | 153
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
drivers/usb/gadget/rndis.c | 13 ++++++--
drivers/usb/gadget/rndis.h | 19 +++++++++---
include/configs/am335x_evm.h | 3 --
include/net.h | 7 +++++
9 files changed, 194 insertions(+), 18 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-12-20 8:19 Simon Glass
@ 2016-12-21 2:22 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-12-21 2:22 UTC (permalink / raw)
To: u-boot
On Tue, Dec 20, 2016 at 01:19:29AM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here is the binman tool as well as conversion of x86 and sunxi to use it.
>
>
> The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364:
>
> Merge branch 'master' of git://git.denx.de/u-boot-spi (2016-12-16
> 18:32:43 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 68af10022442153f6f87958053fee030ad1cb57f:
>
> binman: Drop microcode features from ifdtool (2016-12-20 08:09:55 +1300)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161220/aeb91806/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-12-20 8:19 Simon Glass
2016-12-21 2:22 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-12-20 8:19 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the binman tool as well as conversion of x86 and sunxi to use it.
The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364:
Merge branch 'master' of git://git.denx.de/u-boot-spi (2016-12-16
18:32:43 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 68af10022442153f6f87958053fee030ad1cb57f:
binman: Drop microcode features from ifdtool (2016-12-20 08:09:55 +1300)
----------------------------------------------------------------
Simon Glass (13):
binman: Introduce binman, a tool for building binary images
binman: Add basic entry types for U-Boot
binman: Add support for building x86 ROMs
binman: Add support for u-boot.img as an input binary
binman: Add support for building x86 ROMs with SPL
binman: Add support for building x86 images with FSP/CMC
binman: Add a build rule for binman
binman: Allow configuration options to be used in .dts files
binman: Automatically include a U-Boot .dtsi file
tegra: Use a U-Boot-specific .dtsi file
sunxi: Use binman for sunxi boards
x86: Use binman all x86 boards
binman: Drop microcode features from ifdtool
Makefile | 57 +-
arch/arm/dts/sunxi-u-boot.dtsi | 14 +
arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 15 +
arch/arm/dts/tegra124-nyan-big.dts | 2 -
arch/arm/dts/tegra20-u-boot.dtsi | 8 +
arch/arm/dts/tegra20.dtsi | 2 -
arch/x86/dts/emulation-u-boot.dtsi | 18 +
arch/x86/dts/u-boot.dtsi | 62 ++
scripts/Makefile.lib | 25 +-
tools/binman/.gitignore | 1 +
tools/binman/README | 541
+++++++++++++++++
tools/binman/binman | 1 +
tools/binman/binman.py | 114 ++++
tools/binman/cmdline.py | 53 ++
tools/binman/control.py | 118 ++++
tools/binman/entry_test.py | 27 +
tools/binman/etype/_testing.py | 26 +
tools/binman/etype/blob.py | 37 ++
tools/binman/etype/entry.py | 200 +++++++
tools/binman/etype/intel_cmc.py | 17 +
tools/binman/etype/intel_descriptor.py | 55 ++
tools/binman/etype/intel_fsp.py | 17 +
tools/binman/etype/intel_me.py | 17 +
tools/binman/etype/intel_mrc.py | 17 +
tools/binman/etype/intel_vga.py | 17 +
tools/binman/etype/u_boot.py | 17 +
tools/binman/etype/u_boot_dtb.py | 17 +
tools/binman/etype/u_boot_dtb_with_ucode.py | 78 +++
tools/binman/etype/u_boot_img.py | 17 +
tools/binman/etype/u_boot_nodtb.py | 17 +
tools/binman/etype/u_boot_spl.py | 17 +
tools/binman/etype/u_boot_spl_bss_pad.py | 26 +
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 28 +
tools/binman/etype/u_boot_ucode.py | 84 +++
tools/binman/etype/u_boot_with_ucode_ptr.py | 87 +++
tools/binman/etype/x86_start16.py | 17 +
tools/binman/etype/x86_start16_spl.py | 17 +
tools/binman/fdt_test.py | 48 ++
tools/binman/func_test.py | 822
++++++++++++++++++++++++++
tools/binman/image.py | 229 +++++++
tools/binman/test/01_invalid.dts | 5 +
tools/binman/test/02_missing_node.dts | 6 +
tools/binman/test/03_empty.dts | 9 +
tools/binman/test/04_invalid_entry.dts | 11 +
tools/binman/test/05_simple.dts | 11 +
tools/binman/test/06_dual_image.dts | 22 +
tools/binman/test/07_bad_align.dts | 12 +
tools/binman/test/08_pack.dts | 30 +
tools/binman/test/09_pack_extra.dts | 35 ++
tools/binman/test/10_pack_align_power2.dts | 12 +
tools/binman/test/11_pack_align_size_power2.dts | 12 +
tools/binman/test/12_pack_inv_align.dts | 13 +
tools/binman/test/13_pack_inv_size_align.dts | 13 +
tools/binman/test/14_pack_overlap.dts | 16 +
tools/binman/test/15_pack_overflow.dts | 12 +
tools/binman/test/16_pack_image_overflow.dts | 13 +
tools/binman/test/17_pack_image_size.dts | 13 +
tools/binman/test/18_pack_image_align.dts | 13 +
tools/binman/test/19_pack_inv_image_align.dts | 14 +
tools/binman/test/20_pack_inv_image_align_power2.dts | 13 +
tools/binman/test/21_image_pad.dts | 16 +
tools/binman/test/22_image_name.dts | 21 +
tools/binman/test/23_blob.dts | 12 +
tools/binman/test/24_sorted.dts | 17 +
tools/binman/test/25_pack_zero_size.dts | 15 +
tools/binman/test/26_pack_u_boot_dtb.dts | 14 +
tools/binman/test/27_pack_4gb_no_size.dts | 18 +
tools/binman/test/28_pack_4gb_outside.dts | 19 +
tools/binman/test/29_x86-rom.dts | 19 +
tools/binman/test/30_x86-rom-me-no-desc.dts | 15 +
tools/binman/test/31_x86-rom-me.dts | 18 +
tools/binman/test/32_intel-vga.dts | 13 +
tools/binman/test/33_x86-start16.dts | 13 +
tools/binman/test/34_x86_ucode.dts | 29 +
tools/binman/test/35_x86_single_ucode.dts | 26 +
tools/binman/test/36_u_boot_img.dts | 11 +
tools/binman/test/37_x86_no_ucode.dts | 20 +
tools/binman/test/38_x86_ucode_missing_node.dts | 26 +
tools/binman/test/39_x86_ucode_missing_node2.dts | 23 +
tools/binman/test/40_x86_ucode_not_in_image.dts | 28 +
tools/binman/test/41_unknown_pos_size.dts | 11 +
tools/binman/test/42_intel-fsp.dts | 13 +
tools/binman/test/43_intel-cmc.dts | 13 +
tools/binman/test/44_x86_optional_ucode.dts | 30 +
tools/binman/test/descriptor.bin | Bin 0 -> 4096 bytes
tools/binman/test/u_boot_no_ucode_ptr | Bin 0 -> 4182 bytes
tools/binman/test/u_boot_no_ucode_ptr.c | 15 +
tools/binman/test/u_boot_ucode_ptr | Bin 0 -> 4175 bytes
tools/binman/test/u_boot_ucode_ptr.c | 15 +
tools/binman/test/u_boot_ucode_ptr.lds | 18 +
tools/ifdtool.c | 254 +-------
91 files changed, 3709 insertions(+), 300 deletions(-)
create mode 100644 arch/arm/dts/sunxi-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
create mode 100644 arch/arm/dts/tegra20-u-boot.dtsi
create mode 100644 arch/x86/dts/emulation-u-boot.dtsi
create mode 100644 arch/x86/dts/u-boot.dtsi
create mode 100644 tools/binman/.gitignore
create mode 100644 tools/binman/README
create mode 120000 tools/binman/binman
create mode 100755 tools/binman/binman.py
create mode 100644 tools/binman/cmdline.py
create mode 100644 tools/binman/control.py
create mode 100644 tools/binman/entry_test.py
create mode 100644 tools/binman/etype/_testing.py
create mode 100644 tools/binman/etype/blob.py
create mode 100644 tools/binman/etype/entry.py
create mode 100644 tools/binman/etype/intel_cmc.py
create mode 100644 tools/binman/etype/intel_descriptor.py
create mode 100644 tools/binman/etype/intel_fsp.py
create mode 100644 tools/binman/etype/intel_me.py
create mode 100644 tools/binman/etype/intel_mrc.py
create mode 100644 tools/binman/etype/intel_vga.py
create mode 100644 tools/binman/etype/u_boot.py
create mode 100644 tools/binman/etype/u_boot_dtb.py
create mode 100644 tools/binman/etype/u_boot_dtb_with_ucode.py
create mode 100644 tools/binman/etype/u_boot_img.py
create mode 100644 tools/binman/etype/u_boot_nodtb.py
create mode 100644 tools/binman/etype/u_boot_spl.py
create mode 100644 tools/binman/etype/u_boot_spl_bss_pad.py
create mode 100644 tools/binman/etype/u_boot_spl_with_ucode_ptr.py
create mode 100644 tools/binman/etype/u_boot_ucode.py
create mode 100644 tools/binman/etype/u_boot_with_ucode_ptr.py
create mode 100644 tools/binman/etype/x86_start16.py
create mode 100644 tools/binman/etype/x86_start16_spl.py
create mode 100644 tools/binman/fdt_test.py
create mode 100644 tools/binman/func_test.py
create mode 100644 tools/binman/image.py
create mode 100644 tools/binman/test/01_invalid.dts
create mode 100644 tools/binman/test/02_missing_node.dts
create mode 100644 tools/binman/test/03_empty.dts
create mode 100644 tools/binman/test/04_invalid_entry.dts
create mode 100644 tools/binman/test/05_simple.dts
create mode 100644 tools/binman/test/06_dual_image.dts
create mode 100644 tools/binman/test/07_bad_align.dts
create mode 100644 tools/binman/test/08_pack.dts
create mode 100644 tools/binman/test/09_pack_extra.dts
create mode 100644 tools/binman/test/10_pack_align_power2.dts
create mode 100644 tools/binman/test/11_pack_align_size_power2.dts
create mode 100644 tools/binman/test/12_pack_inv_align.dts
create mode 100644 tools/binman/test/13_pack_inv_size_align.dts
create mode 100644 tools/binman/test/14_pack_overlap.dts
create mode 100644 tools/binman/test/15_pack_overflow.dts
create mode 100644 tools/binman/test/16_pack_image_overflow.dts
create mode 100644 tools/binman/test/17_pack_image_size.dts
create mode 100644 tools/binman/test/18_pack_image_align.dts
create mode 100644 tools/binman/test/19_pack_inv_image_align.dts
create mode 100644 tools/binman/test/20_pack_inv_image_align_power2.dts
create mode 100644 tools/binman/test/21_image_pad.dts
create mode 100644 tools/binman/test/22_image_name.dts
create mode 100644 tools/binman/test/23_blob.dts
create mode 100644 tools/binman/test/24_sorted.dts
create mode 100644 tools/binman/test/25_pack_zero_size.dts
create mode 100644 tools/binman/test/26_pack_u_boot_dtb.dts
create mode 100644 tools/binman/test/27_pack_4gb_no_size.dts
create mode 100644 tools/binman/test/28_pack_4gb_outside.dts
create mode 100644 tools/binman/test/29_x86-rom.dts
create mode 100644 tools/binman/test/30_x86-rom-me-no-desc.dts
create mode 100644 tools/binman/test/31_x86-rom-me.dts
create mode 100644 tools/binman/test/32_intel-vga.dts
create mode 100644 tools/binman/test/33_x86-start16.dts
create mode 100644 tools/binman/test/34_x86_ucode.dts
create mode 100644 tools/binman/test/35_x86_single_ucode.dts
create mode 100644 tools/binman/test/36_u_boot_img.dts
create mode 100644 tools/binman/test/37_x86_no_ucode.dts
create mode 100644 tools/binman/test/38_x86_ucode_missing_node.dts
create mode 100644 tools/binman/test/39_x86_ucode_missing_node2.dts
create mode 100644 tools/binman/test/40_x86_ucode_not_in_image.dts
create mode 100644 tools/binman/test/41_unknown_pos_size.dts
create mode 100644 tools/binman/test/42_intel-fsp.dts
create mode 100644 tools/binman/test/43_intel-cmc.dts
create mode 100644 tools/binman/test/44_x86_optional_ucode.dts
create mode 100644 tools/binman/test/descriptor.bin
create mode 100755 tools/binman/test/u_boot_no_ucode_ptr
create mode 100644 tools/binman/test/u_boot_no_ucode_ptr.c
create mode 100755 tools/binman/test/u_boot_ucode_ptr
create mode 100644 tools/binman/test/u_boot_ucode_ptr.c
create mode 100644 tools/binman/test/u_boot_ucode_ptr.lds
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-12-03 4:27 Simon Glass
@ 2016-12-03 18:26 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-12-03 18:26 UTC (permalink / raw)
To: u-boot
Hi Tom,
Please ignore this.
I'm going to send an updated pull request with some additional patches
due to a request from Stefan Roese.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-12-03 4:27 Simon Glass
2016-12-03 18:26 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-12-03 4:27 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are some buildman enhancements, a new TPM driver, the beginnings
of the USB gadget DM conversion along with a few fixes.
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 f7f191ee41c0590917f4a969b569af0a01106380:
cmd/fdt: fix uncallable systemsetup command (2016-12-02 20:53:20 -0700)
----------------------------------------------------------------
Fabien Parent (1):
cmd/fdt: fix uncallable systemsetup command
George McCollister (1):
tpm: tpm_tis_lpc: Add support for AT97SC3204
Michal Simek (1):
dm: blk: Fix get_desc to return block device descriptor
Mugunthan V N (5):
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
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
Tom Rini (1):
sandboxfs: Fix resource leak
Makefile | 3 +
cmd/fdt.c | 22 ++++---
cmd/tpm_test.c | 12 ++--
common/spl/spl.c | 3 +
drivers/block/blk-uclass.c | 2 +
drivers/core/root.c | 7 +++
drivers/tpm/tpm_tis_lpc.c | 37 +++++++++---
drivers/usb/gadget/ether.c | 168
++++++++++++++++++++++++++++++++++++-----------------
fs/sandbox/sandboxfs.c | 5 +-
include/dm/root.h | 10 ++++
tools/buildman/README | 49 ++++++++++++++++
tools/buildman/builder.py | 39 ++++++++-----
tools/buildman/builderthread.py | 14 +++--
tools/buildman/cmdline.py | 4 ++
tools/buildman/control.py | 4 +-
15 files changed, 278 insertions(+), 101 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-10-11 17:36 Simon Glass
@ 2016-10-13 17:38 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-10-13 17:38 UTC (permalink / raw)
To: u-boot
On Tue, Oct 11, 2016 at 11:36:40AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes lp873x PMIC support, moving patman to work with Python 3
> (mostly), buildman improvements, cros_ec flashinfo support and sandbox
> filesystem test fixes. It also includes the MMC patches I've been
> holding off for months. I still worry that it might cause problems
> with some boards, but we should find out quickly once this is in.
>
>
> The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf:
>
> Merge branch 'master' of git://www.denx.de/git/u-boot-imx
> (2016-10-08 09:33:37 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to bfeba0173aa45c24bbdba45149716c83258d25f6:
>
> cmd: cros_ec: Move crosec commands to cmd subdirectory (2016-10-11
> 10:17:08 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161013/4a612f54/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-10-11 17:36 Simon Glass
2016-10-13 17:38 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-10-11 17:36 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes lp873x PMIC support, moving patman to work with Python 3
(mostly), buildman improvements, cros_ec flashinfo support and sandbox
filesystem test fixes. It also includes the MMC patches I've been
holding off for months. I still worry that it might cause problems
with some boards, but we should find out quickly once this is in.
The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf:
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
(2016-10-08 09:33:37 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to bfeba0173aa45c24bbdba45149716c83258d25f6:
cmd: cros_ec: Move crosec commands to cmd subdirectory (2016-10-11
10:17:08 -0600)
----------------------------------------------------------------
Keerthy (9):
power: regulator: Add support for gpio regulators
power: regulator: Add ctrl_reg and volt_reg fields for pmic
power: pmic: Palmas: Add the base pmic support
power: regulator: palmas: Add regulator support
configs: dra7xx_evm_defconfig: Enable PALMAS options
configs: am57xx_evm_defconfig: Enable PALMAS options
configs: am57xx_evm_defconfig: Enable CMD_REG option
power: pmic: lp873x: Add the base pmic support
power: regulator: lp873x: Add regulator support
Moritz Fischer (4):
cros_ec: Add function to read back flash parameters
cros_ec: Add crosec flashinfo command
cros_ec: Fix issue with cros_ec_flash_write command
cmd: cros_ec: Move crosec commands to cmd subdirectory
Paul Burton (9):
patman: Replace tabs with spaces
patman: Make print statements python 3.x safe
patman: Make exception handling python 3.x safe
patman: Import 'configparser' lower case to be python 3.x safe
patman: Use items() to iterate over dictionaries
patman: Fix doctest StringIO import for python 3.x
dtoc: Use items() to iterate over dictionaries in python 3.x
dtoc: Decode strings for struct.unpack on python 3.x
dtoc: Make integer division python 3.x safe
Simon Glass (16):
patman: Flush output when there is no newline
buildman: Tidy up the 'cloning' message
buildman: Print a message when removing old directories
buildman: Print a message indicating the build is starting
buildman: Put our local libraries first in the path
buildman: Allow builds to terminate cleanly
buildman: Drop the 'active' flag in the builder
buildman: Don't show a stacktrace on Ctrl-C
buildman: Drop the 'alive' flag in BuilderThread
dtoc: Fix bug in GetProp()
dtoc: Adjust GetProps() in fdt_normal to use the node path
dtoc: Add a way for tests to request the fallback library
dm: mmc: Support erase
dm: blk: Enable CONFIG_BLK if DM_MMC is enabled
dm: mmc: Enable DM_MMC_OPS by default with DM_MMC
sandbox: Use the address in readl/writel() functions
Stefan Br?ns (5):
sandbox/fs: Free memory allocated by os_dirent_ls
sandbox/fs: Make linking of nodes in os_dirent_ls more obvious
sandbox/fs: Use correct size path name buffer
sandbox/fs: Use readdir instead of deprecated readdir_r
sandbox/fs: Set correct filetype for unknown filetype
York Sun (2):
tools: buildman: Remove duplicated code
tools: buildman: Add compiler wrapper
arch/sandbox/cpu/os.c | 34 +++++---
arch/sandbox/include/asm/io.h | 12 +--
cmd/Kconfig | 13 +++
cmd/Makefile | 1 +
cmd/cros_ec.c | 365
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configs/am335x_boneblack_vboot_defconfig | 2 +
configs/am335x_evm_defconfig | 2 +
configs/am43xx_evm_defconfig | 2 +
configs/am43xx_evm_usbhost_boot_defconfig | 2 +
configs/am43xx_hs_evm_defconfig | 2 +
configs/am57xx_evm_defconfig | 7 ++
configs/am57xx_hs_evm_defconfig | 2 +
configs/apalis_t30_defconfig | 2 +
configs/beaver_defconfig | 2 +
configs/cardhu_defconfig | 2 +
configs/cei-tk1-som_defconfig | 2 +
configs/colibri_t20_defconfig | 2 +
configs/colibri_t30_defconfig | 2 +
configs/dalmore_defconfig | 2 +
configs/dra7xx_evm_defconfig | 5 ++
configs/dra7xx_hs_evm_defconfig | 2 +
configs/e2220-1170_defconfig | 2 +
configs/harmony_defconfig | 2 +
configs/jetson-tk1_defconfig | 2 +
configs/k2g_evm_defconfig | 2 +
configs/medcom-wide_defconfig | 2 +
configs/mx6ull_14x14_evk_defconfig | 4 +-
configs/nyan-big_defconfig | 2 +
configs/p2371-0000_defconfig | 2 +
configs/p2371-2180_defconfig | 2 +
configs/p2571_defconfig | 2 +
configs/p2771-0000-000_defconfig | 2 +
configs/p2771-0000-500_defconfig | 2 +
configs/paz00_defconfig | 2 +
configs/pic32mzdask_defconfig | 1 +
configs/plutux_defconfig | 2 +
configs/sandbox_noblk_defconfig | 1 +
configs/seaboard_defconfig | 2 +
configs/tec-ng_defconfig | 2 +
configs/tec_defconfig | 2 +
configs/trimslice_defconfig | 2 +
configs/venice2_defconfig | 2 +
configs/ventana_defconfig | 2 +
configs/whistler_defconfig | 2 +
drivers/block/Kconfig | 1 +
drivers/misc/cros_ec.c | 385
++++++++------------------------------------------------------------------------
drivers/mmc/Kconfig | 1 +
drivers/mmc/mmc-uclass.c | 1 +
drivers/mmc/mmc_private.h | 4 +-
drivers/mmc/mmc_write.c | 10 ++-
drivers/power/pmic/Kconfig | 14 +++
drivers/power/pmic/Makefile | 2 +
drivers/power/pmic/lp873x.c | 86 ++++++++++++++++++
drivers/power/pmic/palmas.c | 104 ++++++++++++++++++++++
drivers/power/regulator/Kconfig | 24 +++++
drivers/power/regulator/Makefile | 3 +
drivers/power/regulator/gpio-regulator.c | 137 +++++++++++++++++++++++++++++
drivers/power/regulator/lp873x_regulator.c | 357
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/power/regulator/palmas_regulator.c | 453
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/sandbox/sandboxfs.c | 1 +
include/cros_ec.h | 11 +++
include/os.h | 11 ++-
include/power/lp873x.h | 19 ++++
include/power/palmas.h | 25 ++++++
include/power/regulator.h | 5 ++
tools/buildman/README | 9 ++
tools/buildman/builder.py | 33 ++++---
tools/buildman/builderthread.py | 16 +---
tools/buildman/buildman.py | 2 +-
tools/buildman/test.py | 4 +-
tools/buildman/toolchain.py | 18 +++-
tools/dtoc/dtoc.py | 10 +--
tools/dtoc/fdt_fallback.py | 4 +-
tools/dtoc/fdt_normal.py | 9 +-
tools/dtoc/fdt_select.py | 16 +++-
tools/dtoc/fdt_util.py | 3 +
tools/patman/checkpatch.py | 16 ++--
tools/patman/command.py | 2 +-
tools/patman/cros_subprocess.py | 2 +-
tools/patman/get_maintainer.py | 2 +-
tools/patman/gitutil.py | 18 ++--
tools/patman/patchstream.py | 6 +-
tools/patman/patman.py | 12 +--
tools/patman/series.py | 42 ++++-----
tools/patman/settings.py | 37 +++++---
tools/patman/terminal.py | 14 +--
tools/patman/test.py | 2 +-
87 files changed, 1956 insertions(+), 486 deletions(-)
create mode 100644 cmd/cros_ec.c
create mode 100644 drivers/power/pmic/lp873x.c
create mode 100644 drivers/power/pmic/palmas.c
create mode 100644 drivers/power/regulator/gpio-regulator.c
create mode 100644 drivers/power/regulator/lp873x_regulator.c
create mode 100644 drivers/power/regulator/palmas_regulator.c
create mode 100644 include/power/lp873x.h
create mode 100644 include/power/palmas.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-09-19 3:09 Simon Glass
@ 2016-09-21 15:30 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-09-21 15:30 UTC (permalink / raw)
To: u-boot
On Sun, Sep 18, 2016 at 09:09:39PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes some refactoring to improve the dtoc code.
>
>
> The following changes since commit 9a6535e05f17acf03e891266a650cb6029124743:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier
> (2016-09-18 14:05:30 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 8f224b3734d042884a8981a14db64c48e87b87a2:
>
> dtoc: Add methods for reading data from properties (2016-09-18 21:04:39 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160921/bd43db23/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-09-19 3:09 Simon Glass
2016-09-21 15:30 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-09-19 3:09 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes some refactoring to improve the dtoc code.
The following changes since commit 9a6535e05f17acf03e891266a650cb6029124743:
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
(2016-09-18 14:05:30 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 8f224b3734d042884a8981a14db64c48e87b87a2:
dtoc: Add methods for reading data from properties (2016-09-18 21:04:39 -0600)
----------------------------------------------------------------
Simon Glass (19):
patman: Adjust command.Output() to raise an error by default
dtoc: Move the struct import into the correct order
dtoc: Move the fdt library selection into fdt_select
dtoc: Rename fdt.py to fdt_normal.py
dtoc: Create a base class for Fdt
dtoc: Move BytesToValue() and GetEmpty() into PropBase
dtoc: Move Widen() and GetPhandle() into the base class
dtoc: Move a few more common functions into fdt.py
patman: Add a tools library for using temporary files
patman: Add a library to handle logging and progress
dtoc: Allow the device tree to be compiled from source
dtoc: Drop the convert_dash parameter to GetProps()
dtoc: Prepare for supporting changing of device trees
dtoc: Move to using bytearray
dtoc: Support deleting device tree properties
dtoc: Support packing the device tree
dtoc: Support finding the offset of a property
dtoc: Correct quotes in fdt_util
dtoc: Add methods for reading data from properties
Stefan Br?ns (2):
sandbox: document support of block device emulation
sandbox: Add "host size" hostfs command for fs test
board/sandbox/README.sandbox | 19 +++++++
cmd/host.c | 8 +++
lib/libfdt/libfdt.swig | 24 +++++++++
tools/buildman/control.py | 2 +-
tools/dtoc/dtoc.py | 38 +++++---------
tools/dtoc/fdt.py | 219
+++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------
tools/dtoc/fdt_fallback.py | 138
+++++++++++++++++++-----------------------------
tools/dtoc/fdt_normal.py | 228
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/dtoc/fdt_select.py | 26 ++++++++++
tools/dtoc/fdt_util.py | 126 ++++++++++++++++++++++----------------------
tools/patman/checkpatch.py | 3 +-
tools/patman/command.py | 5 +-
tools/patman/gitutil.py | 3 +-
tools/patman/tools.py | 120 ++++++++++++++++++++++++++++++++++++++++++
tools/patman/tout.py | 166
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 files changed, 882 insertions(+), 243 deletions(-)
create mode 100644 tools/dtoc/fdt_normal.py
create mode 100644 tools/dtoc/fdt_select.py
create mode 100644 tools/patman/tools.py
create mode 100644 tools/patman/tout.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-08-12 17:04 Simon Glass
2016-08-12 19:25 ` Simon Glass
@ 2016-08-13 0:08 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-08-13 0:08 UTC (permalink / raw)
To: u-boot
On Fri, Aug 12, 2016 at 11:04:20AM -0600, Simon Glass wrote:
> Hi,
>
> This include a prerequisite for a forthcoming Tegra pull request.
>
>
> The following changes since commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier
> (2016-08-11 10:45:53 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to b647f55420310beb8f576e23f3b6a69745126f71:
>
> misc: add "call" uclass op (2016-08-12 11:01:22 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160812/bad13ffb/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-08-12 17:04 Simon Glass
@ 2016-08-12 19:25 ` Simon Glass
2016-08-13 0:08 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-08-12 19:25 UTC (permalink / raw)
To: u-boot
+Toms (sorry I missed this)
On 12 August 2016 at 11:04, Simon Glass <sjg@chromium.org> wrote:
> Hi,
>
> This include a prerequisite for a forthcoming Tegra pull request.
>
>
> The following changes since commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier
> (2016-08-11 10:45:53 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to b647f55420310beb8f576e23f3b6a69745126f71:
>
> misc: add "call" uclass op (2016-08-12 11:01:22 -0600)
>
> ----------------------------------------------------------------
> John Keeping (2):
> power: regulator: act8846: fix reading values
> power: pmic: act8846: add missing newline to debug statements
>
> Stephen Warren (3):
> fdt_support: fdt_translate_address() blob const correctness
> fdt: allow fdtdec_get_addr_size_*() to translate addresses
> misc: add "call" uclass op
>
> common/fdt_support.c | 21 +++++++++++----------
> drivers/core/device.c | 2 +-
> drivers/gpio/mpc85xx_gpio.c | 2 +-
> drivers/i2c/fsl_i2c.c | 2 +-
> drivers/misc/misc-uclass.c | 11 +++++++++++
> drivers/mmc/msm_sdhci.c | 3 ++-
> drivers/net/cpsw.c | 3 ++-
> drivers/power/pmic/act8846.c | 4 ++--
> drivers/power/regulator/act8846.c | 4 ++--
> drivers/spmi/spmi-msm.c | 5 +++--
> include/fdt_support.h | 5 +++--
> include/fdtdec.h | 14 +++++++++++---
> include/misc.h | 35 +++++++++++++++++++++++++++++++++++
> lib/fdtdec.c | 22 +++++++++++++++-------
> 14 files changed, 100 insertions(+), 33 deletions(-)
>
>
> Regards,
> Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-08-12 17:04 Simon Glass
2016-08-12 19:25 ` Simon Glass
2016-08-13 0:08 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2016-08-12 17:04 UTC (permalink / raw)
To: u-boot
Hi,
This include a prerequisite for a forthcoming Tegra pull request.
The following changes since commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a:
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
(2016-08-11 10:45:53 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to b647f55420310beb8f576e23f3b6a69745126f71:
misc: add "call" uclass op (2016-08-12 11:01:22 -0600)
----------------------------------------------------------------
John Keeping (2):
power: regulator: act8846: fix reading values
power: pmic: act8846: add missing newline to debug statements
Stephen Warren (3):
fdt_support: fdt_translate_address() blob const correctness
fdt: allow fdtdec_get_addr_size_*() to translate addresses
misc: add "call" uclass op
common/fdt_support.c | 21 +++++++++++----------
drivers/core/device.c | 2 +-
drivers/gpio/mpc85xx_gpio.c | 2 +-
drivers/i2c/fsl_i2c.c | 2 +-
drivers/misc/misc-uclass.c | 11 +++++++++++
drivers/mmc/msm_sdhci.c | 3 ++-
drivers/net/cpsw.c | 3 ++-
drivers/power/pmic/act8846.c | 4 ++--
drivers/power/regulator/act8846.c | 4 ++--
drivers/spmi/spmi-msm.c | 5 +++--
include/fdt_support.h | 5 +++--
include/fdtdec.h | 14 +++++++++++---
include/misc.h | 35 +++++++++++++++++++++++++++++++++++
lib/fdtdec.c | 22 +++++++++++++++-------
14 files changed, 100 insertions(+), 33 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-08-01 18:24 Simon Glass
@ 2016-08-02 17:38 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-08-02 17:38 UTC (permalink / raw)
To: u-boot
On Mon, Aug 01, 2016 at 12:24:18PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here's the buildman updates and an fdt patch. If you end up dropping
> the last two patches (MAKEALL removal) that's fine. But I've included
> them for now.
>
>
> The following changes since commit 26fb8db0f4d1e7c118b5e8f3a8849f359b91c166:
>
> Merge git://git.denx.de/u-boot-rockchip (2016-07-31 20:31:13 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 6de80f2196cb7b7a2c550a636404c54cf532fc17:
>
> Drop references to MAKEALL in the documentation (2016-07-31 19:37:08 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160802/4e7984eb/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-08-01 18:24 Simon Glass
2016-08-02 17:38 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-08-01 18:24 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here's the buildman updates and an fdt patch. If you end up dropping
the last two patches (MAKEALL removal) that's fine. But I've included
them for now.
The following changes since commit 26fb8db0f4d1e7c118b5e8f3a8849f359b91c166:
Merge git://git.denx.de/u-boot-rockchip (2016-07-31 20:31:13 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 6de80f2196cb7b7a2c550a636404c54cf532fc17:
Drop references to MAKEALL in the documentation (2016-07-31 19:37:08 -0600)
----------------------------------------------------------------
Michal Simek (1):
libfdt: Introduce new ARCH_FIXUP_FDT option
Simon Glass (11):
buildman: Tidy up the README a little
buildman: Automatically create a config file if needed
buildman: Fix the 'help' test to use the correct path
buildman: Allow the toolchain error to be suppressed
buildman: Improve the toolchain progress/error output
buildman: Fix a typo in TestSettingsHasPath()
buildman: Drop the toolchain error when downloading toolchains
buildman: Avoid overwriting existing toolchain entries
buildman: Add a quick-start note
Drop the MAKEALL tool
Drop references to MAKEALL in the documentation
Kconfig | 9 +
MAKEALL | 850
--------------------------------------------------------------------------
README | 35 +---
arch/arm/lib/bootm-fdt.c | 2 +
arch/arm/lib/bootm.c | 2 +
arch/mips/lib/bootm.c | 2 +
board/Barix/ipam390/README.ipam390 | 12 +-
common/image-fdt.c | 7 +-
doc/README.sha1 | 5 +-
tools/buildman/README | 67 ++++--
tools/buildman/bsettings.py | 44 ++++
tools/buildman/control.py | 26 ++-
tools/buildman/func_test.py | 2 +-
tools/buildman/toolchain.py | 49 +++--
14 files changed, 168 insertions(+), 944 deletions(-)
delete mode 100755 MAKEALL
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-28 2:24 Simon Glass
@ 2016-07-28 11:24 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-07-28 11:24 UTC (permalink / raw)
To: u-boot
On Wed, Jul 27, 2016 at 08:24:17PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here is a new power domain uclass, the rest of the MMC conversion
> (moving over zynq and socfpga) and a few other dm improvements.
>
> The following changes since commit 0b6699ad8ea95803d7ce40d1dc1caea902a6d22c:
>
> Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-07-26
> 18:33:04 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 02ebd42cf19e523593d8e4e8f3d02083299fcdbb:
>
> mmc: dw_mmc: reduce timeout detection cycle (2016-07-27 20:15:48 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160728/a31484f1/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-07-28 2:24 Simon Glass
2016-07-28 11:24 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-28 2:24 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is a new power domain uclass, the rest of the MMC conversion
(moving over zynq and socfpga) and a few other dm improvements.
The following changes since commit 0b6699ad8ea95803d7ce40d1dc1caea902a6d22c:
Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-07-26
18:33:04 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 02ebd42cf19e523593d8e4e8f3d02083299fcdbb:
mmc: dw_mmc: reduce timeout detection cycle (2016-07-27 20:15:48 -0600)
----------------------------------------------------------------
Jaehoon Chung (2):
dm: mmc: dwmmc: fix the wrong explanation for clock values
dm: mmc: dwmmc: use the callback functions as static
Simon Glass (11):
dm: core: Add a function to bind child devices
dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()
dm: Use dm_scan_fdt_dev() directly where possible
arm: Show early-malloc() usage in bdinfo
net: phy: marvell: Add a missing errno.h header
zynq: Increase the early malloc() size
dm: zynq: usb: Convert to CONFIG_DM_USB
dm: mmc: zynq: Convert zynq to use driver model for MMC
dm: socfpga: mmc: Support CONFIG_BLK
dm: usb: Use blk_dread/write() instead of direct calls
dm: spl: mmc: Support raw partitions with CONFIG_BLK
Stephen Warren (1):
Add a power domain framework/uclass
Xu Ziyuan (1):
mmc: dw_mmc: reduce timeout detection cycle
Makefile | 1 +
arch/arm/Kconfig | 7 ++++
arch/arm/cpu/armv8/zynqmp/Kconfig | 4 ++
arch/arm/mach-zynq/Kconfig | 3 ++
arch/sandbox/dts/test.dts | 10 +++++
arch/sandbox/include/asm/power-domain.h | 21 ++++++++++
arch/x86/lib/lpc-uclass.c | 15 +------
cmd/bdinfo.c | 5 +++
cmd/usb_mass_storage.c | 4 +-
common/spl/spl_mmc.c | 2 +-
common/usb_hub.c | 9 +----
configs/sandbox_defconfig | 2 +
drivers/core/root.c | 9 +++++
drivers/core/simple-bus.c | 3 +-
drivers/i2c/i2c-uclass.c | 15 ++-----
drivers/i2c/sandbox_i2c.c | 4 +-
drivers/misc/cros_ec.c | 9 +----
drivers/mmc/dw_mmc.c | 6 +--
drivers/mmc/socfpga_dw_mmc.c | 32 ++++++++++++++-
drivers/mmc/zynq_sdhci.c | 39 +++++++++++++++---
drivers/net/phy/marvell.c | 1 +
drivers/pch/pch-uclass.c | 15 +------
drivers/pci/pci-uclass.c | 24 +----------
drivers/pci/pci_sandbox.c | 11 ++---
drivers/pinctrl/pinctrl_pic32.c | 9 +----
drivers/pinctrl/rockchip/pinctrl_rk3036.c | 9 +----
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 15 ++-----
drivers/power/Kconfig | 2 +
drivers/power/domain/Kconfig | 20 ++++++++++
drivers/power/domain/Makefile | 7 ++++
drivers/power/domain/power-domain-uclass.c | 112
+++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/power/domain/sandbox-power-domain-test.c | 55
+++++++++++++++++++++++++
drivers/power/domain/sandbox-power-domain.c | 104
+++++++++++++++++++++++++++++++++++++++++++++++
drivers/power/pmic/pm8916.c | 9 +----
drivers/power/regulator/Kconfig | 2 +-
drivers/spi/spi-uclass.c | 9 +----
drivers/spmi/spmi-uclass.c | 8 +---
drivers/usb/emul/usb-emul-uclass.c | 9 +----
drivers/usb/host/ehci-zynq.c | 103
+++++++++++++++++++++++------------------------
drivers/usb/host/usb-uclass.c | 9 +----
include/dm/device.h | 16 ++++++++
include/dm/uclass-id.h | 1 +
include/dwmmc.h | 11 ++---
include/power-domain-uclass.h | 82
+++++++++++++++++++++++++++++++++++++
include/power-domain.h | 120
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/power/regulator.h | 2 +-
test/dm/Makefile | 1 +
test/dm/bus.c | 3 +-
test/dm/i2c.c | 4 +-
test/dm/power-domain.c | 46 +++++++++++++++++++++
test/dm/spi.c | 4 +-
51 files changed, 785 insertions(+), 238 deletions(-)
create mode 100644 arch/sandbox/include/asm/power-domain.h
create mode 100644 drivers/power/domain/Kconfig
create mode 100644 drivers/power/domain/Makefile
create mode 100644 drivers/power/domain/power-domain-uclass.c
create mode 100644 drivers/power/domain/sandbox-power-domain-test.c
create mode 100644 drivers/power/domain/sandbox-power-domain.c
create mode 100644 include/power-domain-uclass.h
create mode 100644 include/power-domain.h
create mode 100644 test/dm/power-domain.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-17 17:05 ` Tom Rini
@ 2016-07-22 13:31 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-07-22 13:31 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 17 July 2016 at 11:05, Tom Rini <trini@konsulko.com> wrote:
> On Sun, Jul 17, 2016 at 08:14:47AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 15 July 2016 at 10:29, Tom Rini <trini@konsulko.com> wrote:
>> > On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote:
>> >> Hi Tom,
>> >>
>> >> On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
>> >> > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
>> >> >> Hi Tom,
>> >> >>
>> >> >> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
>> >> >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
>> >> >> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
>> >> >> >> >Hi Tom,
>> >> >> >> >
>> >> >> >> >Here is the of-platdata implementation, including the introduction of
>> >> >> >> >sandbox_spl.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>> >> >> >> >
>> >> >> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>> >> >> >> >17:36:18 -0400)
>> >> >> >> >
>> >> >> >> >are available in the git repository at:
>> >> >> >> >
>> >> >> >> > git://git.denx.de/u-boot-dm.git
>> >> >> >> >
>> >> >> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>> >> >> >> >
>> >> >> >> > dm: Update the of-platdata README for the new features (2016-07-14
>> >> >> >> >20:40:24 -0600)
>> >> >> >>
>> >> >> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
>> >> >> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
>> >> >> >> all the 32-bit Tegra boards I'm testing.
>> >> >> >
>> >> >> > It's also adding a warning:
>> >> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
>> >> >> > array initialize
>> >> >> > r
>> >> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
>> >> >> > initialization for ?dtv_spl_t
>> >> >> > est2.stringarray?)
>> >> >>
>> >> >> What toolchain is this? Can you please send me the dt-platdata.c and
>> >> >> include/generated/dt-structs.h files?
>> >> >
>> >> > I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
>> >> > off-list.
>> >>
>> >> OK, I'm a bit stumped by that. There are two string arrays - it should
>> >> set the type to the larger of the two (i.e. 3 elements instead of 2).
>> >> I don't see this problem in my self. What version of Python do you
>> >> run? I will dig in and see if I can figure out what it is later on
>> >> today.
>> >
>> > It's a stock Debian/Jessie, so whatever is default.
>>
>> OK thanks. I'll try installing it. Do you use 32-bit or 64-bit? (in
>> case it matters)
>
> 64bit.
OK, it didn't happen for me on Jessie but I managed to repeat this on
an old Precise install. It's a simple fix...will send a patch. Great
that you found it.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-17 14:14 ` Simon Glass
@ 2016-07-17 17:05 ` Tom Rini
2016-07-22 13:31 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2016-07-17 17:05 UTC (permalink / raw)
To: u-boot
On Sun, Jul 17, 2016 at 08:14:47AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 15 July 2016 at 10:29, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
> >> > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
> >> >> Hi Tom,
> >> >>
> >> >> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
> >> >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
> >> >> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
> >> >> >> >Hi Tom,
> >> >> >> >
> >> >> >> >Here is the of-platdata implementation, including the introduction of
> >> >> >> >sandbox_spl.
> >> >> >> >
> >> >> >> >
> >> >> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
> >> >> >> >
> >> >> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> >> >> >> >17:36:18 -0400)
> >> >> >> >
> >> >> >> >are available in the git repository at:
> >> >> >> >
> >> >> >> > git://git.denx.de/u-boot-dm.git
> >> >> >> >
> >> >> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
> >> >> >> >
> >> >> >> > dm: Update the of-platdata README for the new features (2016-07-14
> >> >> >> >20:40:24 -0600)
> >> >> >>
> >> >> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
> >> >> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
> >> >> >> all the 32-bit Tegra boards I'm testing.
> >> >> >
> >> >> > It's also adding a warning:
> >> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
> >> >> > array initialize
> >> >> > r
> >> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
> >> >> > initialization for ?dtv_spl_t
> >> >> > est2.stringarray?)
> >> >>
> >> >> What toolchain is this? Can you please send me the dt-platdata.c and
> >> >> include/generated/dt-structs.h files?
> >> >
> >> > I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
> >> > off-list.
> >>
> >> OK, I'm a bit stumped by that. There are two string arrays - it should
> >> set the type to the larger of the two (i.e. 3 elements instead of 2).
> >> I don't see this problem in my self. What version of Python do you
> >> run? I will dig in and see if I can figure out what it is later on
> >> today.
> >
> > It's a stock Debian/Jessie, so whatever is default.
>
> OK thanks. I'll try installing it. Do you use 32-bit or 64-bit? (in
> case it matters)
64bit.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160717/38676779/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-17 14:14 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 15 July 2016 at 10:29, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
>> > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
>> >> Hi Tom,
>> >>
>> >> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
>> >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
>> >> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
>> >> >> >Hi Tom,
>> >> >> >
>> >> >> >Here is the of-platdata implementation, including the introduction of
>> >> >> >sandbox_spl.
>> >> >> >
>> >> >> >
>> >> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>> >> >> >
>> >> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>> >> >> >17:36:18 -0400)
>> >> >> >
>> >> >> >are available in the git repository at:
>> >> >> >
>> >> >> > git://git.denx.de/u-boot-dm.git
>> >> >> >
>> >> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>> >> >> >
>> >> >> > dm: Update the of-platdata README for the new features (2016-07-14
>> >> >> >20:40:24 -0600)
>> >> >>
>> >> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
>> >> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
>> >> >> all the 32-bit Tegra boards I'm testing.
>> >> >
>> >> > It's also adding a warning:
>> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
>> >> > array initialize
>> >> > r
>> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
>> >> > initialization for ?dtv_spl_t
>> >> > est2.stringarray?)
>> >>
>> >> What toolchain is this? Can you please send me the dt-platdata.c and
>> >> include/generated/dt-structs.h files?
>> >
>> > I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
>> > off-list.
>>
>> OK, I'm a bit stumped by that. There are two string arrays - it should
>> set the type to the larger of the two (i.e. 3 elements instead of 2).
>> I don't see this problem in my self. What version of Python do you
>> run? I will dig in and see if I can figure out what it is later on
>> today.
>
> It's a stock Debian/Jessie, so whatever is default.
OK thanks. I'll try installing it. Do you use 32-bit or 64-bit? (in
case it matters)
I suspect the problem might be my relying on dictionary order somehow.
>
>> But given that sandbox_spl is a new board, perhaps it is OK to apply
>> this for now?
>
> Yeah, but please follow up with a patch to fix the test thing Stephen
> found and I'll grab it before pushing, test failures turn his Jenkins
> setup red and then other stuff doesn't happen, iirc. Thanks!
OK (as you saw) that is done.
>
> --
> Tom
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 4:02 Simon Glass
2016-07-15 15:28 ` Stephen Warren
@ 2016-07-16 13:51 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-07-16 13:51 UTC (permalink / raw)
To: u-boot
On Thu, Jul 14, 2016 at 10:02:40PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here is the of-platdata implementation, including the introduction of
> sandbox_spl.
>
>
> The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>
> Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> 17:36:18 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>
> dm: Update the of-platdata README for the new features (2016-07-14
> 20:40:24 -0600)
>
Applied to u-boot/master, thanks!
But please note:
+(sandbox_spl) .stringarray = {"another", "multi-word", "message"},
+(sandbox_spl) ^
w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in array initialize
r
w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near initialization for ?dtv_spl_t
est2.stringarray?)
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/6fa55c59/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 16:29 ` Tom Rini
@ 2016-07-15 22:41 ` Stephen Warren
2016-07-17 14:14 ` Simon Glass
1 sibling, 0 replies; 300+ messages in thread
From: Stephen Warren @ 2016-07-15 22:41 UTC (permalink / raw)
To: u-boot
On 07/15/2016 10:29 AM, Tom Rini wrote:
> On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
>>> On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
>>>> Hi Tom,
>>>>
>>>> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
>>>>> On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
>>>>>> On 07/14/2016 10:02 PM, Simon Glass wrote:
>>>>>>> Hi Tom,
>>>>>>>
>>>>>>> Here is the of-platdata implementation, including the introduction of
>>>>>>> sandbox_spl.
>>>>>>>
>>>>>>>
>>>>>>> The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>>>>>>>
>>>>>>> Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>>>>>>> 17:36:18 -0400)
>>>>>>>
>>>>>>> are available in the git repository at:
>>>>>>>
>>>>>>> git://git.denx.de/u-boot-dm.git
>>>>>>>
>>>>>>> for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>>>>>>>
>>>>>>> dm: Update the of-platdata README for the new features (2016-07-14
>>>>>>> 20:40:24 -0600)
>>>>>>
>>>>>> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
>>>>>> on the following boards for me: beaver, dalmore, jetson-tk1. That's
>>>>>> all the 32-bit Tegra boards I'm testing.
>>>>>
>>>>> It's also adding a warning:
>>>>> w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
>>>>> array initialize
>>>>> r
>>>>> w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
>>>>> initialization for ?dtv_spl_t
>>>>> est2.stringarray?)
>>>>
>>>> What toolchain is this? Can you please send me the dt-platdata.c and
>>>> include/generated/dt-structs.h files?
>>>
>>> I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
>>> off-list.
>>
>> OK, I'm a bit stumped by that. There are two string arrays - it should
>> set the type to the larger of the two (i.e. 3 elements instead of 2).
>> I don't see this problem in my self. What version of Python do you
>> run? I will dig in and see if I can figure out what it is later on
>> today.
>
> It's a stock Debian/Jessie, so whatever is default.
>
>> But given that sandbox_spl is a new board, perhaps it is OK to apply
>> this for now?
>
> Yeah, but please follow up with a patch to fix the test thing Stephen
> found and I'll grab it before pushing, test failures turn his Jenkins
> setup red and then other stuff doesn't happen, iirc. Thanks!
Build failures prevent any tests from running on any boards,
unfortunately (perhaps I should make separate Jenkins jobs for each
board, or make the test trigger not depend on the build status).
Test failures don't prevent any other tests from running, but they do
make it harder to notice new failures; in the face of test failures,
each Jenkins test job has both an old and a new status of "failed" and I
then have to manually compare the list of failed tests. It's much easier
to notice new failures.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
0 siblings, 2 replies; 300+ messages in thread
From: Tom Rini @ 2016-07-15 16:29 UTC (permalink / raw)
To: u-boot
On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
> >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
> >> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
> >> >> >Hi Tom,
> >> >> >
> >> >> >Here is the of-platdata implementation, including the introduction of
> >> >> >sandbox_spl.
> >> >> >
> >> >> >
> >> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
> >> >> >
> >> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> >> >> >17:36:18 -0400)
> >> >> >
> >> >> >are available in the git repository at:
> >> >> >
> >> >> > git://git.denx.de/u-boot-dm.git
> >> >> >
> >> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
> >> >> >
> >> >> > dm: Update the of-platdata README for the new features (2016-07-14
> >> >> >20:40:24 -0600)
> >> >>
> >> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
> >> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
> >> >> all the 32-bit Tegra boards I'm testing.
> >> >
> >> > It's also adding a warning:
> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
> >> > array initialize
> >> > r
> >> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
> >> > initialization for ?dtv_spl_t
> >> > est2.stringarray?)
> >>
> >> What toolchain is this? Can you please send me the dt-platdata.c and
> >> include/generated/dt-structs.h files?
> >
> > I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
> > off-list.
>
> OK, I'm a bit stumped by that. There are two string arrays - it should
> set the type to the larger of the two (i.e. 3 elements instead of 2).
> I don't see this problem in my self. What version of Python do you
> run? I will dig in and see if I can figure out what it is later on
> today.
It's a stock Debian/Jessie, so whatever is default.
> But given that sandbox_spl is a new board, perhaps it is OK to apply
> this for now?
Yeah, but please follow up with a patch to fix the test thing Stephen
found and I'll grab it before pushing, test failures turn his Jenkins
setup red and then other stuff doesn't happen, iirc. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160715/4faeb904/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 16:13 ` Tom Rini
@ 2016-07-15 16:22 ` Simon Glass
2016-07-15 16:29 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-15 16:22 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 15 July 2016 at 10:13, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
>> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
>> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
>> >> >Hi Tom,
>> >> >
>> >> >Here is the of-platdata implementation, including the introduction of
>> >> >sandbox_spl.
>> >> >
>> >> >
>> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>> >> >
>> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>> >> >17:36:18 -0400)
>> >> >
>> >> >are available in the git repository at:
>> >> >
>> >> > git://git.denx.de/u-boot-dm.git
>> >> >
>> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>> >> >
>> >> > dm: Update the of-platdata README for the new features (2016-07-14
>> >> >20:40:24 -0600)
>> >>
>> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
>> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
>> >> all the 32-bit Tegra boards I'm testing.
>> >
>> > It's also adding a warning:
>> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
>> > array initialize
>> > r
>> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
>> > initialization for ?dtv_spl_t
>> > est2.stringarray?)
>>
>> What toolchain is this? Can you please send me the dt-platdata.c and
>> include/generated/dt-structs.h files?
>
> I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
> off-list.
OK, I'm a bit stumped by that. There are two string arrays - it should
set the type to the larger of the two (i.e. 3 elements instead of 2).
I don't see this problem in my self. What version of Python do you
run? I will dig in and see if I can figure out what it is later on
today.
But given that sandbox_spl is a new board, perhaps it is OK to apply
this for now?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 16:08 ` Simon Glass
@ 2016-07-15 16:13 ` Tom Rini
2016-07-15 16:22 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2016-07-15 16:13 UTC (permalink / raw)
To: u-boot
On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
> >> On 07/14/2016 10:02 PM, Simon Glass wrote:
> >> >Hi Tom,
> >> >
> >> >Here is the of-platdata implementation, including the introduction of
> >> >sandbox_spl.
> >> >
> >> >
> >> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
> >> >
> >> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> >> >17:36:18 -0400)
> >> >
> >> >are available in the git repository at:
> >> >
> >> > git://git.denx.de/u-boot-dm.git
> >> >
> >> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
> >> >
> >> > dm: Update the of-platdata README for the new features (2016-07-14
> >> >20:40:24 -0600)
> >>
> >> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
> >> on the following boards for me: beaver, dalmore, jetson-tk1. That's
> >> all the 32-bit Tegra boards I'm testing.
> >
> > It's also adding a warning:
> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
> > array initialize
> > r
> > w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
> > initialization for ?dtv_spl_t
> > est2.stringarray?)
>
> What toolchain is this? Can you please send me the dt-platdata.c and
> include/generated/dt-structs.h files?
I believe that was in Debian/Jessie and gcc-4.9.2. I'll send the files
off-list.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160715/f01f493f/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 15:46 ` Tom Rini
@ 2016-07-15 16:08 ` Simon Glass
2016-07-15 16:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-15 16:08 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 15 July 2016 at 09:46, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
>> On 07/14/2016 10:02 PM, Simon Glass wrote:
>> >Hi Tom,
>> >
>> >Here is the of-platdata implementation, including the introduction of
>> >sandbox_spl.
>> >
>> >
>> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>> >
>> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>> >17:36:18 -0400)
>> >
>> >are available in the git repository at:
>> >
>> > git://git.denx.de/u-boot-dm.git
>> >
>> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>> >
>> > dm: Update the of-platdata README for the new features (2016-07-14
>> >20:40:24 -0600)
>>
>> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
>> on the following boards for me: beaver, dalmore, jetson-tk1. That's
>> all the 32-bit Tegra boards I'm testing.
>
> It's also adding a warning:
> w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
> array initialize
> r
> w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
> initialization for ?dtv_spl_t
> est2.stringarray?)
What toolchain is this? Can you please send me the dt-platdata.c and
include/generated/dt-structs.h files?
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-15 15:28 ` Stephen Warren
2016-07-15 15:46 ` Tom Rini
@ 2016-07-15 16:08 ` Simon Glass
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-07-15 16:08 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 15 July 2016 at 09:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 07/14/2016 10:02 PM, Simon Glass wrote:
>>
>> Hi Tom,
>>
>> Here is the of-platdata implementation, including the introduction of
>> sandbox_spl.
>>
>>
>> The following changes since commit
>> 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>>
>> Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
>> 17:36:18 -0400)
>>
>> are available in the git repository at:
>>
>> git://git.denx.de/u-boot-dm.git
>>
>> for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>>
>> dm: Update the of-platdata README for the new features (2016-07-14
>> 20:40:24 -0600)
>
>
> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata() on the
> following boards for me: beaver, dalmore, jetson-tk1. That's all the 32-bit
> Tegra boards I'm testing.
That's probably because it is not enabled for Tegra, so it should not
be run. I suspect the test condition is insufficient and should
include OF_PLATDATA:
@pytest.mark.buildconfigspec('spl')
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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:08 ` Simon Glass
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2016-07-15 15:46 UTC (permalink / raw)
To: u-boot
On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote:
> On 07/14/2016 10:02 PM, Simon Glass wrote:
> >Hi Tom,
> >
> >Here is the of-platdata implementation, including the introduction of
> >sandbox_spl.
> >
> >
> >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
> >
> > Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> >17:36:18 -0400)
> >
> >are available in the git repository at:
> >
> > git://git.denx.de/u-boot-dm.git
> >
> >for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
> >
> > dm: Update the of-platdata README for the new features (2016-07-14
> >20:40:24 -0600)
>
> FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata()
> on the following boards for me: beaver, dalmore, jetson-tk1. That's
> all the 32-bit Tegra boards I'm testing.
It's also adding a warning:
w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: excess elements in
array initialize
r
w+(sandbox_spl) spl/dts/dt-platdata.c:38:2: warning: (near
initialization for ?dtv_spl_t
est2.stringarray?)
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160715/97478aff/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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-16 13:51 ` Tom Rini
1 sibling, 2 replies; 300+ messages in thread
From: Stephen Warren @ 2016-07-15 15:28 UTC (permalink / raw)
To: u-boot
On 07/14/2016 10:02 PM, Simon Glass wrote:
> Hi Tom,
>
> Here is the of-platdata implementation, including the introduction of
> sandbox_spl.
>
>
> The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
>
> Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
> 17:36:18 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
>
> dm: Update the of-platdata README for the new features (2016-07-14
> 20:40:24 -0600)
FYI, the latest u-boot-dm/mater fails test/py test test_ofplatdata() on
the following boards for me: beaver, dalmore, jetson-tk1. That's all the
32-bit Tegra boards I'm testing.
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-07-15 4:02 Simon Glass
2016-07-15 15:28 ` Stephen Warren
2016-07-16 13:51 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2016-07-15 4:02 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the of-platdata implementation, including the introduction of
sandbox_spl.
The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
17:36:18 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
dm: Update the of-platdata README for the new features (2016-07-14
20:40:24 -0600)
----------------------------------------------------------------
Simon Glass (62):
sandbox: Don't print a warning for CONFIG_I2C_COMPAT
README: Remove CONFIG_SYS_MALLOC_F_LEN comment
spl: Drop include of i2c.h
Makefile: Allow the SPL final link rule to be overridden
sandbox: Allow chaining from SPL to U-Boot proper
sandbox: Support building an SPL image
sandbox: Correct header file order in cpu.c
sandbox: Add some missing headers in cpu.c
sandbox: Don't use PCI in SPL
sandbox: Don't include the main loop in SPL
sandbox: Add basic SPL implementation
sandbox: Don't use IDE and iotrace in SPL
sandbox: serial: Don't sync video in SPL
sandbox: Add a new sandbox_spl board
sandbox: Add a test device that uses of-platdata
dm: spl: Don't set up device tree with of-platdata
dm: Makefile: Build of-platdata before SPL
dm: core: Don't use device tree with of-platdata
dm: regmap: Add a dummy implementation for of-platdata
dm: syscon: Add support for of-platdata
dm: sandbox: Add a simple driver to test of-platdata
dm: Add a header that provides access to the of-platdata structs
dm: clk: Add support for of-platdata
dm: serial: Add support for of-platdata
dm: Don't include fdtdec functions when of-platdata is enabled
dm: Add an option to enable the of-platdata feature
dm: Add a README for of-platdata
dm: Add a library to provide simple device-tree access
dm: Add a tool to generate C code from a device tree
dm: Makefile: Build of-platdata files when the feature is enabled
dm: Add a more efficient libfdt library
Only build the libfdt python module if 'swig' is available
tiny-printf: Support assert()
dm: spl: Bind in all devices in SPL with of-platdata
dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED
dtoc: Ignore the u-boot, dm-pre-reloc property
dm: Don't attach the device tree to SPL with of-platdata
dm: core: Expand platdata for of-platdata devices
sandbox: Don't bring in the eeprom emulator in SPL
dm: sandbox: Enable of-platdata for sandbox_spl
dm: core: Move regmap allocation into a separate function
dm: core: Add an implementation of regmap_init_mem_platdata()
dm: serial: ns16550: Update to support of-platdata
rockchip: serial: Add an of-platdata driver for rockchip
rockchip: Update the sdram-channel property to support of-platdata
rockchip: mmc: Move all DT decoding to ofdata_to_platdata()
rockchip: mmc: Update the driver to support of-platdata
rockchip: clk: Move all DT decoding to ofdata_to_platdata()
rockchip: clk: Update the rk3288 driver to support of-platdata
rockchip: pinctrl: Update the rk3288 driver to support of-platdata
rockchip: Move the MMC setup check earlier
rockchip: Don't use spl_boot_device() with of-platdata
rockchip: syscon: Update to work with of-platdata
rockchip: sdram: Move all DT decoding to ofdata_to_platdata()
rockchip: sdram: Update the driver to support of-platdata
rockchip: Use of-platdata for firefly-rk3288
test/py: Handle testing with the sandbox_spl board
test/py: Note which console produced unexpected output
test/py: Provide a way to get early console output
test/py: Start sandbox SPL when enabled
dm: Add a test for of-platdata
dm: Update the of-platdata README for the new features
Makefile | 5 +-
README | 3 -
arch/arm/dts/rk3288-firefly.dts | 3 +-
arch/arm/include/asm/arch-rockchip/sdram.h | 14 +--
arch/arm/mach-rockchip/rk3288-board-spl.c | 25 ++--
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 130 +++++++++++++++-----
arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 38 ++++++
arch/sandbox/Kconfig | 7 +-
arch/sandbox/config.mk | 5 +
arch/sandbox/cpu/Makefile | 1 +
arch/sandbox/cpu/cpu.c | 6 +-
arch/sandbox/cpu/os.c | 51 ++++++++
arch/sandbox/cpu/spl.c | 68 +++++++++++
arch/sandbox/cpu/start.c | 2 +
arch/sandbox/cpu/u-boot-spl.lds | 24 ++++
arch/sandbox/dts/sandbox.dts | 31 +++++
arch/sandbox/include/asm/spl.h | 23 ++++
arch/sandbox/lib/Makefile | 2 +
board/sandbox/MAINTAINERS | 7 ++
common/spl/spl.c | 6 +-
configs/firefly-rk3288_defconfig | 3 +
configs/sandbox_spl_defconfig | 183 +++++++++++++++++++++++++++
doc/driver-model/of-plat.txt | 310
++++++++++++++++++++++++++++++++++++++++++++++
drivers/clk/clk-uclass.c | 22 +++-
drivers/clk/clk_fixed_rate.c | 2 +
drivers/clk/clk_rk3288.c | 33 ++++-
drivers/core/device-remove.c | 2 +-
drivers/core/device.c | 47 +++++--
drivers/core/lists.c | 2 +-
drivers/core/regmap.c | 57 +++++++--
drivers/core/root.c | 4 +-
drivers/core/syscon-uclass.c | 13 ++
drivers/misc/Makefile | 7 ++
drivers/misc/spltest_sandbox.c | 53 ++++++++
drivers/mmc/rockchip_dw_mmc.c | 59 ++++++---
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +-
drivers/serial/Kconfig | 9 ++
drivers/serial/Makefile | 3 +
drivers/serial/ns16550.c | 4 +-
drivers/serial/sandbox.c | 2 +
drivers/serial/serial-uclass.c | 8 +-
drivers/serial/serial_rockchip.c | 43 +++++++
dts/Kconfig | 21 ++++
include/clk.h | 4 +
include/configs/sandbox.h | 4 +
include/configs/sandbox_spl.h | 20 +++
include/dm/device.h | 6 +-
include/dm/platdata.h | 5 +
include/dt-structs.h | 19 +++
include/os.h | 25 ++++
include/regmap.h | 16 +++
include/syscon.h | 11 ++
lib/Makefile | 5 +-
lib/libfdt/libfdt.swig | 89 ++++++++++++++
lib/libfdt/setup.py | 38 ++++++
lib/libfdt/test_libfdt.py | 14 +++
lib/tiny-printf.c | 9 ++
scripts/Makefile.host | 9 +-
scripts/Makefile.spl | 47 ++++++-
test/py/conftest.py | 2 +-
test/py/tests/test_ofplatdata.py | 42 +++++++
test/py/u_boot_console_base.py | 12 +-
test/py/u_boot_console_sandbox.py | 6 +-
test/py/u_boot_spawn.py | 13 ++
tools/Makefile | 14 +++
tools/dtoc/.gitignore | 1 +
tools/dtoc/dtoc | 1 +
tools/dtoc/dtoc.py | 394
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/dtoc/fdt.py | 180 +++++++++++++++++++++++++++
tools/dtoc/fdt_fallback.py | 207
+++++++++++++++++++++++++++++++
tools/dtoc/fdt_util.py | 86 +++++++++++++
71 files changed, 2495 insertions(+), 130 deletions(-)
create mode 100644 arch/sandbox/cpu/spl.c
create mode 100644 arch/sandbox/cpu/u-boot-spl.lds
create mode 100644 arch/sandbox/include/asm/spl.h
create mode 100644 configs/sandbox_spl_defconfig
create mode 100644 doc/driver-model/of-plat.txt
create mode 100644 drivers/misc/spltest_sandbox.c
create mode 100644 drivers/serial/serial_rockchip.c
create mode 100644 include/configs/sandbox_spl.h
create mode 100644 include/dt-structs.h
create mode 100644 lib/libfdt/libfdt.swig
create mode 100644 lib/libfdt/setup.py
create mode 100644 lib/libfdt/test_libfdt.py
create mode 100644 test/py/tests/test_ofplatdata.py
create mode 100644 tools/dtoc/.gitignore
create mode 120000 tools/dtoc/dtoc
create mode 100755 tools/dtoc/dtoc.py
create mode 100644 tools/dtoc/fdt.py
create mode 100644 tools/dtoc/fdt_fallback.py
create mode 100644 tools/dtoc/fdt_util.py
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-11 22:08 Simon Glass
@ 2016-07-12 17:59 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-07-12 17:59 UTC (permalink / raw)
To: u-boot
On Mon, Jul 11, 2016 at 04:08:46PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes the MMC block-device stuff (which needs lots of testing
> time), cleaning up some fdtdec COMPAT strings and some patman improvements.
>
> The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e:
>
> Prepare v2016.07 (2016-07-11 15:01:01 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 94fbd3e37d6bdbf5490a185607ca20f862637220:
>
> tools: patman: Handle missing 'END' in non-last commit of a series
> (2016-07-11 14:06:44 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160712/4e3c01f9/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-07-11 22:08 Simon Glass
2016-07-12 17:59 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-11 22:08 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the MMC block-device stuff (which needs lots of testing
time), cleaning up some fdtdec COMPAT strings and some patman improvements.
The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e:
Prepare v2016.07 (2016-07-11 15:01:01 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 94fbd3e37d6bdbf5490a185607ca20f862637220:
tools: patman: Handle missing 'END' in non-last commit of a series
(2016-07-11 14:06:44 -0600)
----------------------------------------------------------------
Bin Meng (6):
dm: Sort the uclass id in alphabetical order
tools: patman: Use cover_match for 'Cover-letter'
tools: patman: Handle tag sections without an 'END'
tools: patman: Generate cover letter correctly when 'END' is missing
tools: patman: Handle missing blank line for 'Series-changes'
tools: patman: Handle missing 'END' in non-last commit of a series
Hamish Martin (1):
dm: gpio: MPC85XX GPIO platform data support
Simon Glass (26):
dm: mmc: dwmmc: Add comments to the dwmmc setup functions
rockchip: Use 'select' instead of defaults in Kconfig
mmc: Add function declarations for mmc_bread() and mmc_switch_part()
dm: mmc: Move CONFIG_BLK code into the mmc uclass
dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c
mmc: Move MMC boot code into its own file
dm: mmc: rockchip: Support only CONFIG_BLK
mmc: Move tracing code into separate functions
rockchip: Disable CONFIG_SDHCI
dm: mmc: Add a way to use driver model for MMC operations
dm: mmc: dwmmc: Support CONFIG_DM_MMC_OPS
dm: mmc: rockchip: Enable CONFIG_DM_MMC_OPS for all boards
rockchip: Add MAINTAINER files for kylin_rk3036, evb_rk3036
dm: sandbox: Convert to use CONFIG_CMD_MMC_OPS
dm: mmc: sdhci: Refactor configuration setup to support DM
dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS
dm: mmc: msm_sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS
dm: mmc: Move dragonboard410c to use CONFIG_BLK and CONFIG_DM_MMC_OPS
dm: mmc: msmsdhic: Drop old MMC code
dm: spl: mmc: Support CONFIG_BLK in SPL MMC
dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC
x86: fdt: Drop the unused compatible strings in fdtdec
fdt: Drop unused exynos compatible strings
fdt: Add a note to avoid adding new compatible strings
fdt: x86: Tidy up a few COMPAT string definitions
sandbox: Find keyboard driver using driver model
Xu Ziyuan (1):
common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV
arch/Kconfig | 1 +
arch/arm/Kconfig | 11 +++
arch/arm/mach-rockchip/Kconfig | 27 ------
arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 6 ++
arch/x86/cpu/ivybridge/lpc.c | 6 --
board/evb_rk3036/evb_rk3036/MAINTAINERS | 6 ++
board/kylin/kylin_rk3036/MAINTAINERS | 6 ++
common/fb_mmc.c | 2 +-
common/spl/spl_mmc.c | 6 +-
configs/dragonboard410c_defconfig | 2 +
configs/sandbox_defconfig | 4 +-
drivers/dfu/dfu_mmc.c | 11 ++-
drivers/gpio/mpc85xx_gpio.c | 37 ++++++--
drivers/misc/cros_ec_sandbox.c | 11 ++-
drivers/mmc/Kconfig | 11 ++-
drivers/mmc/Makefile | 3 +
drivers/mmc/dw_mmc.c | 33 +++++++
drivers/mmc/mmc-uclass.c | 146
+++++++++++++++++++++++++++++++
drivers/mmc/mmc.c | 371
+++++++++++--------------------------------------------------------------------
drivers/mmc/mmc_boot.c | 131
++++++++++++++++++++++++++++
drivers/mmc/mmc_legacy.c | 91 ++++++++++++++++++++
drivers/mmc/mmc_private.h | 47 ++++++++++
drivers/mmc/msm_sdhci.c | 35 +++++++-
drivers/mmc/rockchip_dw_mmc.c | 14 +--
drivers/mmc/sandbox_mmc.c | 17 ++--
drivers/mmc/sdhci.c | 147
++++++++++++++++++++-----------
include/configs/rk3036_common.h | 1 -
include/configs/rk3288_common.h | 1 -
include/dm/uclass-id.h | 4 +-
include/dwmmc.h | 73 ++++++++++++++++
include/fdtdec.h | 8 --
include/mmc.h | 66 +++++++++++++-
include/sdhci.h | 80 +++++++++++++++++
lib/fdtdec.c | 19 ++--
tools/patman/patchstream.py | 38 +++++++-
35 files changed, 995 insertions(+), 477 deletions(-)
create mode 100644 drivers/mmc/mmc_boot.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-07-07 21:45 Simon Glass
@ 2016-07-08 19:18 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-07-08 19:18 UTC (permalink / raw)
To: u-boot
On Thu, Jul 07, 2016 at 03:45:47PM -0600, Simon Glass wrote:
> Hi Tom,
>
> A little fix.
>
> The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0:
>
> Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 3cc5cda761c14628b25131bfc0db5dee433a52aa:
>
> mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe() (2016-07-07
> 10:10:29 -0600)
>
> ----------------------------------------------------------------
> Mateusz Kulikowski (1):
> mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()
>
> drivers/mmc/msm_sdhci.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Sorry, I didn't see this before I just applied the patch directly.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160708/232cddbc/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-07-07 21:45 Simon Glass
2016-07-08 19:18 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-07-07 21:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
A little fix.
The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0:
Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 3cc5cda761c14628b25131bfc0db5dee433a52aa:
mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe() (2016-07-07
10:10:29 -0600)
----------------------------------------------------------------
Mateusz Kulikowski (1):
mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()
drivers/mmc/msm_sdhci.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-06-20 3:00 Simon Glass
@ 2016-06-20 12:44 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-06-20 12:44 UTC (permalink / raw)
To: u-boot
On Sun, Jun 19, 2016 at 09:00:05PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes changes to the clock API so I'd like to get this into
> this release to avoid too much churn.
>
>
> The following changes since commit 9ab165d8b05706284de0ee9bd402346c54ae6b15:
>
> SPL ext: cosmetic: correct error message in spl_load_image_ext()
> (2016-06-19 09:57:48 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 135aa95002646c46e89de93fa36adad1b010548f:
>
> clk: convert API to match reset/mailbox style (2016-06-19 17:05:55 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160620/31716b2c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-06-20 3:00 Simon Glass
2016-06-20 12:44 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-06-20 3:00 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes changes to the clock API so I'd like to get this into
this release to avoid too much churn.
The following changes since commit 9ab165d8b05706284de0ee9bd402346c54ae6b15:
SPL ext: cosmetic: correct error message in spl_load_image_ext()
(2016-06-19 09:57:48 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 135aa95002646c46e89de93fa36adad1b010548f:
clk: convert API to match reset/mailbox style (2016-06-19 17:05:55 -0600)
----------------------------------------------------------------
Angelo Dureghello (1):
dm: add manual relocation for devices
Robert P. J. Day (1):
lib/libfdt/: General aesthetic/style fixes.
Stephen Warren (5):
mailbox: rename headers
mailbox: add Tegra186 HSP driver
Add a reset driver framework/uclass
reset: implement a reset test
clk: convert API to match reset/mailbox style
mario.six at gdsys.cc (2):
gpio: pca953x: Fix register reading past 8th GPIO
sandbox: gpio: doc: Fix parameter documentation
arch/arm/dts/tegra186.dtsi | 13 +++
arch/arm/include/asm/arch-rockchip/clock.h | 12 ---
arch/arm/mach-rockchip/board.c | 39 +++++++-
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 15 ++-
arch/arm/mach-snapdragon/clock-apq8016.c | 10 +-
arch/arm/mach-tegra/Kconfig | 2 +
arch/arm/mach-zynq/clk.c | 1 -
arch/mips/mach-pic32/cpu.c | 45 +++++----
arch/sandbox/dts/test.dts | 28 +++++-
arch/sandbox/include/asm/clk.h | 111 +++++++++++++++++++++
arch/sandbox/include/asm/gpio.h | 16 +--
arch/sandbox/include/asm/reset.h | 21 ++++
arch/sandbox/include/asm/test.h | 9 --
board/microchip/pic32mzda/pic32mzda.c | 21 +++-
configs/sandbox_defconfig | 10 +-
doc/device-tree-bindings/reset/reset.txt | 75 ++++++++++++++
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-uclass.c | 202
+++++++++++++++++++++++++++-----------
drivers/clk/clk_fixed_rate.c | 13 +--
drivers/clk/clk_pic32.c | 32 +++---
drivers/clk/clk_rk3036.c | 83 ++++------------
drivers/clk/clk_rk3288.c | 143
+++++----------------------
drivers/clk/clk_sandbox.c | 85 ++++++++++------
drivers/clk/clk_sandbox_test.c | 101 +++++++++++++++++++
drivers/clk/exynos/clk-exynos7420.c | 42 ++++----
drivers/clk/uniphier/clk-uniphier-core.c | 26 ++---
drivers/clk/uniphier/clk-uniphier-mio.c | 1 -
drivers/core/root.c | 15 +++
drivers/gpio/pca953x_gpio.c | 4 +-
drivers/i2c/rk_i2c.c | 6 +-
drivers/mailbox/Kconfig | 7 ++
drivers/mailbox/Makefile | 1 +
drivers/mailbox/mailbox-uclass.c | 4 +-
drivers/mailbox/sandbox-mbox-test.c | 2 +-
drivers/mailbox/sandbox-mbox.c | 2 +-
drivers/mailbox/tegra-hsp.c | 163
+++++++++++++++++++++++++++++++
drivers/mmc/msm_sdhci.c | 13 ++-
drivers/mmc/rockchip_dw_mmc.c | 6 +-
drivers/mmc/uniphier-sd.c | 15 +--
drivers/reset/Kconfig | 23 +++++
drivers/reset/Makefile | 7 ++
drivers/reset/reset-uclass.c | 131 +++++++++++++++++++++++++
drivers/reset/sandbox-reset-test.c | 55 +++++++++++
drivers/reset/sandbox-reset.c | 108 +++++++++++++++++++++
drivers/serial/serial_msm.c | 13 ++-
drivers/serial/serial_pic32.c | 7 +-
drivers/serial/serial_s5p.c | 6 +-
drivers/spi/rk_spi.c | 6 +-
drivers/usb/host/ehci-generic.c | 14 +--
drivers/video/rockchip/rk_edp.c | 11 +--
drivers/video/rockchip/rk_hdmi.c | 12 +--
drivers/video/rockchip/rk_lvds.c | 1 -
drivers/video/rockchip/rk_vop.c | 11 ++-
include/clk-uclass.h | 95 ++++++++++++++++++
include/clk.h | 220
+++++++++++++++++++++++++-----------------
include/dm/uclass-id.h | 1 +
include/dt-bindings/mailbox/tegra-hsp.h | 14 +++
include/{mailbox_uclass.h => mailbox-uclass.h} | 4 +-
include/{mailbox_client.h => mailbox.h} | 6 +-
include/reset-uclass.h | 81 ++++++++++++++++
include/reset.h | 135 ++++++++++++++++++++++++++
lib/libfdt/Makefile | 12 ++-
lib/libfdt/README | 16 +--
lib/libfdt/fdt.c | 2 +-
lib/libfdt/fdt_addresses.c | 2 +-
lib/libfdt/fdt_empty_tree.c | 3 +-
lib/libfdt/fdt_region.c | 144
+++++++++++++--------------
lib/libfdt/fdt_ro.c | 10 +-
lib/libfdt/fdt_rw.c | 6 +-
lib/libfdt/fdt_strerror.c | 2 +-
lib/libfdt/fdt_sw.c | 3 +-
lib/libfdt/fdt_wip.c | 6 +-
test/dm/Makefile | 1 +
test/dm/clk.c | 110 ++++++++++++++-------
test/dm/reset.c | 39 ++++++++
77 files changed, 2028 insertions(+), 687 deletions(-)
create mode 100644 arch/sandbox/include/asm/clk.h
create mode 100644 arch/sandbox/include/asm/reset.h
create mode 100644 doc/device-tree-bindings/reset/reset.txt
create mode 100644 drivers/clk/clk_sandbox_test.c
create mode 100644 drivers/mailbox/tegra-hsp.c
create mode 100644 drivers/reset/Kconfig
create mode 100644 drivers/reset/Makefile
create mode 100644 drivers/reset/reset-uclass.c
create mode 100644 drivers/reset/sandbox-reset-test.c
create mode 100644 drivers/reset/sandbox-reset.c
create mode 100644 include/clk-uclass.h
create mode 100644 include/dt-bindings/mailbox/tegra-hsp.h
rename include/{mailbox_uclass.h => mailbox-uclass.h} (96%)
rename include/{mailbox_client.h => mailbox.h} (98%)
create mode 100644 include/reset-uclass.h
create mode 100644 include/reset.h
create mode 100644 test/dm/reset.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-27 16:28 Simon Glass
@ 2016-05-30 18:06 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-05-30 18:06 UTC (permalink / raw)
To: u-boot
On Fri, May 27, 2016 at 10:28:37AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This improves the driver-model block support in MMC, brings in a
> mailbox uclass and fixes/improves a few minor things in the rockchip
> support.
>
>
> The following changes since commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9:
>
> Merge branch 'master' of git://git.denx.de/u-boot-mips (2016-05-25
> 20:22:48 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 3c27b6ad540828c44a62d209030df5ba86896df0:
>
> dm: rockchip: Enable CONFIG_BLK (2016-05-27 10:23:10 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160530/81dc87d1/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-05-27 16:28 Simon Glass
2016-05-30 18:06 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-05-27 16:28 UTC (permalink / raw)
To: u-boot
Hi Tom,
This improves the driver-model block support in MMC, brings in a
mailbox uclass and fixes/improves a few minor things in the rockchip
support.
The following changes since commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9:
Merge branch 'master' of git://git.denx.de/u-boot-mips (2016-05-25
20:22:48 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 3c27b6ad540828c44a62d209030df5ba86896df0:
dm: rockchip: Enable CONFIG_BLK (2016-05-27 10:23:10 -0600)
----------------------------------------------------------------
Simon Glass (20):
arm: rpi: Define CONFIG_TFTP_TSIZE to show tftp size info
tiny-printf: Tidy up a few nits
tiny-printf: Support snprintf()
reset: Drop the reset failure message
mmc: Drop mmc_register()
mmc: Drop dead mmc code for non-generic MMC
mmc: Use byte array for multipliers
rockchip: Check image name for the rksd image
rockchip: Drop unnecessary SPL properties
rockchip: video: Flush the cache when the display is updated
rockchip: Drop SPL GPIO support for rk3288
dm: env: mmc: Convert env_mmc to support CONFIG_BLK
dm: mmc: Convert sdhci to support CONFIG_BLK
dm: efi: Update for CONFIG_BLK
dm: mmc: spl: Add support for CONFIG_BLK
dm: mmc: dwmmc: Support CONFIG_BLK
dm: rockchip: mmc: Allow use of CONFIG_BLK
dm: mmc: Fix up mmc_bread/bwrite() prototypes for SPL
dm: mmc: Use cfg directly in mmc_bind()
dm: rockchip: Enable CONFIG_BLK
Stephen Warren (5):
dm: allow setting driver_data before/during bind
sunxi: gpio: convert bind() to use driver data
Rename reset to sysreset
Add a mailbox driver framework/uclass
mailbox: implement a sandbox test
arch/arm/lib/Makefile | 2 +-
arch/arm/mach-rockchip/Kconfig | 3 ++
arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 20 ++++-----
arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 20 ++++-----
arch/arm/mach-snapdragon/reset.c | 18 ++++----
arch/sandbox/cpu/state.c | 4 +-
arch/sandbox/dts/test.dts | 11 +++++
arch/sandbox/include/asm/mbox.h | 21 +++++++++
arch/sandbox/include/asm/state.h | 6 +--
cmd/mmc.c | 62
-------------------------
common/env_mmc.c | 8 ++--
common/spl/spl_mmc.c | 9 ++--
configs/chromebook_jerry_defconfig | 2 +-
configs/dragonboard410c_defconfig | 2 +-
configs/evb-rk3036_defconfig | 2 +-
configs/firefly-rk3288_defconfig | 4 +-
configs/kylin-rk3036_defconfig | 2 +-
configs/rock2_defconfig | 2 +-
configs/sandbox_defconfig | 5 ++-
configs/sandbox_noblk_defconfig | 2 +-
doc/device-tree-bindings/mailbox/mailbox.txt | 32 +++++++++++++
doc/driver-model/README.txt | 23 ++++++----
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/clk/clk_rk3036.c | 2 +-
drivers/clk/clk_rk3288.c | 2 +-
drivers/core/device.c | 25 +++++++++--
drivers/core/lists.c | 4 +-
drivers/gpio/sunxi_gpio.c | 90
++++++++++++++++++++-----------------
drivers/mailbox/Kconfig | 20 +++++++++
drivers/mailbox/Makefile | 7 +++
drivers/mailbox/mailbox-uclass.c | 145
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/mailbox/sandbox-mbox-test.c | 54 ++++++++++++++++++++++
drivers/mailbox/sandbox-mbox.c | 104
++++++++++++++++++++++++++++++++++++++++++
drivers/misc/Kconfig | 10 ++---
drivers/misc/Makefile | 4 +-
drivers/misc/reset_sandbox.c | 100
-----------------------------------------
drivers/misc/{reset-uclass.c => sysreset-uclass.c} | 32 ++++++-------
drivers/misc/sysreset_sandbox.c | 101
+++++++++++++++++++++++++++++++++++++++++
drivers/mmc/dw_mmc.c | 42 +++++++++++------
drivers/mmc/mmc.c | 13 +-----
drivers/mmc/mmc_private.h | 14 ++++++
drivers/mmc/rockchip_dw_mmc.c | 31 +++++++++++++
drivers/mmc/sdhci.c | 2 +-
drivers/video/rockchip/rk_vop.c | 1 +
include/configs/rk3288_common.h | 1 -
include/configs/rpi.h | 1 +
include/dm/device-internal.h | 24 ++++++++++
include/dm/uclass-id.h | 3 +-
include/dwmmc.h | 7 ++-
include/efi_loader.h | 2 +-
include/mailbox_client.h | 149
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/mailbox_uclass.h | 83
++++++++++++++++++++++++++++++++++
include/mmc.h | 5 ---
include/reset.h | 71
-----------------------------
include/sysreset.h | 71
+++++++++++++++++++++++++++++
lib/efi_loader/efi_disk.c | 61
++++++++++++++++++-------
lib/tiny-printf.c | 43 +++++++++++++-----
test/dm/Makefile | 3 +-
test/dm/mailbox.c | 31 +++++++++++++
test/dm/reset.c | 74
------------------------------
test/dm/sysreset.c | 74
++++++++++++++++++++++++++++++
tools/rkimage.c | 7 +--
63 files changed, 1270 insertions(+), 506 deletions(-)
create mode 100644 arch/sandbox/include/asm/mbox.h
create mode 100644 doc/device-tree-bindings/mailbox/mailbox.txt
create mode 100644 drivers/mailbox/Kconfig
create mode 100644 drivers/mailbox/Makefile
create mode 100644 drivers/mailbox/mailbox-uclass.c
create mode 100644 drivers/mailbox/sandbox-mbox-test.c
create mode 100644 drivers/mailbox/sandbox-mbox.c
delete mode 100644 drivers/misc/reset_sandbox.c
rename drivers/misc/{reset-uclass.c => sysreset-uclass.c} (55%)
create mode 100644 drivers/misc/sysreset_sandbox.c
create mode 100644 include/mailbox_client.h
create mode 100644 include/mailbox_uclass.h
delete mode 100644 include/reset.h
create mode 100644 include/sysreset.h
create mode 100644 test/dm/mailbox.c
delete mode 100644 test/dm/reset.c
create mode 100644 test/dm/sysreset.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-19 16:02 ` Tom Rini
2016-05-20 15:23 ` Simon Glass
@ 2016-05-25 3:14 ` Simon Glass
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-05-25 3:14 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 May 2016 at 10:02, Tom Rini <trini@konsulko.com> wrote:
> On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
>> > On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> This includes a refinement of the GPIO interface, soft SPI fixes,
>> >> driver model block-device support (and a legacy driver for
>> >> non-driver-model code) and a few other things. The changes are fairly
>> >> major so I'd like to get the maximum possible test window.
>> >>
>> >>
>> >> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>> >>
>> >> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>> >>
>> >> are available in the git repository at:
>> >>
>> >> git://git.denx.de/u-boot-dm.git
>> >>
>> >> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>> >>
>> >> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>> >>
>> >
>> > Applied to u-boot/master, thanks!
>> >
>> > But please note that this is starting to push some boards to or over the
>> > SPL edge such as Cubietruck so we need to look into some waste areas
>> > again. Adding Hans in case there's also stuff we could simply be
>> > dropping out of SPL but aren't today.
>>
>> Yes I saw that but the increase was much larger than it should have
>> been. I meant to try it with the bug-fixed gcc and see if the increase
>> was smaller. It does unfortunately add a few hundred bytes of code. I
>> believe it might be possible to reduce this but I haven't yet figured
>> out how.
>
> I've been happy when I can use gcc-6.x for all the free cost savings but
> current Debian tools (and current Fedora, and current any other big
> distro) toolchains matter too. You can also see the size growth (but
> not to fatal proportions) on CHIP or warp7 or MSI_Primo73
I took a look at those three. There was a big increase with CHIP on
'sunxi: Enable USB host in CHIP defconfig'. But other than that I see
the expected 300-byte increase due to the block device change.
I'm going to see what I can do about that, but from what I can tell
it's no worse than I thought.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
[not found] ` <20160520191257.GA11835@excalibur.cnev.de>
@ 2016-05-20 20:49 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-05-20 20:49 UTC (permalink / raw)
To: u-boot
On Fri, May 20, 2016 at 09:12:57PM +0200, Karsten Merker wrote:
> On Fri, May 20, 2016 at 01:55:12PM -0400, Tom Rini wrote:
> > On Fri, May 20, 2016 at 05:53:34PM +0200, Hans de Goede wrote:
>
> > > >>I've been happy when I can use gcc-6.x for all the free cost savings but
> > > >>current Debian tools (and current Fedora, and current any other big
> > > >>distro) toolchains matter too. You can also see the size growth (but
> > > >>not to fatal proportions) on CHIP or warp7 or MSI_Primo73
> > > >
> > > >OK thanks for the pointers. I will take a look. I spent quite a bit of
> > > >time on this (it was pretty awful at the start!) but obviously I
> > > >haven't quite nailed it.
> > >
> > > So I've run some quick tests on F-24 which is at gcc-6 (and it is unlikely
> > > u-boot v2015.07 will be coming to older Fedora versions) and I got the
> > > following u-boot-spl.bin increase for Cubietruck:
> > >
> > > v2015.05: 19696
> > > master: 19932
> > >
> > > So if others are seeing some more extreme increase then that is probably
> > > the good old tool-chain problem with not eliminating unused strings.
> > >
> > > The way to work around this is look at the linker.map, find out which
> > > object files have grown considerably on master, and check if the patches
> > > in one of those files perhaps has caused us to use some const string
> > > in there, where before we were not using any. The problem with the toolchain
> > > bug is that using a single const string in a .o file will make it link
> > > in ALL const strings in the .o file, even the 99 other unused ones.
> > >
> > > In the past I've hacked around that in e.g. the malloc code, but TBH,
> > > now that the upstream toolchain is fixed I'm not sure if we should
> > > bother with kludging around this.
> >
> > I am a fan of gcc-6.x (as it saves us space on so many platforms), but
> > with your sunxi hat on, rather than Fedora guy hat on, do you think
> > telling people to just grab gcc-6.x is an OK solution for users?
>
> If I may chime in with my Debian hat on:
>
> Debian/unstable has gcc-6.1.1, so for the Debian developers and
> "bleeding edge" users there is no problem. For users of
> Debian/stable things don't look that good as there probably won't
> be a backport of gcc-6 for Debian/stable and the other "usual"
> source for a comparatively current crosscompiler - crosstool-ng -
> also doesn't provide support for gcc-6 builds (not even in git
> head).
>
> With Ubuntu the situation is similar: the current (and just
> freshly released) Ubuntu 16.04 doesn't ship gcc-6; the first
> Ubuntu release to ship gcc-6 will be 16.10.
>
> So the question is: does u-boot mainly address active developers
> or shall it also be easily buildable for end-users. For the
> former, requiring gcc-6 wouldn't be a problem, but for the
> latter, it most probably would be as things are now.
So, I think we agree then that yes, we need to care about gcc-5.x,
thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160520/cd368642/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-20 17:55 ` Tom Rini
@ 2016-05-20 19:05 ` Hans de Goede
[not found] ` <20160520191257.GA11835@excalibur.cnev.de>
1 sibling, 0 replies; 300+ messages in thread
From: Hans de Goede @ 2016-05-20 19:05 UTC (permalink / raw)
To: u-boot
Hi,
On 20-05-16 19:55, Tom Rini wrote:
> On Fri, May 20, 2016 at 05:53:34PM +0200, Hans de Goede wrote:
>> Hi,
>>
>> On 20-05-16 17:23, Simon Glass wrote:
>>> Hi Tom,
>>>
>>> On 19 May 2016 at 10:02, Tom Rini <trini@konsulko.com> wrote:
>>>> On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
>>>>> Hi Tom,
>>>>>
>>>>> On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
>>>>>> On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
>>>>>>
>>>>>>> Hi Tom,
>>>>>>>
>>>>>>> This includes a refinement of the GPIO interface, soft SPI fixes,
>>>>>>> driver model block-device support (and a legacy driver for
>>>>>>> non-driver-model code) and a few other things. The changes are fairly
>>>>>>> major so I'd like to get the maximum possible test window.
>>>>>>>
>>>>>>>
>>>>>>> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>>>>>>>
>>>>>>> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>>>>>>>
>>>>>>> are available in the git repository at:
>>>>>>>
>>>>>>> git://git.denx.de/u-boot-dm.git
>>>>>>>
>>>>>>> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>>>>>>>
>>>>>>> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>>>>>>>
>>>>>>
>>>>>> Applied to u-boot/master, thanks!
>>>>>>
>>>>>> But please note that this is starting to push some boards to or over the
>>>>>> SPL edge such as Cubietruck so we need to look into some waste areas
>>>>>> again. Adding Hans in case there's also stuff we could simply be
>>>>>> dropping out of SPL but aren't today.
>>>>>
>>>>> Yes I saw that but the increase was much larger than it should have
>>>>> been. I meant to try it with the bug-fixed gcc and see if the increase
>>>>> was smaller. It does unfortunately add a few hundred bytes of code. I
>>>>> believe it might be possible to reduce this but I haven't yet figured
>>>>> out how.
>>>>
>>>> I've been happy when I can use gcc-6.x for all the free cost savings but
>>>> current Debian tools (and current Fedora, and current any other big
>>>> distro) toolchains matter too. You can also see the size growth (but
>>>> not to fatal proportions) on CHIP or warp7 or MSI_Primo73
>>>
>>> OK thanks for the pointers. I will take a look. I spent quite a bit of
>>> time on this (it was pretty awful at the start!) but obviously I
>>> haven't quite nailed it.
>>
>> So I've run some quick tests on F-24 which is at gcc-6 (and it is unlikely
>> u-boot v2015.07 will be coming to older Fedora versions) and I got the
>> following u-boot-spl.bin increase for Cubietruck:
>>
>> v2015.05: 19696
>> master: 19932
>>
>> So if others are seeing some more extreme increase then that is probably
>> the good old tool-chain problem with not eliminating unused strings.
>>
>> The way to work around this is look at the linker.map, find out which
>> object files have grown considerably on master, and check if the patches
>> in one of those files perhaps has caused us to use some const string
>> in there, where before we were not using any. The problem with the toolchain
>> bug is that using a single const string in a .o file will make it link
>> in ALL const strings in the .o file, even the 99 other unused ones.
>>
>> In the past I've hacked around that in e.g. the malloc code, but TBH,
>> now that the upstream toolchain is fixed I'm not sure if we should
>> bother with kludging around this.
>
> I am a fan of gcc-6.x (as it saves us space on so many platforms), but
> with your sunxi hat on, rather than Fedora guy hat on, do you think
> telling people to just grab gcc-6.x is an OK solution for users?
With my sunxi custodian hat on, I'm divided on the issue, we've had
to jump through some hoops before because of the linker issue which
causes all strings in a .o file, including unused ones to get linked
into the SPL and I would really like to see us to be able to stop
worrying about this. OTOH the reality is that plenty of people are
still using older tool-chains.
The question is do we expect people to use older tool-chains, and
yet use the latest and greatest u-boot. For Fedora the answer is
no, for Debian I do not know and individual users are likely to
hit this problem too.
So having said all the above, then with my sunxi custodian hat
still on, I have to agree that the size increase with gcc-5
is indeed an issue.
Simon, if you've some time to look into this, that would be great.
As said before I suspect the culprit to be a .o file with lots
of strings in there, of which we ended up using 0 strings before
and are now using 1 or more strings, which brings in ALL the
strings with gcc-5.x . Note I could be completely of the mark
here, this was the problem the last time we had SPL size issues,
might be something different now.
Regards,
Hans
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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>
0 siblings, 2 replies; 300+ messages in thread
From: Tom Rini @ 2016-05-20 17:55 UTC (permalink / raw)
To: u-boot
On Fri, May 20, 2016 at 05:53:34PM +0200, Hans de Goede wrote:
> Hi,
>
> On 20-05-16 17:23, Simon Glass wrote:
> >Hi Tom,
> >
> >On 19 May 2016 at 10:02, Tom Rini <trini@konsulko.com> wrote:
> >>On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
> >>>Hi Tom,
> >>>
> >>>On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
> >>>>On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
> >>>>
> >>>>>Hi Tom,
> >>>>>
> >>>>>This includes a refinement of the GPIO interface, soft SPI fixes,
> >>>>>driver model block-device support (and a legacy driver for
> >>>>>non-driver-model code) and a few other things. The changes are fairly
> >>>>>major so I'd like to get the maximum possible test window.
> >>>>>
> >>>>>
> >>>>>The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
> >>>>>
> >>>>> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
> >>>>>
> >>>>>are available in the git repository at:
> >>>>>
> >>>>> git://git.denx.de/u-boot-dm.git
> >>>>>
> >>>>>for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
> >>>>>
> >>>>> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
> >>>>>
> >>>>
> >>>>Applied to u-boot/master, thanks!
> >>>>
> >>>>But please note that this is starting to push some boards to or over the
> >>>>SPL edge such as Cubietruck so we need to look into some waste areas
> >>>>again. Adding Hans in case there's also stuff we could simply be
> >>>>dropping out of SPL but aren't today.
> >>>
> >>>Yes I saw that but the increase was much larger than it should have
> >>>been. I meant to try it with the bug-fixed gcc and see if the increase
> >>>was smaller. It does unfortunately add a few hundred bytes of code. I
> >>>believe it might be possible to reduce this but I haven't yet figured
> >>>out how.
> >>
> >>I've been happy when I can use gcc-6.x for all the free cost savings but
> >>current Debian tools (and current Fedora, and current any other big
> >>distro) toolchains matter too. You can also see the size growth (but
> >>not to fatal proportions) on CHIP or warp7 or MSI_Primo73
> >
> >OK thanks for the pointers. I will take a look. I spent quite a bit of
> >time on this (it was pretty awful at the start!) but obviously I
> >haven't quite nailed it.
>
> So I've run some quick tests on F-24 which is at gcc-6 (and it is unlikely
> u-boot v2015.07 will be coming to older Fedora versions) and I got the
> following u-boot-spl.bin increase for Cubietruck:
>
> v2015.05: 19696
> master: 19932
>
> So if others are seeing some more extreme increase then that is probably
> the good old tool-chain problem with not eliminating unused strings.
>
> The way to work around this is look at the linker.map, find out which
> object files have grown considerably on master, and check if the patches
> in one of those files perhaps has caused us to use some const string
> in there, where before we were not using any. The problem with the toolchain
> bug is that using a single const string in a .o file will make it link
> in ALL const strings in the .o file, even the 99 other unused ones.
>
> In the past I've hacked around that in e.g. the malloc code, but TBH,
> now that the upstream toolchain is fixed I'm not sure if we should
> bother with kludging around this.
I am a fan of gcc-6.x (as it saves us space on so many platforms), but
with your sunxi hat on, rather than Fedora guy hat on, do you think
telling people to just grab gcc-6.x is an OK solution for users?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160520/1c702138/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-20 15:23 ` Simon Glass
@ 2016-05-20 15:53 ` Hans de Goede
2016-05-20 17:55 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Hans de Goede @ 2016-05-20 15:53 UTC (permalink / raw)
To: u-boot
Hi,
On 20-05-16 17:23, Simon Glass wrote:
> Hi Tom,
>
> On 19 May 2016 at 10:02, Tom Rini <trini@konsulko.com> wrote:
>> On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
>>> Hi Tom,
>>>
>>> On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
>>>> On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
>>>>
>>>>> Hi Tom,
>>>>>
>>>>> This includes a refinement of the GPIO interface, soft SPI fixes,
>>>>> driver model block-device support (and a legacy driver for
>>>>> non-driver-model code) and a few other things. The changes are fairly
>>>>> major so I'd like to get the maximum possible test window.
>>>>>
>>>>>
>>>>> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>>>>>
>>>>> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>>>>>
>>>>> are available in the git repository at:
>>>>>
>>>>> git://git.denx.de/u-boot-dm.git
>>>>>
>>>>> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>>>>>
>>>>> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>>>>>
>>>>
>>>> Applied to u-boot/master, thanks!
>>>>
>>>> But please note that this is starting to push some boards to or over the
>>>> SPL edge such as Cubietruck so we need to look into some waste areas
>>>> again. Adding Hans in case there's also stuff we could simply be
>>>> dropping out of SPL but aren't today.
>>>
>>> Yes I saw that but the increase was much larger than it should have
>>> been. I meant to try it with the bug-fixed gcc and see if the increase
>>> was smaller. It does unfortunately add a few hundred bytes of code. I
>>> believe it might be possible to reduce this but I haven't yet figured
>>> out how.
>>
>> I've been happy when I can use gcc-6.x for all the free cost savings but
>> current Debian tools (and current Fedora, and current any other big
>> distro) toolchains matter too. You can also see the size growth (but
>> not to fatal proportions) on CHIP or warp7 or MSI_Primo73
>
> OK thanks for the pointers. I will take a look. I spent quite a bit of
> time on this (it was pretty awful at the start!) but obviously I
> haven't quite nailed it.
So I've run some quick tests on F-24 which is at gcc-6 (and it is unlikely
u-boot v2015.07 will be coming to older Fedora versions) and I got the
following u-boot-spl.bin increase for Cubietruck:
v2015.05: 19696
master: 19932
So if others are seeing some more extreme increase then that is probably
the good old tool-chain problem with not eliminating unused strings.
The way to work around this is look at the linker.map, find out which
object files have grown considerably on master, and check if the patches
in one of those files perhaps has caused us to use some const string
in there, where before we were not using any. The problem with the toolchain
bug is that using a single const string in a .o file will make it link
in ALL const strings in the .o file, even the 99 other unused ones.
In the past I've hacked around that in e.g. the malloc code, but TBH,
now that the upstream toolchain is fixed I'm not sure if we should
bother with kludging around this.
Regards,
Hans
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-19 16:02 ` Tom Rini
@ 2016-05-20 15:23 ` Simon Glass
2016-05-20 15:53 ` Hans de Goede
2016-05-25 3:14 ` Simon Glass
1 sibling, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-05-20 15:23 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 May 2016 at 10:02, Tom Rini <trini@konsulko.com> wrote:
> On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
>> > On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> This includes a refinement of the GPIO interface, soft SPI fixes,
>> >> driver model block-device support (and a legacy driver for
>> >> non-driver-model code) and a few other things. The changes are fairly
>> >> major so I'd like to get the maximum possible test window.
>> >>
>> >>
>> >> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>> >>
>> >> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>> >>
>> >> are available in the git repository at:
>> >>
>> >> git://git.denx.de/u-boot-dm.git
>> >>
>> >> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>> >>
>> >> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>> >>
>> >
>> > Applied to u-boot/master, thanks!
>> >
>> > But please note that this is starting to push some boards to or over the
>> > SPL edge such as Cubietruck so we need to look into some waste areas
>> > again. Adding Hans in case there's also stuff we could simply be
>> > dropping out of SPL but aren't today.
>>
>> Yes I saw that but the increase was much larger than it should have
>> been. I meant to try it with the bug-fixed gcc and see if the increase
>> was smaller. It does unfortunately add a few hundred bytes of code. I
>> believe it might be possible to reduce this but I haven't yet figured
>> out how.
>
> I've been happy when I can use gcc-6.x for all the free cost savings but
> current Debian tools (and current Fedora, and current any other big
> distro) toolchains matter too. You can also see the size growth (but
> not to fatal proportions) on CHIP or warp7 or MSI_Primo73
OK thanks for the pointers. I will take a look. I spent quite a bit of
time on this (it was pretty awful at the start!) but obviously I
haven't quite nailed it.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-19 14:41 ` Simon Glass
@ 2016-05-19 16:02 ` Tom Rini
2016-05-20 15:23 ` Simon Glass
2016-05-25 3:14 ` Simon Glass
0 siblings, 2 replies; 300+ messages in thread
From: Tom Rini @ 2016-05-19 16:02 UTC (permalink / raw)
To: u-boot
On Thu, May 19, 2016 at 08:41:05AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
> > On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
> >
> >> Hi Tom,
> >>
> >> This includes a refinement of the GPIO interface, soft SPI fixes,
> >> driver model block-device support (and a legacy driver for
> >> non-driver-model code) and a few other things. The changes are fairly
> >> major so I'd like to get the maximum possible test window.
> >>
> >>
> >> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
> >>
> >> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
> >>
> >> are available in the git repository at:
> >>
> >> git://git.denx.de/u-boot-dm.git
> >>
> >> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
> >>
> >> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
> >>
> >
> > Applied to u-boot/master, thanks!
> >
> > But please note that this is starting to push some boards to or over the
> > SPL edge such as Cubietruck so we need to look into some waste areas
> > again. Adding Hans in case there's also stuff we could simply be
> > dropping out of SPL but aren't today.
>
> Yes I saw that but the increase was much larger than it should have
> been. I meant to try it with the bug-fixed gcc and see if the increase
> was smaller. It does unfortunately add a few hundred bytes of code. I
> believe it might be possible to reduce this but I haven't yet figured
> out how.
I've been happy when I can use gcc-6.x for all the free cost savings but
current Debian tools (and current Fedora, and current any other big
distro) toolchains matter too. You can also see the size growth (but
not to fatal proportions) on CHIP or warp7 or MSI_Primo73
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160519/a3c6c827/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-19 12:09 ` Tom Rini
@ 2016-05-19 14:41 ` Simon Glass
2016-05-19 16:02 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-05-19 14:41 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 19 May 2016 at 06:09, Tom Rini <trini@konsulko.com> wrote:
> On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
>
>> Hi Tom,
>>
>> This includes a refinement of the GPIO interface, soft SPI fixes,
>> driver model block-device support (and a legacy driver for
>> non-driver-model code) and a few other things. The changes are fairly
>> major so I'd like to get the maximum possible test window.
>>
>>
>> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>>
>> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>>
>> are available in the git repository at:
>>
>> git://git.denx.de/u-boot-dm.git
>>
>> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>>
>> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>>
>
> Applied to u-boot/master, thanks!
>
> But please note that this is starting to push some boards to or over the
> SPL edge such as Cubietruck so we need to look into some waste areas
> again. Adding Hans in case there's also stuff we could simply be
> dropping out of SPL but aren't today.
Yes I saw that but the increase was much larger than it should have
been. I meant to try it with the bug-fixed gcc and see if the increase
was smaller. It does unfortunately add a few hundred bytes of code. I
believe it might be possible to reduce this but I haven't yet figured
out how.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-05-17 17:46 Simon Glass
@ 2016-05-19 12:09 ` Tom Rini
2016-05-19 14:41 ` Simon Glass
0 siblings, 1 reply; 300+ messages in thread
From: Tom Rini @ 2016-05-19 12:09 UTC (permalink / raw)
To: u-boot
On Tue, May 17, 2016 at 11:46:53AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes a refinement of the GPIO interface, soft SPI fixes,
> driver model block-device support (and a legacy driver for
> non-driver-model code) and a few other things. The changes are fairly
> major so I'd like to get the maximum possible test window.
>
>
> The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
>
> Prepare v2016.05 (2016-05-16 10:40:32 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
>
> dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
>
Applied to u-boot/master, thanks!
But please note that this is starting to push some boards to or over the
SPL edge such as Cubietruck so we need to look into some waste areas
again. Adding Hans in case there's also stuff we could simply be
dropping out of SPL but aren't today.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160519/de0a94f5/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-05-17 17:46 Simon Glass
2016-05-19 12:09 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-05-17 17:46 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes a refinement of the GPIO interface, soft SPI fixes,
driver model block-device support (and a legacy driver for
non-driver-model code) and a few other things. The changes are fairly
major so I'd like to get the maximum possible test window.
The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:
Prepare v2016.05 (2016-05-16 10:40:32 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:
dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)
----------------------------------------------------------------
Eric Nelson (6):
dm: gpio: add a default gpio xlate routine
gpio: intel_broadwell: remove gpio_xlate routine
gpio: omap: remove gpio_xlate routine
gpio: pic32: remove gpio_xlate routine
gpio: rk: remove gpio_xlate routine
gpio: exynos(s5p): remove gpio_xlate routine
Mugunthan V N (1):
drivers: usb: common: add common code for usb drivers to use
Peng Fan (5):
dm: gpio: pca953x: introduce driver model support for pca953x
dm: spi: soft_spi bug fix
dm: spi: soft_spi: switch to use linux compatible string
dm: spi: introduce dm api
dm: gpio: introduce 74x164 driver
Simon Glass (67):
Revert "dm: sandbox: Drop the pre-DM host implementation"
dm: sandbox: Add a board for sandbox without CONFIG_BLK
pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
dm: Rename disk uclass to ahci
Allow iotrace byte access to use an address of any size
sandbox: Add string and 16-bit I/O functions
sandbox: Add dummy SCSI functions
sandbox: Add dummy SATA functions
dm: scsi: Remove the forward declarations
dm: scsi: Fix up code style
dm: ide: Correct various code style problems
dm: ide: Remove the forward declarations
dm: sata: Fix code style problems in cmd/sata.c
dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI
dm: blk: Add a legacy block interface
dm: systemace: Add a legacy block interface
dm: sandbox: Add a legacy host block interface
dm: usb: Add a legacy block interface for USB storage
dm: mmc: Add a legacy block interface for MMC
dm: mmc: Add an implementation of the 'devnum' functions
dm: scsi: Separate the non-command code into its own file
dm: ide: Separate the non-command code into its own file
dm: sata: Separate the non-command code into its own file
dm: disk: Use legacy block driver info for block device access
dm: usb: Drop the get_dev() function
dm: ide: Drop the get_dev() function
dm: mmc: Drop the get_dev() function
dm: scsi: Drop the get_dev() function
dm: sata: Drop the get_dev() function
dm: systemace: Drop the get_dev() function
dm: blk: Drop the systemace.h header
dm: sandbox: Drop the host_get_dev() function
dm: part: Drop the get_dev() method
dm: ide: Add support for driver-model block devices
dm: sandbox: Enable IDE
dm: scsi: Add support for driver-model block devices
dm: sandbox: Enable SCSI
dm: sata: Add support for driver-model block devices
dm: sandbox: Enable SATA
dm: blk: Allow blk_create_device() to allocate the device number
dm: blk: Add a easier way to create a named block device
dm: systemace: Reorder function to avoid forward declarataions
dm: systemace: Add driver-mode block-device support
dm: sandbox: Enable systemace
dm: blk: Fix allocation of block-device numbering
dm: core: Allow device names to be freed automatically
dm: blk: Free the block device name when unbound
dm: mmc: Move mmc_switch_part() above its callers
dm: mmc: Implement the select_hwpart() method
dm: mmc: Add a function to obtain the block device
dm: mmc: spl: Use the legacy block interface in SPL
dm: mmc: Use the new select_hwpart() API
dm: blk: Add functions to select a hardware partition
dm: part: Use the legacy block driver for hardware partition support
dm: part: Drop the block_drvr table
dm: blk: Add a comment as to why the bdev member is needed
dm: mmc: Set up the device pointer when using the MMC uclass
dm: mmc: Move the device list into a separate file
dm: blk: Use the correct error code for blk_get_device_by_str()
dm: mmc: Adjust mmc_switch_part() to use a struct mmc
dm: sandbox: Only enable the sandbox MMC driver when valid
dm: mmc: Implement the MMC functions for block devices
dm: mmc: Add a way to bind MMC devices with driver model
dm: mmc: Add support for driver-model block devices
dm: mmc: sandbox: Add an SD-card emulation
dm: sandbox: mmc: Enable building MMC code for sandbox
dm: mmc: test: Add tests for MMC
Stephen Warren (4):
buildman: allow more incremental building
dm: core: allow drivers to refuse to bind
video: tegra: refuse to bind to disabled dcs
fdt: fix dev_get_addr_name node offset
angelo at sysam.it (2):
m68k: add malloc memory for early malloc
m68k: add DM model serial driver
README | 4 +-
api/api_storage.c | 2 +-
arch/arm/dts/exynos4210-universal_c210.dts | 10 +-
arch/arm/dts/tegra20-seaboard.dts | 4 -
arch/arm/include/asm/arch-ls102xa/config.h | 2 +-
arch/m68k/cpu/mcf5227x/start.S | 25 +-
arch/m68k/cpu/mcf523x/start.S | 27 +-
arch/m68k/cpu/mcf52x2/start.S | 26 +-
arch/m68k/cpu/mcf530x/cpu_init.c | 2 +-
arch/m68k/cpu/mcf530x/start.S | 25 +-
arch/m68k/cpu/mcf532x/start.S | 27 +-
arch/m68k/cpu/mcf5445x/start.S | 27 +-
arch/m68k/cpu/mcf547x_8x/start.S | 25 +-
arch/m68k/include/asm/config.h | 2 -
arch/sandbox/include/asm/io.h | 15 +
arch/x86/Kconfig | 3 +
arch/x86/cpu/broadwell/sata.c | 2 +-
arch/x86/cpu/intel_common/cpu.c | 2 +-
arch/x86/cpu/ivybridge/bd82x6x.c | 2 +-
arch/x86/cpu/ivybridge/sata.c | 2 +-
board/cm5200/fwupdate.c | 2 +-
board/mpl/pip405/README | 6 +-
board/sandbox/MAINTAINERS | 7 +
cmd/Makefile | 8 +-
cmd/disk.c | 2 +-
cmd/ide.c | 1352 +-----------------------
cmd/mmc.c | 18 +-
cmd/sata.c | 142 +--
cmd/scsi.c | 753 ++-----------
cmd/usb.c | 16 +-
common/Makefile | 6 +
common/board_r.c | 4 +-
common/env_mmc.c | 6 +-
common/ide.c | 1231 +++++++++++++++++++++
common/sata.c | 115 ++
common/scsi.c | 592 +++++++++++
common/spl/spl_mmc.c | 2 +-
common/spl/spl_sata.c | 2 +-
common/spl/spl_usb.c | 2 +-
common/usb_storage.c | 37 +-
configs/sandbox_defconfig | 2 +
configs/sandbox_noblk_defconfig | 168 +++
disk/part.c | 83 +-
drivers/Makefile | 2 +
drivers/block/Kconfig | 5 +-
drivers/block/Makefile | 8 +-
drivers/block/{disk-uclass.c => ahci-uclass.c} | 6 +-
drivers/block/blk-uclass.c | 361 +++++++
drivers/block/blk_legacy.c | 261 +++++
drivers/block/sandbox.c | 103 +-
drivers/block/sandbox_scsi.c | 29 +
drivers/block/sata_sandbox.c | 33 +
drivers/block/sym53c8xx.c | 2 +-
drivers/block/systemace.c | 110 +-
drivers/core/device-remove.c | 2 +
drivers/core/device.c | 10 +-
drivers/core/lists.c | 4 +
drivers/dfu/dfu_mmc.c | 13 +-
drivers/gpio/74x164_gpio.c | 193 ++++
drivers/gpio/Kconfig | 30 +
drivers/gpio/Makefile | 3 +
drivers/gpio/gpio-uclass.c | 30 +-
drivers/gpio/intel_broadwell_gpio.c | 10 -
drivers/gpio/omap_gpio.c | 11 -
drivers/gpio/pca953x_gpio.c | 351 ++++++
drivers/gpio/pic32_gpio.c | 10 -
drivers/gpio/rk_gpio.c | 11 -
drivers/gpio/s5p_gpio.c | 11 -
drivers/mmc/Kconfig | 11 +-
drivers/mmc/Makefile | 12 +-
drivers/mmc/mmc-uclass.c | 106 ++
drivers/mmc/mmc.c | 311 +++---
drivers/mmc/mmc_legacy.c | 108 ++
drivers/mmc/mmc_private.h | 33 +-
drivers/mmc/mmc_write.c | 18 +-
drivers/mmc/omap_hsmmc.c | 1 +
drivers/mmc/pic32_sdhci.c | 7 +-
drivers/mmc/rockchip_dw_mmc.c | 1 +
drivers/mmc/sandbox_mmc.c | 134 ++-
drivers/mmc/socfpga_dw_mmc.c | 1 +
drivers/mmc/uniphier-sd.c | 1 +
drivers/mmc/zynq_sdhci.c | 1 +
drivers/pci/pci.c | 4 -
drivers/serial/mcfuart.c | 188 +++-
drivers/spi/soft_spi.c | 55 +-
drivers/spi/spi-uclass.c | 28 +-
drivers/usb/common/Makefile | 1 +
drivers/usb/common/common.c | 40 +
drivers/video/tegra.c | 7 +
fs/fat/fat.c | 2 +-
include/asm-generic/gpio.h | 19 +-
include/blk.h | 263 ++++-
include/config_cmd_all.h | 2 +-
include/config_distro_bootcmd.h | 6 +-
include/config_fallbacks.h | 2 +-
include/configs/MPC8544DS.h | 2 +-
include/configs/MPC8572DS.h | 2 +-
include/configs/MPC8610HPCD.h | 2 +-
include/configs/MPC8641HPCN.h | 4 +-
include/configs/PIP405.h | 2 +-
include/configs/am57xx_evm.h | 2 +-
include/configs/cm_t54.h | 2 +-
include/configs/db-88f6820-gp.h | 2 +-
include/configs/dra7xx_evm.h | 2 +-
include/configs/efi-x86.h | 2 +-
include/configs/galileo.h | 2 +-
include/configs/highbank.h | 2 +-
include/configs/ls1043aqds.h | 2 +-
include/configs/ls2080aqds.h | 2 +-
include/configs/ls2080ardb.h | 2 +-
include/configs/omap5_uevm.h | 2 +-
include/configs/qemu-x86.h | 2 +-
include/configs/sandbox.h | 25 +
include/configs/sbc8641d.h | 2 -
include/configs/sunxi-common.h | 2 +-
include/configs/x86-common.h | 2 +-
include/configs/xilinx_zynqmp.h | 2 +-
include/dm/device.h | 16 +
include/dm/platform_data/serial_coldfire.h | 23 +
include/dm/uclass-id.h | 2 +-
include/ide.h | 8 +
include/iotrace.h | 5 +-
include/linux/usb/otg.h | 9 +
include/mmc.h | 38 +-
include/part.h | 33 -
include/spi.h | 52 +
include/systemace.h | 17 -
include/usb.h | 1 -
lib/efi_loader/efi_disk.c | 27 +-
test/dm/blk.c | 4 +-
test/dm/mmc.c | 19 +
tools/buildman/README | 42 +
tools/buildman/builder.py | 10 +-
tools/buildman/builderthread.py | 24 +-
tools/buildman/cmdline.py | 4 +
tools/buildman/control.py | 4 +-
136 files changed, 5419 insertions(+), 2749 deletions(-)
create mode 100644 common/ide.c
create mode 100644 common/sata.c
create mode 100644 common/scsi.c
create mode 100644 configs/sandbox_noblk_defconfig
rename drivers/block/{disk-uclass.c => ahci-uclass.c} (72%)
create mode 100644 drivers/block/blk_legacy.c
create mode 100644 drivers/block/sandbox_scsi.c
create mode 100644 drivers/block/sata_sandbox.c
create mode 100644 drivers/gpio/74x164_gpio.c
create mode 100644 drivers/gpio/pca953x_gpio.c
create mode 100644 drivers/mmc/mmc_legacy.c
create mode 100644 drivers/usb/common/common.c
create mode 100644 include/dm/platform_data/serial_coldfire.h
delete mode 100644 include/systemace.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-04-26 0:09 Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2016-04-26 0:09 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d:
Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-04-22
07:25:18 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to cedadebd7a6e2ce789a236da92349cdd947741e3:
dm: gpio: pca953x: introduce driver model support for pca953x
(2016-04-23 09:13:43 -0600)
----------------------------------------------------------------
Peng Fan (1):
dm: gpio: pca953x: introduce driver model support for pca953x
drivers/gpio/Kconfig | 22 +++++
drivers/gpio/Makefile | 2 +
drivers/gpio/pca953x_gpio.c | 351
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 375 insertions(+)
create mode 100644 drivers/gpio/pca953x_gpio.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-04-15 15:50 Simon Glass
@ 2016-04-16 1:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-04-16 1:13 UTC (permalink / raw)
To: u-boot
On Fri, Apr 15, 2016 at 09:50:11AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Unfortunately I'm still unable to apply many of the patches in my
> queue due to build errors. But in the meantime, here are the ones that
> are OK.
>
>
> The following changes since commit ff6552e8cc13c9b2283002144e297d63b30ac400:
> R
> xpress: Update <usb/ehci-fsl.h> include (2016-04-13 15:45:50 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 7e019daf7ab9dca3bf782d6de866b36d44ede95e:
>
> drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use
> (2016-04-15 08:14:37 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160415/20a7bf9b/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-04-15 15:50 Simon Glass
2016-04-16 1:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-04-15 15:50 UTC (permalink / raw)
To: u-boot
Hi Tom,
Unfortunately I'm still unable to apply many of the patches in my
queue due to build errors. But in the meantime, here are the ones that
are OK.
The following changes since commit ff6552e8cc13c9b2283002144e297d63b30ac400:
R
xpress: Update <usb/ehci-fsl.h> include (2016-04-13 15:45:50 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 7e019daf7ab9dca3bf782d6de866b36d44ede95e:
drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use
(2016-04-15 08:14:37 -0600)
----------------------------------------------------------------
Jagan Teki (2):
doc: driver-model: Update dm tests run using test.py
board: README.sandbox: Update dm test command
Nishanth Menon (1):
dm: part: fix missing driver name in debug print
Peng Fan (1):
dm: core: device: set pinctrl state for pinctrl device
Stefan Roese (1):
dm: device.c: Minor coding-style fix
Stephen Warren (1):
fdt: implement dev_get_addr_name()
Tom Rini (3):
test/dm/core.c: Make pre-reloc test use pre-reloc struct
sandbox: Enable many more commands
drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use
arch/sandbox/include/asm/cache.h | 1 +
arch/sandbox/include/asm/io.h | 1 +
board/sandbox/README.sandbox | 3 +-
configs/sandbox_defconfig | 63 +++++++++++++++++++++++---
disk/part.c | 3 +-
doc/driver-model/README.txt | 229
++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------
drivers/core/device.c | 31 ++++++++++---
drivers/tpm/tpm_tis_sandbox.c | 2 +-
include/dm/device.h | 12 +++++
test/dm/core.c | 2 +-
10 files changed, 230 insertions(+), 117 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-03-20 0:35 Simon Glass
@ 2016-03-20 13:33 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-03-20 13:33 UTC (permalink / raw)
To: u-boot
On Sat, Mar 19, 2016 at 06:35:24PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here is the rest of the block device stuff as well as a few buildman
> improvements and a few other things.
>
> The following changes since commit f23baa572f96e1e13d7f1a3c8addb61b5d0dbd29:
>
> cmd_dhry.c: Use lldiv for vax_mips calculation as well (2016-03-17
> 10:14:25 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to e4fb863f6dec0002069d57422ebe3ce3af69a273:
>
> dm: blk: Add tests for block devices (2016-03-17 21:27:39 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160320/45e7936a/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-03-20 0:35 Simon Glass
2016-03-20 13:33 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-03-20 0:35 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the rest of the block device stuff as well as a few buildman
improvements and a few other things.
The following changes since commit f23baa572f96e1e13d7f1a3c8addb61b5d0dbd29:
cmd_dhry.c: Use lldiv for vax_mips calculation as well (2016-03-17
10:14:25 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to e4fb863f6dec0002069d57422ebe3ce3af69a273:
dm: blk: Add tests for block devices (2016-03-17 21:27:39 -0600)
----------------------------------------------------------------
Michal Simek (1):
dm: ns16550: Add support for reg-offset property
Przemyslaw Marczak (2):
dts:exynos:update pinctrl size-cells and fix child regs
Revert "fdt: fix address cell count checking in fdt_translate_address()"
Simon Glass (8):
gpio: Report errors when GPIOs cannot be read
buildman: Allow branch names which conflict with directories
buildman: Add a way to specific a full toolchain prefix
buildman: Clarify the use of -V
dm: usb: Unbind old block devices when shutting down USB
dm: sandbox: Switch over to use DM for block devices
dm: sandbox: Drop the pre-DM host implementation
dm: blk: Add tests for block devices
arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 8 +-
arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 18 +--
arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 16 +--
arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 12 +-
arch/arm/dts/s5pc110-pinctrl.dtsi | 4 +-
cmd/gpio.c | 34 ++++--
common/fdt_support.c | 7 +-
configs/sandbox_defconfig | 1 +
drivers/block/sandbox.c | 90 --------------
drivers/serial/ns16550.c | 6 +-
drivers/usb/host/usb-uclass.c | 6 +-
include/ns16550.h | 1 +
test/dm/Makefile | 1 +
test/dm/blk.c | 96 +++++++++++++++
tools/buildman/README | 299
++++++++++++++++++++++++++++-----------------
tools/buildman/cmdline.py | 2 +-
tools/buildman/func_test.py | 2 +
tools/buildman/toolchain.py | 40 +++++-
tools/patman/gitutil.py | 5 +
19 files changed, 404 insertions(+), 244 deletions(-)
create mode 100644 test/dm/blk.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-03-14 23:04 Simon Glass
@ 2016-03-15 11:53 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-03-15 11:53 UTC (permalink / raw)
To: u-boot
On Mon, Mar 14, 2016 at 05:04:34PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes driver-model support for block devices, refactoring of the
> partition code as well as some some fixes for serial, the debug UART,
> buildman and fdtgrep.
>
> The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:
>
> Prepare v2016.03 (2016-03-14 10:20:21 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 608e399fdef82e983db44c5cb8f5e772bba870e2:
>
> buildman: Allow the toolchain architecture to be specified (2016-03-14
> 15:34:50 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/f604dbe9/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-03-14 23:04 Simon Glass
2016-03-15 11:53 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-03-14 23:04 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes driver-model support for block devices, refactoring of the
partition code as well as some some fixes for serial, the debug UART,
buildman and fdtgrep.
The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:
Prepare v2016.03 (2016-03-14 10:20:21 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 608e399fdef82e983db44c5cb8f5e772bba870e2:
buildman: Allow the toolchain architecture to be specified (2016-03-14
15:34:50 -0600)
----------------------------------------------------------------
Alison Wang (3):
dm: serial-uclass: Move a carriage return before a line feed
serial: Move carriage return before line feed for some serial drivers
dm: serial: Remove duplicated carriage return character
Masahiro Yamada (2):
dm: core: make simple-bus compatible to simple-mfd
debug_uart: output CR along with LF
Simon Glass (36):
dm: core: Add uclass_first_device_err() to return a valid device
dm: Use uclass_first_device_err() where it is useful
dm: Drop the block_dev_desc_t typedef
dm: pci: Break out the common region display code
dm: part: Correct a sandbox build warning
dm: fdtdec: Correct a sandbox build warning
dm: part: Drop the common.h header
dm: Add a new header for block devices
dm: blk: Convert interface type to an enum
dm: blk: Add comments to a few functions
dm: blk: Rename get_dev() to blk_get_dev()
dm: blk: Rename get_device() to blk_get_device_by_str()
dm: blk: Rename get_device_and_partition()
dm: part: Add a cast to avoid a compiler warning
dm: sandbox: Enable all partition types
dm: part: Convert partition API use to linker lists
dm: part: Rename some partition functions
dm: cbfs: Fix handling of invalid type
dm: sandbox: Enable cbfs and cramfs
dm: block: Rename device number member dev to devnum
dm: block: Adjust device calls to go through helpers function
dm: usb: Avoid exceeding available array size for storage devices
dm: usb: Tidy up storage code ready for driver model conversion
dm: blk: Add a block-device uclass
dm: sandbox: Prepare block driver for driver-model conversion
dm: sandbox: Add driver-model block-device support for sandbox
dm: usb: Convert USB storage to use driver-model for block devs
dm: usb: Clean up USB after each test
part: Rename test_part_xx() and print_part_xx()
Drop CONFIG_CRAMFS_CMDLINE
fdtgrep: Improve error handling with invalid device tree
patman: Add a missing space in GetMetaDataForList()
buildman: patman: Fix -H when installed as a symlink
buildman: Fix up a few code inconsistencies in toolchain.py
buildman: Allow the toolchain priority to be specified
buildman: Allow the toolchain architecture to be specified
api/api.c | 2 +-
api/api_storage.c | 26 +++---
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +-
arch/nios2/cpu/cpu.c | 4 +-
arch/x86/cpu/interrupts.c | 2 +-
arch/x86/cpu/ivybridge/cpu.c | 14 ++--
arch/x86/cpu/ivybridge/gma.c | 6 +-
arch/x86/cpu/ivybridge/sata.c | 4 +-
arch/x86/cpu/ivybridge/sdram.c | 4 +-
arch/x86/lib/mpspec.c | 2 +-
board/cm5200/fwupdate.c | 4 +-
board/mpl/pip405/README | 4 +-
board/sunxi/board.c | 4 +-
cmd/bmp.c | 12 +--
cmd/cbfs.c | 5 +-
cmd/cramfs.c | 5 --
cmd/disk.c | 12 +--
cmd/fat.c | 12 +--
cmd/gpt.c | 10 +--
cmd/host.c | 13 ++-
cmd/ide.c | 44 +++++-----
cmd/mmc.c | 4 +-
cmd/mmc_spi.c | 4 +-
cmd/part.c | 24 +++---
cmd/read.c | 10 +--
cmd/reiser.c | 12 +--
cmd/sata.c | 22 ++---
cmd/scsi.c | 24 +++---
cmd/tpm.c | 4 +-
cmd/unzip.c | 4 +-
cmd/usb.c | 12 ++-
cmd/usb_mass_storage.c | 10 +--
cmd/zfs.c | 10 +--
common/env_fat.c | 12 +--
common/fb_mmc.c | 33 ++++----
common/spl/spl_ext.c | 12 ++-
common/spl/spl_fat.c | 8 +-
common/spl/spl_mmc.c | 2 +-
common/spl/spl_sata.c | 2 +-
common/spl/spl_usb.c | 2 +-
common/usb_storage.c | 276
+++++++++++++++++++++++++++++++++++++++++++++----------------
disk/part.c | 230
++++++++++++++++++---------------------------------
disk/part_amiga.c | 47 ++++++-----
disk/part_dos.c | 66 ++++++++-------
disk/part_efi.c | 101 ++++++++++++----------
disk/part_iso.c | 72 +++++++++-------
disk/part_mac.c | 58 +++++++------
drivers/block/Kconfig | 11 +++
drivers/block/Makefile | 2 +
drivers/block/blk-uclass.c | 175
+++++++++++++++++++++++++++++++++++++++
drivers/block/dwc_ahsata.c | 4 +-
drivers/block/pata_bfin.c | 2 +-
drivers/block/sandbox.c | 166
+++++++++++++++++++++++++++++++------
drivers/block/systemace.c | 12 +--
drivers/core/simple-bus.c | 1 +
drivers/core/uclass.c | 13 +++
drivers/dfu/dfu_mmc.c | 4 +-
drivers/gpio/rk_gpio.c | 4 +-
drivers/misc/altera_sysid.c | 4 +-
drivers/mmc/arm_pl180_mmci.c | 2 +-
drivers/mmc/mmc.c | 14 ++--
drivers/mmc/mmc_private.h | 8 +-
drivers/mmc/mmc_write.c | 8 +-
drivers/mmc/mxsmmc.c | 24 +++---
drivers/mmc/omap_hsmmc.c | 4 +-
drivers/mmc/sdhci.c | 2 +-
drivers/pci/pci-uclass.c | 4 +-
drivers/pci/pci_auto_common.c | 51 ++++--------
drivers/power/regulator/regulator-uclass.c | 2 +-
drivers/serial/serial-uclass.c | 5 +-
drivers/serial/serial_arc.c | 3 -
drivers/serial/serial_lpuart.c | 6 --
drivers/serial/serial_mxc.c | 8 +-
drivers/serial/serial_pxa.c | 8 +-
drivers/serial/serial_s3c24x0.c | 8 +-
drivers/serial/usbtty.c | 7 +-
drivers/timer/timer-uclass.c | 4 +-
drivers/video/vidconsole-uclass.c | 6 +-
fs/ext4/dev.c | 54 ++++++------
fs/ext4/ext4_common.c | 27 ++----
fs/ext4/ext4fs.c | 2 +-
fs/fat/fat.c | 18 ++--
fs/fat/fat_write.c | 5 +-
fs/fs.c | 8 +-
fs/reiserfs/dev.c | 33 ++++----
fs/sandbox/sandboxfs.c | 4 +-
fs/ubifs/ubifs.c | 4 +-
fs/zfs/dev.c | 35 ++++----
fs/zfs/zfs.c | 2 +-
include/blk.h | 248
++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/common.h | 2 +-
include/configs/UCP1020.h | 1 -
include/configs/km/keymile-common.h | 1 -
include/configs/sandbox.h | 7 +-
include/debug_uart.h | 4 +-
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 15 +++-
include/ext4fs.h | 6 +-
include/fat.h | 4 +-
include/ide.h | 18 ++--
include/mmc.h | 2 +-
include/part.h | 308
+++++++++++++++++++++++++++++++++++++++++---------------------------
include/reiserfs.h | 2 +-
include/sandboxblockdev.h | 4 +-
include/sandboxfs.h | 2 +-
include/sata.h | 2 +-
include/spl.h | 10 ++-
include/systemace.h | 2 +-
include/ubifs_uboot.h | 2 +-
include/usb.h | 2 +-
include/usb_mass_storage.h | 2 +-
include/zfs_common.h | 4 +-
lib/fdtdec.c | 5 +-
lib/gunzip.c | 2 +-
lib/tpm.c | 6 +-
test/dm/usb.c | 8 +-
tools/buildman/control.py | 3 +-
tools/buildman/toolchain.py | 50 +++++++----
tools/fdtgrep.c | 14 +++-
tools/patman/patchstream.py | 2 +-
tools/patman/patman.py | 3 +-
121 files changed, 1737 insertions(+), 1021 deletions(-)
create mode 100644 drivers/block/blk-uclass.c
create mode 100644 include/blk.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-02-26 20:51 Simon Glass
@ 2016-02-28 1:19 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-02-28 1:19 UTC (permalink / raw)
To: u-boot
On Fri, Feb 26, 2016 at 01:51:11PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here is the series that fixes various tests.
>
>
> The following changes since commit 24862c640ea50ac88be343161eb681bea5dbfeef:
>
> test/py: skip tests that require large CONFIG_SYS_MAXARGS
> (2016-02-26 08:42:12 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 6796704b0dfb4f98cb4a026988e9739884812b5c:
>
> pci: Fix compiler warnings in dm_pciauto_setup_device() (2016-02-26
> 08:53:10 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160227/f5ad026d/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-02-26 20:51 Simon Glass
2016-02-28 1:19 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-02-26 20:51 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the series that fixes various tests.
The following changes since commit 24862c640ea50ac88be343161eb681bea5dbfeef:
test/py: skip tests that require large CONFIG_SYS_MAXARGS
(2016-02-26 08:42:12 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 6796704b0dfb4f98cb4a026988e9739884812b5c:
pci: Fix compiler warnings in dm_pciauto_setup_device() (2016-02-26
08:53:10 -0700)
----------------------------------------------------------------
Bin Meng (1):
pci: Fix compiler warnings in dm_pciauto_setup_device()
Simon Glass (16):
image: Correct the OS location code to work on sandbox
Revert "image-fit: Fix signature checking"
image: Fix FIT and vboot tests to exit sandbox correctly
trace: Fix compiler warnings in trace
lib: Don't instrument the div64 function
trace: Improve the trace test number recognition
timer: Support tracing fully
timer: Provide an early timer
timer: Set up the real timer after driver model is available
sandbox: timer: Support the early timer
sandbox: Correct ordering of defconfig
sandbox: Enable the early timer
sandbox: spi: Add more debugging to SPI emulation
sandbox: spi: Remove an incorrect free()
spi: Correct two error return values
spi: Re-enable the SPI flash tests
cmd/trace.c | 4 ++--
common/board_f.c | 6 ++++++
common/board_r.c | 14 ++++++++++++--
common/bootm.c | 2 +-
common/image-fit.c | 16 +++++++++++++---
configs/sandbox_defconfig | 11 ++++++-----
drivers/mtd/spi/sandbox.c | 14 ++++++++++----
drivers/mtd/spi/sf_probe.c | 4 +---
drivers/mtd/spi/spi_flash.c | 2 +-
drivers/pci/pci_auto.c | 2 +-
drivers/timer/Kconfig | 10 ++++++++++
drivers/timer/sandbox_timer.c | 18 +++++++++++++++---
drivers/timer/timer-uclass.c | 6 +++---
include/image.h | 5 +----
include/timer.h | 21 +++++++++++++++++++++
lib/div64.c | 3 ++-
lib/time.c | 28 +++++++++++++++++++++-------
test/dm/Makefile | 4 ++--
test/image/test-fit.py | 4 ++++
test/trace/test-trace.sh | 4 +++-
test/vboot/sandbox-u-boot.dts | 3 +++
21 files changed, 138 insertions(+), 43 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-02-25 15:30 Simon Glass
@ 2016-02-25 15:35 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-02-25 15:35 UTC (permalink / raw)
To: u-boot
On Thu, Feb 25, 2016 at 08:30:22AM -0700, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939:
>
> Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23
> 15:35:47 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 070b781b2beb5298cd904fd514ba50e8530b0e2c:
>
> patman: fix series-notes handling for buildman (2016-02-24 20:06:19 -0800)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160225/b50ea2f1/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-02-25 15:30 Simon Glass
2016-02-25 15:35 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-02-25 15:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939:
Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23
15:35:47 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 070b781b2beb5298cd904fd514ba50e8530b0e2c:
patman: fix series-notes handling for buildman (2016-02-24 20:06:19 -0800)
----------------------------------------------------------------
Albert ARIBAUD (1):
patman: fix series-notes handling for buildman
Masahiro Yamada (1):
dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled
dts/Kconfig | 2 ++
tools/patman/series.py | 5 ++++-
2 files changed, 6 insertions(+), 1 deletion(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-02-09 22:43 Simon Glass
@ 2016-02-10 22:12 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-02-10 22:12 UTC (permalink / raw)
To: u-boot
On Tue, Feb 09, 2016 at 03:43:59PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here are a few more test patches.
>
>
> The following changes since commit 39af3d8a0db0aab3f78ae5576f0f5c668505a667:
>
> sniper: Drop references to P970 (2016-02-08 10:24:19 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to c82ce04a3f38bb91465da6b2fd9d8dcb0e81f94b:
>
> test/py: capture the entire U-Boot version at boot (2016-02-09 15:41:19 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160210/6515abc7/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-02-09 22:43 Simon Glass
2016-02-10 22:12 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-02-09 22:43 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are a few more test patches.
The following changes since commit 39af3d8a0db0aab3f78ae5576f0f5c668505a667:
sniper: Drop references to P970 (2016-02-08 10:24:19 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to c82ce04a3f38bb91465da6b2fd9d8dcb0e81f94b:
test/py: capture the entire U-Boot version at boot (2016-02-09 15:41:19 -0700)
----------------------------------------------------------------
Stephen Warren (6):
gunzip: remove avail_in recalculation
itest: allow map_physmem to return 0 in limited cases
test/py: exit(1) if there are problems running py.test
test/py: HTML awesome!
test/py: fix off-by-one error in spawn matching code
test/py: capture the entire U-Boot version at boot
cmd/itest.c | 2 +-
lib/gunzip.c | 3 +-
test/py/conftest.py | 61 +++++++++++++---------
test/py/multiplexed_log.css | 41 ++++++++-------
test/py/multiplexed_log.py | 142
+++++++++++++++++++++++++++++++++++++++-----------
test/py/test.py | 1 +
test/py/u_boot_console_base.py | 11 ++--
test/py/u_boot_console_exec_attach.py | 12 +++--
test/py/u_boot_spawn.py | 2 +-
9 files changed, 185 insertions(+), 90 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-01-29 18:28 Simon Glass
@ 2016-01-30 1:39 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-01-30 1:39 UTC (permalink / raw)
To: u-boot
On Fri, Jan 29, 2016 at 11:28:05AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This includes new TPM support and Stephen's work on the Python test framework.
>
>
> The following changes since commit 3faf2216d9649e2a22e6728194e9797cb46db933:
>
> Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-01-28
> 15:17:11 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 26db3a617b38cc1bed1ce100381d2c4ccbb55e42:
>
> test/py: dfu: allow boardenv to specify test sizes (2016-01-28 21:01:24 -0700)
>
Applied to u-boot/master, thanks!
But note:
+(microblaze-generic) ../net/eth-uclass.c: In function 'eth_post_probe':
+(microblaze-generic) ../net/eth-uclass.c:466:18: error: 'gd' undeclared (first use in this function)
+(microblaze-generic) ../net/eth-uclass.c:466:18: note: each undeclared identifier is reported only once for each function it appears in
+(microblaze-generic) make[2]: *** [net/eth-uclass.o] Error 1
+(microblaze-generic) make[1]: *** [net] Error 2
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160129/576e5666/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-01-29 18:28 Simon Glass
2016-01-30 1:39 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-01-29 18:28 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes new TPM support and Stephen's work on the Python test framework.
The following changes since commit 3faf2216d9649e2a22e6728194e9797cb46db933:
Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-01-28
15:17:11 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 26db3a617b38cc1bed1ce100381d2c4ccbb55e42:
test/py: dfu: allow boardenv to specify test sizes (2016-01-28 21:01:24 -0700)
----------------------------------------------------------------
Christophe Ricard (5):
tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM
tpm: tpm_tis_lpc: fix typo
tpm: Rename tpm_tis_infineon.h to tpm_tis.h and move infineon
specific stuff in tpm_infineon.c
tpm: st33zp24: Add tpm st33zp24 support with i2c
tpm: st33zp24: Add tpm st33zp24 spi support
Simon Glass (1):
dm: Remove device_probe_child()
Stephen Warren (30):
test/py: fix timeout to be absolute
test/py: move U-Boot respawn trigger to the test core
test/py: drain console log at the end of any failed test
test/py: log when tests send CTRL-C
test/py: optionally ignore errors from shell commands
test/py: add various utility code
test/py: ums: add filesystem-based testing
test/py: add DFU test
test/py: move find_ram_base() into u_boot_utils
test/py: add a networking test
test/py: make crash detection more robust
ARM: tegra: shut down USB device controller at boot
test/py: dfu: error out if USB device already exists
Implement "pci enum" command for CONFIG_DM_PCI
distro bootcmd: make net boot only optionally start USB
distro bootcmd: enumerate PCI before network operations
test/py: make net test aware of USB and PCI enumeration
test/py: use " for docstrings
test/py: Quote consistency
test/py: Provide custom IDs when parametrizing tests
test/dm: clear unit test failure count each run
test/py: fix spawn.expect multiple match handling
test.py: calculate bad patterns on change only
test/py: check for bad patterns everywhere we wait
test/py: detect another "bad pattern" in console output
test/py: correctly log xfail/xpass tests
test/py: pass test DTB to sandbox
test/py: run sandbox in source directory
test/py: fix a couple typos in comments
test/py: dfu: allow boardenv to specify test sizes
README | 11 ++
arch/arm/mach-tegra/Kconfig | 13 ++
arch/arm/mach-tegra/board2.c | 10 +-
cmd/pci.c | 18 +-
cmd/tpm.c | 2 +-
doc/README.distro | 15 ++
drivers/core/device.c | 9 +-
drivers/pci/pci-uclass.c | 15 ++
drivers/tpm/Kconfig | 20 +-
drivers/tpm/Makefile | 2 +
drivers/tpm/{tpm_tis_infineon.h => tpm_tis.h} | 17 +-
drivers/tpm/tpm_tis_infineon.c | 17 +-
drivers/tpm/tpm_tis_st33zp24_i2c.c | 543
++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/tpm/tpm_tis_st33zp24_spi.c | 672
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/config_distro_bootcmd.h | 23 ++-
include/dm/device-internal.h | 13 --
lib/tpm.c | 2 +-
test/dfu/README | 44 -----
test/dfu/dfu_gadget_test.sh | 108 -----------
test/dfu/dfu_gadget_test_init.sh | 45 -----
test/dm/test-main.c | 2 +
test/py/conftest.py | 118 +++++++-----
test/py/multiplexed_log.css | 8 +
test/py/multiplexed_log.py | 228 +++++++++++++----------
test/py/test.py | 8 +-
test/py/tests/test_000_version.py | 2 +-
test/py/tests/test_dfu.py | 279
++++++++++++++++++++++++++++
test/py/tests/test_env.py | 66 +++----
test/py/tests/test_help.py | 2 +-
test/py/tests/test_hush_if_test.py | 10 +-
test/py/tests/test_md.py | 13 +-
test/py/tests/test_net.py | 155 ++++++++++++++++
test/py/tests/test_sandbox_exit.py | 6 +-
test/py/tests/test_shell_basics.py | 12 +-
test/py/tests/test_sleep.py | 8 +-
test/py/tests/test_ums.py | 243 +++++++++++++++++++-----
test/py/tests/test_unknown_cmd.py | 4 +-
test/py/u_boot_console_base.py | 226 +++++++++++++----------
test/py/u_boot_console_exec_attach.py | 12 +-
test/py/u_boot_console_sandbox.py | 28 +--
test/py/u_boot_spawn.py | 47 +++--
test/py/u_boot_utils.py | 209 +++++++++++++++++++++
test/ums/README | 30 ---
test/ums/ums_gadget_test.sh | 183 ------------------
44 files changed, 2630 insertions(+), 868 deletions(-)
rename drivers/tpm/{tpm_tis_infineon.h => tpm_tis.h} (86%)
create mode 100644 drivers/tpm/tpm_tis_st33zp24_i2c.c
create mode 100644 drivers/tpm/tpm_tis_st33zp24_spi.c
delete mode 100644 test/dfu/README
delete mode 100755 test/dfu/dfu_gadget_test.sh
delete mode 100755 test/dfu/dfu_gadget_test_init.sh
create mode 100644 test/py/tests/test_dfu.py
create mode 100644 test/py/tests/test_net.py
create mode 100644 test/py/u_boot_utils.py
delete mode 100644 test/ums/README
delete mode 100755 test/ums/ums_gadget_test.sh
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-01-21 15:30 Simon Glass
@ 2016-01-21 23:00 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-01-21 23:00 UTC (permalink / raw)
To: u-boot
On Thu, Jan 21, 2016 at 08:30:36AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This includes the lpuart and TI driver-model model conversion, clock
> improvements, the new Python-based test infrastructure and a
> video/console uclass initially implemented for sandbox.
>
>
> The following changes since commit 57e5ecaf755d5301cd33683788e4b8432938bbbe:
>
> iocon / bamboo: Drop CONFIG_SYS_LONGHELP (2016-01-20 15:25:00 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 747440d0fa95f2205a8fcef49b6c7845700b6246:
>
> dm: video: test: Test that bitmap display works correctly
> (2016-01-20 19:10:16 -0700)
>
Applied to u-boot/master, thanks!
I've also tossed -S into my buildman summary of everything build
testing. Some high/low-lights (and I'm only singling out -dm since I
added it just now):
aarch64: (for 30/30 boards) all -56.1 bss +1.6 rodata -9.1 text -48.7
...
sandbox: (for 1/1 boards) all +16120.0 bss -128.0 data +5264.0 rodata -5648.0 text +16632.0
...
arm: (for 486/491 boards) all +74.3 bss -1.4 data +8.1 rodata +8.3 spl/u-boot-spl:all -0.3 spl/u-boot-spl:bss +0.0 spl/u-boot-spl:data +0.0 spl/u-boot-spl:rodata -1.1 spl/u-boot-spl:text +0.7 text +59.3
ls1021atwr_nor : all +12350 bss -100 data +624 rodata +2986 text +8840
ls1021atwr_nor_lpuart: all +12300 bss +60 data +572 rodata +2780 text +8888
orangepi_pc : all +8310 bss +36 data +1340 rodata +398 spl/u-boot-spl:all +144 spl/u-boot-spl:data +8 spl/u-boot-spl:text +136 text +6536
Everything else was either noise in growth or reduction. PowerPC lost
100 bytes nearly everywhere.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160121/d88059d2/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-01-21 15:30 Simon Glass
2016-01-21 23:00 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-01-21 15:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the lpuart and TI driver-model model conversion, clock
improvements, the new Python-based test infrastructure and a
video/console uclass initially implemented for sandbox.
The following changes since commit 57e5ecaf755d5301cd33683788e4b8432938bbbe:
iocon / bamboo: Drop CONFIG_SYS_LONGHELP (2016-01-20 15:25:00 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 747440d0fa95f2205a8fcef49b6c7845700b6246:
dm: video: test: Test that bitmap display works correctly
(2016-01-20 19:10:16 -0700)
----------------------------------------------------------------
Bin Meng (9):
Revert "fdt_support: Add multi-serial support for stdout fixup"
arm: ls1021atwr: Convert to driver model and enable serial support
serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig
serial: lpuart: Fix several cosmetic issues
serial: lpuart: Call local version of setbrg and putc directly
serial: lpuart: Prepare the driver for DM conversion
serial: lpuart: Add driver model serial support
arm: ls1021atwr: Split off board device tree
arm: ls1021atwr: Enable driver model lpuart serial driver
Masahiro Yamada (5):
clk: move Kconfig options into sub-menu
clk: fix comments in include/clk.h
clk: add needed include and declaration to include/clk.h
clk: add static qualifier to local functions
clk: add API to enable clock
Mateusz Kulikowski (1):
patman: Add --thread option
Mugunthan V N (19):
arm: omap-common: do not build timer when CONFIG_TIMER defined
dm: timer: uclass: add timer init in uclass driver to add timer device
dm: timer: uclass: Add flag to control sequence numbering
drivers: timer: omap_timer: add timer driver for omap devices based on dm
am43xx_evm: timer: do not define CONFIG_TIMER for spl
arm: dts: am437x-sk-evm: add tick-timer to chosen node
defconfig: am437x_sk_evm: enable timer driver model
arm: dts: am437x-gp-evm: add tick-timer to chosen node
defconfig: am437x_gp_evm: enable timer driver model
am335x_evm: timer: do not define CONFIG_TIMER for spl
arm: dts: am335x-boneblack: add tick-timer to chosen node
defconfig: am335x_boneblack_vboot: enable timer driver model
arm: dts: am335x-evm: add tick-timer to chosen node
defconfig: am335x_gp_evm: enable timer driver model
ti_omap5_common: timer: do not define CONFIG_TIMER for spl
arm: dts: dra72-evm: add tick-timer to chosen node
defconfig: dra72_evm: enable timer driver model
arm: dts: dra7-evm: add tick-timer to chosen node
defconfig: dra74_evm: enable timer driver model
Simon Glass (25):
dm: core: Provide uclass_find_device_by_phandle() only when needed
tiny-printf: Avoid printing NULL strings
dm: gpio: Allow the uclass to work without printf()
dm: mmc: Try to honour the sequence order
i2c: Correct command return values
pinctrl: Avoid binding all pinconfig nodes before relocation
tiny-printf: Always print zeroes
sandbox: Support the bmp command
dm: core: Call uclass post_bind() after the driver's bind() method
bzip2: Support compression for sandbox
usb: Define USB_MAX_STOR_DEV in only one place
dm: video: Add a video uclass
dm: lcd: Avoid using the lcd.h header file with driver model
dm: video: Add a uclass for the text console
dm: video: Add a 'normal' text console driver
dm: video: Add a driver for a rotated text console
common: Move LCD and video memory reservation together
dm: common: Add memory reservation for the video uclass
dm: video: Implement the bmp command for driver model
dm: stdio: video: Plumb the video uclass into stdio
sandbox: Move CONFIG_VIDEO_SANDBOX_SDL to Kconfig
dm: video: sandbox: Convert sandbox to use driver model for video
dm: video: test: Add tests for the video uclass
dm: video: test: Add tests for rotated consoles
dm: video: test: Test that bitmap display works correctly
Stephen Warren (10):
dm: timer: refuse timers with zero clock_rate
timer: sandbox: work without device tree
test/py: Implement pytest infrastructure
test/py: test that sandbox exits when asked
test/py: add test of setenv/printenv/echo
test/py: test the md/mw commands
test/py: add test of basic shell functionality
test/py: test the shell if command
test/py: test the ums command
test/py: add a test for the sleep command
arch/arm/cpu/armv7/omap-common/Makefile | 6 +
arch/arm/dts/Makefile | 2 +-
arch/arm/dts/am335x-boneblack.dts | 1 +
arch/arm/dts/am335x-evm.dts | 1 +
arch/arm/dts/am437x-gp-evm.dts | 1 +
arch/arm/dts/am437x-sk-evm.dts | 1 +
arch/arm/dts/dra7-evm.dts | 1 +
arch/arm/dts/dra72-evm.dts | 1 +
arch/arm/dts/ls1021a-twr-duart.dts | 16 +
arch/arm/dts/ls1021a-twr-lpuart.dts | 16 +
arch/arm/dts/{ls1021a-twr.dts => ls1021a-twr.dtsi} | 7 +-
arch/arm/dts/ls1021a.dtsi | 4 -
arch/sandbox/dts/sandbox.dts | 1 +
arch/sandbox/dts/test.dts | 7 +
board/sandbox/sandbox.c | 17 -
common/Makefile | 2 +
common/board_f.c | 71 ++--
common/cmd_bmp.c | 37 +-
common/cmd_i2c.c | 6 +-
common/fdt_support.c | 16 +-
common/lcd.c | 11 -
common/stdio.c | 19 +-
common/usb_storage.c | 1 -
configs/am335x_boneblack_vboot_defconfig | 2 +
configs/am335x_gp_evm_defconfig | 2 +
configs/am437x_gp_evm_defconfig | 2 +
configs/am437x_sk_evm_defconfig | 2 +
configs/colibri_vf_defconfig | 1 +
configs/colibri_vf_dtb_defconfig | 1 +
configs/dra72_evm_defconfig | 2 +
configs/dra74_evm_defconfig | 2 +
configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 +
configs/ls1021aqds_nor_lpuart_defconfig | 1 +
configs/ls1021atwr_nor_defconfig | 4 +
configs/ls1021atwr_nor_lpuart_defconfig | 5 +
configs/ls1021atwr_qspi_defconfig | 2 +-
configs/ls1021atwr_sdcard_qspi_defconfig | 2 +-
configs/pcm052_defconfig | 1 +
configs/sandbox_defconfig | 5 +-
configs/vf610twr_defconfig | 1 +
configs/vf610twr_nand_defconfig | 1 +
doc/device-tree-bindings/chosen.txt | 43 +++
doc/driver-model/serial-howto.txt | 1 -
drivers/clk/Kconfig | 4 +
drivers/clk/clk-uclass.c | 10 +
drivers/clk/clk_rk3036.c | 2 +-
drivers/clk/clk_rk3288.c | 2 +-
drivers/clk/clk_sandbox.c | 5 +-
drivers/core/device.c | 7 +
drivers/core/uclass.c | 9 +-
drivers/gpio/gpio-uclass.c | 8 +
drivers/mmc/mmc.c | 20 +-
drivers/pinctrl/pinctrl-uclass.c | 4 +
drivers/serial/Kconfig | 6 +
drivers/serial/sandbox.c | 5 +-
drivers/serial/serial_lpuart.c | 286 +++++++++++++---
drivers/timer/Kconfig | 6 +
drivers/timer/Makefile | 1 +
drivers/timer/omap-timer.c | 108 ++++++
drivers/timer/sandbox_timer.c | 10 +
drivers/timer/timer-uclass.c | 56 +++
drivers/video/Kconfig | 62 ++++
drivers/video/Makefile | 3 +
drivers/video/console_normal.c | 141 ++++++++
drivers/video/console_rotate.c | 436
++++++++++++++++++++++++
drivers/video/sandbox_sdl.c | 90 +++--
drivers/video/vidconsole-uclass.c | 239 +++++++++++++
drivers/video/video-uclass.c | 249 ++++++++++++++
drivers/video/video_bmp.c | 353 +++++++++++++++++++
include/asm-generic/global_data.h | 4 +
include/bzlib.h | 3 +
include/clk.h | 42 ++-
include/configs/am335x_evm.h | 1 +
include/configs/am43xx_evm.h | 1 +
include/configs/colibri_vf.h | 1 -
include/configs/ls1021aqds.h | 1 -
include/configs/ls1021atwr.h | 3 +-
include/configs/pcm052.h | 1 -
include/configs/sandbox.h | 13 +-
include/configs/ti_omap5_common.h | 1 +
include/configs/vf610twr.h | 1 -
include/dm/test.h | 8 +
include/dm/uclass-id.h | 2 +
include/fdtdec.h | 1 -
include/lcd.h | 12 +-
include/timer.h | 9 +
include/video.h | 168 ++++++++-
include/video_console.h | 136 ++++++++
lib/bzip2/Makefile | 1 +
lib/bzip2/bzlib_blocksort.c | 1134
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/bzip2/bzlib_compress.c | 714
++++++++++++++++++++++++++++++++++++++
lib/fdtdec.c | 1 -
lib/time.c | 17 -
lib/tiny-printf.c | 22 +-
test/cmd_repeat.sh | 29 --
test/command_ut.c | 136 --------
test/dm/Makefile | 1 +
test/dm/video.c | 271 +++++++++++++++
test/py/.gitignore | 1 +
test/py/README.md | 300 ++++++++++++++++
test/py/conftest.py | 422
+++++++++++++++++++++++
test/py/multiplexed_log.css | 88 +++++
test/py/multiplexed_log.py | 515
++++++++++++++++++++++++++++
test/py/pytest.ini | 11 +
test/py/test.py | 32 ++
test/py/tests/test_000_version.py | 20 ++
test/py/tests/test_env.py | 221 ++++++++++++
test/py/tests/test_help.py | 9 +
test/py/tests/test_hush_if_test.py | 154 +++++++++
test/py/tests/test_md.py | 36 ++
test/py/tests/test_sandbox_exit.py | 24 ++
test/py/tests/test_shell_basics.py | 42 +++
test/py/tests/test_sleep.py | 24 ++
test/py/tests/test_ums.py | 94 +++++
test/py/tests/test_unknown_cmd.py | 14 +
test/py/u_boot_console_base.py | 360 ++++++++++++++++++++
test/py/u_boot_console_exec_attach.py | 65 ++++
test/py/u_boot_console_sandbox.py | 79 +++++
test/py/u_boot_spawn.py | 174 ++++++++++
tools/logos/denx-comp.bmp | Bin 0 -> 4148 bytes
tools/patman/gitutil.py | 6 +-
tools/patman/patman.py | 4 +-
122 files changed, 7455 insertions(+), 422 deletions(-)
create mode 100644 arch/arm/dts/ls1021a-twr-duart.dts
create mode 100644 arch/arm/dts/ls1021a-twr-lpuart.dts
rename arch/arm/dts/{ls1021a-twr.dts => ls1021a-twr.dtsi} (93%)
create mode 100644 doc/device-tree-bindings/chosen.txt
create mode 100644 drivers/timer/omap-timer.c
create mode 100644 drivers/video/console_normal.c
create mode 100644 drivers/video/console_rotate.c
create mode 100644 drivers/video/vidconsole-uclass.c
create mode 100644 drivers/video/video-uclass.c
create mode 100644 drivers/video/video_bmp.c
create mode 100644 include/video_console.h
create mode 100644 lib/bzip2/bzlib_blocksort.c
create mode 100644 lib/bzip2/bzlib_compress.c
delete mode 100755 test/cmd_repeat.sh
create mode 100644 test/dm/video.c
create mode 100644 test/py/.gitignore
create mode 100644 test/py/README.md
create mode 100644 test/py/conftest.py
create mode 100644 test/py/multiplexed_log.css
create mode 100644 test/py/multiplexed_log.py
create mode 100644 test/py/pytest.ini
create mode 100755 test/py/test.py
create mode 100644 test/py/tests/test_000_version.py
create mode 100644 test/py/tests/test_env.py
create mode 100644 test/py/tests/test_help.py
create mode 100644 test/py/tests/test_hush_if_test.py
create mode 100644 test/py/tests/test_md.py
create mode 100644 test/py/tests/test_sandbox_exit.py
create mode 100644 test/py/tests/test_shell_basics.py
create mode 100644 test/py/tests/test_sleep.py
create mode 100644 test/py/tests/test_ums.py
create mode 100644 test/py/tests/test_unknown_cmd.py
create mode 100644 test/py/u_boot_console_base.py
create mode 100644 test/py/u_boot_console_exec_attach.py
create mode 100644 test/py/u_boot_console_sandbox.py
create mode 100644 test/py/u_boot_spawn.py
create mode 100644 tools/logos/denx-comp.bmp
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-01-12 23:05 Simon Glass
@ 2016-01-13 2:25 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-01-13 2:25 UTC (permalink / raw)
To: u-boot
On Tue, Jan 12, 2016 at 04:05:42PM -0700, Simon Glass wrote:
> Hi Tom,
>
> This mainly includes various PCI improvements. I have not been keeping up
> with applying things to dm/next, so will have to start pulling in patches
> quickly.
>
>
> The following changes since commit fa85e826c16b9ce1ad302a57e9c4b24db0d8b930:
>
> Prepare v2016.01 (2016-01-12 09:06:54 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to ab971e192adcf0a501c8998542ab116512c0c260:
>
> sandbox: eth-raw-os.c: Ensure that our interface name is not too long
> (2016-01-12 10:19:09 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160112/e382ca83/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-01-12 23:05 Simon Glass
2016-01-13 2:25 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-01-12 23:05 UTC (permalink / raw)
To: u-boot
Hi Tom,
This mainly includes various PCI improvements. I have not been keeping up
with applying things to dm/next, so will have to start pulling in patches
quickly.
The following changes since commit fa85e826c16b9ce1ad302a57e9c4b24db0d8b930:
Prepare v2016.01 (2016-01-12 09:06:54 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to ab971e192adcf0a501c8998542ab116512c0c260:
sandbox: eth-raw-os.c: Ensure that our interface name is not too long
(2016-01-12 10:19:09 -0700)
----------------------------------------------------------------
Simon Glass (29):
dm: pci: Mark legacy files as such
dm: pci: Add a dm_ prefix to pci_get_bdf()
dm: pci: Add a dm_ prefix to pci_bus_find_bdf()
dm: pci: Use driver model PCI API in auto-config
dm: pci: Add a driver-model version of pci_find_device()
dm: pci: scsi: Use driver-model PCI API
dm: pci: Add a driver-model version of pci_find_class()
dm: pci: Add a function to read a PCI BAR
dm: serial: Convert ns16550 driver to use driver model PCI API
dm: x86: ivybridge: Convert graphics init to use DM PCI API
dm: Convert bios_interrupts to use DM PCI API
dm: pci: video: Convert video and pci_rom to use DM PCI API
dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API
dm: pci: Drop the old version of pci_find_device/s()
dm: pci: Drop the old version of pci_find_class()
dm: tegra: net: Convert tegra boards to driver model for Ethernet
dm: test: Convert PCI tests to use the DM PCI API
dm: pci: Add driver model API functions for address mapping
dm: net: Convert rtl8169 to use DM PCI API
dm: pci: Switch to DM API for PCI address mapping
dm: ahci: Convert to use new DM PCI API
dm: usb: Convert echi-pci to use new DM PCI API
dm: Convert PCI MMC over to use DM PCI API
pci: Tidy up comments in pci_bind_bus_devices()
dm: net: usb: Refactor mcs7830 driver ready for DM conversion
dm: net: usb: Convert mcs7830 driver to support driver model
dm: serial: Allow the UART driver to be dropped from the image
dm: ns16550: Allow the driver to be omitted if requested
rockchip: Use the debug UART on rk3036
Stefan Roese (1):
dm: core: Add option to configure an offset for the address
translation
Tom Rini (1):
sandbox: eth-raw-os.c: Ensure that our interface name is not too long
arch/arm/mach-rockchip/Makefile | 1 -
arch/arm/mach-rockchip/rk3036-board-spl.c | 9 +-
arch/arm/mach-rockchip/rk_early_print.c | 63 -----------
arch/arm/mach-tegra/Kconfig | 1 +
arch/sandbox/cpu/eth-raw-os.c | 4 +
arch/x86/cpu/baytrail/valleyview.c | 4 +-
arch/x86/cpu/ivybridge/bd82x6x.c | 6 +-
arch/x86/cpu/ivybridge/gma.c | 15 ++-
arch/x86/cpu/quark/quark.c | 4 +-
arch/x86/cpu/queensbay/topcliff.c | 4 +-
arch/x86/include/asm/arch-ivybridge/bd82x6x.h | 3 +-
arch/x86/lib/bios.c | 3 +-
arch/x86/lib/bios_interrupts.c | 36 ++++---
board/compulab/trimslice/trimslice.c | 8 --
board/nvidia/cardhu/cardhu.c | 6 --
board/nvidia/jetson-tk1/jetson-tk1.c | 6 --
board/nvidia/p2371-2180/p2371-2180.c | 6 --
board/toradex/apalis_t30/apalis_t30.c | 6 --
common/cmd_pci.c | 2 +-
common/cmd_scsi.c | 14 ++-
configs/evb-rk3036_defconfig | 6 ++
drivers/block/ahci.c | 70 ++++++++++--
drivers/core/device.c | 31 ++++--
drivers/core/root.c | 21 ++++
drivers/mmc/pci_mmc.c | 15 ++-
drivers/net/designware.c | 2 +-
drivers/net/e1000.c | 4 +-
drivers/net/pch_gbe.c | 2 +-
drivers/net/rtl8169.c | 84 +++++++++++----
drivers/pci/Makefile | 7 +-
drivers/pci/pci-uclass.c | 240
++++++++++++++++++++++++++++++++++++++----
drivers/pci/pci.c | 5 +-
drivers/pci/pci_auto.c | 386
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/pci/pci_auto_old.c | 54 ++--------
drivers/pci/pci_common.c | 86 +++++++--------
drivers/pci/pci_compat.c | 2 +-
drivers/pci/pci_internal.h | 50 +++++++++
drivers/pci/pci_rom.c | 47 ++++-----
drivers/serial/Kconfig | 20 ++++
drivers/serial/ns16550.c | 7 +-
drivers/serial/serial-uclass.c | 4 +-
drivers/usb/eth/mcs7830.c | 370
+++++++++++++++++++++++++++++++++++++++++++---------------------
drivers/usb/host/ehci-pci.c | 51 ++++++---
drivers/video/vesa_fb.c | 10 +-
include/ahci.h | 4 +
include/bios_emul.h | 2 +-
include/configs/rk3036_common.h | 2 +
include/dm/device.h | 21 ++++
include/fdtdec.h | 23 +---
include/mmc.h | 6 +-
include/pci.h | 102 ++++++++++++++++--
include/pci_rom.h | 6 +-
lib/fdtdec.c | 57 +---------
test/dm/pci.c | 15 ++-
54 files changed, 1456 insertions(+), 557 deletions(-)
delete mode 100644 arch/arm/mach-rockchip/rk_early_print.c
create mode 100644 drivers/pci/pci_auto.c
create mode 100644 drivers/pci/pci_internal.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2016-01-08 14:55 Simon Glass
@ 2016-01-09 3:34 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2016-01-09 3:34 UTC (permalink / raw)
To: u-boot
On Fri, Jan 08, 2016 at 07:55:13AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This gets the driver-model tests running properly again (including
> disabling the SPI and SPI flash ones which are still broken). It also
> includes Przemyslaw's temporary patch to fix dev_get_addr(). We can
> get a better solution in after the release.
>
>
> The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9:
>
> Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to c5a75339cf1595ee89a3513cd4fd84c10c0cd910:
>
> net: Fix delay in net_retry test (2016-01-07 12:18:58 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160108/25f7ced0/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2016-01-08 14:55 Simon Glass
2016-01-09 3:34 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2016-01-08 14:55 UTC (permalink / raw)
To: u-boot
Hi Tom,
This gets the driver-model tests running properly again (including
disabling the SPI and SPI flash ones which are still broken). It also
includes Przemyslaw's temporary patch to fix dev_get_addr(). We can
get a better solution in after the release.
The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9:
Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to c5a75339cf1595ee89a3513cd4fd84c10c0cd910:
net: Fix delay in net_retry test (2016-01-07 12:18:58 -0700)
----------------------------------------------------------------
Bin Meng (2):
dm: eth: Test 'ethrotate' before changing current ethernet device
dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init()
Joe Hershberger (1):
net: Fix delay in net_retry test
Przemyslaw Marczak (1):
fdt: fix address cell count checking in fdt_translate_address()
Simon Glass (3):
dm: Disable all SPI and SPI flash tests
usb: Allow up to 7 storage devices
dm: usb: Add a remove() method for USB keyboards
Thomas Chou (1):
test: add sandbox timer to test.dts
arch/sandbox/dts/test.dts | 5 +++++
common/fdt_support.c | 7 +++----
common/usb_kbd.c | 36 ++++++++++++++++++++++++++++++++++++
common/usb_storage.c | 2 +-
drivers/net/sandbox.c | 2 +-
include/usb.h | 2 +-
net/eth.c | 35 +++++++++++++++++++++++++++++++----
net/net.c | 7 +++----
test/dm/Makefile | 4 ++--
9 files changed, 83 insertions(+), 17 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-12-11 14:43 Simon Glass
@ 2015-12-12 1:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-12-12 1:13 UTC (permalink / raw)
To: u-boot
On Fri, Dec 11, 2015 at 07:43:53AM -0700, Simon Glass wrote:
> Hi Tom,
>
> A few small things in my queue...
>
> The following changes since commit 8555dd88cd1a7b5dd1e76c111fe635a92223b98b:
>
> axs10x: add support of generic EHCI USB 2.0 controller (2015-12-08
> 17:29:56 +0300)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to eb623b98c9d28691cbce5adfd02163ad102dcbed:
>
> dm: serial: Minor coding style cleanup of some comments (2015-12-10
> 20:42:03 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151211/ad37790b/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-12-11 14:43 Simon Glass
2015-12-12 1:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-12-11 14:43 UTC (permalink / raw)
To: u-boot
Hi Tom,
A few small things in my queue...
The following changes since commit 8555dd88cd1a7b5dd1e76c111fe635a92223b98b:
axs10x: add support of generic EHCI USB 2.0 controller (2015-12-08
17:29:56 +0300)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to eb623b98c9d28691cbce5adfd02163ad102dcbed:
dm: serial: Minor coding style cleanup of some comments (2015-12-10
20:42:03 -0700)
----------------------------------------------------------------
Stefan Roese (2):
dm: core: Fix Kconfig text to mention SPL in SPL_OF_TRANSLATE
dm: serial: Minor coding style cleanup of some comments
Thomas Chou (1):
buildman: README: add links for toolchains not available on kernel.org
drivers/core/Kconfig | 2 +-
drivers/serial/serial-uclass.c | 20 ++++++++++----------
tools/buildman/README | 23 ++++++++++++++++++++++-
3 files changed, 33 insertions(+), 12 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-12-01 14:49 Simon Glass
@ 2015-12-01 23:11 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-12-01 23:11 UTC (permalink / raw)
To: u-boot
On Tue, Dec 01, 2015 at 07:49:30AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This includes conversion of x86 to use the timer uclass and moving
> Tegra to driver model for PCI.
>
>
> The following changes since commit 4a421a67b6f36678bfd27b7fedc0de35faf94c76:
>
> Merge branch 'master' of git://git.denx.de/u-boot-atmel (2015-11-30
> 18:13:10 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 3ba5f74a541f77bfb6904e684e2cf0bfad005106:
>
> dm: pci: Disable PCI compatibility functions by default (2015-12-01
> 06:26:38 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151201/2de4fd6f/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-12-01 14:49 Simon Glass
2015-12-01 23:11 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-12-01 14:49 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes conversion of x86 to use the timer uclass and moving
Tegra to driver model for PCI.
The following changes since commit 4a421a67b6f36678bfd27b7fedc0de35faf94c76:
Merge branch 'master' of git://git.denx.de/u-boot-atmel (2015-11-30
18:13:10 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 3ba5f74a541f77bfb6904e684e2cf0bfad005106:
dm: pci: Disable PCI compatibility functions by default (2015-12-01
06:26:38 -0700)
----------------------------------------------------------------
Bin Meng (11):
dm: timer: Fix several nits
dm: timer: Implement pre_probe()
timer: altera: Remove the codes to get clock frequency
timer: sandbox: Use device tree to pass the clock frequency
dm: timer: Support 64-bit counter
x86: Remove MIN_PORT80_KCLOCKS_DELAY
x86: tsc: Use notrace from <linux/compiler.h>
x86: tsc: Add driver model timer support
x86: Convert to use driver model timer
x86: tsc: Remove legacy timer codes
x86: tsc: Move tsc_timer.c to drivers/timer
Simon Glass (22):
dm: timer: Avoid using timer before it is ready
dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig
dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM
dm: pci: Set up the SDRAM mapping correctly
dm: pci: Support decoding ranges with duplicate entries
dm: pci: Add functions to emulate 8- and 16-bit access
dm: pci: Add a function to get the controller for a bus
dm: pci: Add a function to find the regions for a PCI bus
dm: tegra: pci: Convert tegra boards to driver model for PCI
pci: Use a common return in command processing
pci: Use a separate variable for the bus number
pci: Refactor the pciinfo() function
dm: pci: Add a comment about how to find struct pci_controller
dm: pci: Rename pci_auto.c to pci_auto_old.c
dm: pci: Move common auto-config functions to a common file
dm: pci: Reorder functions in cmd_pci.c
pci: Tidy up function comments in cmd_pci.c
pci: Use common functions to read/write config
pci: Use a separate 'dev' variable for the PCI device
pci: Move PCI header output code into its own function
dm: pci: Convert 'pci' command to driver model
dm: pci: Disable PCI compatibility functions by default
Stephen Warren (1):
ARM: tegra: refactor common Kconfig options
arch/arm/mach-tegra/Kconfig | 40 +++--
arch/arm/mach-tegra/board2.c | 4 +
arch/sandbox/dts/sandbox.dts | 1 +
arch/x86/Kconfig | 23 +--
arch/x86/cpu/baytrail/valleyview.c | 3 -
arch/x86/cpu/coreboot/timestamp.c | 22 ---
arch/x86/cpu/cpu.c | 18 --
arch/x86/cpu/efi/efi.c | 4 -
arch/x86/cpu/ivybridge/cpu.c | 1 -
arch/x86/cpu/qemu/Kconfig | 1 -
arch/x86/cpu/qemu/qemu.c | 3 -
arch/x86/cpu/quark/Kconfig | 5 -
arch/x86/cpu/quark/quark.c | 3 -
arch/x86/cpu/queensbay/tnc.c | 3 -
arch/x86/dts/bayleybay.dts | 1 +
arch/x86/dts/broadwell_som-6896.dts | 1 +
arch/x86/dts/chromebook_link.dts | 1 +
arch/x86/dts/chromebox_panther.dts | 1 +
arch/x86/dts/crownbay.dts | 1 +
arch/x86/dts/efi.dts | 5 +
arch/x86/dts/galileo.dts | 5 +
arch/x86/dts/minnowmax.dts | 1 +
arch/x86/dts/qemu-x86_i440fx.dts | 5 +
arch/x86/dts/qemu-x86_q35.dts | 5 +
arch/x86/dts/tsc_timer.dtsi | 6 +
arch/x86/include/asm/global_data.h | 3 -
arch/x86/lib/Makefile | 1 -
common/board_r.c | 10 +-
common/cmd_pci.c | 635
+++++++++++++++++++++++++++++++++++++++++++------------------------
configs/apalis_t30_defconfig | 1 +
configs/bayleybay_defconfig | 1 +
configs/beaver_defconfig | 4 +
configs/cardhu_defconfig | 4 +
configs/chromebook_link_defconfig | 1 +
configs/chromebox_panther_defconfig | 1 +
configs/coreboot-x86_defconfig | 2 +-
configs/crownbay_defconfig | 1 +
configs/efi-x86_defconfig | 3 +-
configs/galileo_defconfig | 1 +
configs/jetson-tk1_defconfig | 4 +
configs/minnowmax_defconfig | 1 +
configs/p2371-2180_defconfig | 1 +
configs/qemu-x86_defconfig | 1 +
configs/sandbox_defconfig | 1 +
configs/trimslice_defconfig | 4 +
drivers/pci/Kconfig | 19 ++
drivers/pci/Makefile | 5 +-
drivers/pci/pci-uclass.c | 105 ++++++++++-
drivers/pci/pci_auto_common.c | 128 ++++++++++++++
drivers/pci/{pci_auto.c => pci_auto_old.c} | 116 -------------
drivers/pci/pci_tegra.c | 477
+++++++++++++++++---------------------------------
drivers/timer/Kconfig | 19 +-
drivers/timer/Makefile | 1 +
drivers/timer/altera_timer.c | 10 +-
drivers/timer/sandbox_timer.c | 6 +-
drivers/timer/timer-uclass.c | 30 +++-
{arch/x86/lib => drivers/timer}/tsc_timer.c | 104 ++++++-----
include/common.h | 1 -
include/configs/apalis_t30.h | 2 -
include/configs/beaver.h | 2 -
include/configs/cardhu.h | 2 -
include/configs/jetson-tk1.h | 2 -
include/configs/p2371-2180.h | 2 -
include/configs/trimslice.h | 2 -
include/configs/x86-common.h | 2 -
include/fdtdec.h | 4 -
include/pci.h | 83 ++++++++-
include/timer.h | 25 ++-
lib/fdtdec.c | 4 -
lib/time.c | 9 +-
70 files changed, 1111 insertions(+), 892 deletions(-)
create mode 100644 arch/x86/dts/tsc_timer.dtsi
create mode 100644 drivers/pci/pci_auto_common.c
rename drivers/pci/{pci_auto.c => pci_auto_old.c} (81%)
rename {arch/x86/lib => drivers/timer}/tsc_timer.c (87%)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-11-20 17:08 Simon Glass
@ 2015-11-20 22:45 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-11-20 22:45 UTC (permalink / raw)
To: u-boot
On Fri, Nov 20, 2015 at 10:08:42AM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here is the conversion of input to driver model, refactoring of USB
> probing with added tests and a few other things.
>
>
> The following changes since commit 2b24e09c66480f3723b137f434a6c3b0db764817:
>
> rockchip: Turn on CONFIG_DEBUG_UART_NS16550 in defconfigs
> (2015-11-19 17:06:25 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to bff1a71ede3557cd5502afdb74aabe9599d6f96b:
>
> dm: test: usb: sandbox: Add keyboard tests for sandbox (2015-11-19
> 20:27:52 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151120/2024fcc5/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-11-20 17:08 Simon Glass
2015-11-20 22:45 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-11-20 17:08 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here is the conversion of input to driver model, refactoring of USB
probing with added tests and a few other things.
The following changes since commit 2b24e09c66480f3723b137f434a6c3b0db764817:
rockchip: Turn on CONFIG_DEBUG_UART_NS16550 in defconfigs
(2015-11-19 17:06:25 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to bff1a71ede3557cd5502afdb74aabe9599d6f96b:
dm: test: usb: sandbox: Add keyboard tests for sandbox (2015-11-19
20:27:52 -0700)
----------------------------------------------------------------
Bin Meng (6):
input: Save keyboard's LED state to correct place
input: Call keyboard's update_leds() method when the LEDs change
input: Change LED state bits to conform i8042 compatible keyboard
input: Ban digit numbers if 'Num Lock' is not on
x86: crownbay: Convert to use driver model keyboard
x86: qemu: Convert to use driver model keyboard
Daniel Schwierzeck (1):
sandbox: cros_ec: fix uninitialized use of len
Simon Glass (55):
dm: usb: Add support for USB keyboards with driver model
dm: input: Create a keyboard uclass
input: Add a device pointer to the input config
input: Return -ENOSPC when there is not space
input: Add the keycode translation tables separately
cros_ec: Use udevice instead of cros_ec_dev for keyboard functions
dm: stdio: Plumb in the new keyboard uclass
dm: tegra: Convert keyboard driver to driver model
dm: cros_ec: Convert cros_ec keyboard driver to driver model
video: Drop unused console functions
i8042: Use functions to handle register access
i8042: Adjust kbd_reset() to collect all failures
i8042: Adjust keyboard init to assume success
input: Correct keycode for Ctrl-Y
input: Add a few more keyboard keycodes
input: Add a function to add a keycode to the existing set
input: Allow repeat filtering to be disabled
input: Support the German keymap
input: Adjust structure of code in process_modifier()
input: Handle caps lock
input: Allow updating of keyboard LEDs
input: i8042: Convert to use the input library
input: Add a Kconfig option for the i8042 keyboard
x86: Add an i8042 device for boards that have it
Drop CONFIG_ISA_KEYBOARD
input: Convert i8042 to driver model
i8042: Handle a duplicate power-on-reset response
video: input: Clean up after i8042 conversion
input: Convert 'keyboard' driver to use input library
sandbox: Add a way to skip time delays
dm: usb: Avoid time delays in sandbox tests
Move console definitions into a new console.h file
Drop config.h header from display_options.c
Add a circular memory buffer implementation
console: Add a console buffer
sandbox: Enable console recording and silent console
test: Record and silence console in tests
usb: Refactor USB tree output code for testing
dm: core: Add safe device iteration macros
sandbox: usb: Allow dynamic emulated USB device descriptors
sandbox: usb: Allow up to 4 emulated devices on a hub
sandbox: usb: Allow finding a USB emulator for a device
Revert "dm: usb: Rename usb_find_child to usb_find_emul_child"
Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"
Revert "dm: Export device_remove_children / device_unbind_children"
dm: usb: Deprecate usb_get_dev_index()
dm: usb: Remove inactive children after a bus scan
dm: test: usb: Add tests for the 'usb tree' command
dm: test: usb: Add a test for device reordering
usb: Drop unused code in usb_kbd.c
usb: Avoid open-coded USB constants in usb_kbd.c
usb: sandbox: Add support for interrupt operations
usb: sandbox: Add a USB emulation driver
sandbox: Enable USB keyboard
dm: test: usb: sandbox: Add keyboard tests for sandbox
Thomas Chou (2):
common/board_f.c: move mark_bootstage after arch_cpu_init_dm
sandbox: add a sandbox timer and basic test
README | 42 +---
arch/arm/Kconfig | 1 +
arch/arm/mach-tegra/Kconfig | 1 +
arch/blackfin/lib/cmd_cache_dump.c | 1 +
arch/powerpc/cpu/mpc8260/ether_fcc.c | 1 +
arch/powerpc/cpu/mpc8260/i2c.c | 1 +
arch/powerpc/cpu/mpc8xx/i2c.c | 1 +
arch/sandbox/Kconfig | 3 +
arch/sandbox/cpu/cpu.c | 5 +-
arch/sandbox/cpu/start.c | 8 +
arch/sandbox/cpu/state.c | 14 ++
arch/sandbox/dts/sandbox.dts | 4 +
arch/sandbox/dts/test.dts | 19 +-
arch/sandbox/include/asm/state.h | 20 ++
arch/sandbox/include/asm/test.h | 2 +
arch/sh/lib/board.c | 1 +
arch/sparc/lib/board.c | 1 +
arch/x86/Kconfig | 6 +
arch/x86/dts/bayleybay.dts | 1 +
arch/x86/dts/chromebook_link.dts | 5 +
arch/x86/dts/crownbay.dts | 1 +
arch/x86/dts/keyboard.dtsi | 5 +
arch/x86/dts/qemu-x86_i440fx.dts | 1 +
arch/x86/dts/qemu-x86_q35.dts | 1 +
board/Arcturus/ucp1020/spl.c | 1 +
board/amcc/yucca/cmd_yucca.c | 1 +
board/astro/mcf5373l/fpga.c | 1 +
board/cobra5272/flash.c | 1 +
board/esd/common/cmd_loadpci.c | 1 +
board/esd/cpci405/cpci405.c | 1 +
board/esd/pmc405de/pmc405de.c | 1 +
board/esd/pmc440/cmd_pmc440.c | 1 +
board/esd/pmc440/pmc440.c | 1 +
board/esd/vme8349/caddy.c | 1 +
board/freescale/b4860qds/spl.c | 1 +
board/freescale/c29xpcie/spl.c | 1 +
board/freescale/mpc8569mds/mpc8569mds.c | 1 +
board/freescale/p1010rdb/spl.c | 1 +
board/freescale/p1022ds/spl.c | 1 +
board/freescale/p1_p2_rdb_pc/spl.c | 1 +
board/freescale/t102xqds/spl.c | 1 +
board/freescale/t102xrdb/spl.c | 1 +
board/freescale/t104xrdb/spl.c | 1 +
board/freescale/t208xqds/spl.c | 1 +
board/freescale/t208xrdb/spl.c | 1 +
board/freescale/t4qds/spl.c | 1 +
board/freescale/t4rdb/spl.c | 1 +
board/gdsys/common/cmd_ioloop.c | 1 +
board/inka4x0/inkadiag.c | 1 +
board/kosagi/novena/novena.c | 1 +
board/lwmon5/kbd.c | 1 +
board/mpl/common/kbd.c | 1 +
board/mpl/pati/pati.c | 1 +
board/mpl/pip405/README | 4 -
board/renesas/sh7785lcr/selfcheck.c | 1 +
board/sandbox/sandbox.c | 2 +
board/tqc/tqm5200/cmd_stk52xx.c | 1 +
board/tqc/tqm5200/tqm5200.c | 1 +
board/xes/xpedite1000/xpedite1000.c | 1 +
common/Kconfig | 28 +++
common/autoboot.c | 1 +
common/board_f.c | 13 +-
common/board_r.c | 11 ++
common/cli.c | 1 +
common/cli_hush.c | 1 +
common/cli_simple.c | 1 +
common/cmd_armflash.c | 1 +
common/cmd_bedbug.c | 1 +
common/cmd_dcr.c | 1 +
common/cmd_dfu.c | 1 +
common/cmd_fastboot.c | 1 +
common/cmd_fpgad.c | 1 +
common/cmd_fuse.c | 1 +
common/cmd_i2c.c | 1 +
common/cmd_load.c | 1 +
common/cmd_mem.c | 2 +
common/cmd_misc.c | 1 +
common/cmd_mmc.c | 1 +
common/cmd_nand.c | 1 +
common/cmd_nvedit.c | 1 +
common/cmd_otp.c | 1 +
common/cmd_pci.c | 1 +
common/cmd_usb.c | 71 ++++---
common/cmd_usb_mass_storage.c | 1 +
common/command.c | 1 +
common/console.c | 51 ++++-
common/iomux.c | 1 +
common/main.c | 1 +
common/stdio.c | 31 ++-
common/usb_hub.c | 10 +-
common/usb_kbd.c | 83 ++++----
configs/sandbox_defconfig | 7 +
doc/device-tree-bindings/input/i8042.txt | 10 +
doc/device-tree-bindings/timer/sandbox_timer.txt | 7 +
drivers/block/fsl_sata.c | 1 +
drivers/core/device-remove.c | 22 ++-
drivers/fpga/ACEX1K.c | 1 +
drivers/fpga/virtex2.c | 1 +
drivers/fpga/zynqpl.c | 1 +
drivers/i2c/adi_i2c.c | 1 +
drivers/input/Kconfig | 19 ++
drivers/input/Makefile | 4 +-
drivers/input/cros_ec_keyb.c | 147 ++++++--------
drivers/input/i8042.c | 647
+++++++++++++++++---------------------------------------------
drivers/input/input.c | 252 ++++++++++++++++++++----
drivers/input/keyboard-uclass.c | 91 +++++++++
drivers/input/keyboard.c | 289
++++------------------------
drivers/input/tegra-kbc.c | 242 +++++++++++------------
drivers/misc/cbmem_console.c | 2 +-
drivers/misc/cros_ec.c | 14 +-
drivers/misc/cros_ec_sandbox.c | 1 +
drivers/mtd/cfi_flash.c | 1 +
drivers/mtd/nand/bfin_nand.c | 1 +
drivers/net/e1000_spi.c | 1 +
drivers/net/keystone_net.c | 1 +
drivers/net/phy/phy.c | 1 +
drivers/net/vsc7385.c | 1 +
drivers/power/battery/bat_trats.c | 1 +
drivers/spi/bfin_spi.c | 1 +
drivers/spi/bfin_spi6xx.c | 1 +
drivers/spi/sh_qspi.c | 1 +
drivers/spi/sh_spi.c | 1 +
drivers/timer/Kconfig | 7 +
drivers/timer/Makefile | 1 +
drivers/timer/sandbox_timer.c | 53 +++++
drivers/usb/emul/Makefile | 1 +
drivers/usb/emul/sandbox_flash.c | 48 +++--
drivers/usb/emul/sandbox_hub.c | 2 +-
drivers/usb/emul/sandbox_keyb.c | 241 +++++++++++++++++++++++
drivers/usb/emul/usb-emul-uclass.c | 29 ++-
drivers/usb/gadget/ether.c | 1 +
drivers/usb/gadget/f_mass_storage.c | 1 +
drivers/usb/gadget/f_thor.c | 1 +
drivers/usb/host/r8a66597-hcd.c | 1 +
drivers/usb/host/usb-sandbox.c | 19 ++
drivers/usb/host/usb-uclass.c | 54 ++++--
drivers/usb/musb-new/musb_uboot.c | 1 +
drivers/video/cfb_console.c | 82 ++------
examples/standalone/mem_to_mem_idma2intr.c | 1 +
examples/standalone/smc911x_eeprom.c | 1 +
include/asm-generic/global_data.h | 6 +
include/common.h | 17 --
include/configs/MIP405.h | 5 -
include/configs/MPC8536DS.h | 1 -
include/configs/MPC8544DS.h | 1 -
include/configs/MPC8572DS.h | 1 -
include/configs/MPC8641HPCN.h | 1 -
include/configs/PIP405.h | 5 -
include/configs/bayleybay.h | 3 -
include/configs/chromebox_panther.h | 2 -
include/configs/crownbay.h | 2 +-
include/configs/minnowmax.h | 1 -
include/configs/qemu-x86.h | 2 +-
include/configs/sandbox.h | 5 +-
include/configs/x86-chromebook.h | 2 +-
include/configs/x86-common.h | 2 +-
include/console.h | 52 +++++
include/cros_ec.h | 4 +-
include/dm/device-internal.h | 26 ---
include/dm/device.h | 12 ++
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 15 ++
include/fdtdec.h | 1 -
include/i8042.h | 6 -
include/input.h | 69 ++++++-
include/keyboard.h | 84 ++++++++
include/linux/usb/ch9.h | 20 ++
include/membuff.h | 246 ++++++++++++++++++++++++
include/usb.h | 29 +++
lib/Makefile | 1 +
lib/display_options.c | 2 +-
lib/fdtdec.c | 1 -
lib/gunzip.c | 1 +
lib/membuff.c | 390
+++++++++++++++++++++++++++++++++++++
net/net.c | 1 +
test/dm/Makefile | 1 +
test/dm/test-main.c | 12 ++
test/dm/timer.c | 27 +++
test/dm/usb.c | 241 +++++++++++++++++++++++
test/ut.c | 4 +
180 files changed, 2832 insertions(+), 1291 deletions(-)
create mode 100644 arch/x86/dts/keyboard.dtsi
create mode 100644 doc/device-tree-bindings/input/i8042.txt
create mode 100644 doc/device-tree-bindings/timer/sandbox_timer.txt
create mode 100644 drivers/input/keyboard-uclass.c
create mode 100644 drivers/timer/sandbox_timer.c
create mode 100644 drivers/usb/emul/sandbox_keyb.c
create mode 100644 include/console.h
create mode 100644 include/membuff.h
create mode 100644 lib/membuff.c
create mode 100644 test/dm/timer.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-10-26 13:35 Simon Glass
@ 2015-10-28 20:55 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-10-28 20:55 UTC (permalink / raw)
To: u-boot
On Mon, Oct 26, 2015 at 07:35:22AM -0600, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 9f13b6d147dc74f2400ce18d9d4005ba53f21fd3:
>
> ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio
> (2015-10-22 14:44:03 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 4ea5243a3a2fbc59bbcdd401d75f1744bcd6280f:
>
> fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT (2015-10-23
> 09:42:28 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151028/e550a2ed/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-10-26 13:35 Simon Glass
2015-10-28 20:55 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-10-26 13:35 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 9f13b6d147dc74f2400ce18d9d4005ba53f21fd3:
ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio
(2015-10-22 14:44:03 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 4ea5243a3a2fbc59bbcdd401d75f1744bcd6280f:
fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT (2015-10-23
09:42:28 -0600)
----------------------------------------------------------------
Christophe Ricard (4):
dm: tpm: Move tpm_tis_i2c to tpm_i2c_infineon
dm: tpm: Add Driver Model support for tpm_atmel_twi driver
dm: tpm: Remove every compilation switch for TPM driver model
dm: tpm: Every TPM drivers should depends on DM_TPM
Simon Glass (7):
dm: Rename dev_get_parentdata() to dev_get_parent_priv()
dm: core: Adjust device.h header file order
dm: core: Fix device flag whitespace
dm: core: Tidy up devres comments
dm: core: Remove a comment about dropping per_child_auto_alloc_size
dm: core: Tidy up comments in device.h
dm: tpm: Drop CONFIG_DM_TPM
Stephen Warren (1):
fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT
Thomas Chou (1):
env: export fdt_blob to the environment variable
README | 4 +-
common/board_r.c | 3 +
common/cmd_tpm.c | 13 +--
common/cmd_usb.c | 10 +-
common/usb_hub.c | 4 +-
common/usb_storage.c | 2 +-
.../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 2 +
configs/controlcenterd_36BIT_SDCARD_defconfig | 2 +
.../controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 2 +
configs/controlcenterd_TRAILBLAZER_defconfig | 2 +
configs/nyan-big_defconfig | 2 +-
configs/peach-pi_defconfig | 2 +-
configs/peach-pit_defconfig | 2 +-
configs/snow_defconfig | 2 +-
configs/spring_defconfig | 2 +-
doc/README.fdt-control | 5 +-
doc/driver-model/usb-info.txt | 4 +-
drivers/core/device.c | 2 +-
drivers/misc/cros_ec_spi.c | 4 +-
drivers/mtd/spi/sf_dataflash.c | 2 +-
drivers/mtd/spi/sf_probe.c | 2 +-
drivers/spi/fsl_qspi.c | 2 +-
drivers/spi/ich.c | 2 +-
drivers/spi/soft_spi.c | 2 +-
drivers/spi/spi-uclass.c | 8 +-
drivers/tpm/Kconfig | 15 +--
drivers/tpm/Makefile | 4 +-
drivers/tpm/tpm_atmel_twi.c | 68 ++++++++----
drivers/tpm/{tpm_tis_i2c.c => tpm_tis_infineon.c} | 5 +-
drivers/tpm/{tpm_tis_i2c.h => tpm_tis_infineon.h} | 0
drivers/tpm/tpm_tis_lpc.c | 1 -
drivers/usb/eth/smsc95xx.c | 4 +-
drivers/usb/eth/usb_ether.c | 2 +-
drivers/usb/host/ehci-hcd.c | 6 +-
drivers/usb/host/usb-uclass.c | 8 +-
drivers/usb/host/xhci.c | 4 +-
drivers/usb/musb-new/usb-compat.h | 10 +-
include/dm/device.h | 119 +++++++++++----------
include/pci.h | 2 +-
include/spi.h | 2 +-
include/tis.h | 60 -----------
include/tpm.h | 6 --
include/usb.h | 2 +-
lib/Kconfig | 1 +
lib/fdtdec.c | 14 +--
lib/tpm.c | 20 +---
test/dm/bus.c | 26 ++---
47 files changed, 209 insertions(+), 257 deletions(-)
rename drivers/tpm/{tpm_tis_i2c.c => tpm_tis_infineon.c} (99%)
rename drivers/tpm/{tpm_tis_i2c.h => tpm_tis_infineon.h} (100%)
delete mode 100644 include/tis.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-10-06 12:31 Simon Glass
@ 2015-10-09 13:56 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-10-09 13:56 UTC (permalink / raw)
To: u-boot
On Tue, Oct 06, 2015 at 01:31:00PM +0100, Simon Glass wrote:
> Hi Tom,
>
> This fixes the driver model tests including the sandbox reset command.
>
>
> The following changes since commit 996ec1dcc58a34b53891acde0ec5df9141b5fcc2:
>
> Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-10-03
> 10:48:06 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 7bb91dd109e2aff5f7f51aed44ac7890f9a4d158:
>
> sandbox: Correct operaion of 'reset' command (2015-10-05 15:47:49 +0100)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151009/62e4e99e/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-10-06 12:31 Simon Glass
2015-10-09 13:56 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-10-06 12:31 UTC (permalink / raw)
To: u-boot
Hi Tom,
This fixes the driver model tests including the sandbox reset command.
The following changes since commit 996ec1dcc58a34b53891acde0ec5df9141b5fcc2:
Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-10-03
10:48:06 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 7bb91dd109e2aff5f7f51aed44ac7890f9a4d158:
sandbox: Correct operaion of 'reset' command (2015-10-05 15:47:49 +0100)
----------------------------------------------------------------
Simon Glass (3):
dm: core: Don't use pinctrl for the root device
dm: test: Show the amount of leaked memory on error
sandbox: Correct operaion of 'reset' command
arch/sandbox/dts/sandbox.dts | 4 ++++
drivers/core/device.c | 8 ++++++--
drivers/misc/reset_sandbox.c | 2 +-
test/dm/core.c | 7 ++++++-
4 files changed, 17 insertions(+), 4 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-09-17 18:53 Simon Glass
@ 2015-09-17 21:03 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-09-17 21:03 UTC (permalink / raw)
To: u-boot
On Thu, Sep 17, 2015 at 12:53:35PM -0600, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0:
>
> Merge git://git.denx.de/u-boot-fdt (2015-09-16 09:53:37 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 6aa8179f818f04a16e15bc589004de68a6d99a23:
>
> dts: do not cut down pinctrl-0 and pinctrl-names for SPL
> full-pinctrl (2015-09-16 19:45:12 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150917/79e712a2/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-09-17 18:53 Simon Glass
2015-09-17 21:03 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-09-17 18:53 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0:
Merge git://git.denx.de/u-boot-fdt (2015-09-16 09:53:37 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 6aa8179f818f04a16e15bc589004de68a6d99a23:
dts: do not cut down pinctrl-0 and pinctrl-names for SPL
full-pinctrl (2015-09-16 19:45:12 -0600)
----------------------------------------------------------------
Masahiro Yamada (1):
dts: do not cut down pinctrl-0 and pinctrl-names for SPL full-pinctrl
dts/Kconfig | 1 +
1 file changed, 1 insertion(+)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-08-31 15:32 Simon Glass
@ 2015-08-31 21:45 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-08-31 21:45 UTC (permalink / raw)
To: u-boot
On Mon, Aug 31, 2015 at 09:32:35AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes Masahiro's pinctrl uclass (used by Rockchip), a few bug
> fixes and tidy-ups, and conversion of the TPM code to driver model.
>
>
> The following changes since commit f875bbb49111c308b90b9ca74d1b79f69498b278:
>
> ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support
> (2015-08-31 00:29:23 +0900)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 897705ec39682ab3bf5bb87bc49d7a491d522051:
>
> dts: fix dependency of OF_SPL_REMOVE_PROPS (2015-08-31 07:57:29 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150831/4644368e/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-08-31 15:32 Simon Glass
2015-08-31 21:45 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-08-31 15:32 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes Masahiro's pinctrl uclass (used by Rockchip), a few bug
fixes and tidy-ups, and conversion of the TPM code to driver model.
The following changes since commit f875bbb49111c308b90b9ca74d1b79f69498b278:
ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support
(2015-08-31 00:29:23 +0900)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 897705ec39682ab3bf5bb87bc49d7a491d522051:
dts: fix dependency of OF_SPL_REMOVE_PROPS (2015-08-31 07:57:29 -0600)
----------------------------------------------------------------
Bin Meng (3):
drivers: kconfig: Move "Generic Driver Options" menu to the top
drivers: kconfig: Move PHYS_TO_BUS to "Device Drivers" menu
drivers: kconfig: Sort driver menu in alphabetical order
Marek Vasut (1):
dm: core: Add Kconfig for simple bus driver
Masahiro Yamada (5):
dm: simplify uclass_foreach_dev() implementation
dm: core: allow device_bind() to not return a device pointer
pinctrl: add pin control uclass support
pinctrl: sandbox: add sandbox pinctrl driver
dts: fix dependency of OF_SPL_REMOVE_PROPS
Misha Komarovskiy (1):
exynos: Rise ARM voltage to 1.1V for chained bootloaders
Simon Glass (30):
dm: Use dev_get_addr() where possible
buildman: Correct 'Series-cover-cc' detection logic
tpm: Remove old pre-driver-model I2C code
tpm: Drop two unused options
tpm: Add Kconfig options for TPMs
tpm: Convert board config TPM options to Kconfig
tpm: Convert drivers to use SPDX
tpm: Move the I2C TPM code into one file
tpm: tpm_tis_i2c: Drop unnecessary methods
tpm: tpm_tis_i2c: Drop struct tpm_vendor_specific
tpm: tpm_tis_i2c: Merge struct tpm_dev into tpm_chip
tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip
tpm: tpm_tis_i2c: Move definitions into the header file
tpm: tpm_tis_i2c: Simplify init code
tpm: tpm_tis_i2c: Use a consistent tpm_tis_i2c_ prefix
tpm: tpm_tis_i2c: Tidy up delays
dm: tpm: Add a uclass for Trusted Platform Modules
dm: tpm: Convert the TPM command and library to driver model
dm: i2c: Add a command to adjust the offset length
tpm: Report tpm errors on the command line
dm: tpm: sandbox: Convert TPM driver to driver model
tpm: Check that parse_byte_string() has data to parse
exynos: x86: dts: Add tpm nodes to the device tree for Chrome OS devices
dm: tpm: Convert I2C driver to driver model
dm: tpm: Convert LPC driver to driver model
tpm: Add a 'tpm info' command
tpm: Add functions to access flags and permissions
dm: tpm: Add a 'tpmtest' command
tpm: Enable 'tpmtest' command for Chrome OS boards with TPMs
tegra: nyan: Enable TPM command and driver
README | 6 -
arch/arm/dts/exynos5250-snow.dts | 9 ++
arch/arm/dts/exynos5250-spring.dts | 8 ++
arch/arm/dts/exynos5420-peach-pit.dts | 6 +-
arch/arm/dts/exynos5800-peach-pi.dts | 6 +-
arch/sandbox/dts/sandbox.dts | 23 ++++
arch/x86/dts/chromebook_link.dts | 5 +
arch/x86/dts/chromebox_panther.dts | 5 +
board/samsung/common/exynos5-dt.c | 7 +-
common/Kconfig | 22 ++++
common/Makefile | 1 +
common/cmd_i2c.c | 33 ++++++
common/cmd_tpm.c | 100 +++++++++++++----
common/cmd_tpm_test.c | 564
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configs/chromebook_link_defconfig | 5 +
configs/chromebox_panther_defconfig | 5 +
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 4 +
configs/controlcenterd_36BIT_SDCARD_defconfig | 4 +
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 4 +
configs/controlcenterd_TRAILBLAZER_defconfig | 4 +
configs/coreboot-x86_defconfig | 5 +
configs/nyan-big_defconfig | 5 +
configs/peach-pi_defconfig | 5 +
configs/peach-pit_defconfig | 5 +
configs/sandbox_defconfig | 7 ++
configs/snow_defconfig | 5 +
configs/spring_defconfig | 5 +
drivers/Kconfig | 60 +++++-----
drivers/Makefile | 1 +
drivers/core/Kconfig | 15 +++
drivers/core/Makefile | 4 +-
drivers/core/device.c | 12 +-
drivers/gpio/s5p_gpio.c | 3 +-
drivers/gpio/sunxi_gpio.c | 3 +-
drivers/gpio/tegra_gpio.c | 3 +-
drivers/i2c/s3c24x0_i2c.c | 6 +-
drivers/i2c/tegra_i2c.c | 2 +-
drivers/pinctrl/Kconfig | 109 ++++++++++++++++++
drivers/pinctrl/Makefile | 4 +
drivers/pinctrl/pinctrl-generic.c | 359
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/pinctrl-sandbox.c | 147
+++++++++++++++++++++++++
drivers/pinctrl/pinctrl-uclass.c | 240
++++++++++++++++++++++++++++++++++++++++
drivers/serial/ns16550.c | 2 +-
drivers/serial/serial_arc.c | 3 +-
drivers/serial/serial_pl01x.c | 2 +-
drivers/serial/serial_s5p.c | 2 +-
drivers/spi/designware_spi.c | 2 +-
drivers/spi/exynos_spi.c | 2 +-
drivers/spi/fsl_dspi.c | 2 +-
drivers/spi/tegra114_spi.c | 2 +-
drivers/spi/tegra20_sflash.c | 2 +-
drivers/spi/tegra20_slink.c | 2 +-
drivers/spi/zynq_spi.c | 2 +-
drivers/tpm/Kconfig | 69 ++++++++++++
drivers/tpm/Makefile | 4 +-
drivers/tpm/tpm-uclass.c | 133
++++++++++++++++++++++
drivers/tpm/tpm.c | 694
-------------------------------------------------------------------------------------------------------------------
drivers/tpm/tpm_atmel_twi.c | 15 +--
drivers/tpm/tpm_internal.h | 287
++++++++++++++++++++++++++++++++++++++++++++++++
drivers/tpm/tpm_tis_i2c.c | 572
+++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
drivers/tpm/{tpm_private.h => tpm_tis_i2c.h} | 88 ++++++++-------
drivers/tpm/tpm_tis_lpc.c | 290
++++++++++++++++++++++--------------------------
drivers/tpm/tpm_tis_sandbox.c | 57 ++++++++--
drivers/usb/host/ehci-tegra.c | 8 +-
drivers/usb/host/xhci-exynos5.c | 2 +-
drivers/video/tegra124/dp.c | 3 +-
dts/Kconfig | 2 +-
include/configs/controlcenterd.h | 7 --
include/configs/efi-x86.h | 2 -
include/configs/exynos5-common.h | 7 --
include/configs/x86-common.h | 2 -
include/dm/device-internal.h | 4 +-
include/dm/lists.h | 4 +-
include/dm/pinctrl.h | 227
++++++++++++++++++++++++++++++++++++++
include/dm/uclass-id.h | 3 +
include/dm/uclass.h | 9 +-
include/fdtdec.h | 2 -
include/tis.h | 3 +
include/tpm.h | 243
+++++++++++++++++++++++++++++++++++++++-
lib/Kconfig | 10 ++
lib/fdtdec.c | 2 -
lib/tpm.c | 82 +++++++++++++-
tools/patman/series.py | 2 +-
83 files changed, 3305 insertions(+), 1377 deletions(-)
create mode 100644 common/cmd_tpm_test.c
create mode 100644 drivers/pinctrl/Kconfig
create mode 100644 drivers/pinctrl/Makefile
create mode 100644 drivers/pinctrl/pinctrl-generic.c
create mode 100644 drivers/pinctrl/pinctrl-sandbox.c
create mode 100644 drivers/pinctrl/pinctrl-uclass.c
create mode 100644 drivers/tpm/tpm-uclass.c
delete mode 100644 drivers/tpm/tpm.c
create mode 100644 drivers/tpm/tpm_internal.h
rename drivers/tpm/{tpm_private.h => tpm_tis_i2c.h} (54%)
create mode 100644 include/dm/pinctrl.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-08-10 13:42 Simon Glass
@ 2015-08-11 0:33 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-08-11 0:33 UTC (permalink / raw)
To: u-boot
On Mon, Aug 10, 2015 at 07:42:02AM -0600, Simon Glass wrote:
> Hi Tom,
>
> Just one patch but it has been hanging around for a while so let's get it in.
>
>
> The following changes since commit bd48c0617b5c7212e5bf22169e716da878842da4:
>
> arm: socfpga: misc: Add support for printing FPGA type (2015-08-08
> 14:14:30 +0200)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 8c4585881de51e8c9a8b2207bb2fab1cd83728b8:
>
> dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no
> serial port (2015-08-10 07:01:28 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150810/c9332fbe/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-08-10 13:42 Simon Glass
2015-08-11 0:33 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-08-10 13:42 UTC (permalink / raw)
To: u-boot
Hi Tom,
Just one patch but it has been hanging around for a while so let's get it in.
The following changes since commit bd48c0617b5c7212e5bf22169e716da878842da4:
arm: socfpga: misc: Add support for printing FPGA type (2015-08-08
14:14:30 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 8c4585881de51e8c9a8b2207bb2fab1cd83728b8:
dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no
serial port (2015-08-10 07:01:28 -0600)
----------------------------------------------------------------
Hans de Goede (1):
dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with
no serial port
drivers/serial/Kconfig | 11 +++++++++++
drivers/serial/serial-uclass.c | 20 +++++++++++++++++---
2 files changed, 28 insertions(+), 3 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-08-06 22:49 Simon Glass
@ 2015-08-07 21:22 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-08-07 21:22 UTC (permalink / raw)
To: u-boot
On Thu, Aug 06, 2015 at 04:49:13PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes some driver model support for devres (managed device
> resource framework), I2C multiplexers, some PMIC framework
> improvements and USB Ethernet additions. It also includes support for
> spring (Exynos5-based Chromebook) as requested by Minkyu (Samsung
> maintainer).
>
>
> The following changes since commit a5325cd5e91f77a2214e80198ae31c1d8b7e7c3c:
>
> configs: Remove CONFIG_SERIAL_MULTI (2015-08-05 14:12:42 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to fac971b2b5efbdb6ed2d12ebdbf7e029c5ed30e8:
>
> exynos: dts: Correct LDO and BUCK naming (2015-08-06 07:44:30 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150807/b0c724fd/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-08-06 22:49 Simon Glass
2015-08-07 21:22 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-08-06 22:49 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes some driver model support for devres (managed device
resource framework), I2C multiplexers, some PMIC framework
improvements and USB Ethernet additions. It also includes support for
spring (Exynos5-based Chromebook) as requested by Minkyu (Samsung
maintainer).
The following changes since commit a5325cd5e91f77a2214e80198ae31c1d8b7e7c3c:
configs: Remove CONFIG_SERIAL_MULTI (2015-08-05 14:12:42 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to fac971b2b5efbdb6ed2d12ebdbf7e029c5ed30e8:
exynos: dts: Correct LDO and BUCK naming (2015-08-06 07:44:30 -0600)
----------------------------------------------------------------
Marcel Ziswiler (1):
dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression
Masahiro Yamada (5):
dm: add DM_FLAG_BOUND flag
devres: introduce Devres (Managed Device Resource) framework
devres: add devm_kmalloc() and friends (managed memory allocators)
devres: make Devres optional with CONFIG_DEVRES
devres: add debug command to dump device resources
Simon Glass (68):
dm: core: Support finding a device by phandle
dm: i2c: Add a message debug function
dm: i2c: Correct comment nits in dm_i2c_reg_read/write()
dm: i2c: Move definitions to the top of the header file
dm: i2c: Add a function to transfer messages
dm: i2c: Add support for multiplexed I2C buses
i2c: Add a mux for GPIO-based I2C bus arbitration
exynos: i2c: Fix code style with ReadWriteByte()
exynos: i2c: Tidy up the driver model code
exynos: dts: Sync up I2C ports with the kernel
exynos: dts: Add PMIC and regulator definitions
exynos: dts: Support EC tunnel and main TPS65090 regulator
dm: cros_ec: Convert the I2C tunnel code to use driver model
cros_ec: Support the LDO access method used by spring
exynos: serial: Refactor init code for debug UART
exynos: Add debug UART support for Samsung S5P serial
exynos: Enable the debug UART in SPL
dm: power: Add a new driver for the TPS65090 PMIC
dm: power: Add support for TPS65090 FETs
dm: power: Add support for the S5M8767 PMIC
dm: power: Add support for S5M8767 regulators
dm: pmic: max77686: Correct a few nits
dm: pmic: Correct the pmic_reg_write() implementation
dm: power: max77686: Correct BUCK register access
dm: pmic: max77686: Support all BUCK regulators
dm: power: Don't return an error when regulators are not autoset
dm: pmic: Display the regulator limits on error
dm: video: Add support for video bridges
video: Work around lack of pinctrl
dm: video: Add support for the Parade PS8622/625 bridge
dm: video: Add support for the NXP PTN3460 bridge
exynos: spi: Convert the timeout to debug()
exynos: Correct return value in exynos_mmc_init()
exynos: Add support for the DisplayPort hotplug detect
exynos: video: Correct debug output
exynos: Tidy up CPU frequency display
dm: gpio: Check a GPIO is valid before using it
dts: exynos: snow: Add memory layout description
dts: exynos: pit: Add a new node for the parade video bridge driver
dts: exynos: snow: Add a new node for the NXP video bridge driver
exynos: dts: Drop the old TPS65090 I2C node
exynos: Add common board code for exynos5 boards that use device tree
exynos: Enable new features for exynos5 boards
exynos: Remove unneeded device tree control #ifdefs
exynos: config: Move common options to the common headers and tidy up
exynos: Drop old exynos5420-specific board code
exynos: Drop old exynos5250-specific board code
power: Remove old TPS65090 drivers
cros_ec: Remove the old tunnel code
video: Remove the old parade driver
dts: Drop unused compatible ID for the NXP video bridge
exynos: video: Remove non-device-tree code
exynos: Add support for spring
dm: Make regmap and syscon optional
dm: usb: Add an errno.h header to usb_ether.c
dm: usb: Prepare dwc2 driver for driver-model conversion
dm: usb: Add driver-model support to dwc2
net: smsc95xx: Sort the include files
net: smsc95xx: Rename AX_RX_URB_SIZE to RX_URB_SIZE
net: smsc95xx: Correct the error numbers
net: smsc95xx: Prepare for conversion to driver model
net: smsc95xx: Add driver-model support
dm: Support address translation for simple-bus
sandbox: Enable devres subsystem
dm: core: Add a way to set a device name
dm: core: Fix a typo in the uclass_get_device_by_name() comment
x86: Enable debug UART for Minnowmax
exynos: dts: Correct LDO and BUCK naming
York Sun (2):
lib/fdtdec: Fix compiling warning caused by changing fdt_addr_t type
lib/fdtdec: Fix fdt_addr_t and fdt_size_t typedef
arch/arm/cpu/armv7/exynos/Kconfig | 6 +
arch/arm/cpu/armv7/exynos/lowlevel_init.c | 5 +
arch/arm/cpu/armv7/exynos/pinmux.c | 10 +
arch/arm/cpu/armv7/s5p-common/cpu_info.c | 7 +-
arch/arm/dts/Makefile | 1 +
arch/arm/dts/exynos4412-odroid.dts | 56 ++--
arch/arm/dts/exynos4412-trats2.dts | 70 ++--
arch/arm/dts/exynos5.dtsi | 34 +-
arch/arm/dts/exynos5250-arndale.dts | 16 +-
arch/arm/dts/exynos5250-smdk5250.dts | 171 +++++++++-
arch/arm/dts/exynos5250-snow.dts | 371 ++++++++++++++++++---
arch/arm/dts/exynos5250-spring.dts | 588
+++++++++++++++++++++++++++++++++
arch/arm/dts/exynos5250.dtsi | 24 +-
arch/arm/dts/exynos5420-peach-pit.dts | 260 +++++++++++++--
arch/arm/dts/exynos5420-smdk5420.dts | 4 +-
arch/arm/dts/exynos54xx.dtsi | 36 +-
arch/arm/dts/exynos5800-peach-pi.dts | 131 ++++++--
arch/arm/include/asm/arch-exynos/dp_info.h | 2 -
arch/arm/include/asm/arch-exynos/periph.h | 1 +
arch/x86/cpu/start.S | 9 +
board/samsung/common/Makefile | 1 +
board/samsung/common/board.c | 17 +-
board/samsung/common/exynos5-dt.c | 362 ++++++++++++++++++++
board/samsung/smdk5250/Kconfig | 13 +
board/samsung/smdk5250/MAINTAINERS | 6 +
board/samsung/smdk5250/Makefile | 4 -
board/samsung/smdk5250/exynos5-dt.c | 306 -----------------
board/samsung/smdk5420/Makefile | 4 -
board/samsung/smdk5420/smdk5420.c | 143 --------
common/cmd_regulator.c | 3 +-
common/cmd_usb.c | 9 +-
configs/arndale_defconfig | 2 +
configs/minnowmax_defconfig | 4 +
configs/odroid-xu3_defconfig | 6 +
configs/peach-pi_defconfig | 19 ++
configs/peach-pit_defconfig | 19 ++
configs/sandbox_defconfig | 2 +
configs/smdk5250_defconfig | 10 +
configs/smdk5420_defconfig | 6 +
configs/snow_defconfig | 23 ++
configs/spring_defconfig | 42 +++
doc/README.i2c | 60 ++++
doc/device-tree-bindings/i2c/i2c-mux.txt | 60 ++++
doc/device-tree-bindings/video/bridge/ps8622.txt | 33 ++
drivers/core/Kconfig | 43 +++
drivers/core/Makefile | 5 +-
drivers/core/device-remove.c | 8 +
drivers/core/device.c | 34 +-
drivers/core/devres.c | 259 +++++++++++++++
drivers/core/simple-bus.c | 30 ++
drivers/core/uclass.c | 42 +++
drivers/gpio/gpio-uclass.c | 6 +-
drivers/i2c/Kconfig | 26 ++
drivers/i2c/Makefile | 4 +
drivers/i2c/cros_ec_ldo.c | 77 +++++
drivers/i2c/cros_ec_tunnel.c | 41 +++
drivers/i2c/i2c-uclass.c | 27 ++
drivers/i2c/muxes/Kconfig | 17 +
drivers/i2c/muxes/Makefile | 7 +
drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 147 +++++++++
drivers/i2c/muxes/i2c-mux-uclass.c | 198 +++++++++++
drivers/i2c/s3c24x0_i2c.c | 153 ++++++---
drivers/misc/cros_ec.c | 288 +++-------------
drivers/mmc/s5p_sdhci.c | 2 +-
drivers/pci/pci_tegra.c | 10 +-
drivers/power/pmic/Kconfig | 18 +
drivers/power/pmic/Makefile | 5 +-
drivers/power/pmic/max77686.c | 6 +-
drivers/power/pmic/pmic-uclass.c | 2 +-
drivers/power/pmic/pmic_tps65090.c | 310 -----------------
drivers/power/pmic/pmic_tps65090_ec.c | 218 ------------
drivers/power/pmic/s5m8767.c | 95 ++++++
drivers/power/pmic/tps65090.c | 94 ++++++
drivers/power/regulator/Kconfig | 19 ++
drivers/power/regulator/Makefile | 2 +
drivers/power/regulator/max77686.c | 28 +-
drivers/power/regulator/regulator-uclass.c | 4 +-
drivers/power/regulator/s5m8767.c | 269 +++++++++++++++
drivers/power/regulator/tps65090_regulator.c | 138 ++++++++
drivers/serial/Kconfig | 7 +
drivers/serial/serial_s5p.c | 63 +++-
drivers/spi/exynos_spi.c | 6 +-
drivers/spi/fsl_dspi.c | 4 +-
drivers/usb/eth/smsc95xx.c | 469
+++++++++++++++++---------
drivers/usb/eth/usb_ether.c | 1 +
drivers/usb/host/dwc2.c | 255 +++++++++++---
drivers/video/Kconfig | 2 +
drivers/video/Makefile | 3 +-
drivers/video/bridge/Kconfig | 27 ++
drivers/video/bridge/Makefile | 9 +
drivers/video/bridge/ps862x.c | 134 ++++++++
drivers/video/bridge/ptn3460.c | 38 +++
drivers/video/bridge/video-bridge-uclass.c | 119 +++++++
drivers/video/exynos_dp.c | 24 +-
drivers/video/exynos_dp_lowlevel.c | 2 +-
drivers/video/parade.c | 231 -------------
drivers/video/tegra.c | 2 +-
include/configs/arndale.h | 18 +-
include/configs/exynos5-common.h | 13 +-
include/configs/exynos5-dt-common.h | 21 +-
include/configs/exynos5250-common.h | 16 +-
include/configs/exynos5420-common.h | 9 +-
include/configs/odroid_xu3.h | 2 +
include/configs/peach-pi.h | 14 +-
include/configs/peach-pit.h | 24 +-
include/configs/smdk5250.h | 16 +-
include/configs/smdk5420.h | 10 +-
include/configs/snow.h | 15 +-
include/configs/spring.h | 20 ++
include/cros_ec.h | 16 +-
include/dm/device-internal.h | 44 +++
include/dm/device.h | 284 ++++++++++++++++
include/dm/uclass-id.h | 2 +
include/dm/uclass.h | 19 +-
include/dm/util.h | 9 +
include/fdtdec.h | 9 +-
include/i2c.h | 150 ++++++---
include/parade.h | 18 -
include/power/s5m8767.h | 85 +++++
include/power/tps65090.h | 56 ++++
include/power/tps65090_pmic.h | 73 ----
include/video_bridge.h | 92 ++++++
lib/fdtdec.c | 3 -
test/dm/cmd_dm.c | 12 +-
124 files changed, 5743 insertions(+), 2291 deletions(-)
create mode 100644 arch/arm/dts/exynos5250-spring.dts
create mode 100644 board/samsung/common/exynos5-dt.c
delete mode 100644 board/samsung/smdk5250/exynos5-dt.c
delete mode 100644 board/samsung/smdk5420/smdk5420.c
create mode 100644 configs/spring_defconfig
create mode 100644 doc/README.i2c
create mode 100644 doc/device-tree-bindings/i2c/i2c-mux.txt
create mode 100644 doc/device-tree-bindings/video/bridge/ps8622.txt
create mode 100644 drivers/core/devres.c
create mode 100644 drivers/i2c/cros_ec_ldo.c
create mode 100644 drivers/i2c/cros_ec_tunnel.c
create mode 100644 drivers/i2c/muxes/Kconfig
create mode 100644 drivers/i2c/muxes/Makefile
create mode 100644 drivers/i2c/muxes/i2c-arb-gpio-challenge.c
create mode 100644 drivers/i2c/muxes/i2c-mux-uclass.c
delete mode 100644 drivers/power/pmic/pmic_tps65090.c
delete mode 100644 drivers/power/pmic/pmic_tps65090_ec.c
create mode 100644 drivers/power/pmic/s5m8767.c
create mode 100644 drivers/power/pmic/tps65090.c
create mode 100644 drivers/power/regulator/s5m8767.c
create mode 100644 drivers/power/regulator/tps65090_regulator.c
create mode 100644 drivers/video/bridge/Kconfig
create mode 100644 drivers/video/bridge/Makefile
create mode 100644 drivers/video/bridge/ps862x.c
create mode 100644 drivers/video/bridge/ptn3460.c
create mode 100644 drivers/video/bridge/video-bridge-uclass.c
delete mode 100644 drivers/video/parade.c
create mode 100644 include/configs/spring.h
delete mode 100644 include/parade.h
create mode 100644 include/power/s5m8767.h
create mode 100644 include/power/tps65090.h
delete mode 100644 include/power/tps65090_pmic.h
create mode 100644 include/video_bridge.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-07-22 17:59 Simon Glass
@ 2015-07-23 19:30 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-07-23 19:30 UTC (permalink / raw)
To: u-boot
On Wed, Jul 22, 2015 at 11:59:38AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This contains Hans's USB fixes and changes, some preliminary patches
> for Masahiro's devres stuff and various new uclasses mostly aimed at
> Rockchip support. There is also the driver model device tree SPL
> support, USB Ethernet work, PMIC improvements to auto-set regulators
> and some changes to allow PCI devices to be probed in driver model
> without needing device tree (as we do with USB).
>
> I have left out pinctrl for now since I hope we will pick up
> Masahiro's implementation instead and then add my simple one on top.
>
>
> The following changes since commit b217c89e8565ade3aaa9f74c33c93236bf151187:
>
> Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
> (2015-07-20 17:12:52 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 6b9f9eadffb5f64801746593784e12f07f2fadd0:
>
> linux_compat: handle __GFP_ZERO in kmalloc() (2015-07-22 07:30:44 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150723/e240822e/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-07-22 17:59 Simon Glass
2015-07-23 19:30 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-07-22 17:59 UTC (permalink / raw)
To: u-boot
Hi Tom,
This contains Hans's USB fixes and changes, some preliminary patches
for Masahiro's devres stuff and various new uclasses mostly aimed at
Rockchip support. There is also the driver model device tree SPL
support, USB Ethernet work, PMIC improvements to auto-set regulators
and some changes to allow PCI devices to be probed in driver model
without needing device tree (as we do with USB).
I have left out pinctrl for now since I hope we will pick up
Masahiro's implementation instead and then add my simple one on top.
The following changes since commit b217c89e8565ade3aaa9f74c33c93236bf151187:
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
(2015-07-20 17:12:52 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 6b9f9eadffb5f64801746593784e12f07f2fadd0:
linux_compat: handle __GFP_ZERO in kmalloc() (2015-07-22 07:30:44 -0600)
----------------------------------------------------------------
Hans de Goede (16):
usb: Drop device-model specific copy of usb_legacy_port_reset
usb: usb_setup_device: Drop unneeded portnr function argument
usb: Pass device instead of portnr to usb_legacy_port_reset
usb: Add an usb_device parameter to usb_reset_root_port
dm: Export device_remove_children / device_unbind_children
dm: usb: Fix "usb tree" output
dm: usb: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea
dm: usb: Use device_unbind_children to clean up usb devs on stop
dm: usb: Rename usb_find_child to usb_find_emul_child
dm: usb: Allow usb host drivers to implement usb_reset_root_port
dm: usb: Do not assume that first child is always a hub
musb: Allow musb_platform_enable to return an error code
musb: Update usb-compat to work with struct usb_device without a
parent ptr
musb: Rename and wrap public functions
musb: Add musb_host_data struct to hold global data
musb: Add device-model support to the musb-host u-boot glue
Masahiro Yamada (7):
dm: change dm_warn() message into debug() in uclass_add()
dm: do not set DM_FLAG_ACTIVATED twice
dm: remove redundant CONFIG_DM from driver/core/Makefile
x86: delete unneeded declarations of disable_irq() and enable_irq()
linux_compat: remove cpu_relax() define
linux_compat: move vzalloc() to header file as an inline function
linux_compat: handle __GFP_ZERO in kmalloc()
Simon Glass (81):
Add a dhrystone benchmark command
sandbox: Enable dhry command
mkimage: Display a better list of available image types
fdt: Add a function to remove unused strings from a device tree
fdt: Add fdt_first/next_region() functions
fdt: Add fdtgrep tool
dm: Reduce SPL device tree size
dm: arm: Put driver model I2C drivers before legacy ones
Add a way of checking the position of a structure member
debug_uart: Remove use of asmlinkage
dm: Allow debug UART to support an early console
sandbox: Drop special-case sandbox console code
dm: Move the tree/uclass dump code into its own file
dm: core: Use debug() instead of printf() for failures
dm: core: Add a function to find any device from device tree
dm: core: Correct device_get_child_by_of_offset() parameter
dm: gpio: Allow GPIO uclass to be used in SPL
dm: gpio: Add dm_gpio_lookup_name() to look up a GPIO name
dm: gpio: Add dm_gpio_request() to manually request a GPIO
dm: Add support for register maps (regmap)
dm: Add support for generic system controllers (syscon)
dm: Add support for LEDs
dm: led: Add a driver for GPIO-controlled LEDs
spl: Add debugging info for spl_mmc boot
dm: mmc: Add an MMC uclass
mmc: Add debug() output on read errors
dm: mmc: Allow driver model to be used for MMC in SPL
mmc: Add structure comments for dwmmc
dm: power: Avoid case-insensitve match for child names
dm: power: Add regulator flags to centralise auto-set logic
dm: pmic: Split output from function
dm: power: Add a function to set up all regulators
dm: power: Use debug() for errors in regulator uclass
dm: pmic: Add functions to adjust PMIC registers
dm: power: Allow use of regulators in SPL
Drop CONFIG_ERRNO_STR from SPL
dm: Add support for RAM drivers
dm: spi: Make local functions static
ns16550: Improve debug UART so it can work with 32-bit access
Add rivest cipher 4 (rc4) implementation
lib: Add function to extract a number from the end of a string
fdt: Provide debug info when a device tree cannot be found
dm: spl: Allow device tree/driver model in board_init_f()
spl: Add a debug string before the jump to U-Boot
mkimage: Set up a file size parameter and keep it updated
dm: Add a system reset uclass
zynq: Rename struct clk_ops to zynq_clk_ops
dm: Add a clock uclass
power: pmic: Use trailing_strtol() instead of a local function
dm: Add platform data advice and admonishment
dm: test: Allow test names to leave out the dm_test_ prefix
dm: test: Add tests for the clk uclass
sandbox: Support multiple reset types
dm: reset: Allow reset_walk() to return
sandbox: Add a warm and cold reset driver
sandbox: Use the reset driver to handle reset
dm: test: Add a test for the reset uclass
dm: test: Add a test for the ram uclass
dm: test: Add a test for the mmc uclass
led: Return -ENODEV if the LED device cannot be found
dm: test: Add a test for the LED uclass
dm: test: Add a test for the system controller uclass
dm: test: Add a size to each reg property
test: Add a macro to check that a value is not an error pointer
dm: core: Add device checking to syscon_get_regmap()
test: Add a test for regmap
dm: core: Add \n to two dm_warn() messages
usb: ehci: Correct a missing hypen in an error message
usb: Update some EHCI driver licenses to use SPDX
dm: pci: Add support for PCI driver matching
dm: eth: Add driver-model support to the rtl8169 driver
dm: pci: Add a function to get the BDF for a device
dm: usb: Correct the struct usb_driver_entry comment
dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH
dm: eth: Avoid blocking on packet reception
dm: usb: eth: Support driver model with USB Ethernet
dm: usb: Adjust the USB_DEVICE() macro naming
x86: minnowmax: Drop the cache line size hack
dm: usb: Add driver-model support to ehci-pci
dm: usb: eth: Add driver-model support to the asix driver
net: Allow drivers to return -ENOSYS with the write_hwaddr() method
Makefile | 2 +-
arch/arm/cpu/u-boot-spl.lds | 12 +-
arch/arm/mach-zynq/clk.c | 6 +-
arch/sandbox/cpu/cpu.c | 9 +-
arch/sandbox/cpu/state.c | 4 +
arch/sandbox/dts/test.dts | 67 ++++-
arch/sandbox/include/asm/state.h | 3 +
arch/sandbox/include/asm/test.h | 19 ++
arch/sandbox/include/asm/u-boot-sandbox.h | 3 +
arch/x86/include/asm/interrupt.h | 4 -
common/cmd_tsi148.c | 8 +-
common/cmd_usb.c | 28 +-
common/console.c | 25 +-
common/image.c | 58 ++--
common/spl/spl.c | 36 ++-
common/spl/spl_mmc.c | 26 +-
common/usb.c | 20 +-
common/usb_hub.c | 2 +-
common/usb_kbd.c | 4 +-
common/usb_storage.c | 2 +-
configs/sandbox_defconfig | 8 +
doc/device-tree-bindings/leds/common.txt | 23 ++
doc/device-tree-bindings/leds/leds-gpio.txt | 52 ++++
doc/driver-model/README.txt | 17 +-
drivers/Kconfig | 6 +
drivers/Makefile | 3 +
drivers/clk/Kconfig | 19 ++
drivers/clk/Makefile | 9 +
drivers/clk/clk-uclass.c | 58 ++++
drivers/clk/clk_sandbox.c | 85 ++++++
drivers/core/Kconfig | 4 +
drivers/core/Makefile | 5 +-
drivers/core/device-remove.c | 22 +-
drivers/core/device.c | 34 ++-
drivers/core/dump.c | 96 +++++++
drivers/core/lists.c | 6 +-
drivers/core/regmap.c | 86 ++++++
drivers/core/syscon-uclass.c | 76 ++++++
drivers/core/uclass.c | 4 +-
drivers/gpio/Makefile | 4 -
drivers/gpio/gpio-uclass.c | 36 ++-
drivers/led/Kconfig | 26 ++
drivers/led/Makefile | 9 +
drivers/led/led-uclass.c | 49 ++++
drivers/led/led_gpio.c | 107 ++++++++
drivers/misc/Kconfig | 9 +
drivers/misc/Makefile | 3 +
drivers/misc/reset-uclass.c | 81 ++++++
drivers/misc/reset_sandbox.c | 100 +++++++
drivers/misc/syscon_sandbox.c | 27 ++
drivers/mmc/Kconfig | 10 +
drivers/mmc/Makefile | 3 +
drivers/mmc/mmc-uclass.c | 34 +++
drivers/mmc/mmc.c | 10 +-
drivers/mmc/sandbox_mmc.c | 25 ++
drivers/net/designware.c | 2 +-
drivers/net/rtl8169.c | 236 +++++++++++++----
drivers/net/sandbox-raw.c | 2 +-
drivers/net/sandbox.c | 2 +-
drivers/net/sunxi_emac.c | 2 +-
drivers/pci/pci-uclass.c | 144 ++++++++--
drivers/pci/pci_compat.c | 8 +-
drivers/power/pmic/pmic-uclass.c | 57 ++--
drivers/power/regulator/regulator-uclass.c | 134 +++++-----
drivers/ram/Kconfig | 18 ++
drivers/ram/Makefile | 8 +
drivers/ram/ram-uclass.c | 28 ++
drivers/ram/sandbox_ram.c | 38 +++
drivers/serial/ns16550.c | 36 +--
drivers/spi/spi-uclass.c | 8 +-
drivers/usb/Kconfig | 4 +-
drivers/usb/eth/asix.c | 237 +++++++++++++++--
drivers/usb/eth/usb_ether.c | 131 +++++++++-
drivers/usb/host/ehci-hcd.c | 17 +-
drivers/usb/host/ehci-pci.c | 112 +++++---
drivers/usb/host/ehci.h | 15 +-
drivers/usb/host/r8a66597-hcd.c | 14 +-
drivers/usb/host/r8a66597.h | 14 +-
drivers/usb/host/usb-uclass.c | 79 ++----
drivers/usb/musb-new/am35x.c | 7 +
drivers/usb/musb-new/musb_core.c | 20 ++
drivers/usb/musb-new/musb_core.h | 18 ++
drivers/usb/musb-new/musb_dsps.c | 6 +
drivers/usb/musb-new/musb_gadget_ep0.c | 1 +
drivers/usb/musb-new/musb_host.c | 4 +
drivers/usb/musb-new/musb_uboot.c | 211 +++++++++++----
drivers/usb/musb-new/musb_uboot.h | 28 ++
drivers/usb/musb-new/omap2430.c | 5 +
drivers/usb/musb-new/sunxi.c | 5 +-
drivers/usb/musb-new/usb-compat.h | 70 +++++
dts/Kconfig | 12 +
include/asm-generic/global_data.h | 1 +
include/asm-generic/gpio.h | 25 ++
include/clk.h | 80 ++++++
include/common.h | 11 +
include/configs/minnowmax.h | 3 -
include/debug_uart.h | 22 +-
include/dm/device-internal.h | 26 ++
include/dm/device.h | 16 +-
include/dm/platdata.h | 9 +
include/dm/uclass-id.h | 6 +
include/dm/util.h | 6 +
include/dwmmc.h | 18 +-
include/image.h | 11 +
include/led.h | 51 ++++
include/libfdt.h | 256 +++++++++++++++++-
include/linux/compat.h | 28 +-
include/mmc.h | 22 ++
include/net.h | 14 +-
include/pci.h | 87 +++++-
include/power/pmic.h | 34 +++
include/power/regulator.h | 53 +++-
include/power/sandbox_pmic.h | 4 +-
include/ram.h | 38 +++
include/rc4.h | 21 ++
include/regmap.h | 72 +++++
include/reset.h | 71 +++++
include/spl.h | 12 +
include/syscon.h | 56 ++++
include/test/ut.h | 15 ++
include/usb.h | 49 ++--
include/usb_ether.h | 89 ++++++-
include/vsprintf.h | 26 ++
lib/Kconfig | 2 +
lib/Makefile | 5 +-
lib/dhry/Kconfig | 7 +
lib/dhry/Makefile | 7 +
lib/dhry/cmd_dhry.c | 34 +++
lib/dhry/dhry.h | 442
+++++++++++++++++++++++++++++++
lib/dhry/dhry_1.c | 421
+++++++++++++++++++++++++++++
lib/dhry/dhry_2.c | 217 +++++++++++++++
lib/fdtdec.c | 21 +-
lib/libfdt/Makefile | 2 +-
lib/libfdt/fdt_region.c | 492
++++++++++++++++++++++++++++++++++
lib/libfdt/fdt_rw.c | 32 +++
lib/linux_compat.c | 16 +-
lib/rc4.c | 49 ++++
lib/vsprintf.c | 19 ++
net/eth.c | 11 +-
scripts/Makefile.spl | 32 +++
test/dm/Makefile | 7 +
test/dm/clk.c | 59 +++++
test/dm/cmd_dm.c | 82 +-----
test/dm/led.c | 72 +++++
test/dm/mmc.c | 27 ++
test/dm/ram.c | 28 ++
test/dm/regmap.c | 82 ++++++
test/dm/regulator.c | 2 +-
test/dm/reset.c | 74 ++++++
test/dm/syscon.c | 31 +++
test/dm/test-main.c | 15 +-
tools/Makefile | 6 +-
tools/fdtgrep.c | 1234
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/imagetool.h | 1 +
tools/mkimage.c | 77 +++++-
155 files changed, 7319 insertions(+), 736 deletions(-)
create mode 100644 doc/device-tree-bindings/leds/common.txt
create mode 100644 doc/device-tree-bindings/leds/leds-gpio.txt
create mode 100644 drivers/clk/Kconfig
create mode 100644 drivers/clk/Makefile
create mode 100644 drivers/clk/clk-uclass.c
create mode 100644 drivers/clk/clk_sandbox.c
create mode 100644 drivers/core/dump.c
create mode 100644 drivers/core/regmap.c
create mode 100644 drivers/core/syscon-uclass.c
create mode 100644 drivers/led/Kconfig
create mode 100644 drivers/led/Makefile
create mode 100644 drivers/led/led-uclass.c
create mode 100644 drivers/led/led_gpio.c
create mode 100644 drivers/misc/reset-uclass.c
create mode 100644 drivers/misc/reset_sandbox.c
create mode 100644 drivers/misc/syscon_sandbox.c
create mode 100644 drivers/mmc/mmc-uclass.c
create mode 100644 drivers/mmc/sandbox_mmc.c
create mode 100644 drivers/ram/Kconfig
create mode 100644 drivers/ram/Makefile
create mode 100644 drivers/ram/ram-uclass.c
create mode 100644 drivers/ram/sandbox_ram.c
create mode 100644 drivers/usb/musb-new/musb_uboot.h
create mode 100644 include/led.h
create mode 100644 include/ram.h
create mode 100644 include/rc4.h
create mode 100644 include/regmap.h
create mode 100644 include/reset.h
create mode 100644 include/syscon.h
create mode 100644 lib/dhry/Kconfig
create mode 100644 lib/dhry/Makefile
create mode 100644 lib/dhry/cmd_dhry.c
create mode 100644 lib/dhry/dhry.h
create mode 100644 lib/dhry/dhry_1.c
create mode 100644 lib/dhry/dhry_2.c
create mode 100644 lib/libfdt/fdt_region.c
create mode 100644 lib/rc4.c
create mode 100644 test/dm/clk.c
create mode 100644 test/dm/led.c
create mode 100644 test/dm/mmc.c
create mode 100644 test/dm/ram.c
create mode 100644 test/dm/regmap.c
create mode 100644 test/dm/reset.c
create mode 100644 test/dm/syscon.c
create mode 100644 tools/fdtgrep.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-06-11 23:34 Simon Glass
@ 2015-06-12 12:12 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-06-12 12:12 UTC (permalink / raw)
To: u-boot
On Thu, Jun 11, 2015 at 05:34:53PM -0600, Simon Glass wrote:
> Hi Tom,
>
> These are mostly the pre-work to enable device tree/driver model in SPL.
> They were originally sent as part of a rockchip series. I've applied these
> now since they've been sitting for a while, but unfortunately the rockchip
> work has expanded considerably and in any case is not ready to send.
> Hopefully later this month, but not for this release.
>
>
> The following changes since commit b2016133edec9ece02dca7881e2e0c059d2b421c:
>
> Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-06-10
> 10:55:49 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 257bfd2e215ff02aacce23e14bf17b61524a723f:
>
> dm: usb: tegra: Drop legacy USB code (2015-06-10 19:26:55 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150612/f5874bc5/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-06-11 23:34 Simon Glass
2015-06-12 12:12 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-06-11 23:34 UTC (permalink / raw)
To: u-boot
Hi Tom,
These are mostly the pre-work to enable device tree/driver model in SPL.
They were originally sent as part of a rockchip series. I've applied these
now since they've been sitting for a while, but unfortunately the rockchip
work has expanded considerably and in any case is not ready to send.
Hopefully later this month, but not for this release.
The following changes since commit b2016133edec9ece02dca7881e2e0c059d2b421c:
Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-06-10
10:55:49 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 257bfd2e215ff02aacce23e14bf17b61524a723f:
dm: usb: tegra: Drop legacy USB code (2015-06-10 19:26:55 -0600)
----------------------------------------------------------------
Simon Glass (16):
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()
dm: tegra: usb: Move USB to driver model
dm: usb: Implement usb_detect_change() for driver model
arm: spl: Add an API to detect when U-Boot is started from SPL
arm: Allow cleanup_before_linux() without disabling caches
sandbox: Add an implementation for cleanup_before_linux_select()
Remove typedefs from bmp_layout.h
lcd: Support colour lookup table on 16bpp display in BMP images
dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model
fdt: arm: Drop device tree padding
dts: Disable device tree for SPL on all boards
dm: serial: Don't support CONFIG_CONS_INDEX with device tree
Add a simple version of memalign()
Remove SPL undefine of CONFIG_OF_CONTROL
sandbox: Move CONFIG_SANDBOX_SERIAL to Kconfig
dm: usb: tegra: Drop legacy USB code
arch/arm/Kconfig | 2 +
arch/arm/cpu/armv7/cpu.c | 47 ++++++++++++---------
arch/arm/cpu/armv7/exynos/Kconfig | 8 ++++
arch/arm/cpu/armv7/s5pc1xx/Kconfig | 2 +
arch/arm/dts/Makefile | 3 +-
arch/arm/mach-tegra/Kconfig | 6 +++
arch/arm/mach-tegra/board2.c | 1 -
arch/sandbox/cpu/cpu.c | 5 +++
common/cmd_bmp.c | 16 ++++----
common/lcd.c | 33 +++++++++++----
common/malloc_simple.c | 14 +++++++
configs/am335x_boneblack_vboot_defconfig | 1 +
configs/arches_defconfig | 1 +
configs/canyonlands_defconfig | 1 +
configs/galileo_defconfig | 1 +
configs/microblaze-generic_defconfig | 1 +
configs/odroid_defconfig | 1 +
configs/origen_defconfig | 1 +
configs/s5pc210_universal_defconfig | 1 +
configs/sandbox_defconfig | 1 +
configs/socfpga_socrates_defconfig | 1 +
configs/trats2_defconfig | 1 +
configs/trats_defconfig | 1 +
configs/zynq_microzed_defconfig | 1 +
configs/zynq_zc70x_defconfig | 1 +
configs/zynq_zc770_xm010_defconfig | 1 +
configs/zynq_zc770_xm012_defconfig | 1 +
configs/zynq_zc770_xm013_defconfig | 1 +
configs/zynq_zed_defconfig | 1 +
configs/zynq_zybo_defconfig | 1 +
drivers/core/Makefile | 2 +
drivers/i2c/i2c-uclass-compat.c | 21 ++++++++++
drivers/serial/Kconfig | 20 +++++++++
drivers/serial/ns16550.c | 4 ++
drivers/serial/serial-uclass.c | 68
+++++++++++++++++--------------
drivers/usb/host/ehci-tegra.c | 150
--------------------------------------------------------------------
drivers/usb/host/usb-uclass.c | 43 ++++++++++++++++++++
drivers/video/atmel_lcdfb.c | 4 +-
drivers/video/bus_vcxk.c | 4 +-
drivers/video/cfb_console.c | 10 ++---
include/bmp_layout.h | 17 ++++----
include/common.h | 15 +++++++
include/config_uncmd_spl.h | 2 +
include/configs/sandbox.h | 1 -
include/fdtdec.h | 9 +++--
include/i2c.h | 6 +++
include/ns16550.h | 2 +-
include/spl.h | 13 ++++++
lib/fdtdec.c | 3 --
scripts/Makefile.uncmd_spl | 2 +
50 files changed, 309 insertions(+), 243 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-06-05 14:20 Simon Glass
@ 2015-06-06 13:27 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-06-06 13:27 UTC (permalink / raw)
To: u-boot
On Fri, Jun 05, 2015 at 08:20:29AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes some fixes and tidy-ups, mostly for sandbox.
>
>
> The following changes since commit d8abb46b37fadff0349adb376df6d3ecd09ee7d1:
>
> board/BuR/common: fix netconsole (2015-06-02 12:58:51 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to d9a607f2bd4315c9e370aa358ea9168d615a48fc:
>
> gpio: fix typos in GPIO header (2015-06-04 03:38:05 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150606/d5de6c6f/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-06-05 14:20 Simon Glass
2015-06-06 13:27 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-06-05 14:20 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes some fixes and tidy-ups, mostly for sandbox.
The following changes since commit d8abb46b37fadff0349adb376df6d3ecd09ee7d1:
board/BuR/common: fix netconsole (2015-06-02 12:58:51 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to d9a607f2bd4315c9e370aa358ea9168d615a48fc:
gpio: fix typos in GPIO header (2015-06-04 03:38:05 -0600)
----------------------------------------------------------------
Masahiro Yamada (1):
gpio: fix typos in GPIO header
Simon Glass (7):
sandbox: Tidy up terminal restore
dm: pci: Allow PCI bus numbering aliases
dm: Sort the uclass IDs after the tegra/PMIC addition
sandbox: dts: Sort the test.dts file a little
sandbox: dts: Sort the sandbox.dts file
sandbox: dts: Add the real-time-clock test nodes back in
sandbox: Compile test device tree when CONFIG_UT_DM is defined
arch/sandbox/cpu/cpu.c | 2 +
arch/sandbox/cpu/os.c | 8 ++--
arch/sandbox/dts/Makefile | 2 +-
arch/sandbox/dts/sandbox.dts | 106 ++++++++++++++++++++++---------------------
arch/sandbox/dts/test.dts | 66 +++++++++++++++++----------
drivers/pci/pci-uclass.c | 1 +
include/asm-generic/gpio.h | 16 +++----
include/dm/uclass-id.h | 8 ++--
include/os.h | 8 ++++
test/dm/pci.c | 11 +++++
10 files changed, 135 insertions(+), 93 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-05-08 4:01 Simon Glass
@ 2015-05-10 14:07 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-05-10 14:07 UTC (permalink / raw)
To: u-boot
On Thu, May 07, 2015 at 10:01:36PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes the real-time-clock uclass, a driver model test suite
> speed-up and part of Han's USB work (the rest need to wait for some patch
> respins).
>
>
> The following changes since commit 905e8f9e53766e606bd4a0ed46d804889e613f32:
>
> Prepare v2015.07-rc1 (2015-05-05 19:52:15 -0400)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to a5e1bcdeebebabdc5d013fbd488f87a4e62ff411:
>
> dm: sf: Update default name of spi flash in structure udevice (2015-05-06
> 14:00:35 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150510/ff19437b/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-05-08 4:01 Simon Glass
2015-05-10 14:07 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-05-08 4:01 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes the real-time-clock uclass, a driver model test suite
speed-up and part of Han's USB work (the rest need to wait for some patch
respins).
The following changes since commit 905e8f9e53766e606bd4a0ed46d804889e613f32:
Prepare v2015.07-rc1 (2015-05-05 19:52:15 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to a5e1bcdeebebabdc5d013fbd488f87a4e62ff411:
dm: sf: Update default name of spi flash in structure udevice (2015-05-06
14:00:35 -0600)
----------------------------------------------------------------
Axel Lin (1):
dm: i2c-gpio: Remove redundant dm_gpio_set_value() call
Haikun.Wang at freescale.com (1):
dm: sf: Update default name of spi flash in structure udevice
Hans de Goede (16):
dm: usb: Do not use bus->seq before device_probe(bus)
dm: usb: Make usb_get_bus easier to use for callers
dm: usb: Copy over usb_device values from usb_scan_device() to final
usb_device
dm: usb: Use usb_get_bus in dm ehci code
dm: usb: Fix finding of first upstream usb-2 hub in the ehci dm code
dm: usb: Set desc_before_addr from ehci dm code
usb: Fix maxpacketsize for first descriptor read for low-speed usb
devs
usb: ohci: Remove unused devgone global variable
usb: ohci: Pass around a pointer to ohci_t rather then accessing
global vars
usb: ohci: Move the ohci_dev struct to inside the main ohci struct
usb: ohci: Move the td array struct to inside the ohci_dev struct
usb: ohci: Remove unnecessary phcca variable
usb: ohci: Move static func and var declarations from ohci.h to
ohci-hcd.c
usb: ohci: Fix ctrl in messages with a data-len of 0
usb: ohci: Add proper cache flushing / invalidating for non cache
coherent cpus
usb: ohci: Don't log an error on interrupt packet timeout
Joe Hershberger (3):
sandbox: Add test function to advance time
sandbox: eth: Add a function to skip ping timeouts
test: dm: eth: Skip timeouts on ping tests
Simon Glass (26):
dm: spi: Avoid setting the speed with every transfer
cros_ec: Show the protocol version in the debug message
cros_ec: Handle the single duplex requirement in cros_ec
dm: spi: Correct the comment on spi_get_ops()
dm: i2c: sandbox: Add debugging to the speed limit
dm: i2c: Add functions to read and write a register
dm: i2c: Add an explicit test mode to the sandbox I2C driver
fdt: Correct warning in fdt_setup_simplefb_node()
dm: rtc: Rename gregorian day function
dm: rtc: Rename to_tm() to rtc_to_tm() and add error code
dm: rtc: Rename mktime() and reduce the number of parameters
dm: Remove unnecessary types in bcd.h
dm: rtc: Split structure definition into its own file
dm: sandbox: Add os_localtime() to obtain the system time
dm: rtc: Add a uclass for real-time clocks
dm: rtc: sandbox: Add an emulated I2C RTC device
dm: rtc: sandbox: Add a driver for the sandbox I2C RTC
dm: rtc: Convert 'date' command to support driver model
dm: net: rtc: Support using driver model for rtc in sntp
dm: sandbox: dts: Add a real-time clock attached to I2C
dm: rtc: sandbox: Enable real-time clock support
dm: test: dts: Sort the aliases in the test device tree file
dm: rtc: Add tests for real-time clocks
test: Add a simple time test
sandbox: Enable time unit test command
dm: usb: exynos: Drop legacy USB code
Sjoerd Simons (1):
sandbox: Don't try distro_bootcmd by default
arch/sandbox/cpu/cpu.c | 5 -
arch/sandbox/cpu/os.c | 18 +++
arch/sandbox/cpu/start.c | 20 ++-
arch/sandbox/dts/sandbox.dts | 12 +-
arch/sandbox/include/asm/eth.h | 2 +
arch/sandbox/include/asm/rtc.h | 28 ++++
arch/sandbox/include/asm/state.h | 1 +
arch/sandbox/include/asm/test.h | 39 +++++
board/sandbox/sandbox.c | 11 +-
common/cmd_date.c | 57 +++++--
common/fdt_support.c | 2 +-
common/image.c | 2 +-
common/usb.c | 17 +-
configs/sandbox_defconfig | 2 +
drivers/i2c/i2c-gpio.c | 13 +-
drivers/i2c/i2c-uclass.c | 19 +++
drivers/i2c/sandbox_i2c.c | 34 ++--
drivers/misc/cros_ec.c | 3 +-
drivers/misc/cros_ec_spi.c | 23 ++-
drivers/mtd/spi/sf-uclass.c | 4 +-
drivers/net/sandbox.c | 17 ++
drivers/rtc/Kconfig | 8 +
drivers/rtc/Makefile | 4 +
drivers/rtc/at91sam9_rtt.c | 5 +-
drivers/rtc/bfin_rtc.c | 5 +-
drivers/rtc/date.c | 38 +++--
drivers/rtc/ds1306.c | 5 +-
drivers/rtc/ds1374.c | 6 +-
drivers/rtc/ftrtc010.c | 5 +-
drivers/rtc/i2c_rtc_emul.c | 236 ++++++++++++++++++++++++++++
drivers/rtc/imxdi.c | 5 +-
drivers/rtc/mc13xxx-rtc.c | 5 +-
drivers/rtc/mcfrtc.c | 2 +-
drivers/rtc/mpc8xx.c | 5 +-
drivers/rtc/mx27rtc.c | 5 +-
drivers/rtc/mxsrtc.c | 5 +-
drivers/rtc/pl031.c | 5 +-
drivers/rtc/rtc-uclass.c | 96 ++++++++++++
drivers/rtc/sandbox_rtc.c | 106 +++++++++++++
drivers/spi/spi-uclass.c | 9 +-
drivers/usb/host/ehci-exynos.c | 117 --------------
drivers/usb/host/ehci-hcd.c | 46 +++---
drivers/usb/host/ohci-hcd.c | 327
+++++++++++++++++++++++++++------------
drivers/usb/host/ohci.h | 136 ++++------------
drivers/usb/host/usb-uclass.c | 63 ++++----
drivers/usb/host/xhci-exynos5.c | 108 -------------
include/bcd.h | 8 +-
include/configs/sandbox.h | 3 +
include/dm/uclass-id.h | 1 +
include/fdtdec.h | 2 -
include/i2c.h | 22 +++
include/os.h | 11 ++
include/rtc.h | 197 +++++++++++++++++++----
include/rtc_def.h | 36 +++++
include/spi.h | 5 +-
include/usb.h | 24 +--
lib/fdtdec.c | 2 -
net/sntp.c | 14 +-
post/drivers/rtc.c | 28 +++-
test/Kconfig | 8 +
test/Makefile | 1 +
test/dm/Makefile | 1 +
test/dm/eth.c | 2 +
test/dm/i2c.c | 8 +
test/dm/rtc.c | 175 +++++++++++++++++++++
test/dm/test.dts | 26 +++-
test/time_ut.c | 137 ++++++++++++++++
67 files changed, 1743 insertions(+), 649 deletions(-)
create mode 100644 arch/sandbox/include/asm/rtc.h
create mode 100644 drivers/rtc/i2c_rtc_emul.c
create mode 100644 drivers/rtc/rtc-uclass.c
create mode 100644 drivers/rtc/sandbox_rtc.c
create mode 100644 include/rtc_def.h
create mode 100644 test/dm/rtc.c
create mode 100644 test/time_ut.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-04-28 22:50 Simon Glass
@ 2015-04-29 14:28 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-04-29 14:28 UTC (permalink / raw)
To: u-boot
On Tue, Apr 28, 2015 at 04:50:46PM -0600, Simon Glass wrote:
> Hi Tom,
>
> A few bug fixes.
>
>
> The following changes since commit cc555bd4f40a652471df4a3621d45ee57df0ca11:
>
> Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-04-28
> 07:28:43 -0400)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to f66529f998e59acbd64ccce3adfce8eedfa52da8:
>
> dm: core: Correct bug introduced in uclass_first/next_device()
> (2015-04-28 16:49:03 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150429/f8c4a251/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-04-28 22:50 Simon Glass
2015-04-29 14:28 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-04-28 22:50 UTC (permalink / raw)
To: u-boot
Hi Tom,
A few bug fixes.
The following changes since commit cc555bd4f40a652471df4a3621d45ee57df0ca11:
Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-04-28
07:28:43 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to f66529f998e59acbd64ccce3adfce8eedfa52da8:
dm: core: Correct bug introduced in uclass_first/next_device()
(2015-04-28 16:49:03 -0600)
----------------------------------------------------------------
Axel Lin (1):
serial: ns16550: Remove hard-coded baud_divisor setting
Masahiro Yamada (1):
dm: core: drop device removal error path correctly
Simon Glass (1):
dm: core: Correct bug introduced in uclass_first/next_device()
drivers/core/device.c | 6 +++---
drivers/core/uclass.c | 5 +++++
drivers/serial/ns16550.c | 1 -
3 files changed, 8 insertions(+), 4 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-04-23 16:24 Simon Glass
@ 2015-04-23 22:02 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-04-23 22:02 UTC (permalink / raw)
To: u-boot
On Thu, Apr 23, 2015 at 10:24:32AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This brings in core features to support PMICs (which should come
> within a week so), core test fixes and most of the SPL device tree
> support . I'd like to do this in two pieces since this is all somewhat
> risky.
>
> The images sizes mostly drop slightly with these patches which is a
> good sign (i.e. it would indicate a problem if they increased a lot).
>
> 16: dm: Init device tree as well as driver model in SPL
> blackfin: (for 34/35 boards) all -26.8 data -4.0 rodata -14.4 text -8.5
> x86: (for 6/6 boards) all -24.0 bss +216.0 data -4.0 rodata
> -76.0 text -160.0
> avr32: (for 10/10 boards) all -3.6 data -1.6 text -2.0
> sandbox: (for 1/1 boards) all -56.0 rodata -96.0 text +40.0
> m68k: (for 48/48 boards) all -1.5 data -2.3 text +0.9
> powerpc: (for 406/411 boards) all -81.3 bss +0.1 data -3.5
> rodata -0.7 spl/u-boot-spl:all +44.7 spl/u-boot-spl:data +50.0
> spl/u-boot-spl:rodata +2.2 spl/u-boot-spl:text -7.4 text -77.1
> sparc: (for 5/5 boards) all +48.0 text +48.0
> sh: (for 21/22 boards) all +53.1 text +53.1
> nios2: (for 1/1 boards) data -4.0 text +4.0
> mips: (for 24/24 boards) all +0.7 bss -3.3 data -4.3 text +8.3
> arm: (for 496/496 boards) all -67.2 bss -0.4 data -0.7
> rodata -16.1 spl/u-boot-spl:all +27.6 spl/u-boot-spl:bss -0.0
> spl/u-boot-spl:rodata +59.1 spl/u-boot-spl:text -31.5 text -50.0
> nds32: (for 3/3 boards) all +84.0 text +84.0
>
>
> The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06:
>
> serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to f3d46bd658ef4df575ec26c29e472ac858723159:
>
> dm: Init device tree as well as driver model in SPL (2015-04-23
> 09:05:55 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150423/f70e41ab/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-04-23 16:24 Simon Glass
2015-04-23 22:02 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-04-23 16:24 UTC (permalink / raw)
To: u-boot
Hi Tom,
This brings in core features to support PMICs (which should come
within a week so), core test fixes and most of the SPL device tree
support . I'd like to do this in two pieces since this is all somewhat
risky.
The images sizes mostly drop slightly with these patches which is a
good sign (i.e. it would indicate a problem if they increased a lot).
16: dm: Init device tree as well as driver model in SPL
blackfin: (for 34/35 boards) all -26.8 data -4.0 rodata -14.4 text -8.5
x86: (for 6/6 boards) all -24.0 bss +216.0 data -4.0 rodata
-76.0 text -160.0
avr32: (for 10/10 boards) all -3.6 data -1.6 text -2.0
sandbox: (for 1/1 boards) all -56.0 rodata -96.0 text +40.0
m68k: (for 48/48 boards) all -1.5 data -2.3 text +0.9
powerpc: (for 406/411 boards) all -81.3 bss +0.1 data -3.5
rodata -0.7 spl/u-boot-spl:all +44.7 spl/u-boot-spl:data +50.0
spl/u-boot-spl:rodata +2.2 spl/u-boot-spl:text -7.4 text -77.1
sparc: (for 5/5 boards) all +48.0 text +48.0
sh: (for 21/22 boards) all +53.1 text +53.1
nios2: (for 1/1 boards) data -4.0 text +4.0
mips: (for 24/24 boards) all +0.7 bss -3.3 data -4.3 text +8.3
arm: (for 496/496 boards) all -67.2 bss -0.4 data -0.7
rodata -16.1 spl/u-boot-spl:all +27.6 spl/u-boot-spl:bss -0.0
spl/u-boot-spl:rodata +59.1 spl/u-boot-spl:text -31.5 text -50.0
nds32: (for 3/3 boards) all +84.0 text +84.0
The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06:
serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to f3d46bd658ef4df575ec26c29e472ac858723159:
dm: Init device tree as well as driver model in SPL (2015-04-23
09:05:55 -0600)
----------------------------------------------------------------
Przemyslaw Marczak (11):
dm: core: add internal functions for getting the device without probe
dm: core: Extend struct udevice by '.uclass_platdata' field.
dm: test: Add tests for device's uclass platform data
dm: test: Add tests for get/find uclass devices
dm: core: uclass: add function: uclass_find_device_by_name()
dm: core: uclass: add function: uclass_get_device_by_name()
dm: core: device: add function: dev_get_driver_ops()
dm: core: device: add function: dev_get_uclass_name()
dm: core: remove type 'static' of function uclass_get_device_tail()
dm: test: Add tests for get/find uclass's device by name
dm: core: precise comments for get/find device by name
Simon Glass (20):
dm: core: Handle recursive unbinding of uclass devices
dm: usb: Add a terminator to the string destructor list
dm: Update the README to reflect the current test output
dm: test: Don't clear global_data in dm_test_uclass_before_ready()
exynos: sandbox: ti: Add SPDX license identifiers and notes
serial: ns16550: Add an option to specify the debug UART register shift
dm: ns16550: Support non-byte register spacing with driver model
serial: ns16550: Remove unnecessary init on UART setup
dm: core: Allow sequence alias support to be removed for SPL
dm: core: Remove unbind operations when not required
dm: Add a panic_str() function to reduce code size
dm: core: Drop device removal error path when not supported
fdt: sandbox: Move setup code from board_f to fdtdec
fdt: Rename setup_fdt() and make it prepare also
Move initf_malloc() to a common place
Correct malloc_limit value for pre-relocation malloc()
fdt: Add an option to disable device tree in SPL
fdt: Allow FDT functions to be built for SPL
dm: core: Select device tree control correctly for SPL
dm: Init device tree as well as driver model in SPL
arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/s5pc100-pinctrl.dtsi | 2 +
arch/arm/dts/s5pc110-pinctrl.dtsi | 2 +
arch/sandbox/cpu/cpu.c | 41 ++++++++++++++++++
arch/sandbox/include/asm/bitops.h | 2 +
arch/sandbox/include/asm/u-boot-sandbox.h | 8 ++++
common/board_f.c | 84
++-----------------------------------
common/dlmalloc.c | 11 +++++
common/spl/spl.c | 22 ++++++++--
doc/driver-model/README.txt | 58 +++++++++++++++++++++----
drivers/core/Kconfig | 9 ++++
drivers/core/device-remove.c | 4 ++
drivers/core/device.c | 103
+++++++++++++++++++++++++++++++++------------
drivers/core/root.c | 14 ++++---
drivers/core/uclass.c | 122
++++++++++++++++++++++++++++++++++++-----------------
drivers/serial/Kconfig | 10 +++++
drivers/serial/ns16550.c | 36 +++++++++-------
drivers/serial/serial-uclass.c | 2 +-
drivers/usb/emul/sandbox_hub.c | 1 +
dts/Kconfig | 11 +++--
include/config_uncmd_spl.h | 1 +
include/dm/device.h | 38 ++++++++++++++++-
include/dm/test.h | 20 +++++++++
include/dm/uclass-internal.h | 108
++++++++++++++++++++++++++++++++++++-----------
include/dm/uclass.h | 19 +++++++++
include/fdtdec.h | 16 +++++++
include/malloc.h | 3 ++
include/vsprintf.h | 23 ++++++++++
lib/Makefile | 6 +++
lib/fdtdec.c | 39 +++++++++++++++--
lib/vsprintf.c | 23 +++++++---
test/dm/core.c | 175
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
test/dm/test-uclass.c | 11 +++++
36 files changed, 815 insertions(+), 217 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-04-16 17:43 ` Tom Rini
@ 2015-04-17 1:30 ` Simon Glass
0 siblings, 0 replies; 300+ messages in thread
From: Simon Glass @ 2015-04-17 1:30 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 16 April 2015 at 11:43, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Apr 14, 2015 at 12:11:00PM -0600, Simon Glass wrote:
>
>> Hi Tom,
>>
>> Here are the driver model changes that have been queued up on
>> u-boot-dm/next. The main changes are:
>>
>> - Ethernet driver model support
>> - USB driver model support
>> - PCI driver model support
>> - Network cosmetic changes
>> - Masahiro's driver model Kconfig changes
>> - Chromebox panther support
>> - Moving cros_ec fully to driver model
>> - Moving various sandbox CONFIGs to Kconfig
>>
>> Since this has wide impact on the code base I'd like to get this in
>> early in the merge window to minimise the pain of rebase, etc.
>
> So, yeah, rebase pain. Setting aside the USB scan changes (that're in
> as I didn't see u-boot-dfu included u-boot-usb, my fault), the rest of
> the USB conflicts are a little tricky too now that I read them harder.
> Please rebase and I'll grab it ASAP. Sorry!
Sorry about this...I did wonder whether that USB patches were going to
trip us up.
As you said the main issue seems to be one of the usb_stor patches. In
fact I think we should reconsider commit cd749658. To me it does not
seem quite right. I'd like to revert it and resend it. I may be
mistaken though.
I just finished a build, but I see there are more commits in master.
So I'll do one more spin and send a pull request (with that commit
reverttd) after that.
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
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
1 sibling, 1 reply; 300+ messages in thread
From: Tom Rini @ 2015-04-16 17:43 UTC (permalink / raw)
To: u-boot
On Tue, Apr 14, 2015 at 12:11:00PM -0600, Simon Glass wrote:
> Hi Tom,
>
> Here are the driver model changes that have been queued up on
> u-boot-dm/next. The main changes are:
>
> - Ethernet driver model support
> - USB driver model support
> - PCI driver model support
> - Network cosmetic changes
> - Masahiro's driver model Kconfig changes
> - Chromebox panther support
> - Moving cros_ec fully to driver model
> - Moving various sandbox CONFIGs to Kconfig
>
> Since this has wide impact on the code base I'd like to get this in
> early in the merge window to minimise the pain of rebase, etc.
So, yeah, rebase pain. Setting aside the USB scan changes (that're in
as I didn't see u-boot-dfu included u-boot-usb, my fault), the rest of
the USB conflicts are a little tricky too now that I read them harder.
Please rebase and I'll grab it ASAP. Sorry!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150416/b7c9832c/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-04-14 18:11 Simon Glass
@ 2015-04-15 5:17 ` Simon Glass
2015-04-16 17:43 ` Tom Rini
1 sibling, 0 replies; 300+ messages in thread
From: Simon Glass @ 2015-04-15 5:17 UTC (permalink / raw)
To: u-boot
+Tom
On 14 Apr 2015 12:11 pm, "Simon Glass" <sjg@chromium.org> wrote:
>
> Hi Tom,
>
> Here are the driver model changes that have been queued up on
> u-boot-dm/next. The main changes are:
>
> - Ethernet driver model support
> - USB driver model support
> - PCI driver model support
> - Network cosmetic changes
> - Masahiro's driver model Kconfig changes
> - Chromebox panther support
> - Moving cros_ec fully to driver model
> - Moving various sandbox CONFIGs to Kconfig
>
> Since this has wide impact on the code base I'd like to get this in
> early in the merge window to minimise the pain of rebase, etc.
>
>
> The following changes since commit
f33cdaa4c3da4a8fd35aa2f9a3172f31cc887b35:
>
> Prepare v2015.04 (2015-04-13 10:53:03 -0400)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c:
>
> sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig (2015-04-13
> 20:53:47 -0600)
>
> ----------------------------------------------------------------
> Haikun.Wang at freescale.com (5):
> dm: arm: Bring in skeleton64 device tree file from Linux
> dm: ls1021a: dts: Update DSPI node to support DM SPI
> dm: ls1021a: dts: Add QSPI dts node
> dm: spi: Convert Freescale DSPI driver to driver model
> dm: spi: Convert Freescale QSPI driver to driver model
>
> Joe Hershberger (51):
> test: dm: Reorder the objects to build
> common: Make sure arch-specific map_sysmem() is defined
> net: Provide a function to get the current MAC address
> net: Rename helper function to be more clear
> net: Remove unneeded "extern" in net.h
> net: Refactor in preparation for driver model
> net: Change return codes from net/eth.c to use errorno constants
> net: Use int instead of u8 for boolean flag
> net: Remove the bd* parameter from net stack functions
> net: Make netretry actually do something
> net: Access mapped physmem in net functions
> cmd: net: Clean up return codes
> dm: eth: Add basic driver model support to Ethernet stack
> net: Clean up network stack names used in DM drivers
> dm: eth: Pass the packet pointer as a parameter to recv
> sandbox: eth: Add network support to sandbox
> sandbox: eth: Add ARP and PING response to sandbox driver
> test: dm: eth: Add tests for the eth dm implementation
> dm: eth: Add support for aliases
> dm: eth: Add support for ethprime env var
> test: dm: eth: Add testing for ethrotate env var
> sandbox: eth: Add ability to disable ping reply in sandbox eth
driver
> test: dm: net: Add a test of the netretry behavior
> sandbox: eth: Add a bridge to a real network for sandbox
> sandbox: Enable DHCP and IP defrag
> sandbox: eth: Add support for using the 'lo' interface
> net: Improve error handling
> dm: eth: Provide a way for drivers to manage packet buffers
> net: cosmetic: Change IPaddr_t to struct in_addr
> net: cosmetic: Fixup var names related to boot file
> net: cosmetic: Fixup var names for DHCP strings
> net: cosmetic: Name ethaddr variables consistently
> net: cosmetic: Cleanup internal packet buffer names
> net: cosmetic: Fix var naming net <-> eth drivers
> net: cosmetic: Clean up TFTP variables and functions
> net: cosmetic: Clean up ARP variables and functions
> net: cosmetic: Clean up DHCP variables and functions
> net: cosmetic: Clean up NFS variables and functions
> net: cosmetic: Clean up RARP variables and functions
> net: cosmetic: Clean up SNTP variables and functions
> net: cosmetic: Clean up ping variables and functions
> net: cosmetic: Clean up CDP variables and functions
> net: cosmetic: Clean up DNS variables and functions
> net: cosmetic: Clean up netconsole variables and functions
> net: cosmetic: Clean up cmd_net variables and functions
> net: cosmetic: Fix checkpatch.pl failures in linklocal
> net: cosmetic: Fix checkpatch.pl failures in eth.c
> net: cosmetic: Fix checkpatch.pl failures in net.h
> net: cosmetic: Fix checkpatch.pl failures in net.c
> net: Fix compile errors when SNTP enabled and not DATE
> sandbox: Enable more network features for sandbox
>
> Masahiro Yamada (12):
> dm: spi_flash: fix wrong dependency
> dm: select CONFIG_DM* options
> ARM: UniPhier: use "select" instead of default value in defconfig
> ARM: zynq: use "select" instead of default value in defconfig
> ARM: rmobile: use "select" instead of default value in defconfig
> ARM: snapper9260: use "select" instead of default value in defconfig
> ARM: mx6: use "select" instead of default value in defconfig
> ARM: socfpga: use "select" instead of default value in defconfig
> ARM: bav335x: use "select" instead of default value in defconfig
> ARM: stv0991: use "select" instead of default value in defconfig
> ARM: cm_fx6: use "select" instead of default value in defconfig
> powerpc: ids8313: use "select" instead of default value in defconfig
>
> Przemyslaw Marczak (3):
> dm: gpio: request list: return the count if requests max_count
reached
> Kconfig: i2c: fix help message related to dm i2c
> dm: i2c: add i2c-gpio driver
>
> Sergey Temerkhanov (2):
> net: Fix incorrect DHCP/BOOTP packets on 64-bit systems
> net: Convert protocol structures to use explicit sizes
>
> Simon Glass (145):
> x86: Support machines with >4GB of RAM
> x86: video: Allow keyboard presence to be controlled by device tree
> x86: pci: Add PCI IDs for lynxpoint
> x86: spi: Add support for lynxpoint
> x86: Move common Chromebook config into a separate file
> x86: Add support for panther (Asus Chromebox)
> sandbox: Update device tree 'reg' properties for I2C and SPI
> fdt: Export fdtdec_get_number() for general use
> x86: Add a x86_ prefix to the x86-specific PCI functions
> dm: Add a new CPU init function which can use driver model
> x86: Split up arch_cpu_init()
> Correct map_sysmem() logic in do_mem_mw()
> fdt: Tighten up error handling in fdtdec_get_pci_addr()
> dm: core: Add dev_get_uclass_priv() to access uclass private data
> dm: core: Mark device as active before calling its probe() method
> dm: core: Add a uclass pre_probe() method for devices
> dm: Show both allocated and requested seq numbers in 'dm uclass'
> dm: pci: Move common PCI functions into their own file
> dm: pci: Add a uclass for PCI
> dm: sandbox: pci: Add PCI support for sandbox
> dm: sandbox: Add a simple PCI driver
> dm: sandbox: pci: Add a PCI emulation uclass
> dm: sandbox: Add a emulated PCI device as an example
> dm: sandbox: pci: Enable PCI for sandbox
> dm: x86: pci: Add a PCI driver for driver model
> dm: x86: pci: Convert coreboot to use driver model for pci
> dm: x86: pci: Convert chromebook_link to use driver model for pci
> dm: pci: Add driver model tests for PCI
> dm: sf: Add driver model read/write/erase methods
> dm: x86: spi: Convert ICH SPI driver to driver model
> dm: x86: Add a uclass for a Platform Controller Hub
> dm: x86: Add a uclass for an Low Pin Count (LPC) device
> x86: chromebook_link: dts: Add PCH and LPC devices
> dm: cros_ec: Convert cros_ec LPC driver to driver model
> cros_ec: Reinit the cros_ec device when 'crosec init' is used
> cros_ec: Drop unused CONFIG_DM_CROS_EC
> sandbox: cros_ec: Drop unnecessary init
> x86: cros_ec: Drop unnecessary init
> exynos: cros_ec: Drop unnecessary init
> cros_ec: Remove unused cros_ec_board_init() function
> fdt: cros_ec: Drop compatible string in fdtdec
> fdt: Drop LPC compatible string in fdtdec
> cros_ec: exynos: Match up device tree with kernel version
> sandbox: cros_ec: Add Kconfig for sandbox EC config
> i8042: Add keyboard enable logic in kbd_reset()
> linker_lists: Add a function to access a linker list entry
> sandbox: Fix comment for os_open()
> dm: test: bus: Use a local variable to simplify code
> dm: core: Support allocating driver-private data for DMA
> dm: core: Convert driver_bind() to use const
> dm: core: Rename driver data function to dev_get_driver_data()
> dm: core: Mark device as active before calling uclass probe()
methods
> dm: core: Add device children and sibling functions
> dm: gpio: Add an implementation for gpio_get_number()
> dm: usb: Add a uclass for USB controllers
> dm: usb: Adjust usb command to prepare for driver model
> dm: usb: Adjust usb_alloc_new_device() to return an error
> dm: usb: Convert 'usb' command to support driver model
> dm: usb: Drop the legacy USB init sequence
> dm: usb: Refactor port resets
> dm: usb: Move descriptor setup code into its own function
> dm: usb: Split out more code from usb_new_device()
> dm: usb: Complete the splitting up of usb_new_device()
> dm: usb: Convert core usb.c file to support driver model
> dm: usb: Split hub detection into its own function
> dm: usb: Add driver model support for hubs
> dm: usb: Move USB storage definitions to usb_defs.h
> dm: usb: Fix type problems in usb_stor_get_info()
> dm: usb: Simply device finding code in usb_storage
> dm: usb: Adjust usb_storage to work with sandbox
> dm: usb: Move storage device scanning into its own function
> dm: usb: Convert usb_storage to driver model
> dm: usb: Move all the EHCI weak functions together and declare them
> dm: usb: Pass EHCI controller pointer to ehci_get_port_speed()
> dm: usb: Allow ECHI to hold private data for the controller
> dm: usb: tegra: Store the controller type explicitly
> dm: usb: Pass EHCI controller pointer to ehci_powerup_fixup()
> dm: usb: tegra: Drop use of global controller variable
> dm: usb: Pass EHCI controller pointer to ehci_set_usbmode()
> dm: usb: Pass EHCI controller pointer to ehci_get_portsc_register()
> dm: usb: ehci: Use a function to find the controller from struct
udevice
> dm: usb: Refactor EHCI init
> dm: usb: Drop the EHCI weak functions
> dm: usb: Change ehci_reset() to use a pointer
> dm: usb: Add driver model support to EHCI
> dm: usb: Allow USB drivers to be declared and auto-probed
> dm: usb: Bind generic USB devices when there is no driver
> dm: usb: Allow setting up a USB controller as a device/gadget
> dm: usb: Split out the keyboard probe into its own function
> dm: usb: Support driver model with USB keyboards
> dm: usb: tegra: Add vbus GPIOs for nyan
> dm: usb: Move struct usb_string to a common place
> dm: usb: sandbox: Add a uclass for USB device emulation
> dm: usb: sandbox: Reset emulation devices in usb stop()
> dm: usb: sandbox: Add an emulator for USB flash devices
> dm: usb: sandbox: Add an emulator for USB hub emulation
> dm: usb: sandbox: Add a driver for sandbox
> dm: usb: dts: sandbox: Add some sample USB devices to sandbox
> dm: usb: Add support for USB ethernet devices with driver model
> dm: usb: exynos: Add driver model support to exynos EHCI
> dm: usb: tegra: Remove the port_addr_clear_csc variable
> dm: usb: tegra: Tidy up error handling and a static function
> dm: usb: tegra: Move most of init/uninit into a function
> dm: usb: tegra: Add driver model support to tegra EHCI
> dm: usb: xhci: Use a function to get xhci_ctrl
> dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()
> dm: usb: xhci: Use explicit parameters for
> xhci_setup_addressable_virt_dev()
> dm: usb: xhci: Factor out common init/uninit
> dm: usb: Support driver model in XHCI
> dm: usb: Rename the XHCI HCD to U-Boot
> dm: usb: exynos: Adjust XHCI driver to support driver model
> dm: usb: exynos: Use driver model for USB
> dm: usb: exynos: Enable both USB ports on snow
> dm: usb: exynos: Enable both EHCI and XHCI on snow
> dm: usb: Add a generic descriptor struct
> dm: usb: Tidy up pipe value decoding
> dm: usb: sandbox: Enable USB
> dm: test: Correct printf() output nit in 'dm uclass'
> dm: test: Allow 'dm test' to select a particular test to run
> dm: usb: Add tests for the USB uclass
> dm: usb: Add a README for driver model
> sunxi: Replace the pcDuino3 config with FDT version
> Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig
> dts: sunxi: Bring in Ethernet device tree bindings
> dm: net: Use existing Ethernet init for driver model
> Avoid calling print_eths() with driver model
> dm: net: Adjust PHY interface to work with CONFIG_DM_ETH
> dm: net: Tidy up designware driver ready for driver model
> dm: net: Adjust designware driver to support driver model
> dm: sunxi: Support driver model for Ethernet
> dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3
> Kconfig: Move CONFIG_BOOTSTAGE to Kconfig
> sandbox: Move GPIO CONFIGs to Kconfig
> sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig
> sandbox: Move CONFIG_SYS_I2C_SANDBOX to Kconfig
> sandbox: Move CONFIG_SANDBOX_SPI to Kconfig
> sandbox: Move CONFIG_SPI_FLASH_SANDBOX to Kconfig
> sandbox: Move CONFIG_TPM_TIS_SANDBOX to Kconfig
> sandbox: exynos: Move CONFIG_SOUND to Kconfig
> sandbox: exynos: Move CONFIG_CMD_SOUND to Kconfig
> sandbox: exynos: Move CONFIG_I2S to Kconfig
> sandbox: exynos: Move CONFIG_I2S_SAMSUNG to Kconfig
> sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig
> sandbox: exynos: Move CONFIG_SOUND_WM8994 to Kconfig
> sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig
>
> haikun (2):
> dm: ls1021a: Bring in ls1021a dts files from linux kernel
> dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1
>
> Makefile | 1 +
> README | 55 +-
> api/api_net.c | 2 +-
> arch/Kconfig | 9 +
> arch/arm/Kconfig | 58 ++
> arch/arm/cpu/arm926ejs/spear/cpu.c | 2 +-
> arch/arm/cpu/armv7/exynos/Kconfig | 14 +-
> arch/arm/cpu/armv7/omap3/Kconfig | 27 +-
> arch/arm/cpu/armv7/rmobile/Kconfig | 12 +
> arch/arm/cpu/armv7/socfpga/misc.c | 2 +-
> arch/arm/dts/Makefile | 3 +
> arch/arm/dts/exynos5250-snow.dts | 12 +-
> arch/arm/dts/exynos5420-peach-pit.dts | 5 +-
> arch/arm/dts/exynos5800-peach-pi.dts | 4 +-
> arch/arm/dts/ls1021a-qds.dts | 216 +++++
> arch/arm/dts/ls1021a-twr.dts | 87 ++
> arch/arm/dts/ls1021a.dtsi | 381 ++++++++
> arch/arm/dts/skeleton64.dtsi | 13 +
> arch/arm/dts/tegra124-nyan-big.dts | 2 +
> arch/arm/lib/board.c | 2 +-
> arch/arm/lib/bootm.c | 1 +
> arch/arm/mach-at91/Kconfig | 3 +
> arch/arm/mach-bcm283x/Kconfig | 9 -
> arch/arm/mach-davinci/misc.c | 2 +-
> arch/arm/mach-tegra/Kconfig | 18 -
> arch/avr32/lib/board.c | 2 +-
> arch/mips/mach-au1x00/au1x00_eth.c | 14 +-
> arch/nds32/lib/board.c | 2 +-
> arch/openrisc/lib/board.c | 2 +-
> arch/powerpc/cpu/mpc8260/ether_fcc.c | 22 +-
> arch/powerpc/cpu/mpc8260/ether_scc.c | 4 +-
> arch/powerpc/cpu/mpc83xx/Kconfig | 1 +
> arch/powerpc/cpu/mpc85xx/ether_fcc.c | 6 +-
> arch/powerpc/cpu/mpc8xx/fec.c | 12 +-
> arch/powerpc/cpu/mpc8xx/scc.c | 7 +-
> arch/powerpc/cpu/ppc4xx/Kconfig | 2 +
> arch/powerpc/lib/board.c | 2 +-
> arch/sandbox/Kconfig | 24 +-
> arch/sandbox/cpu/Makefile | 10 +
> arch/sandbox/cpu/cpu.c | 41 +-
> arch/sandbox/cpu/eth-raw-os.c | 249 ++++++
> arch/sandbox/dts/cros-ec-keyboard.dtsi | 105 +++
> arch/sandbox/dts/sandbox.dts | 191 ++--
> arch/sandbox/include/asm/eth-raw-os.h | 40 +
> arch/sandbox/include/asm/eth.h | 15 +
> arch/sandbox/include/asm/io.h | 16 +-
> arch/sandbox/include/asm/processor.h | 12 +
> arch/sandbox/include/asm/test.h | 7 +-
> arch/sandbox/include/asm/u-boot-sandbox.h | 48 +
> arch/sandbox/lib/Makefile | 2 +-
> arch/sandbox/lib/pci_io.c | 138 +++
> arch/sh/lib/board.c | 2 +-
> arch/sparc/lib/board.c | 2 +-
> arch/x86/Kconfig | 35 +-
> arch/x86/cpu/baytrail/early_uart.c | 5 +-
> arch/x86/cpu/coreboot/pci.c | 63 +-
> arch/x86/cpu/coreboot/sdram.c | 6 +-
> arch/x86/cpu/cpu.c | 2 +-
> arch/x86/cpu/ivybridge/bd82x6x.c | 47 +-
> arch/x86/cpu/ivybridge/cpu.c | 64 +-
> arch/x86/cpu/ivybridge/early_init.c | 58 +-
> arch/x86/cpu/ivybridge/early_me.c | 12 +-
> arch/x86/cpu/ivybridge/gma.c | 4 +-
> arch/x86/cpu/ivybridge/lpc.c | 88 +-
> arch/x86/cpu/ivybridge/mrccache.c | 7 +-
> arch/x86/cpu/ivybridge/northbridge.c | 6 +-
> arch/x86/cpu/ivybridge/pch.c | 4 +-
> arch/x86/cpu/ivybridge/pci.c | 85 +-
> arch/x86/cpu/ivybridge/report_platform.c | 4 +-
> arch/x86/cpu/ivybridge/sata.c | 61 +-
> arch/x86/cpu/ivybridge/sdram.c | 37 +-
> arch/x86/cpu/ivybridge/usb_ehci.c | 4 +-
> arch/x86/cpu/ivybridge/usb_xhci.c | 8 +-
> arch/x86/cpu/pci.c | 52 +-
> arch/x86/cpu/quark/quark.c | 4 +-
> arch/x86/cpu/queensbay/tnc.c | 4 +-
> arch/x86/dts/Makefile | 1 +
> arch/x86/dts/chromebook_link.dts | 80 +-
> arch/x86/dts/chromebox_panther.dts | 64 ++
> arch/x86/include/asm/arch-ivybridge/bd82x6x.h | 1 -
> arch/x86/include/asm/arch-ivybridge/mrccache.h | 4 +-
> arch/x86/include/asm/pci.h | 20 +-
> arch/x86/lib/Makefile | 4 +
> arch/x86/lib/bios_interrupts.c | 12 +-
> arch/x86/lib/init_helpers.c | 8 -
> arch/x86/lib/lpc-uclass.c | 28 +
> arch/x86/lib/pch-uclass.c | 28 +
> board/BuR/common/common.c | 4 +-
> board/BuS/eb_cpux9k2/cpux9k2.c | 2 +-
> board/BuS/vl_ma2sc/vl_ma2sc.c | 2 +-
> board/ait/cam_enc_4xx/cam_enc_4xx.c | 2 +-
> board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c | 2 +-
> board/amcc/canyonlands/Kconfig | 6 -
> board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +-
> board/bct-brettl2/bct-brettl2.c | 2 +-
> board/bf518f-ezbrd/bf518f-ezbrd.c | 4 +-
> board/bf526-ezbrd/bf526-ezbrd.c | 4 +-
> board/bf527-ezkit/bf527-ezkit.c | 4 +-
> board/bf537-minotaur/bf537-minotaur.c | 2 +-
> board/bf537-pnav/bf537-pnav.c | 2 +-
> board/bf537-srv1/bf537-srv1.c | 2 +-
> board/bf537-stamp/bf537-stamp.c | 4 +-
> board/bf609-ezkit/bf609-ezkit.c | 2 +-
> board/birdland/bav335x/board.c | 4 +-
> board/buffalo/lsxl/lsxl.c | 2 +-
> board/cm-bf527/cm-bf527.c | 4 +-
> board/cm-bf537e/cm-bf537e.c | 2 +-
> board/cm-bf537u/cm-bf537u.c | 2 +-
> board/compulab/cm_fx6/cm_fx6.c | 2 +-
> board/compulab/cm_t335/Kconfig | 9 -
> board/compulab/cm_t335/cm_t335.c | 2 +-
> board/compulab/cm_t35/cm_t35.c | 2 +-
> board/compulab/cm_t3517/cm_t3517.c | 4 +-
> board/compulab/cm_t54/cm_t54.c | 4 +-
> board/coreboot/coreboot/coreboot.c | 5 -
> board/davinci/da8xxevm/da850evm.c | 6 +-
> board/dnp5370/dnp5370.c | 4 +-
> board/egnite/ethernut5/ethernut5.c | 2 +-
> board/genesi/mx51_efikamx/efikamx-usb.c | 4 +-
> board/google/chromebook_link/link.c | 10 +-
> board/google/chromebox_panther/Kconfig | 34 +
> board/google/chromebox_panther/MAINTAINERS | 6 +
> board/google/chromebox_panther/Makefile | 7 +
> board/google/chromebox_panther/panther.c | 22 +
> board/gumstix/pepper/Kconfig | 9 -
> board/gumstix/pepper/board.c | 2 +-
> board/ifm/ac14xx/ac14xx.c | 2 +-
> board/ip04/ip04.c | 2 +-
> board/isee/igep0033/Kconfig | 9 -
> board/isee/igep0033/board.c | 2 +-
> board/phytec/pcm051/Kconfig | 9 -
> board/phytec/pcm051/board.c | 2 +-
> board/renesas/r0p7734/r0p7734.c | 2 +-
> board/ronetix/pm9261/pm9261.c | 2 +-
> board/ronetix/pm9g45/pm9g45.c | 2 +-
> board/samsung/common/board.c | 12 -
> board/samsung/goni/Kconfig | 9 -
> board/samsung/smdk5420/Kconfig | 6 -
> board/samsung/smdkc100/Kconfig | 9 -
> board/sandbox/README.sandbox | 78 +-
> board/sandbox/sandbox.c | 12 -
> board/siemens/common/factoryset.c | 4 +-
> board/siemens/pxm2/board.c | 2 +-
> board/silica/pengwyn/Kconfig | 9 -
> board/silica/pengwyn/board.c | 2 +-
> board/spear/spear300/spear300.c | 2 +-
> board/spear/spear310/spear310.c | 2 +-
> board/spear/spear320/spear320.c | 2 +-
> board/spear/spear600/spear600.c | 2 +-
> board/st/stv0991/stv0991.c | 2 +-
> board/sunxi/gmac.c | 10 +-
> board/tcm-bf518/tcm-bf518.c | 4 +-
> board/tcm-bf537/tcm-bf537.c | 2 +-
> board/ti/am335x/Kconfig | 9 -
> board/ti/am335x/board.c | 6 +-
> board/ti/am43xx/board.c | 4 +-
> board/ti/beagle_x15/board.c | 4 +-
> board/ti/dra7xx/evm.c | 4 +-
> board/ti/ti814x/evm.c | 2 +-
> common/Kconfig | 116 +++
> common/board_f.c | 7 +
> common/board_r.c | 8 +-
> common/bootm.c | 1 +
> common/cmd_bdinfo.c | 4 +-
> common/cmd_bootm.c | 1 +
> common/cmd_bootstage.c | 7 +-
> common/cmd_demo.c | 1 +
> common/cmd_elf.c | 2 +-
> common/cmd_fat.c | 1 +
> common/cmd_fdt.c | 1 +
> common/cmd_lzmadec.c | 1 +
> common/cmd_md5sum.c | 1 +
> common/cmd_mem.c | 8 +-
> common/cmd_net.c | 178 ++--
> common/cmd_nvedit.c | 1 +
> common/cmd_pci.c | 14 +-
> common/cmd_pxe.c | 5 +-
> common/cmd_sf.c | 3 +-
> common/cmd_source.c | 1 +
> common/cmd_trace.c | 1 +
> common/cmd_usb.c | 198 ++++-
> common/cmd_ximg.c | 1 +
> common/cros_ec.c | 35 +-
> common/hash.c | 1 +
> common/image-fdt.c | 1 +
> common/image-fit.c | 1 +
> common/image.c | 1 +
> common/iotrace.c | 1 +
> common/lcd.c | 1 +
> common/malloc_simple.c | 1 +
> common/miiphyutil.c | 1 +
> common/spl/spl_net.c | 4 +-
> common/update.c | 25 +-
> common/usb.c | 295 +++---
> common/usb_hub.c | 194 +++-
> common/usb_kbd.c | 119 ++-
> common/usb_storage.c | 249 +++---
> configs/A20-OLinuXino-Lime2_defconfig | 3 +
> configs/A20-OLinuXino-Lime_defconfig | 3 +
> configs/A20-OLinuXino_MICRO_defconfig | 3 +
> configs/Bananapi_defconfig | 3 +
> configs/Bananapro_defconfig | 3 +
> configs/CSQ_CS908_defconfig | 3 +
> configs/Colombus_defconfig | 3 +
> configs/Cubieboard2_defconfig | 3 +
> configs/Cubietruck_defconfig | 3 +
> configs/Hummingbird_A31_defconfig | 3 +
> configs/Linksprite_pcDuino3_Nano_defconfig | 3 +
> configs/Linksprite_pcDuino3_defconfig | 11 +
> configs/Linksprite_pcDuino3_fdt_defconfig | 15 -
> configs/Mele_I7_defconfig | 3 +
> configs/Mele_M3_defconfig | 3 +
> configs/Mele_M5_defconfig | 3 +
> configs/Mele_M9_defconfig | 3 +
> configs/Orangepi_defconfig | 3 +
> configs/Orangepi_mini_defconfig | 3 +
> configs/Wits_Pro_A20_DKT_defconfig | 3 +
> configs/alt_defconfig | 2 -
> configs/am335x_boneblack_vboot_defconfig | 1 -
> configs/am3517_crane_defconfig | 3 -
> configs/am3517_evm_defconfig | 3 -
> configs/arndale_defconfig | 6 +
> configs/axs101_defconfig | 3 +
> configs/axs103_defconfig | 3 +
> configs/bf609-ezkit_defconfig | 3 +
> configs/birdland_bav335a_defconfig | 3 -
> configs/birdland_bav335b_defconfig | 3 -
> configs/chromebook_link_defconfig | 2 +
> configs/chromebox_panther_defconfig | 12 +
> configs/cm_fx6_defconfig | 3 -
> configs/cm_t3517_defconfig | 3 -
> configs/cm_t35_defconfig | 3 -
> configs/coreboot-x86_defconfig | 1 +
> configs/devkit8000_defconfig | 3 -
> configs/dig297_defconfig | 3 -
> configs/eco5pk_defconfig | 3 -
> configs/galileo_defconfig | 3 +
> configs/gose_defconfig | 2 -
> configs/i12-tvbox_defconfig | 3 +
> configs/ids8313_defconfig | 1 -
> configs/koelsch_defconfig | 2 -
> configs/lager_defconfig | 2 -
> configs/mcx_defconfig | 3 -
> configs/mt_ventoux_defconfig | 3 -
> configs/mx6dlsabreauto_defconfig | 2 -
> configs/mx6dlsabresd_defconfig | 2 -
> configs/mx6qsabreauto_defconfig | 2 -
> configs/mx6qsabresd_defconfig | 2 -
> configs/mx6sabresd_spl_defconfig | 2 -
> configs/mx6sxsabresd_defconfig | 2 -
> configs/mx6sxsabresd_spl_defconfig | 2 -
> configs/nokia_rx51_defconfig | 3 -
> configs/omap3_beagle_defconfig | 3 -
> configs/omap3_evm_defconfig | 3 -
> configs/omap3_evm_quick_mmc_defconfig | 3 -
> configs/omap3_evm_quick_nand_defconfig | 3 -
> configs/omap3_ha_defconfig | 3 -
> configs/omap3_logic_defconfig | 3 -
> configs/omap3_mvblx_defconfig | 3 -
> configs/omap3_pandora_defconfig | 3 -
> configs/omap3_sdp3430_defconfig | 3 -
> configs/ph1_ld4_defconfig | 3 -
> configs/ph1_pro4_defconfig | 3 -
> configs/ph1_sld8_defconfig | 3 -
> configs/porter_defconfig | 2 -
> configs/sandbox_defconfig | 20 +-
> configs/silk_defconfig | 2 -
> configs/smdk5250_defconfig | 6 +
> configs/snapper9260_defconfig | 3 -
> configs/snapper9g20_defconfig | 3 -
> configs/snow_defconfig | 7 +-
> configs/socfpga_arria5_defconfig | 3 -
> configs/socfpga_cyclone5_defconfig | 6 +-
> configs/socfpga_socrates_defconfig | 6 +-
> configs/spear300_defconfig | 3 +
> configs/spear300_nand_defconfig | 3 +
> configs/spear300_usbtty_defconfig | 3 +
> configs/spear300_usbtty_nand_defconfig | 3 +
> configs/spear310_defconfig | 3 +
> configs/spear310_nand_defconfig | 3 +
> configs/spear310_pnor_defconfig | 3 +
> configs/spear310_usbtty_defconfig | 3 +
> configs/spear310_usbtty_nand_defconfig | 3 +
> configs/spear310_usbtty_pnor_defconfig | 3 +
> configs/spear320_defconfig | 3 +
> configs/spear320_nand_defconfig | 3 +
> configs/spear320_pnor_defconfig | 3 +
> configs/spear320_usbtty_defconfig | 3 +
> configs/spear320_usbtty_nand_defconfig | 3 +
> configs/spear320_usbtty_pnor_defconfig | 3 +
> configs/spear600_defconfig | 3 +
> configs/spear600_nand_defconfig | 3 +
> configs/spear600_usbtty_defconfig | 3 +
> configs/spear600_usbtty_nand_defconfig | 3 +
> configs/stv0991_defconfig | 5 +-
> configs/tao3530_defconfig | 3 -
> configs/tb100_defconfig | 3 +
> configs/tricorder_defconfig | 3 -
> configs/tricorder_flash_defconfig | 3 -
> configs/twister_defconfig | 3 -
> configs/x600_defconfig | 3 +
> configs/zynq_microzed_defconfig | 1 -
> configs/zynq_zc70x_defconfig | 1 -
> configs/zynq_zc770_xm010_defconfig | 1 -
> configs/zynq_zc770_xm012_defconfig | 1 -
> configs/zynq_zc770_xm013_defconfig | 1 -
> configs/zynq_zed_defconfig | 1 -
> configs/zynq_zybo_defconfig | 1 -
> doc/README.drivers.eth | 18 +-
> doc/README.enetaddr | 2 +-
> doc/README.fdt-control | 16 +
> doc/README.link-local | 4 +-
> doc/device-tree-bindings/i2c/i2c-gpio.txt | 37 +
> .../net/allwinner,sun4i-emac.txt | 19 +
> .../net/allwinner,sun4i-mdio.txt | 27 +
> .../net/allwinner,sun7i-a20-gmac.txt | 27 +
> doc/device-tree-bindings/net/ethernet.txt | 25 +
> doc/device-tree-bindings/net/stmmac.txt | 63 ++
> doc/driver-model/pci-info.txt | 70 ++
> doc/driver-model/usb-info.txt | 415 +++++++++
> drivers/core/device-remove.c | 4 +-
> drivers/core/device.c | 85 +-
> drivers/core/lists.c | 2 +-
> drivers/core/uclass.c | 10 +-
> drivers/demo/demo-simple.c | 1 +
> drivers/gpio/Kconfig | 21 +
> drivers/gpio/at91_gpio.c | 2 +-
> drivers/gpio/bcm2835_gpio.c | 2 +-
> drivers/gpio/gpio-uclass.c | 40 +-
> drivers/gpio/intel_ich6_gpio.c | 18 +-
> drivers/gpio/mxc_gpio.c | 2 +-
> drivers/gpio/omap_gpio.c | 2 +-
> drivers/gpio/s5p_gpio.c | 2 +-
> drivers/gpio/sandbox.c | 6 +-
> drivers/gpio/sunxi_gpio.c | 2 +-
> drivers/gpio/tegra_gpio.c | 2 +-
> drivers/i2c/Kconfig | 56 +-
> drivers/i2c/Makefile | 1 +
> drivers/i2c/i2c-gpio.c | 346 ++++++++
> drivers/i2c/i2c-uclass.c | 6 +-
> drivers/i2c/i2c-uniphier-f.c | 1 +
> drivers/i2c/i2c-uniphier.c | 1 +
> drivers/i2c/s3c24x0_i2c.c | 2 +-
> drivers/i2c/sandbox_i2c.c | 2 +-
> drivers/i2c/tegra_i2c.c | 6 +-
> drivers/input/cros_ec_keyb.c | 2 +-
> drivers/input/i8042.c | 7 +
> drivers/misc/Kconfig | 19 +-
> drivers/misc/Makefile | 1 +
> drivers/misc/cros_ec.c | 254 +-----
> drivers/misc/cros_ec_i2c.c | 6 +-
> drivers/misc/cros_ec_lpc.c | 29 +-
> drivers/misc/cros_ec_sandbox.c | 79 +-
> drivers/misc/cros_ec_spi.c | 8 +-
> drivers/misc/swap_case.c | 285 ++++++
> drivers/mtd/spi/Kconfig | 12 +-
> drivers/mtd/spi/sf-uclass.c | 18 +-
> drivers/mtd/spi/sf_probe.c | 9 +-
> drivers/net/4xx_enet.c | 21 +-
> drivers/net/Kconfig | 49 +
> drivers/net/Makefile | 4 +-
> drivers/net/altera_tse.c | 15 +-
> drivers/net/armada100_fec.c | 7 +-
> drivers/net/at91_emac.c | 4 +-
> drivers/net/ax88180.c | 6 +-
> drivers/net/bcm-sf2-eth.c | 6 +-
> drivers/net/bfin_mac.c | 4 +-
> drivers/net/calxedaxgmac.c | 2 +-
> drivers/net/cpsw.c | 17 +-
> drivers/net/cs8900.c | 5 +-
> drivers/net/davinci_emac.c | 5 +-
> drivers/net/dc2114x.c | 9 +-
> drivers/net/designware.c | 250 +++++-
> drivers/net/designware.h | 3 +-
> drivers/net/dm9000x.c | 9 +-
> drivers/net/dnet.c | 5 +-
> drivers/net/e1000.c | 4 +-
> drivers/net/eepro100.c | 3 +-
> drivers/net/enc28j60.c | 13 +-
> drivers/net/ep93xx_eth.c | 11 +-
> drivers/net/ethoc.c | 4 +-
> drivers/net/fec_mxc.c | 4 +-
> drivers/net/fm/eth.c | 2 +-
> drivers/net/fsl_mcdmafec.c | 23 +-
> drivers/net/ftgmac100.c | 4 +-
> drivers/net/ftmac100.c | 4 +-
> drivers/net/ftmac110.c | 4 +-
> drivers/net/greth.c | 2 +-
> drivers/net/keystone_net.c | 2 +-
> drivers/net/ks8851_mll.c | 6 +-
> drivers/net/lan91c96.c | 19 +-
> drivers/net/lpc32xx_eth.c | 10 +-
> drivers/net/macb.c | 10 +-
> drivers/net/mcffec.c | 5 +-
> drivers/net/mpc512x_fec.c | 3 +-
> drivers/net/mpc5xxx_fec.c | 2 +-
> drivers/net/mvgbe.c | 41 +-
> drivers/net/mvneta.c | 2 +-
> drivers/net/natsemi.c | 3 +-
> drivers/net/ne2000_base.c | 2 +-
> drivers/net/netconsole.c | 98 +-
> drivers/net/ns8382x.c | 6 +-
> drivers/net/pch_gbe.c | 2 +-
> drivers/net/pcnet.c | 2 +-
> drivers/net/phy/phy.c | 22 +
> drivers/net/rtl8139.c | 4 +-
> drivers/net/rtl8169.c | 2 +-
> drivers/net/sandbox-raw.c | 165 ++++
> drivers/net/sandbox.c | 208 +++++
> drivers/net/sh_eth.c | 2 +-
> drivers/net/smc91111.c | 18 +-
> drivers/net/smc911x.c | 4 +-
> drivers/net/sunxi_emac.c | 4 +-
> drivers/net/tsec.c | 7 +-
> drivers/net/tsi108_eth.c | 8 +-
> drivers/net/uli526x.c | 5 +-
> drivers/net/xilinx_axi_emac.c | 2 +-
> drivers/net/xilinx_emaclite.c | 2 +-
> drivers/net/xilinx_ll_temac_fifo.c | 4 +-
> drivers/net/xilinx_ll_temac_sdma.c | 4 +-
> drivers/net/zynq_gem.c | 2 +-
> drivers/pci/Kconfig | 22 +
> drivers/pci/Makefile | 11 +-
> drivers/pci/pci-emul-uclass.c | 67 ++
> drivers/pci/pci-uclass.c | 639 +++++++++++++
> drivers/pci/pci.c | 281 +-----
> drivers/pci/pci_auto.c | 16 +-
> drivers/pci/pci_common.c | 292 ++++++
> drivers/pci/pci_compat.c | 43 +
> drivers/pci/pci_sandbox.c | 79 ++
> drivers/pci/pci_x86.c | 24 +
> drivers/qe/uec.c | 2 +-
> drivers/serial/ns16550.c | 1 +
> drivers/serial/serial-uclass.c | 4 +-
> drivers/serial/serial_uniphier.c | 1 +
> drivers/sound/Kconfig | 55 ++
> drivers/spi/Kconfig | 25 +
> drivers/spi/Makefile | 1 +
> drivers/spi/fsl_dspi.c | 737 +++++++++++++++
> drivers/spi/fsl_qspi.c | 985
++++++++++++++-------
> drivers/spi/ich.c | 522 +++++------
> drivers/spi/spi-uclass.c | 4 +-
> drivers/tpm/Kconfig | 7 +
> drivers/usb/Kconfig | 16 +
> drivers/usb/emul/Kconfig | 8 +
> drivers/usb/emul/Makefile | 10 +
> drivers/usb/emul/sandbox_flash.c | 423 +++++++++
> drivers/usb/emul/sandbox_hub.c | 303 +++++++
> drivers/usb/emul/usb-emul-uclass.c | 263 ++++++
> drivers/usb/eth/asix.c | 3 +-
> drivers/usb/eth/asix88179.c | 2 +-
> drivers/usb/eth/mcs7830.c | 2 +-
> drivers/usb/eth/smsc95xx.c | 5 +-
> drivers/usb/eth/usb_ether.c | 52 +-
> drivers/usb/gadget/ci_udc.c | 4 +
> drivers/usb/gadget/ether.c | 13 +-
> drivers/usb/host/Makefile | 5 +
> drivers/usb/host/ehci-exynos.c | 112 ++-
> drivers/usb/host/ehci-faraday.c | 112 ++-
> drivers/usb/host/ehci-hcd.c | 379 ++++++--
> drivers/usb/host/ehci-mx5.c | 12 +
> drivers/usb/host/ehci-tegra.c | 322 ++++---
> drivers/usb/host/ehci.h | 47 +
> drivers/usb/host/usb-sandbox.c | 117 +++
> drivers/usb/host/usb-uclass.c | 645 ++++++++++++++
> drivers/usb/host/xhci-exynos5.c | 120 ++-
> drivers/usb/host/xhci-mem.c | 24 +-
> drivers/usb/host/xhci-ring.c | 8 +-
> drivers/usb/host/xhci.c | 312 +++++--
> drivers/usb/host/xhci.h | 31 +-
> drivers/usb/musb-new/musb_uboot.c | 4 +-
> drivers/video/cfb_console.c | 29 +-
> fs/fs.c | 1 +
> include/bootstage.h | 2 +-
> include/common.h | 30 +-
> include/configs/axs101.h | 1 -
> include/configs/bf609-ezkit.h | 1 -
> include/configs/chromebook_link.h | 61 +-
> include/configs/chromebox_panther.h | 17 +
> include/configs/exynos5250-common.h | 10 -
> include/configs/exynos5420-common.h | 2 -
> include/configs/sandbox.h | 59 +-
> include/configs/smdk5250.h | 1 -
> include/configs/snow.h | 3 +-
> include/configs/socfpga_common.h | 1 -
> include/configs/spear-common.h | 1 -
> include/configs/stv0991.h | 1 -
> include/configs/sunxi-common.h | 1 -
> include/configs/tb100.h | 1 -
> include/configs/x600.h | 1 -
> include/configs/x86-chromebook.h | 68 ++
> include/configs/x86-common.h | 5 -
> include/cros_ec.h | 137 ---
> include/dm/device-internal.h | 2 +-
> include/dm/device.h | 61 +-
> include/dm/test.h | 8 +-
> include/dm/uclass-id.h | 11 +
> include/dm/uclass-internal.h | 7 +-
> include/dm/uclass.h | 2 +
> include/fdtdec.h | 19 +-
> include/fsl_dspi.h | 150 ++++
> include/i2c.h | 8 +-
> include/linker_lists.h | 10 +
> include/linux/usb/ch9.h | 18 +
> include/linux/usb/gadget.h | 13 -
> include/mapmem.h | 32 +
> include/net.h | 470 ++++++----
> include/os.h | 2 +-
> include/pci.h | 411 ++++++++-
> include/pci_ids.h | 2 +
> include/phy.h | 23 +-
> include/spi_flash.h | 47 +-
> include/usb.h | 494 ++++++++++-
> include/usb_defs.h | 68 +-
> lib/Kconfig | 9 +
> lib/fdtdec.c | 10 +-
> lib/net_utils.c | 16 +-
> lib/trace.c | 1 +
> net/arp.c | 137 ++-
> net/arp.h | 22 +-
> net/bootp.c | 373 ++++----
> net/bootp.h | 39 +-
> net/cdp.c | 88 +-
> net/cdp.h | 2 +-
> net/dns.c | 72 +-
> net/dns.h | 2 +-
> net/eth.c | 666 +++++++++++---
> net/link_local.c | 83 +-
> net/net.c | 493 ++++++-----
> net/nfs.c | 241 +++--
> net/nfs.h | 2 +-
> net/ping.c | 49 +-
> net/rarp.c | 45 +-
> net/rarp.h | 6 +-
> net/sntp.c | 48 +-
> net/sntp.h | 2 +-
> net/tftp.c | 595 +++++++------
> net/tftp.h | 8 +-
> post/cpu/mpc8xx/ether.c | 6 +-
> test/compression.c | 1 +
> test/dm/Makefile | 7 +-
> test/dm/bus.c | 16 +-
> test/dm/cmd_dm.c | 16 +-
> test/dm/core.c | 9 +-
> test/dm/eth.c | 156 ++++
> test/dm/pci.c | 59 ++
> test/dm/test-dm.sh | 3 +
> test/dm/test-main.c | 7 +-
> test/dm/test-uclass.c | 17 +-
> test/dm/test.dts | 78 ++
> test/dm/usb.c | 50 ++
> 551 files changed, 16067 insertions(+), 5184 deletions(-)
> create mode 100644 arch/arm/dts/ls1021a-qds.dts
> create mode 100644 arch/arm/dts/ls1021a-twr.dts
> create mode 100644 arch/arm/dts/ls1021a.dtsi
> create mode 100644 arch/arm/dts/skeleton64.dtsi
> create mode 100644 arch/sandbox/cpu/eth-raw-os.c
> create mode 100644 arch/sandbox/dts/cros-ec-keyboard.dtsi
> create mode 100644 arch/sandbox/include/asm/eth-raw-os.h
> create mode 100644 arch/sandbox/include/asm/eth.h
> create mode 100644 arch/sandbox/include/asm/processor.h
> create mode 100644 arch/sandbox/lib/pci_io.c
> create mode 100644 arch/x86/dts/chromebox_panther.dts
> create mode 100644 arch/x86/lib/lpc-uclass.c
> create mode 100644 arch/x86/lib/pch-uclass.c
> create mode 100644 board/google/chromebox_panther/Kconfig
> create mode 100644 board/google/chromebox_panther/MAINTAINERS
> create mode 100644 board/google/chromebox_panther/Makefile
> create mode 100644 board/google/chromebox_panther/panther.c
> delete mode 100644 configs/Linksprite_pcDuino3_fdt_defconfig
> create mode 100644 configs/chromebox_panther_defconfig
> create mode 100644 doc/device-tree-bindings/i2c/i2c-gpio.txt
> create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-emac.txt
> create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-mdio.txt
> create mode 100644
doc/device-tree-bindings/net/allwinner,sun7i-a20-gmac.txt
> create mode 100644 doc/device-tree-bindings/net/ethernet.txt
> create mode 100644 doc/device-tree-bindings/net/stmmac.txt
> create mode 100644 doc/driver-model/pci-info.txt
> create mode 100644 doc/driver-model/usb-info.txt
> create mode 100644 drivers/i2c/i2c-gpio.c
> create mode 100644 drivers/misc/swap_case.c
> create mode 100644 drivers/net/sandbox-raw.c
> create mode 100644 drivers/net/sandbox.c
> create mode 100644 drivers/pci/pci-emul-uclass.c
> create mode 100644 drivers/pci/pci-uclass.c
> create mode 100644 drivers/pci/pci_common.c
> create mode 100644 drivers/pci/pci_compat.c
> create mode 100644 drivers/pci/pci_sandbox.c
> create mode 100644 drivers/pci/pci_x86.c
> create mode 100644 drivers/spi/fsl_dspi.c
> create mode 100644 drivers/usb/emul/Kconfig
> create mode 100644 drivers/usb/emul/Makefile
> create mode 100644 drivers/usb/emul/sandbox_flash.c
> create mode 100644 drivers/usb/emul/sandbox_hub.c
> create mode 100644 drivers/usb/emul/usb-emul-uclass.c
> create mode 100644 drivers/usb/host/usb-sandbox.c
> create mode 100644 drivers/usb/host/usb-uclass.c
> create mode 100644 include/configs/chromebox_panther.h
> create mode 100644 include/configs/x86-chromebook.h
> create mode 100644 include/fsl_dspi.h
> create mode 100644 include/mapmem.h
> create mode 100644 test/dm/eth.c
> create mode 100644 test/dm/pci.c
> create mode 100644 test/dm/usb.c
>
> Regards,
> Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-04-14 18:11 Simon Glass
2015-04-15 5:17 ` Simon Glass
2015-04-16 17:43 ` Tom Rini
0 siblings, 2 replies; 300+ messages in thread
From: Simon Glass @ 2015-04-14 18:11 UTC (permalink / raw)
To: u-boot
Hi Tom,
Here are the driver model changes that have been queued up on
u-boot-dm/next. The main changes are:
- Ethernet driver model support
- USB driver model support
- PCI driver model support
- Network cosmetic changes
- Masahiro's driver model Kconfig changes
- Chromebox panther support
- Moving cros_ec fully to driver model
- Moving various sandbox CONFIGs to Kconfig
Since this has wide impact on the code base I'd like to get this in
early in the merge window to minimise the pain of rebase, etc.
The following changes since commit f33cdaa4c3da4a8fd35aa2f9a3172f31cc887b35:
Prepare v2015.04 (2015-04-13 10:53:03 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c:
sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig (2015-04-13
20:53:47 -0600)
----------------------------------------------------------------
Haikun.Wang at freescale.com (5):
dm: arm: Bring in skeleton64 device tree file from Linux
dm: ls1021a: dts: Update DSPI node to support DM SPI
dm: ls1021a: dts: Add QSPI dts node
dm: spi: Convert Freescale DSPI driver to driver model
dm: spi: Convert Freescale QSPI driver to driver model
Joe Hershberger (51):
test: dm: Reorder the objects to build
common: Make sure arch-specific map_sysmem() is defined
net: Provide a function to get the current MAC address
net: Rename helper function to be more clear
net: Remove unneeded "extern" in net.h
net: Refactor in preparation for driver model
net: Change return codes from net/eth.c to use errorno constants
net: Use int instead of u8 for boolean flag
net: Remove the bd* parameter from net stack functions
net: Make netretry actually do something
net: Access mapped physmem in net functions
cmd: net: Clean up return codes
dm: eth: Add basic driver model support to Ethernet stack
net: Clean up network stack names used in DM drivers
dm: eth: Pass the packet pointer as a parameter to recv
sandbox: eth: Add network support to sandbox
sandbox: eth: Add ARP and PING response to sandbox driver
test: dm: eth: Add tests for the eth dm implementation
dm: eth: Add support for aliases
dm: eth: Add support for ethprime env var
test: dm: eth: Add testing for ethrotate env var
sandbox: eth: Add ability to disable ping reply in sandbox eth driver
test: dm: net: Add a test of the netretry behavior
sandbox: eth: Add a bridge to a real network for sandbox
sandbox: Enable DHCP and IP defrag
sandbox: eth: Add support for using the 'lo' interface
net: Improve error handling
dm: eth: Provide a way for drivers to manage packet buffers
net: cosmetic: Change IPaddr_t to struct in_addr
net: cosmetic: Fixup var names related to boot file
net: cosmetic: Fixup var names for DHCP strings
net: cosmetic: Name ethaddr variables consistently
net: cosmetic: Cleanup internal packet buffer names
net: cosmetic: Fix var naming net <-> eth drivers
net: cosmetic: Clean up TFTP variables and functions
net: cosmetic: Clean up ARP variables and functions
net: cosmetic: Clean up DHCP variables and functions
net: cosmetic: Clean up NFS variables and functions
net: cosmetic: Clean up RARP variables and functions
net: cosmetic: Clean up SNTP variables and functions
net: cosmetic: Clean up ping variables and functions
net: cosmetic: Clean up CDP variables and functions
net: cosmetic: Clean up DNS variables and functions
net: cosmetic: Clean up netconsole variables and functions
net: cosmetic: Clean up cmd_net variables and functions
net: cosmetic: Fix checkpatch.pl failures in linklocal
net: cosmetic: Fix checkpatch.pl failures in eth.c
net: cosmetic: Fix checkpatch.pl failures in net.h
net: cosmetic: Fix checkpatch.pl failures in net.c
net: Fix compile errors when SNTP enabled and not DATE
sandbox: Enable more network features for sandbox
Masahiro Yamada (12):
dm: spi_flash: fix wrong dependency
dm: select CONFIG_DM* options
ARM: UniPhier: use "select" instead of default value in defconfig
ARM: zynq: use "select" instead of default value in defconfig
ARM: rmobile: use "select" instead of default value in defconfig
ARM: snapper9260: use "select" instead of default value in defconfig
ARM: mx6: use "select" instead of default value in defconfig
ARM: socfpga: use "select" instead of default value in defconfig
ARM: bav335x: use "select" instead of default value in defconfig
ARM: stv0991: use "select" instead of default value in defconfig
ARM: cm_fx6: use "select" instead of default value in defconfig
powerpc: ids8313: use "select" instead of default value in defconfig
Przemyslaw Marczak (3):
dm: gpio: request list: return the count if requests max_count reached
Kconfig: i2c: fix help message related to dm i2c
dm: i2c: add i2c-gpio driver
Sergey Temerkhanov (2):
net: Fix incorrect DHCP/BOOTP packets on 64-bit systems
net: Convert protocol structures to use explicit sizes
Simon Glass (145):
x86: Support machines with >4GB of RAM
x86: video: Allow keyboard presence to be controlled by device tree
x86: pci: Add PCI IDs for lynxpoint
x86: spi: Add support for lynxpoint
x86: Move common Chromebook config into a separate file
x86: Add support for panther (Asus Chromebox)
sandbox: Update device tree 'reg' properties for I2C and SPI
fdt: Export fdtdec_get_number() for general use
x86: Add a x86_ prefix to the x86-specific PCI functions
dm: Add a new CPU init function which can use driver model
x86: Split up arch_cpu_init()
Correct map_sysmem() logic in do_mem_mw()
fdt: Tighten up error handling in fdtdec_get_pci_addr()
dm: core: Add dev_get_uclass_priv() to access uclass private data
dm: core: Mark device as active before calling its probe() method
dm: core: Add a uclass pre_probe() method for devices
dm: Show both allocated and requested seq numbers in 'dm uclass'
dm: pci: Move common PCI functions into their own file
dm: pci: Add a uclass for PCI
dm: sandbox: pci: Add PCI support for sandbox
dm: sandbox: Add a simple PCI driver
dm: sandbox: pci: Add a PCI emulation uclass
dm: sandbox: Add a emulated PCI device as an example
dm: sandbox: pci: Enable PCI for sandbox
dm: x86: pci: Add a PCI driver for driver model
dm: x86: pci: Convert coreboot to use driver model for pci
dm: x86: pci: Convert chromebook_link to use driver model for pci
dm: pci: Add driver model tests for PCI
dm: sf: Add driver model read/write/erase methods
dm: x86: spi: Convert ICH SPI driver to driver model
dm: x86: Add a uclass for a Platform Controller Hub
dm: x86: Add a uclass for an Low Pin Count (LPC) device
x86: chromebook_link: dts: Add PCH and LPC devices
dm: cros_ec: Convert cros_ec LPC driver to driver model
cros_ec: Reinit the cros_ec device when 'crosec init' is used
cros_ec: Drop unused CONFIG_DM_CROS_EC
sandbox: cros_ec: Drop unnecessary init
x86: cros_ec: Drop unnecessary init
exynos: cros_ec: Drop unnecessary init
cros_ec: Remove unused cros_ec_board_init() function
fdt: cros_ec: Drop compatible string in fdtdec
fdt: Drop LPC compatible string in fdtdec
cros_ec: exynos: Match up device tree with kernel version
sandbox: cros_ec: Add Kconfig for sandbox EC config
i8042: Add keyboard enable logic in kbd_reset()
linker_lists: Add a function to access a linker list entry
sandbox: Fix comment for os_open()
dm: test: bus: Use a local variable to simplify code
dm: core: Support allocating driver-private data for DMA
dm: core: Convert driver_bind() to use const
dm: core: Rename driver data function to dev_get_driver_data()
dm: core: Mark device as active before calling uclass probe() methods
dm: core: Add device children and sibling functions
dm: gpio: Add an implementation for gpio_get_number()
dm: usb: Add a uclass for USB controllers
dm: usb: Adjust usb command to prepare for driver model
dm: usb: Adjust usb_alloc_new_device() to return an error
dm: usb: Convert 'usb' command to support driver model
dm: usb: Drop the legacy USB init sequence
dm: usb: Refactor port resets
dm: usb: Move descriptor setup code into its own function
dm: usb: Split out more code from usb_new_device()
dm: usb: Complete the splitting up of usb_new_device()
dm: usb: Convert core usb.c file to support driver model
dm: usb: Split hub detection into its own function
dm: usb: Add driver model support for hubs
dm: usb: Move USB storage definitions to usb_defs.h
dm: usb: Fix type problems in usb_stor_get_info()
dm: usb: Simply device finding code in usb_storage
dm: usb: Adjust usb_storage to work with sandbox
dm: usb: Move storage device scanning into its own function
dm: usb: Convert usb_storage to driver model
dm: usb: Move all the EHCI weak functions together and declare them
dm: usb: Pass EHCI controller pointer to ehci_get_port_speed()
dm: usb: Allow ECHI to hold private data for the controller
dm: usb: tegra: Store the controller type explicitly
dm: usb: Pass EHCI controller pointer to ehci_powerup_fixup()
dm: usb: tegra: Drop use of global controller variable
dm: usb: Pass EHCI controller pointer to ehci_set_usbmode()
dm: usb: Pass EHCI controller pointer to ehci_get_portsc_register()
dm: usb: ehci: Use a function to find the controller from struct udevice
dm: usb: Refactor EHCI init
dm: usb: Drop the EHCI weak functions
dm: usb: Change ehci_reset() to use a pointer
dm: usb: Add driver model support to EHCI
dm: usb: Allow USB drivers to be declared and auto-probed
dm: usb: Bind generic USB devices when there is no driver
dm: usb: Allow setting up a USB controller as a device/gadget
dm: usb: Split out the keyboard probe into its own function
dm: usb: Support driver model with USB keyboards
dm: usb: tegra: Add vbus GPIOs for nyan
dm: usb: Move struct usb_string to a common place
dm: usb: sandbox: Add a uclass for USB device emulation
dm: usb: sandbox: Reset emulation devices in usb stop()
dm: usb: sandbox: Add an emulator for USB flash devices
dm: usb: sandbox: Add an emulator for USB hub emulation
dm: usb: sandbox: Add a driver for sandbox
dm: usb: dts: sandbox: Add some sample USB devices to sandbox
dm: usb: Add support for USB ethernet devices with driver model
dm: usb: exynos: Add driver model support to exynos EHCI
dm: usb: tegra: Remove the port_addr_clear_csc variable
dm: usb: tegra: Tidy up error handling and a static function
dm: usb: tegra: Move most of init/uninit into a function
dm: usb: tegra: Add driver model support to tegra EHCI
dm: usb: xhci: Use a function to get xhci_ctrl
dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()
dm: usb: xhci: Use explicit parameters for
xhci_setup_addressable_virt_dev()
dm: usb: xhci: Factor out common init/uninit
dm: usb: Support driver model in XHCI
dm: usb: Rename the XHCI HCD to U-Boot
dm: usb: exynos: Adjust XHCI driver to support driver model
dm: usb: exynos: Use driver model for USB
dm: usb: exynos: Enable both USB ports on snow
dm: usb: exynos: Enable both EHCI and XHCI on snow
dm: usb: Add a generic descriptor struct
dm: usb: Tidy up pipe value decoding
dm: usb: sandbox: Enable USB
dm: test: Correct printf() output nit in 'dm uclass'
dm: test: Allow 'dm test' to select a particular test to run
dm: usb: Add tests for the USB uclass
dm: usb: Add a README for driver model
sunxi: Replace the pcDuino3 config with FDT version
Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig
dts: sunxi: Bring in Ethernet device tree bindings
dm: net: Use existing Ethernet init for driver model
Avoid calling print_eths() with driver model
dm: net: Adjust PHY interface to work with CONFIG_DM_ETH
dm: net: Tidy up designware driver ready for driver model
dm: net: Adjust designware driver to support driver model
dm: sunxi: Support driver model for Ethernet
dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3
Kconfig: Move CONFIG_BOOTSTAGE to Kconfig
sandbox: Move GPIO CONFIGs to Kconfig
sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig
sandbox: Move CONFIG_SYS_I2C_SANDBOX to Kconfig
sandbox: Move CONFIG_SANDBOX_SPI to Kconfig
sandbox: Move CONFIG_SPI_FLASH_SANDBOX to Kconfig
sandbox: Move CONFIG_TPM_TIS_SANDBOX to Kconfig
sandbox: exynos: Move CONFIG_SOUND to Kconfig
sandbox: exynos: Move CONFIG_CMD_SOUND to Kconfig
sandbox: exynos: Move CONFIG_I2S to Kconfig
sandbox: exynos: Move CONFIG_I2S_SAMSUNG to Kconfig
sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig
sandbox: exynos: Move CONFIG_SOUND_WM8994 to Kconfig
sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig
haikun (2):
dm: ls1021a: Bring in ls1021a dts files from linux kernel
dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1
Makefile | 1 +
README | 55 +-
api/api_net.c | 2 +-
arch/Kconfig | 9 +
arch/arm/Kconfig | 58 ++
arch/arm/cpu/arm926ejs/spear/cpu.c | 2 +-
arch/arm/cpu/armv7/exynos/Kconfig | 14 +-
arch/arm/cpu/armv7/omap3/Kconfig | 27 +-
arch/arm/cpu/armv7/rmobile/Kconfig | 12 +
arch/arm/cpu/armv7/socfpga/misc.c | 2 +-
arch/arm/dts/Makefile | 3 +
arch/arm/dts/exynos5250-snow.dts | 12 +-
arch/arm/dts/exynos5420-peach-pit.dts | 5 +-
arch/arm/dts/exynos5800-peach-pi.dts | 4 +-
arch/arm/dts/ls1021a-qds.dts | 216 +++++
arch/arm/dts/ls1021a-twr.dts | 87 ++
arch/arm/dts/ls1021a.dtsi | 381 ++++++++
arch/arm/dts/skeleton64.dtsi | 13 +
arch/arm/dts/tegra124-nyan-big.dts | 2 +
arch/arm/lib/board.c | 2 +-
arch/arm/lib/bootm.c | 1 +
arch/arm/mach-at91/Kconfig | 3 +
arch/arm/mach-bcm283x/Kconfig | 9 -
arch/arm/mach-davinci/misc.c | 2 +-
arch/arm/mach-tegra/Kconfig | 18 -
arch/avr32/lib/board.c | 2 +-
arch/mips/mach-au1x00/au1x00_eth.c | 14 +-
arch/nds32/lib/board.c | 2 +-
arch/openrisc/lib/board.c | 2 +-
arch/powerpc/cpu/mpc8260/ether_fcc.c | 22 +-
arch/powerpc/cpu/mpc8260/ether_scc.c | 4 +-
arch/powerpc/cpu/mpc83xx/Kconfig | 1 +
arch/powerpc/cpu/mpc85xx/ether_fcc.c | 6 +-
arch/powerpc/cpu/mpc8xx/fec.c | 12 +-
arch/powerpc/cpu/mpc8xx/scc.c | 7 +-
arch/powerpc/cpu/ppc4xx/Kconfig | 2 +
arch/powerpc/lib/board.c | 2 +-
arch/sandbox/Kconfig | 24 +-
arch/sandbox/cpu/Makefile | 10 +
arch/sandbox/cpu/cpu.c | 41 +-
arch/sandbox/cpu/eth-raw-os.c | 249 ++++++
arch/sandbox/dts/cros-ec-keyboard.dtsi | 105 +++
arch/sandbox/dts/sandbox.dts | 191 ++--
arch/sandbox/include/asm/eth-raw-os.h | 40 +
arch/sandbox/include/asm/eth.h | 15 +
arch/sandbox/include/asm/io.h | 16 +-
arch/sandbox/include/asm/processor.h | 12 +
arch/sandbox/include/asm/test.h | 7 +-
arch/sandbox/include/asm/u-boot-sandbox.h | 48 +
arch/sandbox/lib/Makefile | 2 +-
arch/sandbox/lib/pci_io.c | 138 +++
arch/sh/lib/board.c | 2 +-
arch/sparc/lib/board.c | 2 +-
arch/x86/Kconfig | 35 +-
arch/x86/cpu/baytrail/early_uart.c | 5 +-
arch/x86/cpu/coreboot/pci.c | 63 +-
arch/x86/cpu/coreboot/sdram.c | 6 +-
arch/x86/cpu/cpu.c | 2 +-
arch/x86/cpu/ivybridge/bd82x6x.c | 47 +-
arch/x86/cpu/ivybridge/cpu.c | 64 +-
arch/x86/cpu/ivybridge/early_init.c | 58 +-
arch/x86/cpu/ivybridge/early_me.c | 12 +-
arch/x86/cpu/ivybridge/gma.c | 4 +-
arch/x86/cpu/ivybridge/lpc.c | 88 +-
arch/x86/cpu/ivybridge/mrccache.c | 7 +-
arch/x86/cpu/ivybridge/northbridge.c | 6 +-
arch/x86/cpu/ivybridge/pch.c | 4 +-
arch/x86/cpu/ivybridge/pci.c | 85 +-
arch/x86/cpu/ivybridge/report_platform.c | 4 +-
arch/x86/cpu/ivybridge/sata.c | 61 +-
arch/x86/cpu/ivybridge/sdram.c | 37 +-
arch/x86/cpu/ivybridge/usb_ehci.c | 4 +-
arch/x86/cpu/ivybridge/usb_xhci.c | 8 +-
arch/x86/cpu/pci.c | 52 +-
arch/x86/cpu/quark/quark.c | 4 +-
arch/x86/cpu/queensbay/tnc.c | 4 +-
arch/x86/dts/Makefile | 1 +
arch/x86/dts/chromebook_link.dts | 80 +-
arch/x86/dts/chromebox_panther.dts | 64 ++
arch/x86/include/asm/arch-ivybridge/bd82x6x.h | 1 -
arch/x86/include/asm/arch-ivybridge/mrccache.h | 4 +-
arch/x86/include/asm/pci.h | 20 +-
arch/x86/lib/Makefile | 4 +
arch/x86/lib/bios_interrupts.c | 12 +-
arch/x86/lib/init_helpers.c | 8 -
arch/x86/lib/lpc-uclass.c | 28 +
arch/x86/lib/pch-uclass.c | 28 +
board/BuR/common/common.c | 4 +-
board/BuS/eb_cpux9k2/cpux9k2.c | 2 +-
board/BuS/vl_ma2sc/vl_ma2sc.c | 2 +-
board/ait/cam_enc_4xx/cam_enc_4xx.c | 2 +-
board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c | 2 +-
board/amcc/canyonlands/Kconfig | 6 -
board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +-
board/bct-brettl2/bct-brettl2.c | 2 +-
board/bf518f-ezbrd/bf518f-ezbrd.c | 4 +-
board/bf526-ezbrd/bf526-ezbrd.c | 4 +-
board/bf527-ezkit/bf527-ezkit.c | 4 +-
board/bf537-minotaur/bf537-minotaur.c | 2 +-
board/bf537-pnav/bf537-pnav.c | 2 +-
board/bf537-srv1/bf537-srv1.c | 2 +-
board/bf537-stamp/bf537-stamp.c | 4 +-
board/bf609-ezkit/bf609-ezkit.c | 2 +-
board/birdland/bav335x/board.c | 4 +-
board/buffalo/lsxl/lsxl.c | 2 +-
board/cm-bf527/cm-bf527.c | 4 +-
board/cm-bf537e/cm-bf537e.c | 2 +-
board/cm-bf537u/cm-bf537u.c | 2 +-
board/compulab/cm_fx6/cm_fx6.c | 2 +-
board/compulab/cm_t335/Kconfig | 9 -
board/compulab/cm_t335/cm_t335.c | 2 +-
board/compulab/cm_t35/cm_t35.c | 2 +-
board/compulab/cm_t3517/cm_t3517.c | 4 +-
board/compulab/cm_t54/cm_t54.c | 4 +-
board/coreboot/coreboot/coreboot.c | 5 -
board/davinci/da8xxevm/da850evm.c | 6 +-
board/dnp5370/dnp5370.c | 4 +-
board/egnite/ethernut5/ethernut5.c | 2 +-
board/genesi/mx51_efikamx/efikamx-usb.c | 4 +-
board/google/chromebook_link/link.c | 10 +-
board/google/chromebox_panther/Kconfig | 34 +
board/google/chromebox_panther/MAINTAINERS | 6 +
board/google/chromebox_panther/Makefile | 7 +
board/google/chromebox_panther/panther.c | 22 +
board/gumstix/pepper/Kconfig | 9 -
board/gumstix/pepper/board.c | 2 +-
board/ifm/ac14xx/ac14xx.c | 2 +-
board/ip04/ip04.c | 2 +-
board/isee/igep0033/Kconfig | 9 -
board/isee/igep0033/board.c | 2 +-
board/phytec/pcm051/Kconfig | 9 -
board/phytec/pcm051/board.c | 2 +-
board/renesas/r0p7734/r0p7734.c | 2 +-
board/ronetix/pm9261/pm9261.c | 2 +-
board/ronetix/pm9g45/pm9g45.c | 2 +-
board/samsung/common/board.c | 12 -
board/samsung/goni/Kconfig | 9 -
board/samsung/smdk5420/Kconfig | 6 -
board/samsung/smdkc100/Kconfig | 9 -
board/sandbox/README.sandbox | 78 +-
board/sandbox/sandbox.c | 12 -
board/siemens/common/factoryset.c | 4 +-
board/siemens/pxm2/board.c | 2 +-
board/silica/pengwyn/Kconfig | 9 -
board/silica/pengwyn/board.c | 2 +-
board/spear/spear300/spear300.c | 2 +-
board/spear/spear310/spear310.c | 2 +-
board/spear/spear320/spear320.c | 2 +-
board/spear/spear600/spear600.c | 2 +-
board/st/stv0991/stv0991.c | 2 +-
board/sunxi/gmac.c | 10 +-
board/tcm-bf518/tcm-bf518.c | 4 +-
board/tcm-bf537/tcm-bf537.c | 2 +-
board/ti/am335x/Kconfig | 9 -
board/ti/am335x/board.c | 6 +-
board/ti/am43xx/board.c | 4 +-
board/ti/beagle_x15/board.c | 4 +-
board/ti/dra7xx/evm.c | 4 +-
board/ti/ti814x/evm.c | 2 +-
common/Kconfig | 116 +++
common/board_f.c | 7 +
common/board_r.c | 8 +-
common/bootm.c | 1 +
common/cmd_bdinfo.c | 4 +-
common/cmd_bootm.c | 1 +
common/cmd_bootstage.c | 7 +-
common/cmd_demo.c | 1 +
common/cmd_elf.c | 2 +-
common/cmd_fat.c | 1 +
common/cmd_fdt.c | 1 +
common/cmd_lzmadec.c | 1 +
common/cmd_md5sum.c | 1 +
common/cmd_mem.c | 8 +-
common/cmd_net.c | 178 ++--
common/cmd_nvedit.c | 1 +
common/cmd_pci.c | 14 +-
common/cmd_pxe.c | 5 +-
common/cmd_sf.c | 3 +-
common/cmd_source.c | 1 +
common/cmd_trace.c | 1 +
common/cmd_usb.c | 198 ++++-
common/cmd_ximg.c | 1 +
common/cros_ec.c | 35 +-
common/hash.c | 1 +
common/image-fdt.c | 1 +
common/image-fit.c | 1 +
common/image.c | 1 +
common/iotrace.c | 1 +
common/lcd.c | 1 +
common/malloc_simple.c | 1 +
common/miiphyutil.c | 1 +
common/spl/spl_net.c | 4 +-
common/update.c | 25 +-
common/usb.c | 295 +++---
common/usb_hub.c | 194 +++-
common/usb_kbd.c | 119 ++-
common/usb_storage.c | 249 +++---
configs/A20-OLinuXino-Lime2_defconfig | 3 +
configs/A20-OLinuXino-Lime_defconfig | 3 +
configs/A20-OLinuXino_MICRO_defconfig | 3 +
configs/Bananapi_defconfig | 3 +
configs/Bananapro_defconfig | 3 +
configs/CSQ_CS908_defconfig | 3 +
configs/Colombus_defconfig | 3 +
configs/Cubieboard2_defconfig | 3 +
configs/Cubietruck_defconfig | 3 +
configs/Hummingbird_A31_defconfig | 3 +
configs/Linksprite_pcDuino3_Nano_defconfig | 3 +
configs/Linksprite_pcDuino3_defconfig | 11 +
configs/Linksprite_pcDuino3_fdt_defconfig | 15 -
configs/Mele_I7_defconfig | 3 +
configs/Mele_M3_defconfig | 3 +
configs/Mele_M5_defconfig | 3 +
configs/Mele_M9_defconfig | 3 +
configs/Orangepi_defconfig | 3 +
configs/Orangepi_mini_defconfig | 3 +
configs/Wits_Pro_A20_DKT_defconfig | 3 +
configs/alt_defconfig | 2 -
configs/am335x_boneblack_vboot_defconfig | 1 -
configs/am3517_crane_defconfig | 3 -
configs/am3517_evm_defconfig | 3 -
configs/arndale_defconfig | 6 +
configs/axs101_defconfig | 3 +
configs/axs103_defconfig | 3 +
configs/bf609-ezkit_defconfig | 3 +
configs/birdland_bav335a_defconfig | 3 -
configs/birdland_bav335b_defconfig | 3 -
configs/chromebook_link_defconfig | 2 +
configs/chromebox_panther_defconfig | 12 +
configs/cm_fx6_defconfig | 3 -
configs/cm_t3517_defconfig | 3 -
configs/cm_t35_defconfig | 3 -
configs/coreboot-x86_defconfig | 1 +
configs/devkit8000_defconfig | 3 -
configs/dig297_defconfig | 3 -
configs/eco5pk_defconfig | 3 -
configs/galileo_defconfig | 3 +
configs/gose_defconfig | 2 -
configs/i12-tvbox_defconfig | 3 +
configs/ids8313_defconfig | 1 -
configs/koelsch_defconfig | 2 -
configs/lager_defconfig | 2 -
configs/mcx_defconfig | 3 -
configs/mt_ventoux_defconfig | 3 -
configs/mx6dlsabreauto_defconfig | 2 -
configs/mx6dlsabresd_defconfig | 2 -
configs/mx6qsabreauto_defconfig | 2 -
configs/mx6qsabresd_defconfig | 2 -
configs/mx6sabresd_spl_defconfig | 2 -
configs/mx6sxsabresd_defconfig | 2 -
configs/mx6sxsabresd_spl_defconfig | 2 -
configs/nokia_rx51_defconfig | 3 -
configs/omap3_beagle_defconfig | 3 -
configs/omap3_evm_defconfig | 3 -
configs/omap3_evm_quick_mmc_defconfig | 3 -
configs/omap3_evm_quick_nand_defconfig | 3 -
configs/omap3_ha_defconfig | 3 -
configs/omap3_logic_defconfig | 3 -
configs/omap3_mvblx_defconfig | 3 -
configs/omap3_pandora_defconfig | 3 -
configs/omap3_sdp3430_defconfig | 3 -
configs/ph1_ld4_defconfig | 3 -
configs/ph1_pro4_defconfig | 3 -
configs/ph1_sld8_defconfig | 3 -
configs/porter_defconfig | 2 -
configs/sandbox_defconfig | 20 +-
configs/silk_defconfig | 2 -
configs/smdk5250_defconfig | 6 +
configs/snapper9260_defconfig | 3 -
configs/snapper9g20_defconfig | 3 -
configs/snow_defconfig | 7 +-
configs/socfpga_arria5_defconfig | 3 -
configs/socfpga_cyclone5_defconfig | 6 +-
configs/socfpga_socrates_defconfig | 6 +-
configs/spear300_defconfig | 3 +
configs/spear300_nand_defconfig | 3 +
configs/spear300_usbtty_defconfig | 3 +
configs/spear300_usbtty_nand_defconfig | 3 +
configs/spear310_defconfig | 3 +
configs/spear310_nand_defconfig | 3 +
configs/spear310_pnor_defconfig | 3 +
configs/spear310_usbtty_defconfig | 3 +
configs/spear310_usbtty_nand_defconfig | 3 +
configs/spear310_usbtty_pnor_defconfig | 3 +
configs/spear320_defconfig | 3 +
configs/spear320_nand_defconfig | 3 +
configs/spear320_pnor_defconfig | 3 +
configs/spear320_usbtty_defconfig | 3 +
configs/spear320_usbtty_nand_defconfig | 3 +
configs/spear320_usbtty_pnor_defconfig | 3 +
configs/spear600_defconfig | 3 +
configs/spear600_nand_defconfig | 3 +
configs/spear600_usbtty_defconfig | 3 +
configs/spear600_usbtty_nand_defconfig | 3 +
configs/stv0991_defconfig | 5 +-
configs/tao3530_defconfig | 3 -
configs/tb100_defconfig | 3 +
configs/tricorder_defconfig | 3 -
configs/tricorder_flash_defconfig | 3 -
configs/twister_defconfig | 3 -
configs/x600_defconfig | 3 +
configs/zynq_microzed_defconfig | 1 -
configs/zynq_zc70x_defconfig | 1 -
configs/zynq_zc770_xm010_defconfig | 1 -
configs/zynq_zc770_xm012_defconfig | 1 -
configs/zynq_zc770_xm013_defconfig | 1 -
configs/zynq_zed_defconfig | 1 -
configs/zynq_zybo_defconfig | 1 -
doc/README.drivers.eth | 18 +-
doc/README.enetaddr | 2 +-
doc/README.fdt-control | 16 +
doc/README.link-local | 4 +-
doc/device-tree-bindings/i2c/i2c-gpio.txt | 37 +
.../net/allwinner,sun4i-emac.txt | 19 +
.../net/allwinner,sun4i-mdio.txt | 27 +
.../net/allwinner,sun7i-a20-gmac.txt | 27 +
doc/device-tree-bindings/net/ethernet.txt | 25 +
doc/device-tree-bindings/net/stmmac.txt | 63 ++
doc/driver-model/pci-info.txt | 70 ++
doc/driver-model/usb-info.txt | 415 +++++++++
drivers/core/device-remove.c | 4 +-
drivers/core/device.c | 85 +-
drivers/core/lists.c | 2 +-
drivers/core/uclass.c | 10 +-
drivers/demo/demo-simple.c | 1 +
drivers/gpio/Kconfig | 21 +
drivers/gpio/at91_gpio.c | 2 +-
drivers/gpio/bcm2835_gpio.c | 2 +-
drivers/gpio/gpio-uclass.c | 40 +-
drivers/gpio/intel_ich6_gpio.c | 18 +-
drivers/gpio/mxc_gpio.c | 2 +-
drivers/gpio/omap_gpio.c | 2 +-
drivers/gpio/s5p_gpio.c | 2 +-
drivers/gpio/sandbox.c | 6 +-
drivers/gpio/sunxi_gpio.c | 2 +-
drivers/gpio/tegra_gpio.c | 2 +-
drivers/i2c/Kconfig | 56 +-
drivers/i2c/Makefile | 1 +
drivers/i2c/i2c-gpio.c | 346 ++++++++
drivers/i2c/i2c-uclass.c | 6 +-
drivers/i2c/i2c-uniphier-f.c | 1 +
drivers/i2c/i2c-uniphier.c | 1 +
drivers/i2c/s3c24x0_i2c.c | 2 +-
drivers/i2c/sandbox_i2c.c | 2 +-
drivers/i2c/tegra_i2c.c | 6 +-
drivers/input/cros_ec_keyb.c | 2 +-
drivers/input/i8042.c | 7 +
drivers/misc/Kconfig | 19 +-
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec.c | 254 +-----
drivers/misc/cros_ec_i2c.c | 6 +-
drivers/misc/cros_ec_lpc.c | 29 +-
drivers/misc/cros_ec_sandbox.c | 79 +-
drivers/misc/cros_ec_spi.c | 8 +-
drivers/misc/swap_case.c | 285 ++++++
drivers/mtd/spi/Kconfig | 12 +-
drivers/mtd/spi/sf-uclass.c | 18 +-
drivers/mtd/spi/sf_probe.c | 9 +-
drivers/net/4xx_enet.c | 21 +-
drivers/net/Kconfig | 49 +
drivers/net/Makefile | 4 +-
drivers/net/altera_tse.c | 15 +-
drivers/net/armada100_fec.c | 7 +-
drivers/net/at91_emac.c | 4 +-
drivers/net/ax88180.c | 6 +-
drivers/net/bcm-sf2-eth.c | 6 +-
drivers/net/bfin_mac.c | 4 +-
drivers/net/calxedaxgmac.c | 2 +-
drivers/net/cpsw.c | 17 +-
drivers/net/cs8900.c | 5 +-
drivers/net/davinci_emac.c | 5 +-
drivers/net/dc2114x.c | 9 +-
drivers/net/designware.c | 250 +++++-
drivers/net/designware.h | 3 +-
drivers/net/dm9000x.c | 9 +-
drivers/net/dnet.c | 5 +-
drivers/net/e1000.c | 4 +-
drivers/net/eepro100.c | 3 +-
drivers/net/enc28j60.c | 13 +-
drivers/net/ep93xx_eth.c | 11 +-
drivers/net/ethoc.c | 4 +-
drivers/net/fec_mxc.c | 4 +-
drivers/net/fm/eth.c | 2 +-
drivers/net/fsl_mcdmafec.c | 23 +-
drivers/net/ftgmac100.c | 4 +-
drivers/net/ftmac100.c | 4 +-
drivers/net/ftmac110.c | 4 +-
drivers/net/greth.c | 2 +-
drivers/net/keystone_net.c | 2 +-
drivers/net/ks8851_mll.c | 6 +-
drivers/net/lan91c96.c | 19 +-
drivers/net/lpc32xx_eth.c | 10 +-
drivers/net/macb.c | 10 +-
drivers/net/mcffec.c | 5 +-
drivers/net/mpc512x_fec.c | 3 +-
drivers/net/mpc5xxx_fec.c | 2 +-
drivers/net/mvgbe.c | 41 +-
drivers/net/mvneta.c | 2 +-
drivers/net/natsemi.c | 3 +-
drivers/net/ne2000_base.c | 2 +-
drivers/net/netconsole.c | 98 +-
drivers/net/ns8382x.c | 6 +-
drivers/net/pch_gbe.c | 2 +-
drivers/net/pcnet.c | 2 +-
drivers/net/phy/phy.c | 22 +
drivers/net/rtl8139.c | 4 +-
drivers/net/rtl8169.c | 2 +-
drivers/net/sandbox-raw.c | 165 ++++
drivers/net/sandbox.c | 208 +++++
drivers/net/sh_eth.c | 2 +-
drivers/net/smc91111.c | 18 +-
drivers/net/smc911x.c | 4 +-
drivers/net/sunxi_emac.c | 4 +-
drivers/net/tsec.c | 7 +-
drivers/net/tsi108_eth.c | 8 +-
drivers/net/uli526x.c | 5 +-
drivers/net/xilinx_axi_emac.c | 2 +-
drivers/net/xilinx_emaclite.c | 2 +-
drivers/net/xilinx_ll_temac_fifo.c | 4 +-
drivers/net/xilinx_ll_temac_sdma.c | 4 +-
drivers/net/zynq_gem.c | 2 +-
drivers/pci/Kconfig | 22 +
drivers/pci/Makefile | 11 +-
drivers/pci/pci-emul-uclass.c | 67 ++
drivers/pci/pci-uclass.c | 639 +++++++++++++
drivers/pci/pci.c | 281 +-----
drivers/pci/pci_auto.c | 16 +-
drivers/pci/pci_common.c | 292 ++++++
drivers/pci/pci_compat.c | 43 +
drivers/pci/pci_sandbox.c | 79 ++
drivers/pci/pci_x86.c | 24 +
drivers/qe/uec.c | 2 +-
drivers/serial/ns16550.c | 1 +
drivers/serial/serial-uclass.c | 4 +-
drivers/serial/serial_uniphier.c | 1 +
drivers/sound/Kconfig | 55 ++
drivers/spi/Kconfig | 25 +
drivers/spi/Makefile | 1 +
drivers/spi/fsl_dspi.c | 737 +++++++++++++++
drivers/spi/fsl_qspi.c | 985 ++++++++++++++-------
drivers/spi/ich.c | 522 +++++------
drivers/spi/spi-uclass.c | 4 +-
drivers/tpm/Kconfig | 7 +
drivers/usb/Kconfig | 16 +
drivers/usb/emul/Kconfig | 8 +
drivers/usb/emul/Makefile | 10 +
drivers/usb/emul/sandbox_flash.c | 423 +++++++++
drivers/usb/emul/sandbox_hub.c | 303 +++++++
drivers/usb/emul/usb-emul-uclass.c | 263 ++++++
drivers/usb/eth/asix.c | 3 +-
drivers/usb/eth/asix88179.c | 2 +-
drivers/usb/eth/mcs7830.c | 2 +-
drivers/usb/eth/smsc95xx.c | 5 +-
drivers/usb/eth/usb_ether.c | 52 +-
drivers/usb/gadget/ci_udc.c | 4 +
drivers/usb/gadget/ether.c | 13 +-
drivers/usb/host/Makefile | 5 +
drivers/usb/host/ehci-exynos.c | 112 ++-
drivers/usb/host/ehci-faraday.c | 112 ++-
drivers/usb/host/ehci-hcd.c | 379 ++++++--
drivers/usb/host/ehci-mx5.c | 12 +
drivers/usb/host/ehci-tegra.c | 322 ++++---
drivers/usb/host/ehci.h | 47 +
drivers/usb/host/usb-sandbox.c | 117 +++
drivers/usb/host/usb-uclass.c | 645 ++++++++++++++
drivers/usb/host/xhci-exynos5.c | 120 ++-
drivers/usb/host/xhci-mem.c | 24 +-
drivers/usb/host/xhci-ring.c | 8 +-
drivers/usb/host/xhci.c | 312 +++++--
drivers/usb/host/xhci.h | 31 +-
drivers/usb/musb-new/musb_uboot.c | 4 +-
drivers/video/cfb_console.c | 29 +-
fs/fs.c | 1 +
include/bootstage.h | 2 +-
include/common.h | 30 +-
include/configs/axs101.h | 1 -
include/configs/bf609-ezkit.h | 1 -
include/configs/chromebook_link.h | 61 +-
include/configs/chromebox_panther.h | 17 +
include/configs/exynos5250-common.h | 10 -
include/configs/exynos5420-common.h | 2 -
include/configs/sandbox.h | 59 +-
include/configs/smdk5250.h | 1 -
include/configs/snow.h | 3 +-
include/configs/socfpga_common.h | 1 -
include/configs/spear-common.h | 1 -
include/configs/stv0991.h | 1 -
include/configs/sunxi-common.h | 1 -
include/configs/tb100.h | 1 -
include/configs/x600.h | 1 -
include/configs/x86-chromebook.h | 68 ++
include/configs/x86-common.h | 5 -
include/cros_ec.h | 137 ---
include/dm/device-internal.h | 2 +-
include/dm/device.h | 61 +-
include/dm/test.h | 8 +-
include/dm/uclass-id.h | 11 +
include/dm/uclass-internal.h | 7 +-
include/dm/uclass.h | 2 +
include/fdtdec.h | 19 +-
include/fsl_dspi.h | 150 ++++
include/i2c.h | 8 +-
include/linker_lists.h | 10 +
include/linux/usb/ch9.h | 18 +
include/linux/usb/gadget.h | 13 -
include/mapmem.h | 32 +
include/net.h | 470 ++++++----
include/os.h | 2 +-
include/pci.h | 411 ++++++++-
include/pci_ids.h | 2 +
include/phy.h | 23 +-
include/spi_flash.h | 47 +-
include/usb.h | 494 ++++++++++-
include/usb_defs.h | 68 +-
lib/Kconfig | 9 +
lib/fdtdec.c | 10 +-
lib/net_utils.c | 16 +-
lib/trace.c | 1 +
net/arp.c | 137 ++-
net/arp.h | 22 +-
net/bootp.c | 373 ++++----
net/bootp.h | 39 +-
net/cdp.c | 88 +-
net/cdp.h | 2 +-
net/dns.c | 72 +-
net/dns.h | 2 +-
net/eth.c | 666 +++++++++++---
net/link_local.c | 83 +-
net/net.c | 493 ++++++-----
net/nfs.c | 241 +++--
net/nfs.h | 2 +-
net/ping.c | 49 +-
net/rarp.c | 45 +-
net/rarp.h | 6 +-
net/sntp.c | 48 +-
net/sntp.h | 2 +-
net/tftp.c | 595 +++++++------
net/tftp.h | 8 +-
post/cpu/mpc8xx/ether.c | 6 +-
test/compression.c | 1 +
test/dm/Makefile | 7 +-
test/dm/bus.c | 16 +-
test/dm/cmd_dm.c | 16 +-
test/dm/core.c | 9 +-
test/dm/eth.c | 156 ++++
test/dm/pci.c | 59 ++
test/dm/test-dm.sh | 3 +
test/dm/test-main.c | 7 +-
test/dm/test-uclass.c | 17 +-
test/dm/test.dts | 78 ++
test/dm/usb.c | 50 ++
551 files changed, 16067 insertions(+), 5184 deletions(-)
create mode 100644 arch/arm/dts/ls1021a-qds.dts
create mode 100644 arch/arm/dts/ls1021a-twr.dts
create mode 100644 arch/arm/dts/ls1021a.dtsi
create mode 100644 arch/arm/dts/skeleton64.dtsi
create mode 100644 arch/sandbox/cpu/eth-raw-os.c
create mode 100644 arch/sandbox/dts/cros-ec-keyboard.dtsi
create mode 100644 arch/sandbox/include/asm/eth-raw-os.h
create mode 100644 arch/sandbox/include/asm/eth.h
create mode 100644 arch/sandbox/include/asm/processor.h
create mode 100644 arch/sandbox/lib/pci_io.c
create mode 100644 arch/x86/dts/chromebox_panther.dts
create mode 100644 arch/x86/lib/lpc-uclass.c
create mode 100644 arch/x86/lib/pch-uclass.c
create mode 100644 board/google/chromebox_panther/Kconfig
create mode 100644 board/google/chromebox_panther/MAINTAINERS
create mode 100644 board/google/chromebox_panther/Makefile
create mode 100644 board/google/chromebox_panther/panther.c
delete mode 100644 configs/Linksprite_pcDuino3_fdt_defconfig
create mode 100644 configs/chromebox_panther_defconfig
create mode 100644 doc/device-tree-bindings/i2c/i2c-gpio.txt
create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-emac.txt
create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-mdio.txt
create mode 100644 doc/device-tree-bindings/net/allwinner,sun7i-a20-gmac.txt
create mode 100644 doc/device-tree-bindings/net/ethernet.txt
create mode 100644 doc/device-tree-bindings/net/stmmac.txt
create mode 100644 doc/driver-model/pci-info.txt
create mode 100644 doc/driver-model/usb-info.txt
create mode 100644 drivers/i2c/i2c-gpio.c
create mode 100644 drivers/misc/swap_case.c
create mode 100644 drivers/net/sandbox-raw.c
create mode 100644 drivers/net/sandbox.c
create mode 100644 drivers/pci/pci-emul-uclass.c
create mode 100644 drivers/pci/pci-uclass.c
create mode 100644 drivers/pci/pci_common.c
create mode 100644 drivers/pci/pci_compat.c
create mode 100644 drivers/pci/pci_sandbox.c
create mode 100644 drivers/pci/pci_x86.c
create mode 100644 drivers/spi/fsl_dspi.c
create mode 100644 drivers/usb/emul/Kconfig
create mode 100644 drivers/usb/emul/Makefile
create mode 100644 drivers/usb/emul/sandbox_flash.c
create mode 100644 drivers/usb/emul/sandbox_hub.c
create mode 100644 drivers/usb/emul/usb-emul-uclass.c
create mode 100644 drivers/usb/host/usb-sandbox.c
create mode 100644 drivers/usb/host/usb-uclass.c
create mode 100644 include/configs/chromebox_panther.h
create mode 100644 include/configs/x86-chromebook.h
create mode 100644 include/fsl_dspi.h
create mode 100644 include/mapmem.h
create mode 100644 test/dm/eth.c
create mode 100644 test/dm/pci.c
create mode 100644 test/dm/usb.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-03-25 22:45 Simon Glass
@ 2015-03-27 14:19 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-03-27 14:19 UTC (permalink / raw)
To: u-boot
On Wed, Mar 25, 2015 at 04:45:52PM -0600, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7:
>
> bav335x: Update defconfigs and fix typo in EEPROM config format
> (2015-03-24 10:56:35 -0400)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 891ee87e2b4586012ce5bacd9149177f61de4ad5:
>
> dm: serial: remove bogus include <ns16550.h> (2015-03-25 16:33:27 -0600)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150327/4a236389/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-03-25 22:45 Simon Glass
2015-03-27 14:19 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-03-25 22:45 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7:
bav335x: Update defconfigs and fix typo in EEPROM config format
(2015-03-24 10:56:35 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 891ee87e2b4586012ce5bacd9149177f61de4ad5:
dm: serial: remove bogus include <ns16550.h> (2015-03-25 16:33:27 -0600)
----------------------------------------------------------------
Masahiro Yamada (1):
dm: serial: remove bogus include <ns16550.h>
drivers/serial/serial-uclass.c | 2 --
1 file changed, 2 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-03-06 20:04 Simon Glass
@ 2015-03-09 16:45 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-03-09 16:45 UTC (permalink / raw)
To: u-boot
On Fri, Mar 06, 2015 at 01:04:47PM -0700, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 694cc87b76b1063a2a7a8bd1809e990df0a469f8:
>
> arm, da8xx: convert ipam390 board to generic board support
> (2015-03-05 10:08:13 -0500)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 65eb659e56fadf8183532d95db1d06fb63c60f9f:
>
> README: remove description about driver model configuration options
> (2015-03-05 19:13:43 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150309/695d295f/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-03-06 20:04 Simon Glass
2015-03-09 16:45 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-03-06 20:04 UTC (permalink / raw)
To: u-boot
Hi Tom,
The following changes since commit 694cc87b76b1063a2a7a8bd1809e990df0a469f8:
arm, da8xx: convert ipam390 board to generic board support
(2015-03-05 10:08:13 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 65eb659e56fadf8183532d95db1d06fb63c60f9f:
README: remove description about driver model configuration options
(2015-03-05 19:13:43 -0700)
----------------------------------------------------------------
Masahiro Yamada (2):
MAINTAINERS: add Driver Model repository information
README: remove description about driver model configuration options
Simon Glass (1):
dm: i2c: Add a missing memory allocaton check
MAINTAINERS | 1 +
README | 113
-------------------------------------------------------------------------------
drivers/i2c/i2c-uclass.c | 2 ++
3 files changed, 3 insertions(+), 113 deletions(-)
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-02-20 16:17 Simon Glass
@ 2015-02-22 2:56 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-02-22 2:56 UTC (permalink / raw)
To: u-boot
On Fri, Feb 20, 2015 at 09:17:42AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This is the last of the driver model Kconfig conversion (for now at
> least), the debug UART stuff and a few fixes.
>
>
> The following changes since commit 1320112c8aa58345d71a5a46f3bf6a52589f1f2b:
>
> Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-02-18
> 08:46:50 -0500)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 66c03151fc8752c29b7d17003b9c87218640b10b:
>
> dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE (2015-02-19
> 07:30:31 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150221/c245fb58/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-02-20 16:17 Simon Glass
2015-02-22 2:56 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-02-20 16:17 UTC (permalink / raw)
To: u-boot
Hi Tom,
This is the last of the driver model Kconfig conversion (for now at
least), the debug UART stuff and a few fixes.
The following changes since commit 1320112c8aa58345d71a5a46f3bf6a52589f1f2b:
Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-02-18
08:46:50 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 66c03151fc8752c29b7d17003b9c87218640b10b:
dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE (2015-02-19
07:30:31 -0700)
----------------------------------------------------------------
Marek Vasut (1):
dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE
Masahiro Yamada (1):
Documentation: gpio: fix bindings document
Simon Glass (6):
dm: cros_ec: Convert to Kconfig
dm: Move CONFIG_I2C_COMPAT to Kconfig
dm: mx6: Adjust mx6sxsabresd to use Kconfig for DM_THERMAL
serial: Support an early UART for debugging
serial: ns16550: Add access functions that don't need platdata
serial: ns16550: Support debug UART
configs/minnowmax_defconfig | 2 -
configs/mx6sxsabresd_defconfig | 2 +
configs/mx6sxsabresd_spl_defconfig | 2 +
configs/odroid_defconfig | 2 +
configs/peach-pi_defconfig | 4 ++
configs/peach-pit_defconfig | 4 ++
configs/sandbox_defconfig | 5 ++
configs/snow_defconfig | 5 ++
doc/device-tree-bindings/gpio/gpio.txt | 5 +-
drivers/i2c/Kconfig | 9 ++++
drivers/input/Kconfig | 6 +++
drivers/misc/Kconfig | 48 ++++++++++++++++-
drivers/serial/Kconfig | 59 ++++++++++++++++++++
drivers/serial/ns16550.c | 98 +++++++++++++++++++++++++++-------
include/configs/exynos5-common.h | 2 +
include/configs/exynos5-dt-common.h | 3 --
include/configs/mx6sxsabresd.h | 2 -
include/configs/odroid.h | 2 -
include/configs/peach-pi.h | 1 -
include/configs/peach-pit.h | 1 -
include/configs/sandbox.h | 4 --
include/configs/snow.h | 2 -
include/debug_uart.h | 139
++++++++++++++++++++++++++++++++++++++++++++++++
include/dm/device-internal.h | 4 ++
24 files changed, 371 insertions(+), 40 deletions(-)
create mode 100644 include/debug_uart.h
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-02-13 15:07 Simon Glass
@ 2015-02-16 17:41 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-02-16 17:41 UTC (permalink / raw)
To: u-boot
On Fri, Feb 13, 2015 at 08:07:56AM -0700, Simon Glass wrote:
> Hi Tom,
>
> This is mostly the PowerPC driver model support and the conversion to
> Kconfig. I have a few stragglers on the Kconfig side but will look at
> that next week.
>
>
> The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f:
>
> sunxi: configs/sunxi-common.h: Enable CONFIG_CMD_PART (2015-02-11
> 19:43:45 -0500)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to b1f6659c420dae9cd06514fbd8342f39b3f326b9:
>
> dm: mx6: sabre: Move driver model CONFIGs to Kconfig (2015-02-13
> 07:20:00 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150216/79506bfd/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-02-13 15:07 Simon Glass
2015-02-16 17:41 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-02-13 15:07 UTC (permalink / raw)
To: u-boot
Hi Tom,
This is mostly the PowerPC driver model support and the conversion to
Kconfig. I have a few stragglers on the Kconfig side but will look at
that next week.
The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f:
sunxi: configs/sunxi-common.h: Enable CONFIG_CMD_PART (2015-02-11
19:43:45 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to b1f6659c420dae9cd06514fbd8342f39b3f326b9:
dm: mx6: sabre: Move driver model CONFIGs to Kconfig (2015-02-13
07:20:00 -0700)
----------------------------------------------------------------
Axel Lin (2):
gpio: at91: Fix getting address of private data
gpio: omap: Pass correct argument to _get_gpio_direction()
Chris Kuethe (1):
RSA depends on DM
Hans de Goede (1):
malloc_simple: Return NULL on malloc failure rather then calling panic()
Michal Simek (1):
dm: Add support for all targets which requires MANUAL_RELOC
Nobuhiro Iwamatsu (1):
dm: sh: serial: Add support driver model
Peng Fan (3):
dm: introduce dev_get_addr interface
dm:gpio:mxc add a bank_index entry in platdata
dm:gpio:mxc add DT support
Peter Tyser (1):
dm: Prevent "demo hello" and "demo status" segfaults
Przemyslaw Marczak (1):
i2c: s3c24x0: reduce transmission status timeout
Simon Glass (38):
Introduce board_init_f_mem() to handle early memory layout
powerpc: Permit device tree control of U-Boot (CONFIG_OF_CONTROL)
powerpc: ppc4xx: canyonlands: config: Tidy up CONFIGs and config.mk
powerpc: ppc4xx: Move CANYONLANDS/GLACIER/ARCHES to Kconfig
powerpc: ppc4xx: Add ramboot config for glacier
powerpc: ppc4xx: canyonlands: Move to generic board
powerpc: ppc4xx: dts: Bring in canyonlands device tree files
powerpc: ppc4xx: Call board_init_f_mem() for generic board
powerpc: ppc4xx: Add a gpio.h header file
powerpc: ppc4xx: Allow the end of u-boot.bin to be found
powerpc: ppc4xx: Use CONFIG_OF_CONTROL for canyonlands boards
ppc: amcc: Omit unneeded ns16550 CONFIG if using driver model
powerpc: Add serial driver for driver model
dm: powerpc: ppc4xx: Move glacier to use driver model for serial
powerpc: Add linkage.h file
net: Use new checksum functions
dm: i2c: Add a dm_ prefix to driver model bus speed functions
dm: i2c: Make API accessible even without CONFIG_DM
dm: Add Kconfig for driver/demo
dm: Expand and complete Kconfig in drivers/
dm: Add Kconfig options for driver model SPL support
dm: test: Add a Kconfig file
dm: Add CMD_DM and CMD_DEMO to Kconfig
dm: Move Raspberry Pi driver model CONFIGs to Kconfig
dm: exynos: Move driver model CONFIGs to Kconfig
dm: x86: Move driver model CONFIGs to Kconfig
dm: tegra: Move driver model CONFIGs to Kconfig
dm: omap3: Move driver model CONFIGs to Kconfig
dm: sandbox: Move driver model CONFIGs to Kconfig
dm: sunxi: Move driver model CONFIGs to Kconfig
dm: mx6: Move driver model CONFIGs to Kconfig
dm: socfpga: Move driver model CONFIGs to Kconfig
dm: at91: Drop use of ATMEL_PIO_PORTS in the header file
dm: at91: snapper: Move driver model CONFIGs to Kconfig
dm: Kconfig: Move CONFIG_SYS_MALLOC_F_LEN to Kconfig
dm: Drop unused driver model config_defaults
dm: stv0991: Move driver model CONFIGs to Kconfig
dm: mx6: sabre: Move driver model CONFIGs to Kconfig
Stefan Roese (3):
powerpc: ppc4xx: Change from OF_SEPARATE to OF_EMBED
powerpc: ppc4xx: Add defaults for DT based booting to really work
powerpc: ppc4xx: Enable CONFIG_DISPLAY_BOARDINFO
Kconfig | 22 ++
arch/Kconfig | 1 +
arch/arm/Kconfig | 2 +
arch/arm/cpu/arm1176/bcm2835/Kconfig | 12 +
arch/arm/cpu/armv7/exynos/Kconfig | 21 ++
arch/arm/cpu/armv7/omap3/Kconfig | 15 ++
arch/arm/cpu/armv7/tegra-common/Kconfig | 24 ++
arch/arm/cpu/armv7/uniphier/Kconfig | 6 +
arch/arm/include/asm/arch-at91/at91_pio.h | 12 +-
arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | 8 +
arch/powerpc/cpu/ppc4xx/config.mk | 5 +-
arch/powerpc/cpu/ppc4xx/cpu_init.c | 2 +
arch/powerpc/cpu/ppc4xx/start.S | 18 +-
arch/powerpc/cpu/ppc4xx/u-boot.lds | 8 +-
arch/powerpc/dts/Makefile | 11 +
arch/powerpc/dts/arches.dts | 339 +++++++++++++++++++++++++
arch/powerpc/dts/canyonlands.dts | 561
+++++++++++++++++++++++++++++++++++++++++
arch/powerpc/dts/glacier.dts | 582
+++++++++++++++++++++++++++++++++++++++++++
arch/powerpc/include/asm/arch-ppc4xx/gpio.h | 7 +
arch/powerpc/include/asm/linkage.h | 7 +
arch/powerpc/include/asm/ppc460ex_gt.h | 2 +
arch/sandbox/Kconfig | 24 ++
arch/x86/Kconfig | 15 ++
board/amcc/canyonlands/Kconfig | 38 +++
board/amcc/canyonlands/MAINTAINERS | 1 +
board/amcc/canyonlands/config.mk | 2 -
board/amcc/canyonlands/u-boot-ram.lds | 85 +++++++
board/compulab/cm_t335/Kconfig | 9 +
board/gumstix/pepper/Kconfig | 9 +
board/isee/igep0033/Kconfig | 9 +
board/phytec/pcm051/Kconfig | 9 +
board/samsung/goni/Kconfig | 9 +
board/samsung/smdk5420/Kconfig | 6 +
board/samsung/smdkc100/Kconfig | 9 +
board/silica/pengwyn/Kconfig | 9 +
board/ti/am335x/Kconfig | 16 ++
common/Kconfig | 23 ++
common/board_f.c | 18 ++
common/cmd_demo.c | 4 +-
common/cmd_i2c.c | 4 +-
common/malloc_simple.c | 2 +-
configs/Linksprite_pcDuino3_fdt_defconfig | 4 +
configs/am335x_igep0033_defconfig | 2 +
configs/am3517_crane_defconfig | 3 +
configs/am3517_evm_defconfig | 3 +
configs/arches_defconfig | 5 +-
configs/canyonlands_defconfig | 5 +-
configs/cm_fx6_defconfig | 5 +
configs/cm_t335_defconfig | 2 +
configs/cm_t3517_defconfig | 3 +
configs/cm_t35_defconfig | 3 +
configs/devkit8000_defconfig | 3 +
configs/dig297_defconfig | 3 +
configs/eco5pk_defconfig | 3 +
configs/glacier_defconfig | 5 +-
configs/glacier_ramboot_defconfig | 8 +
configs/gwventana_defconfig | 2 +
configs/mcx_defconfig | 3 +
configs/mt_ventoux_defconfig | 3 +
configs/mx6dlsabreauto_defconfig | 4 +
configs/mx6dlsabresd_defconfig | 2 +
configs/mx6qsabreauto_defconfig | 4 +
configs/mx6qsabrelite_defconfig | 2 +
configs/mx6qsabresd_defconfig | 4 +
configs/mx6sabresd_spl_defconfig | 3 +-
configs/mx6sxsabresd_defconfig | 2 +
configs/nokia_rx51_defconfig | 5 +
configs/omap3_beagle_defconfig | 3 +
configs/omap3_evm_defconfig | 3 +
configs/omap3_evm_quick_mmc_defconfig | 3 +
configs/omap3_evm_quick_nand_defconfig | 3 +
configs/omap3_ha_defconfig | 3 +
configs/omap3_logic_defconfig | 3 +
configs/omap3_mvblx_defconfig | 3 +
configs/omap3_pandora_defconfig | 3 +
configs/omap3_sdp3430_defconfig | 3 +
configs/pcm051_rev1_defconfig | 2 +
configs/pcm051_rev3_defconfig | 2 +
configs/pengwyn_defconfig | 2 +
configs/pepper_defconfig | 2 +
configs/rpi_defconfig | 2 +
configs/s5p_goni_defconfig | 2 +
configs/sandbox_defconfig | 2 +
configs/smdkc100_defconfig | 2 +
configs/snapper9260_defconfig | 5 +
configs/snapper9g20_defconfig | 5 +
configs/socfpga_socrates_defconfig | 3 +
configs/stv0991_defconfig | 4 +
configs/tao3530_defconfig | 3 +
configs/tricorder_defconfig | 3 +
configs/tricorder_flash_defconfig | 3 +
configs/twister_defconfig | 3 +
doc/driver-model/spi-howto.txt | 4 +-
drivers/Kconfig | 4 +
drivers/core/Kconfig | 50 +++-
drivers/core/device.c | 12 +
drivers/core/root.c | 64 +++++
drivers/demo/Kconfig | 26 ++
drivers/gpio/Kconfig | 7 +-
drivers/gpio/at91_gpio.c | 10 +-
drivers/gpio/mxc_gpio.c | 84 +++++--
drivers/gpio/omap_gpio.c | 2 +-
drivers/i2c/Kconfig | 12 +-
drivers/i2c/adi_i2c.c | 6 +-
drivers/i2c/i2c-uclass.c | 11 +-
drivers/i2c/kona_i2c.c | 16 +-
drivers/i2c/mv_i2c.c | 10 +-
drivers/i2c/s3c24x0_i2c.c | 4 +-
drivers/misc/Kconfig | 9 +
drivers/mtd/Kconfig | 2 +
drivers/mtd/spi/Kconfig | 14 ++
drivers/serial/Kconfig | 6 +-
drivers/serial/Makefile | 1 +
drivers/serial/serial-uclass.c | 16 ++
drivers/serial/serial_ppc.c | 40 +++
drivers/serial/serial_sh.c | 321 ++++++++++++++++--------
drivers/serial/serial_sh.h | 30 ++-
drivers/spi/Kconfig | 10 +-
drivers/thermal/Kconfig | 7 +
include/config_defaults.h | 6 -
include/configs/amcc-common.h | 2 +
include/configs/canyonlands.h | 38 +--
include/configs/cm_fx6.h | 7 -
include/configs/exynos-common.h | 7 -
include/configs/gw_ventana.h | 1 -
include/configs/mx6sabre_common.h | 3 -
include/configs/mx6sxsabresd.h | 1 -
include/configs/novena.h | 1 -
include/configs/peach-pi.h | 1 -
include/configs/peach-pit.h | 1 -
include/configs/rpi.h | 7 -
include/configs/s5p_goni.h | 5 -
include/configs/sandbox.h | 13 -
include/configs/smdkc100.h | 7 -
include/configs/snapper9260.h | 5 -
include/configs/socfpga_common.h | 7 -
include/configs/stv0991.h | 11 -
include/configs/sunxi-common.h | 4 -
include/configs/tegra-common.h | 11 -
include/configs/ti_am335x_common.h | 7 -
include/configs/ti_omap3_common.h | 5 -
include/configs/uniphier.h | 4 -
include/configs/x86-common.h | 6 -
include/dm/device.h | 10 +
include/dm/platform_data/serial_sh.h | 37 +++
include/i2c.h | 13 +-
include/net.h | 4 -
net/net.c | 25 +-
net/ping.c | 10 +-
test/Kconfig | 1 +
test/dm/Kconfig | 8 +
test/dm/i2c.c | 6 +-
152 files changed, 2800 insertions(+), 381 deletions(-)
create mode 100644 arch/arm/cpu/arm1176/bcm2835/Kconfig
create mode 100644 arch/powerpc/dts/Makefile
create mode 100644 arch/powerpc/dts/arches.dts
create mode 100644 arch/powerpc/dts/canyonlands.dts
create mode 100644 arch/powerpc/dts/glacier.dts
create mode 100644 arch/powerpc/include/asm/arch-ppc4xx/gpio.h
create mode 100644 arch/powerpc/include/asm/linkage.h
create mode 100644 board/amcc/canyonlands/u-boot-ram.lds
create mode 100644 configs/glacier_ramboot_defconfig
create mode 100644 drivers/demo/Kconfig
create mode 100644 drivers/mtd/spi/Kconfig
create mode 100644 drivers/serial/serial_ppc.c
create mode 100644 drivers/thermal/Kconfig
create mode 100644 include/dm/platform_data/serial_sh.h
create mode 100644 test/Kconfig
create mode 100644 test/dm/Kconfig
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2015-01-30 1:16 Simon Glass
@ 2015-02-02 18:57 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2015-02-02 18:57 UTC (permalink / raw)
To: u-boot
On Thu, Jan 29, 2015 at 06:16:22PM -0700, Simon Glass wrote:
> Hi Tom,
>
> This includes:
> - Export redesign
> - Uniphier and Exynos I2C driver model conversions
> - Modular exponentiation framework for hardware acceleration (RSA /
> verified boot)
> - Proper device tree support for GPIOs in driver model
> - New driver model bus features (used by I2C, SPI)
> - Driver model I2C compatibility layer
> - cros_ec improvements
>
>
> The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf:
>
> lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500)
>
> are available in the git repository at:
>
> http://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 85df958ce267c602a4ec5f1e41f336c5a8d3b441:
>
> dm: cros_ec: Convert cros_ec_i2c over to driver model (2015-01-29
> 17:10:01 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150202/f584c4db/attachment.sig>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2015-01-30 1:16 Simon Glass
2015-02-02 18:57 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2015-01-30 1:16 UTC (permalink / raw)
To: u-boot
Hi Tom,
This includes:
- Export redesign
- Uniphier and Exynos I2C driver model conversions
- Modular exponentiation framework for hardware acceleration (RSA /
verified boot)
- Proper device tree support for GPIOs in driver model
- New driver model bus features (used by I2C, SPI)
- Driver model I2C compatibility layer
- cros_ec improvements
The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf:
lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 85df958ce267c602a4ec5f1e41f336c5a8d3b441:
dm: cros_ec: Convert cros_ec_i2c over to driver model (2015-01-29
17:10:01 -0700)
----------------------------------------------------------------
Martin Dorwig (1):
Export redesign
Masahiro Yamada (7):
i2c: add CONFIG_DM_I2C to Kconfig
i2c: UniPhier: add driver for UniPhier i2c controller
i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller
ARM: UniPhier: enable I2C for UniPhier SoCs
ARM: UniPhier: enable CONFIG_I2C_EEPROM
cmd_i2c: change variable type for 10bit addressing support
generic-board: show model name in board_init_f() too
Przemyslaw Marczak (11):
dm: i2c-uclass-compat: fix missed argument
arndale: config: disable max77686 support
exynos5250: config: disable max77686 driver
smdk5250: config: enable max77686 driver support
exynos4: dts: add missing i2c properties
arndale: dts: add missing i2c aliases
exynos5: pinmux: check flag for i2c config
dm: i2c: s3c24x0: adjust to dm-i2c api
odroid u3: dts: add missing i2c aliases
odroid u3: enable dm i2c support
exynos5: enable dm i2c
Ruchika Gupta (10):
rsa: Split the rsa-verify to separate the modular exponentiation
FIT: Modify option FIT_SIGNATURE in Kconfig
DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver
configs: Move CONFIG_FIT_SIGNATURE to defconfig
lib/rsa: Modify rsa to use DM driver
DM: crypto/fsl - Add Freescale rsa DM driver
lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation
hash: Add function to find hash_algo struct with progressive hash
Use hash.c in mkimage
rsa: Use checksum algorithms from struct hash_algo
Simon Glass (53):
dm: gpio: Bring in GPIO device tree binding
dm: exynos: Bring in GPIO device tree binding
dm: tegra: Bring in GPIO device tree binding
dm: fdt: Add a function to decode phandles with arguments
dm: gpio: Add a native driver model API
dm: gpio: Add a driver GPIO translation method
dm: gpio: Add better functions to request GPIOs
dm: gpio: Mark the old GPIO API deprecated
dm: demo: Add a simple GPIO demonstration
dm: cros_ec: Remove use of fdtdec GPIO support
dm: tegra: Add a GPIO translation function
dm: exynos: Add a GPIO translation function
dm: tegra: video: Remove use of fdtdec GPIO support
dm: tegra: nand: Remove use of fdtdec GPIO support
dm: zynq: Remove inline gpio functions
dm: mmc: Remove use of fdtdec GPIO support
dm: usb: Remove use of fdtdec GPIO support
dm: spi: Remove use of fdtdec GPIO support
dm: tegra: dts: Use TEGRA_GPIO() macro for all GPIOs
dm: exynos: dts: Use GPIO bank phandles for GPIOs
dm: fdt: Remove the old GPIO functions
dm: Drop gpio.h header from fdtdec.c
dm: i2c: Rename driver model I2C functions to permit compatibility
dm: i2c: Add a compatbility layer
dm: i2c: Provide an offset length parameter where needed
dm: Don't run tests if U-Boot cannot be built
dm: core: Improve comments for uclass_first/next_device()
dm: core: Set device tree node for root device
dm: core: Tidy up error handling in device_bind()
dm: core: Allocate platform data when binding a device
dm: core: Allow parents to have platform data for their children
dm: core: Allow uclasses to specify platdata for a device's children
dm: core: Add a post_bind method for parents
dm: core: Add a function to get a device's uclass ID
dm: core: Add a flag to control sequence numbering
dm: core: Allow uclasses to specify private data for a device's children
dm: spi: Move the per-child data size to the uclass
dm: core: Allow the uclass to set up a device's child after binding
dm: sandbox: sf: Tidy up the error handling in sandbox_sf_probe()
dm: core: Allow uclass to set up a device's child before it is probed
dm: spi: Set up the spi_slave device pointer in child_pre_probe()
dm: spi: Move slave details to child platdata
dm: i2c: Move slave details to child platdata
dm: tegra: Drop unused COMPAT features for I2C, SPI
dm: exynos: Drop unused COMPAT features for SPI
dm: core: Ignore disabled devices when binding
dm: cros_ec: Don't require protocol 3 support
dm: cros_ec_spi: Remove old pre-driver-model code
dm: Update documentation for new bus features
dm: i2c: dts: Support an offset-len device tree property
dm: exynos: dts: Set the offset length for cros_ec
dm: i2c: Add two more I2C init functions to the compatibility layer
dm: cros_ec: Convert cros_ec_i2c over to driver model
Kconfig | 3 +-
Makefile | 7 +
README | 7 +-
arch/arm/cpu/armv7/exynos/pinmux.c | 27 ++-
arch/arm/cpu/tegra20-common/pmu.c | 2 +-
arch/arm/dts/exynos4.dtsi | 31 ++--
arch/arm/dts/exynos4210-origen.dts | 2 +-
arch/arm/dts/exynos4210-trats.dts | 4 +-
arch/arm/dts/exynos4210-universal_c210.dts | 12 +-
arch/arm/dts/exynos4412-odroid.dts | 9 +-
arch/arm/dts/exynos4412-trats2.dts | 6 +-
arch/arm/dts/exynos5.dtsi | 4 +-
arch/arm/dts/exynos5250-arndale.dts | 8 +
arch/arm/dts/exynos5250-smdk5250.dts | 2 +-
arch/arm/dts/exynos5250-snow.dts | 11 +-
arch/arm/dts/exynos5420-peach-pit.dts | 8 +-
arch/arm/dts/exynos5422-odroidxu3.dts | 2 +-
arch/arm/dts/exynos5800-peach-pi.dts | 10 +-
arch/arm/dts/tegra114-dalmore.dts | 5 +-
arch/arm/dts/tegra124-jetson-tk1.dts | 9 +-
arch/arm/dts/tegra124-venice2.dts | 9 +-
arch/arm/dts/tegra20-colibri_t20_iris.dts | 10 +-
arch/arm/dts/tegra20-harmony.dts | 28 ++--
arch/arm/dts/tegra20-medcom-wide.dts | 9 +-
arch/arm/dts/tegra20-paz00.dts | 18 +-
arch/arm/dts/tegra20-seaboard.dts | 22 ++-
arch/arm/dts/tegra20-tamonten.dtsi | 9 +-
arch/arm/dts/tegra20-tec.dts | 9 +-
arch/arm/dts/tegra20-trimslice.dts | 8 +-
arch/arm/dts/tegra20-ventana.dts | 18 +-
arch/arm/dts/tegra20-whistler.dts | 2 +-
arch/arm/dts/tegra30-apalis.dts | 10 +-
arch/arm/dts/tegra30-beaver.dts | 10 +-
arch/arm/dts/tegra30-cardhu.dts | 8 +-
arch/arm/dts/tegra30-colibri.dts | 6 +-
arch/arm/dts/tegra30-tamonten.dtsi | 4 +-
arch/arm/include/asm/arch-exynos/pinmux.h | 3 +
arch/arm/include/asm/arch-pantheon/gpio.h | 0
arch/arm/include/asm/arch-tegra/tegra_mmc.h | 7 +-
arch/arm/include/asm/arch-tegra20/display.h | 9 +-
arch/arm/include/asm/arch-zynq/gpio.h | 15 --
arch/blackfin/cpu/cpu.c | 3 +-
arch/sandbox/dts/sandbox.dts | 11 +-
board/BuS/eb_cpux9k2/cpux9k2.c | 2 +-
board/avionic-design/common/tamonten-ng.c | 4 +-
board/nvidia/cardhu/cardhu.c | 12 +-
board/nvidia/dalmore/dalmore.c | 10 +-
board/nvidia/whistler/whistler.c | 14 +-
board/samsung/odroid/odroid.c | 14 +-
board/toradex/apalis_t30/apalis_t30.c | 8 +-
common/Makefile | 2 +
common/board_f.c | 2 +-
common/board_info.c | 35 ++++
common/board_r.c | 18 +-
common/cmd_demo.c | 29 +++-
common/cmd_i2c.c | 52 +++---
common/cmd_load.c | 2 +-
common/console.c | 20 +--
common/exports.c | 28 +---
common/hash.c | 78 ++++++---
common/image-sig.c | 6 +-
configs/am335x_boneblack_vboot_defconfig | 4 +
configs/ids8313_defconfig | 3 +
configs/ph1_ld4_defconfig | 2 +
configs/ph1_pro4_defconfig | 2 +
configs/ph1_sld8_defconfig | 2 +
configs/sandbox_defconfig | 4 +
configs/zynq_microzed_defconfig | 4 +
configs/zynq_zc70x_defconfig | 4 +
configs/zynq_zc770_xm010_defconfig | 4 +
configs/zynq_zc770_xm012_defconfig | 4 +
configs/zynq_zc770_xm013_defconfig | 4 +
configs/zynq_zed_defconfig | 4 +
configs/zynq_zybo_defconfig | 4 +
doc/README.standalone | 41 +++--
doc/device-tree-bindings/gpio/gpio-samsung.txt | 41 +++++
doc/device-tree-bindings/gpio/gpio.txt | 211
+++++++++++++++++++++++
doc/device-tree-bindings/gpio/nvidia,tegra20-gpio.txt | 40 +++++
doc/device-tree-bindings/i2c/i2c.txt | 28 ++++
doc/driver-model/README.txt | 91 +++++-----
doc/driver-model/spi-howto.txt | 40 ++++-
drivers/core/device-remove.c | 16 +-
drivers/core/device.c | 121 ++++++++++----
drivers/core/root.c | 8 +
drivers/core/uclass.c | 34 +++-
drivers/crypto/Kconfig | 1 +
drivers/crypto/Makefile | 1 +
drivers/crypto/fsl/Kconfig | 6 +
drivers/crypto/fsl/Makefile | 1 +
drivers/crypto/fsl/fsl_rsa.c | 60 +++++++
drivers/crypto/fsl/jobdesc.c | 28 ++++
drivers/crypto/fsl/jobdesc.h | 5 +
drivers/crypto/fsl/rsa_caam.h | 28 ++++
drivers/crypto/rsa_mod_exp/Kconfig | 5 +
drivers/crypto/rsa_mod_exp/Makefile | 7 +
drivers/crypto/rsa_mod_exp/mod_exp_sw.c | 39 +++++
drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 31 ++++
drivers/demo/demo-shape.c | 71 ++++++++
drivers/demo/demo-uclass.c | 20 +++
drivers/gpio/gpio-uclass.c | 396
++++++++++++++++++++++++++++++++++++--------
drivers/gpio/s5p_gpio.c | 13 +-
drivers/gpio/sandbox.c | 20 +++
drivers/gpio/tegra_gpio.c | 18 ++
drivers/i2c/Kconfig | 22 +++
drivers/i2c/Makefile | 3 +
drivers/i2c/i2c-uclass-compat.c | 108 ++++++++++++
drivers/i2c/i2c-uclass.c | 81 +++++----
drivers/i2c/i2c-uniphier-f.c | 367
++++++++++++++++++++++++++++++++++++++++
drivers/i2c/i2c-uniphier.c | 227
+++++++++++++++++++++++++
drivers/i2c/s3c24x0_i2c.c | 237
+++++++++++++++++++++-----
drivers/i2c/sandbox_i2c.c | 30 +---
drivers/i2c/tegra_i2c.c | 18 --
drivers/misc/cros_ec.c | 34 ++--
drivers/misc/cros_ec_i2c.c | 82 ++++-----
drivers/misc/cros_ec_spi.c | 70 +-------
drivers/mmc/s5p_sdhci.c | 20 +--
drivers/mmc/tegra_mmc.c | 36 ++--
drivers/mtd/nand/tegra_nand.c | 9 +-
drivers/mtd/spi/sandbox.c | 12 +-
drivers/mtd/spi/sf_probe.c | 3 +-
drivers/power/as3722.c | 6 +-
drivers/power/tps6586x.c | 4 +-
drivers/serial/serial-uclass.c | 1 +
drivers/spi/cadence_qspi.c | 1 -
drivers/spi/designware_spi.c | 1 -
drivers/spi/exynos_spi.c | 1 -
drivers/spi/sandbox_spi.c | 1 -
drivers/spi/soft_spi.c | 72 ++++----
drivers/spi/spi-uclass.c | 95 +++++++----
drivers/spi/tegra114_spi.c | 1 -
drivers/spi/tegra20_sflash.c | 1 -
drivers/spi/tegra20_slink.c | 1 -
drivers/usb/host/ehci-exynos.c | 10 +-
drivers/usb/host/ehci-tegra.c | 38 ++---
drivers/usb/host/xhci-exynos5.c | 10 +-
drivers/video/tegra.c | 54 +++---
examples/standalone/stubs.c | 64 +++----
include/_exports.h | 99 +++++++----
include/asm-generic/global_data.h | 2 +-
include/asm-generic/gpio.h | 265
+++++++++++++++++++++++++++++
include/common.h | 13 +-
include/configs/am335x_evm.h | 6 +-
include/configs/arndale.h | 2 -
include/configs/exynos5-common.h | 7 +-
include/configs/exynos5250-common.h | 3 -
include/configs/ids8313.h | 3 -
include/configs/odroid.h | 5 +-
include/configs/sandbox.h | 4 -
include/configs/smdk5250.h | 2 +
include/configs/snow.h | 1 +
include/configs/ti_am335x_common.h | 2 +
include/configs/uniphier.h | 3 +
include/configs/zynq-common.h | 6 -
include/cros_ec.h | 3 +-
include/dm-demo.h | 4 +
include/dm/device.h | 29 ++++
include/dm/test.h | 3 +
include/dm/uclass-id.h | 1 +
include/dm/uclass-internal.h | 11 ++
include/dm/uclass.h | 21 +++
include/exports.h | 22 +--
include/fdtdec.h | 123 +++++---------
include/hash.h | 38 +++--
include/i2c.h | 105 ++++++++++--
include/image.h | 5 +-
include/sdhci.h | 6 +-
include/spi.h | 42 +++--
include/u-boot/rsa-checksum.h | 17 +-
include/u-boot/rsa-mod-exp.h | 75 +++++++++
lib/Kconfig | 2 +
lib/fdtdec.c | 202
++++++++++++----------
lib/rsa/Kconfig | 27 +++
lib/rsa/Makefile | 2 +-
lib/rsa/rsa-checksum.c | 50 +++---
lib/rsa/rsa-mod-exp.c | 303
+++++++++++++++++++++++++++++++++
lib/rsa/rsa-verify.c | 348
+++++++++-----------------------------
test/dm/bus.c | 250
+++++++++++++++++++++++++++-
test/dm/core.c | 11 ++
test/dm/gpio.c | 69 +++++++-
test/dm/i2c.c | 70 ++++----
test/dm/spi.c | 6 +-
test/dm/test-dm.sh | 9 +-
test/dm/test-fdt.c | 20 ++-
test/dm/test.dts | 27 ++-
tools/Makefile | 4 +-
185 files changed, 4637 insertions(+), 1610 deletions(-)
create mode 100644 arch/arm/include/asm/arch-pantheon/gpio.h
create mode 100644 common/board_info.c
create mode 100644 doc/device-tree-bindings/gpio/gpio-samsung.txt
create mode 100644 doc/device-tree-bindings/gpio/gpio.txt
create mode 100644 doc/device-tree-bindings/gpio/nvidia,tegra20-gpio.txt
create mode 100644 doc/device-tree-bindings/i2c/i2c.txt
create mode 100644 drivers/crypto/fsl/Kconfig
create mode 100644 drivers/crypto/fsl/fsl_rsa.c
create mode 100644 drivers/crypto/fsl/rsa_caam.h
create mode 100644 drivers/crypto/rsa_mod_exp/Kconfig
create mode 100644 drivers/crypto/rsa_mod_exp/Makefile
create mode 100644 drivers/crypto/rsa_mod_exp/mod_exp_sw.c
create mode 100644 drivers/crypto/rsa_mod_exp/mod_exp_uclass.c
create mode 100644 drivers/i2c/i2c-uclass-compat.c
create mode 100644 drivers/i2c/i2c-uniphier-f.c
create mode 100644 drivers/i2c/i2c-uniphier.c
create mode 100644 include/u-boot/rsa-mod-exp.h
create mode 100644 lib/rsa/Kconfig
create mode 100644 lib/rsa/rsa-mod-exp.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2014-12-12 1:00 Simon Glass
@ 2014-12-12 18:46 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2014-12-12 18:46 UTC (permalink / raw)
To: u-boot
On Thu, Dec 11, 2014 at 06:00:02PM -0700, Simon Glass wrote:
> Hi Tom Rini,
>
> Here is the I2C driver model work at last along with the first conversion.
>
>
>
> The following changes since commit 9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326:
>
> Merge branch 'master' of git://www.denx.de/git/u-boot-imx
> (2014-12-10 09:07:25 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to b0e6ef46405353270595ffa35c21f4334c541189:
>
> dm: i2c: tegra: Convert to driver model (2014-12-11 13:18:44 -0700)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141212/e4cb336e/attachment.pgp>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2014-12-12 1:00 Simon Glass
2014-12-12 18:46 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2014-12-12 1:00 UTC (permalink / raw)
To: u-boot
Hi Tom Rini,
Here is the I2C driver model work at last along with the first conversion.
The following changes since commit 9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326:
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
(2014-12-10 09:07:25 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to b0e6ef46405353270595ffa35c21f4334c541189:
dm: i2c: tegra: Convert to driver model (2014-12-11 13:18:44 -0700)
----------------------------------------------------------------
Allen Martin (1):
ARM: tegra: Add support for nyan-big board
Masahiro Yamada (2):
lib: string: move strlcpy() to a common place
dm_test: improve the appearance shown by "dm tree" command
Przemyslaw Marczak (1):
lib: errno: introduce errno_str(): returns errno related message
Simon Glass (15):
dm: serial_pl01x: Add missing private data size
dm: rpi: Move serial to driver model
dm: i2c: Add a uclass for I2C
dm: i2c: Implement driver model support in the i2c command
dm: i2c: Add I2C emulation driver for sandbox
dm: i2c: Add a sandbox I2C driver
dm: i2c: Add an I2C EEPROM simulator
dm: i2c: config: Enable I2C for sandbox using driver model
dm: i2c: dts: Add an I2C bus for sandbox
dm: Add a simple EEPROM driver
dm: i2c: Add tests for I2C
dm: device: Add newline to debug() messages
dts: Bring in Chrome OS keyboard device tree definition
tegra: dts: Sync tegra124.dtsi with linux kernel
dm: i2c: tegra: Convert to driver model
arch/arm/cpu/armv7/tegra124/Kconfig | 10 +++
arch/arm/cpu/tegra20-common/pmu.c | 21 +++--
arch/arm/dts/Makefile | 1 +
arch/arm/dts/cros-ec-keyboard.dtsi | 105 +++++++++++++++++++++++
arch/arm/dts/tegra124-jetson-tk1.dts | 1 -
arch/arm/dts/tegra124-nyan-big.dts | 365
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/tegra124.dtsi | 114 +++++++++++++++++++++++++
arch/arm/dts/tegra30-tec-ng.dts | 4 +
arch/arm/include/asm/arch-tegra/tegra_i2c.h | 2 +-
arch/sandbox/dts/sandbox.dts | 17 ++++
arch/sandbox/include/asm/test.h | 26 ++++++
board/avionic-design/common/tamonten-ng.c | 12 ++-
board/nvidia/cardhu/cardhu.c | 13 ++-
board/nvidia/common/board.c | 4 -
board/nvidia/dalmore/dalmore.c | 21 +++--
board/nvidia/nyan-big/Kconfig | 24 ++++++
board/nvidia/nyan-big/MAINTAINERS | 6 ++
board/nvidia/nyan-big/Makefile | 9 ++
board/nvidia/nyan-big/nyan-big.c | 27 ++++++
board/nvidia/nyan-big/pinmux-config-nyan-big.h | 287
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
board/nvidia/venice2/as3722_init.h | 2 +-
board/nvidia/whistler/whistler.c | 29 ++++---
board/raspberrypi/rpi/rpi.c | 12 +++
board/toradex/apalis_t30/apalis_t30.c | 19 ++---
common/cmd_i2c.c | 376
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
configs/nyan-big_defconfig | 5 ++
drivers/core/device.c | 6 +-
drivers/i2c/Makefile | 2 +
drivers/i2c/i2c-emul-uclass.c | 14 ++++
drivers/i2c/i2c-uclass.c | 466
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/i2c/sandbox_i2c.c | 111 +++++++++++++++++++++++++
drivers/i2c/tegra_i2c.c | 366
+++++++++++++++++++++++++++------------------------------------------------------
drivers/misc/Makefile | 4 +
drivers/misc/i2c_eeprom.c | 51 ++++++++++++
drivers/misc/i2c_eeprom_emul.c | 168
+++++++++++++++++++++++++++++++++++++
drivers/power/tps6586x.c | 27 ++----
drivers/serial/serial_pl01x.c | 1 +
drivers/usb/gadget/ether.c | 24 ------
include/config_fallbacks.h | 6 ++
include/configs/apalis_t30.h | 3 -
include/configs/beaver.h | 3 -
include/configs/cardhu.h | 5 --
include/configs/colibri_t30.h | 3 -
include/configs/dalmore.h | 5 --
include/configs/jetson-tk1.h | 5 --
include/configs/nyan-big.h | 74 +++++++++++++++++
include/configs/rpi.h | 6 +-
include/configs/sandbox.h | 6 ++
include/configs/seaboard.h | 3 -
include/configs/tec-ng.h | 5 --
include/configs/tegra-common.h | 1 +
include/configs/tegra114-common.h | 3 -
include/configs/tegra124-common.h | 3 -
include/configs/tegra20-common.h | 3 -
include/configs/tegra30-common.h | 3 -
include/configs/trimslice.h | 3 -
include/configs/venice2.h | 5 --
include/configs/whistler.h | 3 -
include/dm/uclass-id.h | 4 +
include/dm/ut.h | 12 +++
include/dt-bindings/pinctrl/pinctrl-tegra.h | 45 ++++++++++
include/errno.h | 3 +
include/i2c.h | 352
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/i2c_eeprom.h | 19 +++++
include/linux/string.h | 3 +
include/tps6586x.h | 4 +-
lib/Makefile | 1 +
lib/errno_str.c | 147
+++++++++++++++++++++++++++++++++
lib/string.c | 25 ++++++
test/dm/Makefile | 1 +
test/dm/cmd_dm.c | 103 +++++++++++------------
test/dm/i2c.c | 216
++++++++++++++++++++++++++++++++++++++++++++++++
test/dm/test.dts | 17 ++++
73 files changed, 3348 insertions(+), 504 deletions(-)
create mode 100644 arch/arm/dts/cros-ec-keyboard.dtsi
create mode 100644 arch/arm/dts/tegra124-nyan-big.dts
create mode 100644 arch/sandbox/include/asm/test.h
create mode 100644 board/nvidia/nyan-big/Kconfig
create mode 100644 board/nvidia/nyan-big/MAINTAINERS
create mode 100644 board/nvidia/nyan-big/Makefile
create mode 100644 board/nvidia/nyan-big/nyan-big.c
create mode 100644 board/nvidia/nyan-big/pinmux-config-nyan-big.h
create mode 100644 configs/nyan-big_defconfig
create mode 100644 drivers/i2c/i2c-emul-uclass.c
create mode 100644 drivers/i2c/i2c-uclass.c
create mode 100644 drivers/i2c/sandbox_i2c.c
create mode 100644 drivers/misc/i2c_eeprom.c
create mode 100644 drivers/misc/i2c_eeprom_emul.c
create mode 100644 include/configs/nyan-big.h
create mode 100644 include/dt-bindings/pinctrl/pinctrl-tegra.h
create mode 100644 include/i2c_eeprom.h
create mode 100644 lib/errno_str.c
create mode 100644 test/dm/i2c.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
2014-11-23 15:17 Simon Glass
@ 2014-11-24 22:13 ` Tom Rini
0 siblings, 0 replies; 300+ messages in thread
From: Tom Rini @ 2014-11-24 22:13 UTC (permalink / raw)
To: u-boot
On Sun, Nov 23, 2014 at 08:17:23AM -0700, Simon Glass wrote:
> Hi Tom,
>
> There several driver model series outstanding. This request tries to
> bring in what I think is ready for merging.
>
> - at91 series
> - most of the SPL series, but as mentioned I need a revert of 1ee30aee
> before enabling this on Tegra (I know you are working on that)
> - the common parts of the I2C series. You may have seen Masahiro's
> suggestion to change the uclass <-> driver interface to something more
> like Linux. I would like to investigate this before merging the I2C
> series.
> - a few other fairly small clean-ups
>
> This leaves about 12 patches to come from the above series, which is a
> more manageable level. If we can sort out the I2C uclass and revert
> then I should be able to do this in the next week or so.
>
> One I2C is sorted out I can merge Thierry's Tegra PCI-e series which
> depends on it. Then there are a few remaining patches from Masahiro to
> integrate, and hopefully fixing up driver model to use Kconfig
> everywhere. That will complete the driver model work for 2015.01.
>
> --
>
> The following changes since commit 4d70b34d7f721d8b1d4d628e68c3a44ab7a10dff:
>
> Merge branch 'master' of git://git.denx.de/u-boot-ubi (2014-11-19
> 23:18:29 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 17b28edb37a33d0c89089faf36e4edd7084f65fa:
>
> dm: core: remove unnecessary return condition in uclass lookup
> (2014-11-22 10:16:49 +0100)
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141124/16778e25/attachment.pgp>
^ permalink raw reply [flat|nested] 300+ messages in thread
* [U-Boot] Please pull u-boot-dm
@ 2014-11-23 15:17 Simon Glass
2014-11-24 22:13 ` Tom Rini
0 siblings, 1 reply; 300+ messages in thread
From: Simon Glass @ 2014-11-23 15:17 UTC (permalink / raw)
To: u-boot
Hi Tom,
There several driver model series outstanding. This request tries to
bring in what I think is ready for merging.
- at91 series
- most of the SPL series, but as mentioned I need a revert of 1ee30aee
before enabling this on Tegra (I know you are working on that)
- the common parts of the I2C series. You may have seen Masahiro's
suggestion to change the uclass <-> driver interface to something more
like Linux. I would like to investigate this before merging the I2C
series.
- a few other fairly small clean-ups
This leaves about 12 patches to come from the above series, which is a
more manageable level. If we can sort out the I2C uclass and revert
then I should be able to do this in the next week or so.
One I2C is sorted out I can merge Thierry's Tegra PCI-e series which
depends on it. Then there are a few remaining patches from Masahiro to
integrate, and hopefully fixing up driver model to use Kconfig
everywhere. That will complete the driver model work for 2015.01.
--
The following changes since commit 4d70b34d7f721d8b1d4d628e68c3a44ab7a10dff:
Merge branch 'master' of git://git.denx.de/u-boot-ubi (2014-11-19
23:18:29 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 17b28edb37a33d0c89089faf36e4edd7084f65fa:
dm: core: remove unnecessary return condition in uclass lookup
(2014-11-22 10:16:49 +0100)
----------------------------------------------------------------
Masahiro Yamada (4):
dm: core: a trivial clean up
dm: core: remove meaningless if conditional
dm: core: remove unnecessary return condition in driver lookup
dm: core: remove unnecessary return condition in uclass lookup
Simon Glass (29):
dm: at91: Correct text base for snapper9260
dm: at91: Move snapper9260 to generic baord
dm: at91: Add driver model support for atmel GPIO driver
dm: at91: Add platform data for GPIO on at91sam9260-based boards
dm: at91: Refactor serial driver slightly for driver model
dm: at91: Add driver model support for the serial driver
dm: at91: Convert snapper9260 to use driver model
dm: at91: Add myself as maintainer for snapper9260
dm: serial: Support changing the baud rate
dm: tegra: Avoid using arch-specific memcpy() in SPL
dm: Split the simple malloc() implementation into its own file
dm: arm: spl: Allow simple malloc() in SPL
dm: spl: Make simple malloc() available when enabled
dm: spl: Allow driver model to be used
dm: Allow device removal features to be dropped
dm: Allow stdio registration to be dropped
dm: Disable dm_warn() in SPL
dm: tegra: Add platform data for the SPL uart
dm: tegra: Add platform data for the GPIO driver
dm: arm: spl: Make driver model linker lists available
dm: Update documentation to include CONFIG_DM... options
dm: i2c: Move error reporting into a common function
dm: core: Allow access to the device's driver_id data
dm: core: Add functions to find parent and OF data
dm: fdt: Correct handling of aliases with embedded digits
dm: Add a function to bind a device by driver name
dm: spi: Correct handling of SPI chip selects in sandbox
dm: spi: Use device_bind_driver() instead of our own function
cros_ec: Fix uninitialised variable in cros_ec.c
README | 119
+++++++++++++++++++++++++++
arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 14 ++++
arch/arm/cpu/u-boot-spl.lds | 7 ++
arch/arm/include/asm/arch-at91/at91sam9260.h | 4 +-
arch/arm/include/asm/arch-at91/atmel_serial.h | 15 ++++
arch/arm/include/asm/arch-at91/gpio.h | 6 ++
arch/arm/lib/crt0.S | 2 +-
board/bluewater/snapper9260/MAINTAINERS | 2 +-
board/bluewater/snapper9260/snapper9260.c | 18 ++++-
board/nvidia/common/board.c | 8 ++
common/Makefile | 3 +
common/board_r.c | 3 +-
common/cmd_i2c.c | 32 +++++---
common/dlmalloc.c | 19 ++---
common/malloc_simple.c | 39 +++++++++
common/spl/spl.c | 16 +++-
doc/driver-model/README.txt | 44 +++++++---
drivers/core/Makefile | 3 +-
drivers/core/device-remove.c | 187
++++++++++++++++++++++++++++++++++++++++++
drivers/core/device.c | 178
+++-------------------------------------
drivers/core/lists.c | 50 ++++++++----
drivers/core/root.c | 4 +-
drivers/gpio/at91_gpio.c | 241
++++++++++++++++++++++++++++++++++++++++++-------------
drivers/misc/cros_ec.c | 1 +
drivers/mtd/spi/sandbox.c | 4 +-
drivers/serial/atmel_usart.c | 116
+++++++++++++++++++++++---
drivers/serial/serial-uclass.c | 77 +++++++++++++++++-
drivers/serial/serial_tegra.c | 16 ++++
drivers/spi/spi-uclass.c | 34 +-------
include/asm-generic/global_data.h | 1 +
include/config_defaults.h | 6 ++
include/configs/snapper9260.h | 12 ++-
include/configs/tegra-common.h | 2 +
include/dm/device-internal.h | 10 +++
include/dm/device.h | 19 +++++
include/dm/lists.h | 13 +++
include/dm/util.h | 6 ++
include/malloc.h | 60 ++++++++------
include/spi.h | 14 ++--
lib/fdtdec.c | 6 +-
scripts/Makefile.spl | 1 +
41 files changed, 1048 insertions(+), 364 deletions(-)
create mode 100644 arch/arm/include/asm/arch-at91/atmel_serial.h
create mode 100644 common/malloc_simple.c
create mode 100644 drivers/core/device-remove.c
Regards,
Simon
^ permalink raw reply [flat|nested] 300+ messages in thread
end of thread, other threads:[~2019-11-18 15:47 UTC | newest]
Thread overview: 300+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 14:46 [U-Boot] Please pull u-boot-dm Simon Glass
2019-10-17 11:24 ` 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-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-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
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.