Thank you. These should probably be added to the online u-boot manual.
--rich On 20150603 03:26, Wolfgang Denk wrote: > Dear Richard, > > In message <[email protected]> you wrote: >> Can I configure u-boot to tftp from the second network interface? > The use of the network interfaces is controlled by the environment > variables "ethprime" (primary interface, i. e. what to use by default) > and "ethact" (interface to be used for the next transfer). > > So you can do something like this: > > ... > Net: ppc_4xx_eth0 [PRIME], ppc_4xx_eth1 > ... > => printenv ethact ethprime > ethact=ppc_4xx_eth0 > ethprime=ppc_4xx_eth0 > => tftp 100000 $bootfile > Waiting for PHY auto negotiation to complete... done > ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0) > Using ppc_4xx_eth0 device > ... > => setenv ethact ppc_4xx_eth1 > => tftp 100000 $bootfile > Waiting for PHY auto negotiation to complete... done > ENET Speed is 1000 Mbps - FULL duplex connection (EMAC1) > Using ppc_4xx_eth1 device > ... > > > BTW: U-Boot related questions are usually better posted on the U-Boot > mailing list, see http://lists.denx.de/mailman/listinfo/u-boot > > Best regards, > > Wolfgang Denk > _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
