[U-Boot] [PATCH v5 013/101] RFC: sandbox: net: Suppress the MAC-address warnings

Bin Meng bmeng.cn at gmail.com
Tue Nov 26 06:13:03 UTC 2019


Hi Simon, Joe,

On Mon, Nov 25, 2019 at 12:11 PM Simon Glass <sjg at chromium.org> wrote:
>
> These warnings appear every thing sandbox is run (see below) and dwarf the
> actual useful output. Suppress them in two ways:
>
> 1. For the mismatch warnings, only set the eth<x>addr environment
> variables when running tests.
>
> 2. For the 'MAC address from ROM' warning, never print this on sandbox.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> Unfortunately this breaks the tests so is not applicable as is:
>
> $ /tmp/b/sandbox/u-boot -T -c "ut dm eth_prime"

What's our solution to the problem described here? As this commit will
be reverted by the next patch in this series ...

Regards,
Bin


More information about the U-Boot mailing list