public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PPC] Internet connection on qemu-ppce500
@ 2018-10-08 13:22 vnktux
  2018-10-08 13:52 ` Wolfgang Denk
  2020-05-12 19:08 ` kosai1111
  0 siblings, 2 replies; 3+ messages in thread
From: vnktux @ 2018-10-08 13:22 UTC (permalink / raw)
  To: u-boot

Hello guys,

I am running an image of U-boot 2018.09 in qemu 3.0, the goal would be to load an OS-9 rom file from tftp.
The problem is that I can't manage to have an Internet connection in U-boot. No matter how I run the image I always have Net: "No Ethernet found".

I run qemu 3.0 with the following command:

> qemu-system-ppc -cpu e500v2 -M ppce500 -nographic -kernel ~/u-boot -net nic -net tap,ifname=tap0,script=no

I tried to use different -net options in qemu but the problem is always the same.

And from the u-boot source code I have edited the board file qemu-ppce500.c in order to have a few ENV variables (since I can't save any env variables from the running U-boot in qemu).

> ethact=eTSEC1
> ethprime=eTSEC1
> ethaddr=192.168.10.40
> netmask=255.255.254.0
> serverip=192.168.10.2
> gatewayip=192.168.10.254

The image is compiled using of course: qemu-ppce500_defconfig.

What am I doing wrong? Is it even possible to initialize the Ethernet port?

Thanks in advance,
Vincenzo

Sent with [ProtonMail](https://protonmail.com) Secure Email.

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

* [U-Boot] [PPC] Internet connection on qemu-ppce500
  2018-10-08 13:22 [U-Boot] [PPC] Internet connection on qemu-ppce500 vnktux
@ 2018-10-08 13:52 ` Wolfgang Denk
  2020-05-12 19:08 ` kosai1111
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2018-10-08 13:52 UTC (permalink / raw)
  To: u-boot

Dear Vincenzo,

In message <QrD9VP_oWKoLFr3jCKh8r0KLut7JWZZeSNUReP5RgGYhSJJZ-JOLzruPOyGAIuh43ZZwemF7pHPH2oHo4NpcLJbM5yJkWOSs6CwmVJbCo4w=@protonmail.com> you wrote:
> 
> > qemu-system-ppc -cpu e500v2 -M ppce500 -nographic -kernel ~/u-boot -net nic -net tap,ifname=tap0,script=no
> 
> I tried to use different -net options in qemu but the problem is always the same.
> 
> And from the u-boot source code I have edited the board file qemu-ppce500.c in order to have a few ENV variables (since I can't save any env variables from the running U-boot in qemu).
> 
> > ethact=eTSEC1
> > ethprime=eTSEC1

I doubt that there is a qemu emulation for the TSECs...

> The image is compiled using of course: qemu-ppce500_defconfig.
> 
> What am I doing wrong? Is it even possible to initialize the Ethernet port?

Well, if you check the configuration you will see that it has a
plain

	# CONFIG_TSEC_ENET is not set

so the TSECs will indeed not work.  But then, there is

	CONFIG_E1000=y

It would have been helpful if you had included the actual boot
messages of your system.  There should be some E1000 network
interface visible...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can do this in a number of ways.     IBM chose to do all of them.
Why do you find that funny?        -- D. Taylor, Computer Science 350

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

* [PPC] Internet connection on qemu-ppce500
  2018-10-08 13:22 [U-Boot] [PPC] Internet connection on qemu-ppce500 vnktux
  2018-10-08 13:52 ` Wolfgang Denk
@ 2020-05-12 19:08 ` kosai1111
  1 sibling, 0 replies; 3+ messages in thread
From: kosai1111 @ 2020-05-12 19:08 UTC (permalink / raw)
  To: u-boot

It goes without saying, that the satellite broadband often costs more than
fixed line broadband deals and set up costs are between ?100 to ?400. Prices
for satellite broadband tend to vary between ?20 per month to ?100 per
month. Satellite broadband deals also often have restrictive download limits
and those seeking a more generous allowance will have to pay extra. These
aren't the all cons, which it has, more can be written on 
https://usave.co.uk/ <https://usave.co.uk/broadband/satellite-broadband/>  .
If the Wachusett Brewing don't solve these problems, his project is doomed
to failure.



--
Sent from: http://u-boot.10912.n7.nabble.com/

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

end of thread, other threads:[~2020-05-12 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08 13:22 [U-Boot] [PPC] Internet connection on qemu-ppce500 vnktux
2018-10-08 13:52 ` Wolfgang Denk
2020-05-12 19:08 ` kosai1111

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox