From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 11 Dec 2015 13:31:26 +0800 Subject: [U-Boot] Driver model test breakages In-Reply-To: References: Message-ID: <566A5FAE.5000407@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 2015?12?11? 10:05, Simon Glass wrote: > Hi, > > The following three commits causes breakages in the driver model tests: > > 4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready > 45b47734 net/arp: account for ARP delay, avoid duplicate packets on timeout > 9961a0b6 sandbox: add a sandbox timer and basic test > > Can you please take a look? You can run them with ./test/dm/test-dm.sh > > The last one looks a bit complicated - I suspect it will be harder to > fix. I am going to try to come up with some ideas... > > Regards, > Simon > I didn't add a timer to test.dts. Please check if the dm timer fixed with this patch. ############################################## diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index b6d9a15..2e0d320 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -279,6 +279,11 @@ 0x38 8>; }; + timer { + compatible = "sandbox,timer"; + clock-frequency = <1000000>; + }; + uart0: serial { compatible = "sandbox,serial"; u-boot,dm-pre-reloc; ################################################ My test stopped at, Test: dm_test_net_retry How do I bypass this? Best regards, Thomas