Dear Rob Sciuk,

> On Mon, 4 Mar 2013, Marek Vasut wrote:
> > True, the OF is getting a lot of traction. Btw. setting up the mac
> > address in u- boot is possible too by setting 'ethaddr' variable in the
> > command line. It's even propagated into the DT node as local-mac-address
> > iirc. I recall the FECes do not have mac address written in them indeed.
> 
> I'm aware of the ethaddr mechanism, but the complication was that the mac
> address is a function of the ATCA chassis address, and slot number, and
> this must be determined at boot time by means of an onboard ATCA/BMC
> controller requesting the address information over an I2C bus from the
> shelf manager.
> 
> In order to communicate with the BMC, I had to fake a second serial port
> in u-boot, by having the console switch back and forth between the real
> console and the uart controlling the BMC controller.  Also, there are 6
> MAC id's to configure, in accordance with a strict requirement.  The
> serial communication protocol used the IPMI/PICMG3 encoding, and quite
> frankly was a bigger pain than the boot protocol ... but I must say that I
> learned a lot in the process ... both about U-Boot, the PPC architecture
> and ATCA.

That's good :)

Best regards,
Marek Vasut

Reply via email to