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

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

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.
participants (2)
-
Simon Glass
-
Tom Rini