All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Ethernet sandox driver issue
@ 2018-07-23 11:26 Steven Stoner
  2018-07-24 19:52 ` Joe Hershberger
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Stoner @ 2018-07-23 11:26 UTC (permalink / raw)
  To: u-boot

Hello there,

Sorry about this but I could use some assistance.  I am trying to get the ethernet to work under the sandbox and am having issues.  I saw and applied the patch from Joe Hershberger-2 that seemed to be relevant to my issue.

I have applied the patches on the following page to my latest master git version w/ hash 4c6363b of u-boot:
http://u-boot.10912.n7.nabble.com/PATCH-0-5-sandbox-net-Fix-sandbox-eth-drivers-td333300.html

Once complete, I compile using the python test harness with: ./test/py/test.py --bd sandbox --build , then run the sandbox at the command line using build-sandbox/u-boot. I see the following:

U-Boot 2018.07-00296-g474ecd2-dirty (Jul 23 2018 - 11:15:29 +0100)

DRAM:  128 MiB
MMC:   
In:    serial
Out:   serial
Err:   serial
SCSI:  
Net:   No ethernet found.

The "No ethernet found." is coming from function: int eth_initialize(void) on line 400 
		printf("No ethernet found.\n");
in eth-uclass.c.

What is causing this and how do I get the sandbox to receive and send packets to my local network adapter (the second one listed by ifconfig)?

Thanks,

Steven Stoner
Senior Embedded Engineer

e.	mailto:sstoner at asl-control.co.uk
w.	http://www.asl-control.co.uk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Ethernet sandox driver issue
  2018-07-23 11:26 [U-Boot] Ethernet sandox driver issue Steven Stoner
@ 2018-07-24 19:52 ` Joe Hershberger
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Hershberger @ 2018-07-24 19:52 UTC (permalink / raw)
  To: u-boot

Hi Steven,

On Mon, Jul 23, 2018 at 6:26 AM, Steven Stoner
<sstoner@asl-control.co.uk> wrote:
> Hello there,
>
> Sorry about this but I could use some assistance.  I am trying to get the ethernet to work under the sandbox and am having issues.  I saw and applied the patch from Joe Hershberger-2 that seemed to be relevant to my issue.
>
> I have applied the patches on the following page to my latest master git version w/ hash 4c6363b of u-boot:
> http://u-boot.10912.n7.nabble.com/PATCH-0-5-sandbox-net-Fix-sandbox-eth-drivers-td333300.html
>
> Once complete, I compile using the python test harness with: ./test/py/test.py --bd sandbox --build , then run the sandbox at the command line using build-sandbox/u-boot. I see the following:
>
> U-Boot 2018.07-00296-g474ecd2-dirty (Jul 23 2018 - 11:15:29 +0100)
>
> DRAM:  128 MiB
> MMC:
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:
> Net:   No ethernet found.
>
> The "No ethernet found." is coming from function: int eth_initialize(void) on line 400
>                 printf("No ethernet found.\n");
> in eth-uclass.c.
>
> What is causing this and how do I get the sandbox to receive and send packets to my local network adapter (the second one listed by ifconfig)?

It looks like you are running with no device tree. The sandbox will
not look if there is no DT to tell it to. You need to use the
sandbox.dts. Run "build-sandbox/u-boot -D".

Cheers,
-Joe

> Thanks,
>
> Steven Stoner
> Senior Embedded Engineer
>
> e.      mailto:sstoner at asl-control.co.uk
> w.      http://www.asl-control.co.uk
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-24 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23 11:26 [U-Boot] Ethernet sandox driver issue Steven Stoner
2018-07-24 19:52 ` Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.