[U-Boot] Please pull u-boot-dm

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

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

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!

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

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!

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

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@lists.denx.de https://lists.denx.de/listinfo/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@lists.denx.de https://lists.denx.de/listinfo/u-boot
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/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
[..]
participants (4)
-
Kever Yang
-
Simon Glass
-
Simon Goldschmidt
-
Tom Rini