[PATCH] board: freescale: p2041rdb: use correct EEPROM address length

2021-05-29 Thread Matt Merhar
These boards, according to the schematic and per the board I own, use an M24256-BWDW6TP I2C EEPROM which requires two address bytes. This fixes the 'mac' command which is used to program, among other things, the MAC addresses for the ethernet interfaces on the board. Signed-off-by: Matt Merhar -

[PATCH v2 3/3] test/py: rewrite sqfsls command test suite

2021-05-29 Thread Joao Marcos Costa
Add more details to test cases by comparing each expected line with the command's output. Add new test cases: - sqfsls at an empty directory - sqfsls at a sub-directory Signed-off-by: Joao Marcos Costa --- .../test_fs/test_squashfs/test_sqfs_ls.py | 138 +++--- 1 file changed, 11

[PATCH v2 2/3] test/py: rewrite sqfsload command test suite

2021-05-29 Thread Joao Marcos Costa
The previous strategy to know if a file was correctly loaded was to check for how many bytes were read and compare it against the file's original size. Since this is not a good solution, replace it by comparing the checksum of the loaded bytes against the original file's checksum. Add more test cas

[PATCH v2 1/3] test/py: rewrite common tools for SquashFS tests

2021-05-29 Thread Joao Marcos Costa
Remove the previous OOP approach, which was confusing and incomplete. Add more test cases by making SquashFS images with various options, concerning file fragmentation and its compression. Add comments to properly document the code. Signed-off-by: Joao Marcos Costa --- .../test_fs/test_squashfs/

[PATCH v2 0/3] test/py: Rewrite SquashFS commands test suite

2021-05-29 Thread Joao Marcos Costa
Hello, This patch series fixes the following issues: - poor strategy to check if files were properly loaded - wrong quoting style for strings - tests failing at the second run because of a wrong clean-up strategy Finally, it improves: - code overall documentation level, with more comments and bet

Re: [PATCH 1/3] test/py: rewrite common tools for SquashFS tests

2021-05-29 Thread João Marcos Costa
Hello, Em qui., 27 de mai. de 2021 às 10:44, Simon Glass escreveu: > Hi Joao, > > On Sun, 23 May 2021 at 20:31, Joao Marcos Costa > wrote: > > > > Remove the previous OOP approach, which was confusing and incomplete. > > Add more test cases by making SquashFS images with various options, > > co

Re: [PATCH] common: The do_repeat flag interferes with commands issued via run_command API

2021-05-29 Thread Sean Anderson
On 5/28/21 2:34 PM, Farhan Ali wrote: Hi Sean, Thanks for taking a look. I will add the changes you requested. However a test case might be difficult to add in the automated tests. This problem only happens if there is an asynchronous event ( packet What do you mean by an "asynchronous event"?

Re: [PATCH] pytest:Shutdown power-supply to board after the pytest execution

2021-05-29 Thread Adarsh Babu Kalepalli
Hi Stephen, > FWIW, this violates the original design of the test system. Turning the > board off at the end of the test is a policy decision that not all > use-cases will want, Wasn't aware that powering OFF the board would not be a preferred choice for certain test cases. Executing python test

[PATCH] arm: bootm: Disable LMB reservation for command line and board info on arm64

2021-05-29 Thread Marek Vasut
On arm64, board info is not applicable and kernel command line patched into the DT, so the LMB reservation here makes no sense anymore. On legacy arm32, this might still be necessary on systems which do not use DT or use legacy ATAGS. Disable this LMB reservation on arm64. This also permits Linux

[PATCH 1/1] malloc: add SPDX license identifiers

2021-05-29 Thread Heinrich Schuchardt
The original code is in the public domain. Licenses/README states that the general license for U-Boot is GPL 2.0+. So we can mark the malloc code as GPL 2.0+ too. Signed-off-by: Heinrich Schuchardt --- common/dlmalloc.c | 10 ++ include/malloc.h | 9 + 2 files changed, 15 inser

Re: [PATCH] sunxi: Bring back SD card as MMC device 0

2021-05-29 Thread Simon Baatz
Hi, On Mon, May 24, 2021 at 01:48:38AM +0100, Andre Przywara wrote: > ... > > For now the change in numbering breaks right, left, and centre: boot.scr > cannot be found anymore, fastboot cannot find the SD card, custom > scripts stop working. > > So I would very much like to merge this patch her