public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 00/23] Fix various bugs
@ 2024-09-01 22:26 Simon Glass
  2024-09-01 22:26 ` [PATCH v4 01/23] nvmxip: Drop the message on probe Simon Glass
                   ` (23 more replies)
  0 siblings, 24 replies; 30+ messages in thread
From: Simon Glass @ 2024-09-01 22:26 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, Jaehoon Chung, Marek Vasut, Pavel Herrmann,
	Peng Fan, Stephen Warren, Stephen Warren

This series includes the patches needed to make make the EFI 'boot' test
work. That test has now been split off into a separate series along with
the EFI patches.

This series fixes these problems:
- sandbox memory-mapping conflict with PCI
- the fix for that causes the mbr test to crash as it sets up pointers
  instead of addresses for its 'mmc' commands
- the mmc and read commands which cast addresses to pointers
- a tricky bug to do with USB keyboard and stdio
- a few other minor things

Note that I would like to get this series applied before the change to
running unprivileged, since it has been almost a month and it will be a
trivial change once that is applied.

Changes in v4:
- Rebase to -next (on top of testc series)
- Drop patch to add UT_TESTF_CONSOLE_REC to bootflow tests

Changes in v3:
- Include the usb.h header file in all cases
- Correct the commit subject and message
- Add a Fixes tag
- use SZ_512 instead of 0x200

Changes in v2:
- Add many new patches to resolve all the outstanding test issues

Simon Glass (23):
  nvmxip: Drop the message on probe
  nvmxip: Avoid probing on boot
  test/py: Fix some pylint warnings in test_ut.py
  scripts: Update pylint.base
  bootstd: Create a function to reset USB
  usb: Drop old non-DM code
  log: Add a new log category for the console
  usb: Add DEV_FLAGS_DM to stdio for USB keyboard
  dm: usb: Deal with USB keyboard persisting across tests
  test: mbr: Adjust test to use lower-case hex
  test: mbr: Adjust test to drop 0x
  sandbox: Change the range used for memory-mapping tags
  sandbox: Update cpu to use logging
  sandbox: Unmap old tags
  sandbox: Add some debugging to pci_io
  sandbox: Implement reference counting for address mapping
  mmc: Use map_sysmem() with buffers in the mmc command
  read: Tidy up use of map_sysmem() in the read command
  cmd: Fix memory-mapping in cmp command
  test: mbr: Unmap the buffers after use
  test: mbr: Use a constant for the block size
  test: mbr: Use RAM for the buffers
  test: mbr: Drop a duplicate test

 arch/sandbox/cpu/cpu.c             |  38 ++-
 arch/sandbox/cpu/state.c           |   9 +-
 arch/sandbox/include/asm/state.h   |   3 +
 arch/sandbox/lib/pci_io.c          |   9 +-
 cmd/mem.c                          |  26 +-
 cmd/mmc.c                          |  15 +-
 cmd/read.c                         |  10 +-
 cmd/usb.c                          |  20 --
 common/console.c                   |  36 +++
 common/log.c                       |   1 +
 common/usb_kbd.c                   |  74 +----
 doc/arch/sandbox/sandbox.rst       |  21 +-
 drivers/mtd/nvmxip/nvmxip-uclass.c |  10 +-
 drivers/usb/Kconfig                |   3 +-
 include/console.h                  |   8 +
 include/log.h                      |   2 +
 include/usb.h                      |  20 +-
 scripts/pylint.base                | 462 +++++++++++++++++------------
 test/boot/bootdev.c                |  19 +-
 test/boot/bootstd_common.c         |   6 +
 test/boot/bootstd_common.h         |   8 +
 test/cmd/mbr.c                     | 172 +++++------
 test/py/tests/test_ut.py           |  94 +++---
 test/test-main.c                   |  38 +++
 24 files changed, 620 insertions(+), 484 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-09-20 15:59 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01 22:26 [PATCH v4 00/23] Fix various bugs Simon Glass
2024-09-01 22:26 ` [PATCH v4 01/23] nvmxip: Drop the message on probe Simon Glass
2024-09-01 22:26 ` [PATCH v4 02/23] nvmxip: Avoid probing on boot Simon Glass
2024-09-02 16:10   ` Tom Rini
2024-09-10 18:41     ` Simon Glass
2024-09-12 15:59       ` Abdellatif El Khlifi
2024-09-01 22:26 ` [PATCH v4 03/23] test/py: Fix some pylint warnings in test_ut.py Simon Glass
2024-09-01 22:26 ` [PATCH v4 04/23] scripts: Update pylint.base Simon Glass
2024-09-01 22:26 ` [PATCH v4 05/23] bootstd: Create a function to reset USB Simon Glass
2024-09-01 22:26 ` [PATCH v4 06/23] usb: Drop old non-DM code Simon Glass
2024-09-01 22:26 ` [PATCH v4 07/23] log: Add a new log category for the console Simon Glass
2024-09-01 22:26 ` [PATCH v4 08/23] usb: Add DEV_FLAGS_DM to stdio for USB keyboard Simon Glass
2024-09-01 22:26 ` [PATCH v4 09/23] dm: usb: Deal with USB keyboard persisting across tests Simon Glass
2024-09-01 22:26 ` [PATCH v4 10/23] test: mbr: Adjust test to use lower-case hex Simon Glass
2024-09-01 22:26 ` [PATCH v4 11/23] test: mbr: Adjust test to drop 0x Simon Glass
2024-09-01 22:26 ` [PATCH v4 12/23] sandbox: Change the range used for memory-mapping tags Simon Glass
2024-09-01 22:26 ` [PATCH v4 13/23] sandbox: Update cpu to use logging Simon Glass
2024-09-01 22:26 ` [PATCH v4 14/23] sandbox: Unmap old tags Simon Glass
2024-09-01 22:26 ` [PATCH v4 15/23] sandbox: Add some debugging to pci_io Simon Glass
2024-09-01 22:26 ` [PATCH v4 16/23] sandbox: Implement reference counting for address mapping Simon Glass
2024-09-01 22:26 ` [PATCH v4 17/23] mmc: Use map_sysmem() with buffers in the mmc command Simon Glass
2024-09-01 22:26 ` [PATCH v4 18/23] read: Tidy up use of map_sysmem() in the read command Simon Glass
2024-09-01 22:26 ` [PATCH v4 19/23] cmd: Fix memory-mapping in cmp command Simon Glass
2024-09-03  9:42   ` Quentin Schulz
2024-09-20 15:59     ` Simon Glass
2024-09-01 22:26 ` [PATCH v4 20/23] test: mbr: Unmap the buffers after use Simon Glass
2024-09-01 22:26 ` [PATCH v4 21/23] test: mbr: Use a constant for the block size Simon Glass
2024-09-01 22:26 ` [PATCH v4 22/23] test: mbr: Use RAM for the buffers Simon Glass
2024-09-01 22:26 ` [PATCH v4 23/23] test: mbr: Drop a duplicate test Simon Glass
2024-09-19  0:01 ` [PATCH v4 00/23] Fix various bugs Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox