December 6, 2002

	manufinfo is a Unix tool which generates a manufacturing flash
	configuration info record.  This record must be loaded into the
	flash chip at the correct location for pmon or bbload to use.

        The goal of this manufacturing info record is to provide a way
        for the factory, when manufacturing a board, to provide certain
        configuration information.

        This manufacturing info record is a series of key-length-value
        records which pmon and bbload parse to create environment variables
        which are passed to the kernel image.

	manufinfo with no arguments prints a short help.

	The manufacturing info record consists of a flashConfigPtr header
	and the actual configuration information in key-length-value multiples.

	Please see flashconfig.h for a detailed description of the 
	manufacturing flash configuration info record.

	Currently, the following items may be placed in the manufacturing 
        info record:
	1) the serial number (serialno),
		format:  serialno=<string>
		example: serialno=12345
	2) the ethernet MAC0 hardware MAC address (ethaddr0),
		format: ethaddr0=xx:xx:xx:xx:xx:xx
		example: ethaddr0=00:02:d8:00:01:9f
	3) the ethernet MAC1 hardware MAC address (ethaddr1),
		format: ethaddr1=xx:xx:xx:xx:xx:xx
		example: ethaddr1=00:02:d8:00:01:a0
	4) the ethernet MAC2 hardware MAC address (ethaddr2).
		format: ethaddr2=xx:xx:xx:xx:xx:xx
		example: ethaddr2=00:02:d8:00:01:a1
	5) the ethernet hardware PHY 0 address (phyaddr0),
		format: phyaddr0=<index to select mdc/mdio>:<phy address>
			Use a phy address of 255 to find a phy address 
			using the selected mdc/mdio hardware.
		example: phyaddr0=0:0 -or- phyaddr0=0:255 -or- phyaddr0=2:7
	6) the ethernet hardware PHY 1 address (phyaddr1),
		format: phyaddr1=<index to select mdc/mdio>:<phy address>
			Use a phy address of 255 to find a phy address 
			using the selected mdc/mdio hardware.
		example: phyaddr1=0:0 -or- phyaddr1=0:255 -or- phyaddr1=2:7
	7) the ethernet hardware PHY 2 address (phyaddr2).
		format: phyaddr2=<index to select mdc/mdio>:<phy address>
			Use a phy address of 255 to find a phy address 
			using the selected mdc/mdio hardware.
		example: phyaddr2=0:0 -or- phyaddr2=0:255 -or- phyaddr2=2:7

	Please note: the index to select mdc/mdio is hardware specific.
		Currently, with all BRECIS chips, the following applies:
		index to select mdc/mdio	mdc/mdio hardware address
			0			0xb86000xx
			1			0xb87000xx
			2			0xb89000xx

	Please see pmon/README-FIRST or bbload/README for the location in flash
	for the manufacturing info record.


