Multiple Boards with same MAC addresses - problem.
Hello all,
I have multiple boards, based on ppc405ep (which include on-chip two ethernet ports). I'm configure the MAC address in u-boot and all works great. The problem appears when I use two or more boards in one network, because the MAC addresses are the same. Now I'm making a own u-boots for each board, but this solution is not very comfortable.
My question is, which is the standard way to resolve such problem? I would have only one generic u-boot. Is this possible?
Best regards,
Zhivko Yordanov
Zhivko,
Quoted 11 lines · On Tue, 2007-04-10 at 16:51 +0200, powerpc440 wrote:
Hello all,
I have multiple boards, based on ppc405ep (which include on-chip two ethernet ports). I'm configure the MAC address in u-boot and all works great. The problem appears when I use two or more boards in one network, because the MAC addresses are the same. Now I'm making a own u-boots for each board, but this solution is not very comfortable.
My question is, which is the standard way to resolve such problem? I would have only one generic u-boot. Is this possible?
Quoted 3 lines
Best regards,
Zhivko Yordanov
Please post to the U-boot mailing list. There's no reason why you should need to custom build for each board.
You need to create some kind of board calibration procedure where each board is assigned a unique MAC address, and then save it in U-boot. If your problem is that your unique U-boot MAC addresses don't make it to Linux, the people on the U-boot list can give you direction.
regards,
Ben
Quoted 3 lines · In message <[email protected]> you wrote:
I have multiple boards, based on ppc405ep (which include on-chip two ethernet ports). I'm configure the MAC address in u-boot and all works
You should post U-Boot related questions to the U-Boot-Users mailing list. They are off topic here.
Quoted 3 lines
great. The problem appears when I use two or more boards in one network, because the MAC addresses are the same. Now I'm making a own u-boots for each board, but this solution is not very comfortable.
Maybe you should start reading the manual and get a clue about the use of environment variables in U-Boot.
Quoted 2 lines
My question is, which is the standard way to resolve such problem? I would have only one generic u-boot. Is this possible?
Of course it is. Just use different settings of the ethaddr environment variables.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] It is dangerous to be sincere unless you are also stupid. - George Bernard Shaw