
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@seco.com Reviewed-by: Simon Glass sjg@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@10002000, eth5: eth@10003000 Error: sbe5 address not set. , eth6: eth@10004000, eth8: phy-test-eth Error: dsa-test-eth address not set. =================================== short test summary info ===================================