[PATCH v3 12/13] test: Load mac address using RTC

Tom Rini trini at konsulko.com
Fri Apr 29 16:48:31 CEST 2022


On Mon, Apr 18, 2022 at 03:36:58PM -0400, Sean Anderson wrote:

> This uses the nvmem API to load a mac address from an RTC.
> 
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  arch/sandbox/dts/test.dts  |  9 ++++++++-
>  drivers/rtc/i2c_rtc_emul.c | 10 ++++++++++
>  2 files changed, 18 insertions(+), 1 deletion(-)

This breaks sandbox_spl testing, and most easily seen with the "handoff"
test:
------------------------------------ Captured stdout setup ------------------------------------
/spl/u-boot-spl
Creating new bloblist size 400 at c000

U-Boot SPL 2022.07-rc1-00103-g5e422746a1d3 (Apr 29 2022 - 10:45:23 -0400)
Finished bloblist size 400 at c000
Finished bloblist size 400 at c000
Found existing bloblist size 400 at c000


U-Boot 2022.07-rc1-00103-g5e422746a1d3 (Apr 29 2022 - 10:45:23 -0400)

Model: sandbox
DRAM:  128 MiB
Core:  214 devices, 79 uclasses, devicetree: board
MMC:   Can't map file 'mmc1.img': Invalid argument
mmc1: Unable to map file 'mmc1.img'
Can't map file 'mmc1.img': Invalid argument
mmc1: Unable to map file 'mmc1.img'
mmc1 - probe failed: -1
mmc2: 2 (SD)Can't map file 'mmc1.img': Invalid argument
mmc1: Unable to map file 'mmc1.img'

Loading Environment from nowhere... OK
In:    cros-ec-keyb
Out:   vidconsole
Err:   vidconsole
Model: sandbox
Net:   eth0: eth at 10002000, eth5: eth at 10003000
Error: sbe5 address not set.
, eth6: eth at 10004000, eth8: phy-test-eth
Error: dsa-test-eth address not set.
=================================== short test summary info ===================================

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/bf93830f/attachment.sig>


More information about the U-Boot mailing list