Re: [U-Boot-Users] Ethernet port

Here in my board I have two Ethernet ports; So now I have to set two different IP addresses for these ports.
As when the U-Boot prompt comes up we can set the IP address as,
=> set ipaddr 10.128.19.1 => set ethaddr aa:bb:cc:ee:ff:gg
So above setting is valid only for single Ethernet port.
Yes.
My doubt how to set IP address for another Ethernet port or what is the method to do that?
Presently U-Boot supports only one active Ethernet configuration at a time. In case if you wish to use multiple ethernet ports with same or different IP/MAC addresses, it is _not_ possible. In case if you wish to test other ethernet ports, this can be done by changing the 'ethact' value. Though this cannot be done simultaneously.
Ramasamy C

In message 62316.202.144.30.226.1190125053.squirrel@mail.gdatech.co.in you wrote:
Presently U-Boot supports only one active Ethernet configuration at a time. In case if you wish to use multiple ethernet ports with same or different IP/MAC addresses, it is _not_ possible. In case if you wish to
Of course it is possible.
If you use DHCP/BOOTP to assign the addresses it's working out of the box because the server will provide IP config settings depending on your MAC address.
If you use fixed configurations with manual swithing of the interfaces, the you can also manualy redefine the network config variables.
With automatic switching, you have to extend the code.
Best regards,
Wolfgang Denk
participants (2)
-
Ramasamy C
-
Wolfgang Denk