Beware of EMC switches sold as Mellanox SX6XXX on eBay

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Kahooli

Member
Dec 3, 2022
39
26
18
It's rebooting because there's a major error.

Code:
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Daemon [IBD] failed to configure one of the ports of device [1, MGMT] Sends device error to hwd.
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Portd prepares device error event for device 1, MGMT/1
 

Carpenter

New Member
Apr 11, 2023
3
4
3
Germany
Yes, I know, that's why I've added these lines of the log file, but perhaps I should add the lines occurring before too.

The following lines has been logged before the [portd.WARNING]:
May 20 14:00:31 SX6012-1 mgmtd[7880]: [mgmtd.NOTICE]: Action ID 14: status: completed with success
May 20 14:00:31 SX6012-1 ufma[8118]: TID 1216550016: [ufma.NOTICE]: Received event: /net/interface/events/state_change
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Device: [1, MGMT] [Ready]: All internal ports for device configured with [Success]
May 20 14:00:31 SX6012-1 pm[7878]: [pm.NOTICE]: Launched clusterd (Clustering Daemon) with pid 8499
May 20 14:00:31 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: Cluster daemon launched
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Expose N+1 virtual nodes
May 20 14:00:31 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd handles device ready event for device: [1, MGMT]
May 20 14:00:31 SX6012-1 sched[8444]: [sched.NOTICE]: PORT_FWD_MODE cli module initialized.
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_golden_profile: golden-profile = 4
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: HA import profile changed from 'sm'/mellanox_none to 'sm'/mellanox_sm
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd sends port enable event for device on init: [1, MGMT/1]. Number of ports to configure: [12]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: Received event: /portd/events/port-enable
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD handles device port enable event for device: 1, MGMT
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD configures port attributes for device: [1, MGMT], label port: [4]
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: handling /portd/events/port-enable event
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: portmond handles port enable event for operation 0
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 portmond[8252]: TID 1216550032: [portmond.NOTICE]: PORTMOND sent device [1] port enable done event to portd with [Success] status, number of configured ports 12, Init flow
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Received event: /portd/events/port-enable-done
May 20 14:00:32 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Portd handles enable port done event from daemon: [PORT MOND] for device: [1, MGMT]. Number of configured ports: [12]
May 20 14:00:32 SX6012-1 topo_mgr[8264]: TID 1216550032: [topod.NOTICE]: Received event:[/portd/events/port-enable-done]
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: Initial HA profile=sm(mellanox_sm)
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: 5 mDNS node configuration tuples:
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: ha-profile = sm
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: os-release = 3.6.8012
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: system-type = SX6012
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: golden-profile = 4
May 20 14:00:32 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: mlnx_init_internal: cpu-type = ppc
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: setting lldp module to no shutdown
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: issd_lldp_init no shutdown on lldp
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: setting lldp sysname to SX6012-1
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: Setting LLDP sysdescr: SX6012,MLNX-OS,SWv3.6.8012
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [COMMAND_IFC] : [sxd_ioctl (CTRL_CMD_ACCESS_REG - PTYS) FW error: [BAD PARAMETER] ]
May 20 14:00:32 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: SDK LOG MESSAGE: module: [ACCESS_REG] : [Failed accessing PTYS register through CMD IFC ]
May 20 14:00:32 SX6012-1 kernel: sx_core: get_operation_tlv: Err: Got status 0x7 for register 0x5004
May 20 14:00:32 SX6012-1 issd[8361]: TID 1366865040: [issd.NOTICE]: iss and issd are already updated with 300 time
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: set cluster master preference to 50
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: cluster mDNS enable"true"
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: master change event sent: false
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: standby change event sent: false
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: got event '/ha/events/join'
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: Join event received for host ID 123212341234
May 20 14:00:33 SX6012-1 mlagd[8282]: TID 1224950928: [mlagd.NOTICE]: received join event on this node - aborting
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: master vip: cleared any old vip
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: Master has been detected , update mDNSResponder enable state [Enabled]
May 20 14:00:33 SX6012-1 clusterd[8499]: [clusterd.NOTICE]: cl_config_mdns_enable: role=disabled
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: Failed interacting with PTYS register command: [SET] for device id: [1] swid id: [2] error: [15: FW RETURN VALUE != SUCCESS]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: set_ptys_reg(), swidapi.c:2160, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: sa_set_port_admin_cap: IB SWID API: set port speed failed , maybe a mismatch between FRU speed & FW INI speed ,SWID: [2], device id: [1], local port: [1]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: sa_set_port_admin_cap(), swidapi.c:469, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.WARNING]: ibd_configure_port_attributes(), ibd_main.c:10357, build 1: Unable to set port admin capabilities - width:[5], speed:[15], mtu:[4096] vl:[8] fec:[0]. Error was: 14000 UNKNOWN
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_configure_port_attributes(), ibd_main.c:10358, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_init_device_port_enable_event(), ibd_main.c:9375, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.NOTICE]: IBD sends device [1, MGMT/1] port enable done event to portd with [Failure] status. Number of configured ports: [0]
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_device_port_enable_event(), ibd_main.c:11437, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 ibd[8316]: TID 1208132064: [ibd.ERR]: ibd_handle_event_request(), ibd_main.c:2055, build 1: Error code 14000 (generic error) returned
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.NOTICE]: Received event: /portd/events/port-enable-done
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Daemon [IBD] failed to configure one of the ports of device [1, MGMT] Sends device error to hwd.
May 20 14:00:33 SX6012-1 portd[8262]: TID 1208141792: [portd.WARNING]: Portd prepares device error event for device 1, MGMT/1

Question
Is this a known error indicating a missing or wrong step of the conversion process?

If not, I will proceed the conversion a third time. This time based on the new conversion guide v1.12.
 
Last edited:

Carpenter

New Member
Apr 11, 2023
3
4
3
Germany
I've proceeded the third conversion attempt of my EMC SX6012 switch, this time based on the "short version" (provided by @Stephan) of the new conversion guide v1.12.
Everything works great now! :cool:

The only hurdle I had to overcome was activating the two Ethernet interfaces after booting the HP factory mini-Linux. Unfortunately, these were not automatically activated because the MAC address of both interfaces was filled with zeros.
Fortunately, I had already determined and noted the two MAC addresses of the interfaces during the two conversion attempts based on the old conversion guide v1.2. So I was able to reuse them here.

With the following commands I've activated these interfaces manually:

ifconfig eth0 hw ether <YOUR MAC ADRESS 1> <YOUR IP ADRESS 1> netmask 255.255.255.0
ifconfig eth1 hw ether <YOUR MAC ADRESS 2> <YOUR IP ADRESS 2> netmask 255.255.255.0
ifconfig eth0 up
ifconfig eth1 up

After that I could proceed the next step to download the image file from the web server to manufacture the switch.

Thank you all for the valuable tips that enabled me to connect four HP servers with a total of 212 physical cores (424 hardware threads) with eight 56 Gbps Infiniband ports via a full featured SX6012 switch and provide this cluster via a breakout cable to four 10 Gbps Ethernet ports to the rest of the network!
 
Last edited:

Softlution

New Member
Jul 29, 2022
8
0
1
Hi there. I have been searching for days trying to find the guide of how to convert EMC switch to Mellanox. Do you have any valid link to download it?
 

Softlution

New Member
Jul 29, 2022
8
0
1
Hi guys. I can ping my PC from my switch but I cannot ping the switch from my PC. What am I doing wrong? The switch boots only U-BOOT at the moment. I cannot find any working OS. I am trying to cross-flash the switch to Mellanox OS. I am connecting with my EMC version of SX6012 via Serial Cable / Putty and the Ethernet port connected directly with my PC. Both switch and PC are in the same Subnet, Mask and Gateway.


=> printenv
bootcmd=run flash_jffs2
bootdelay=5
baudrate=9600
loads_echo=
hostname=mlnx460ex
netdev=eth0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:eek:ff panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
addmisc=setenv bootargs ${bootargs}
initrd_high=30000000
kernel_addr_r=400000
fdt_addr_r=800000
ramdisk_addr_r=C00000
hostname=mlnx460ex
bootfile=mlnx460ex/uImage
ramdisk_file=mlnx460ex/uRamdisk
rootpath=/opt/eldk/ppc_4xxFP
flash_self=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}
flash_nfs=run nfsargs addip addtty addmisc;bootm ${kernel_addr} - ${fdt_addr}
net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} ${fdt_file}; run nfsargs addip addtty addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
net_self_load=tftp ${kernel_addr_r} ${bootfile};tftp ${fdt_addr_r} ${fdt_file};tftp ${ramdisk_addr_r} ${ramdisk_file};
net_self=run net_self_load;run ramargs addip addtty addmisc;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
fdt_file=mlnx460ex/mlnx460ex.dtb
flash_self_old=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr}
flash_nfs_old=run nfsargs addip addtty addmisc;bootm ${kernel_addr}
net_nfs_old=tftp ${kernel_addr_r} ${bootfile};run nfsargs addip addtty addmisc;bootm ${kernel_addr_r}
load=tftp 200000 mlnx460ex/u-boot.bin
update=protect off 0xFFFA0000 FFFFFFFF;era 0xFFFA0000 FFFFFFFF;cp.b ${fileaddr} 0xFFFA0000 ${filesize};setenv filesize;saveenv
upd=run load update
dhcp_vendor-class-identifier=bootmfg:hwname:mlnx460ex:
clear_filesize=setenv filesize
mfg_dir=mlnx460ex
mfg_args=setenv bootargs root=/dev/ram rw ramdisk_size=${mfg_ramdisk_size} ${mfg_extra_args}
mfg_common_args=run addtty addmisc
mfg_load=tftp ${kernel_addr_r} ${mfg_root}${mfg_dir}/${mfg_kernel_file};tftp ${fdt_addr_r} ${mfg_root}${mfg_dir}/${mfg_fdt_file};tftp ${ramdisk_addr_r} ${mfg_root}${mfg_dir}/${mfg_ramdisk_file}
mfg_nodhcp=echo "Manufacture will TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
mfg=echo "Manufacture will DHCP, TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; dhcp; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
menu_file=menu.img
menu_load=tftp ${menu_addr_r} ${mfg_root}${mfg_dir}/${menu_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
menu_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run menu_usb_load_ext2 ; else ; run menu_usb_load_fat ; fi
menu_usb=run clear_filesize ; run menu_usb_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu_nodhcp=run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu=dhcp ; run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
fw_file=u-boot.bin
fw_load=tftp ${fw_addr_r} ${mfg_root}${mfg_dir}/${fw_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
fw_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run fw_usb_load_ext2 ; else ; run fw_usb_load_fat ; fi
fw_update_raw=protect off 0xFFFA0000 FFFFFFFF;erase 0xFFFA0000 FFFFFFFF;cp.b ${fw_addr_r} 0xFFFA0000 ${filesize};cmp.b ${fw_addr_r} 0xFFFA0000 ${filesize};setenv filesize; saveenv
fw_usb_update=run clear_filesize ; run fw_usb_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update_nodhcp=run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update=dhcp ; run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
boot_common_args=run addtty addmisc
mfg_usb_dir=mlnx460ex
mfg_usb_load_ext2=usb start; echo "Loading ${mfg_kernel_file}";ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load_fat=usb start; echo "Loading ${mfg_kernel_file}";fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run mfg_usb_load_ext2 ; else ; run mfg_usb_load_fat ; fi
mfg_usb=echo "Manufacture will load from USB directory ${mfg_usb_root}${mfg_usb_dir}, and boot"; echo; run clear_filesize ; run mfg_usb_load; if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
kernel_addr=ff000000
fdt_addr=ff1e0000
ramdisk_addr=ff200000
fw_addr_r=400000
menu_addr_r=B00000
pciconfighost=1
pcie_mode=RP:RP
autoload=no
rootdev=/dev/mtdblock6
boot_usb_ext2_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_ext2_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
mfg_kernel_file=vmlinuz
mfg_ramdisk_file=rootfs
mfg_ramdisk_size=180224
mfg_fdt_file=fdt
mfg_usb_dev=0
mfg_usb_part=1
mfg_usb_fstype=fat
mfg_usb_root=/
boot_kernel_file=vmlinuz
boot_fdt_file=fdt
boot_usb_dev=0
boot_usb_part_loc_1=2
boot_usb_part_loc_2=3
boot_usb_root_loc_1=/dev/sda5
boot_usb_root_loc_2=/dev/sda6
usb_args_loc_1=setenv bootargs root=${boot_usb_root_loc_1} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
usb_args_loc_2=setenv bootargs root=${boot_usb_root_loc_2} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
jffs2_args=setenv bootargs root=${rootdev} rootfstype=jffs2 ro reset_button=${reset_button} ${image_kernel_args} ${extra_args}
flash_jffs2=run jffs2_args boot_common_args;bootm ${kernel_addr} - ${fdt_addr}
ethaddr=E4:1D:2D:F3:48:44
eth1addr=E4:1D:2D:F3:48:45
ethact=ppc_4xx_eth0
gatewayip=192.168.0.1
ipaddr=192.168.0.120
netmask=255.255.255.0
bootargs=root=/dev/nfs rw nfsroot=192.168.0.13:/opt/eldk/ppc_4xxFP ip=192.168.0.120:192.168.0.13:192.168.0.1:255.255.255.0:mlnx460ex:eth0:eek:ff panic=1 console=ttyS0,9600
autostart=off
autoload=off
stdin=serial
stdout=serial
stderr=serial
reset_button=0
ver=U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
serverip=192.168.0.8

Environment size: 9176/16380 bytes
=> setenv ipaddr 192.168.138.120
=> setenv netmask 255.255.255.0
=> setenv ipaddr 192.168.0.120
=> setenv gatewayip 192.168.0.1
=> setenv serverip 192.168.0.8
=> saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
. done
Protected 1 sectors
=> printenv
bootcmd=run flash_jffs2
bootdelay=5
baudrate=9600
loads_echo=
hostname=mlnx460ex
netdev=eth0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:eek:ff panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
addmisc=setenv bootargs ${bootargs}
initrd_high=30000000
kernel_addr_r=400000
fdt_addr_r=800000
ramdisk_addr_r=C00000
hostname=mlnx460ex
bootfile=mlnx460ex/uImage
ramdisk_file=mlnx460ex/uRamdisk
rootpath=/opt/eldk/ppc_4xxFP
flash_self=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}
flash_nfs=run nfsargs addip addtty addmisc;bootm ${kernel_addr} - ${fdt_addr}
net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} ${fdt_file}; run nfsargs addip addtty addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
net_self_load=tftp ${kernel_addr_r} ${bootfile};tftp ${fdt_addr_r} ${fdt_file};tftp ${ramdisk_addr_r} ${ramdisk_file};
net_self=run net_self_load;run ramargs addip addtty addmisc;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
fdt_file=mlnx460ex/mlnx460ex.dtb
flash_self_old=run ramargs addip addtty addmisc;bootm ${kernel_addr} ${ramdisk_addr}
flash_nfs_old=run nfsargs addip addtty addmisc;bootm ${kernel_addr}
net_nfs_old=tftp ${kernel_addr_r} ${bootfile};run nfsargs addip addtty addmisc;bootm ${kernel_addr_r}
load=tftp 200000 mlnx460ex/u-boot.bin
update=protect off 0xFFFA0000 FFFFFFFF;era 0xFFFA0000 FFFFFFFF;cp.b ${fileaddr} 0xFFFA0000 ${filesize};setenv filesize;saveenv
upd=run load update
dhcp_vendor-class-identifier=bootmfg:hwname:mlnx460ex:
clear_filesize=setenv filesize
mfg_dir=mlnx460ex
mfg_args=setenv bootargs root=/dev/ram rw ramdisk_size=${mfg_ramdisk_size} ${mfg_extra_args}
mfg_common_args=run addtty addmisc
mfg_load=tftp ${kernel_addr_r} ${mfg_root}${mfg_dir}/${mfg_kernel_file};tftp ${fdt_addr_r} ${mfg_root}${mfg_dir}/${mfg_fdt_file};tftp ${ramdisk_addr_r} ${mfg_root}${mfg_dir}/${mfg_ramdisk_file}
mfg_nodhcp=echo "Manufacture will TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
mfg=echo "Manufacture will DHCP, TFTP from directory ${mfg_root}${mfg_dir}, and boot";echo; dhcp; run clear_filesize ; run mfg_load;if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
menu_file=menu.img
menu_load=tftp ${menu_addr_r} ${mfg_root}${mfg_dir}/${menu_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
menu_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${menu_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${menu_file};
menu_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run menu_usb_load_ext2 ; else ; run menu_usb_load_fat ; fi
menu_usb=run clear_filesize ; run menu_usb_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu_nodhcp=run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
menu=dhcp ; run clear_filesize ; run menu_load ; if test 0${filesize} -gt 0; then autoscr ${menu_addr_r}; else ; echo Failed menu load ; fi
fw_file=u-boot.bin
fw_load=tftp ${fw_addr_r} ${mfg_root}${mfg_dir}/${fw_file}; if test $? -ne 0; then run clear_filesize ; echo Download failed ;fi
fw_usb_load_ext2=usb start; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load_fat=usb start; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fw_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${fw_file};
fw_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run fw_usb_load_ext2 ; else ; run fw_usb_load_fat ; fi
fw_update_raw=protect off 0xFFFA0000 FFFFFFFF;erase 0xFFFA0000 FFFFFFFF;cp.b ${fw_addr_r} 0xFFFA0000 ${filesize};cmp.b ${fw_addr_r} 0xFFFA0000 ${filesize};setenv filesize; saveenv
fw_usb_update=run clear_filesize ; run fw_usb_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update_nodhcp=run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
fw_update=dhcp ; run clear_filesize ; run fw_load ; if test 0${filesize} -gt 0; then run fw_update_raw ; else ; echo Failed update load ; fi
boot_common_args=run addtty addmisc
mfg_usb_dir=mlnx460ex
mfg_usb_load_ext2=usb start; echo "Loading ${mfg_kernel_file}";ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; ext2load usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load_fat=usb start; echo "Loading ${mfg_kernel_file}";fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${kernel_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_kernel_file};echo "Loading ${mfg_fdt_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${fdt_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_fdt_file};echo "Loading ${mfg_ramdisk_file}"; fatload usb ${mfg_usb_dev}:${mfg_usb_part} ${ramdisk_addr_r} ${mfg_usb_root}${mfg_usb_dir}/${mfg_ramdisk_file}
mfg_usb_load=if test "x${mfg_usb_fstype}" = "xext2"; then run mfg_usb_load_ext2 ; else ; run mfg_usb_load_fat ; fi
mfg_usb=echo "Manufacture will load from USB directory ${mfg_usb_root}${mfg_usb_dir}, and boot"; echo; run clear_filesize ; run mfg_usb_load; if test 0${filesize} -gt 0; then echo Booting mfg ; run mfg_args mfg_common_args;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ; else ; echo Failed mfg load ; fi
kernel_addr=ff000000
fdt_addr=ff1e0000
ramdisk_addr=ff200000
fw_addr_r=400000
menu_addr_r=B00000
pciconfighost=1
pcie_mode=RP:RP
autoload=no
rootdev=/dev/mtdblock6
boot_usb_ext2_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_ext2_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";ext2load usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_1=run usb_args_loc_1 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_1} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
boot_usb_fat_loc_2=run usb_args_loc_2 boot_common_args;echo "Loading ${boot_kernel_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${kernel_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_kernel_file};echo "Loading ${boot_fdt_file}";fatload usb ${boot_usb_dev}:${boot_usb_part_loc_2} ${fdt_addr_r} ${boot_usb_root}${boot_usb_dir}/${boot_fdt_file};bootm ${kernel_addr_r} - ${fdt_addr_r}
mfg_kernel_file=vmlinuz
mfg_ramdisk_file=rootfs
mfg_ramdisk_size=180224
mfg_fdt_file=fdt
mfg_usb_dev=0
mfg_usb_part=1
mfg_usb_fstype=fat
mfg_usb_root=/
boot_kernel_file=vmlinuz
boot_fdt_file=fdt
boot_usb_dev=0
boot_usb_part_loc_1=2
boot_usb_part_loc_2=3
boot_usb_root_loc_1=/dev/sda5
boot_usb_root_loc_2=/dev/sda6
usb_args_loc_1=setenv bootargs root=${boot_usb_root_loc_1} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
usb_args_loc_2=setenv bootargs root=${boot_usb_root_loc_2} ro reset_button=${reset_button} rootdelay=8 ${image_kernel_args} ${extra_args}
jffs2_args=setenv bootargs root=${rootdev} rootfstype=jffs2 ro reset_button=${reset_button} ${image_kernel_args} ${extra_args}
flash_jffs2=run jffs2_args boot_common_args;bootm ${kernel_addr} - ${fdt_addr}
ethaddr=E4:1D:2D:F3:48:44
eth1addr=E4:1D:2D:F3:48:45
ethact=ppc_4xx_eth0
bootargs=root=/dev/nfs rw nfsroot=192.168.0.13:/opt/eldk/ppc_4xxFP ip=192.168.0.120:192.168.0.13:192.168.0.1:255.255.255.0:mlnx460ex:eth0:eek:ff panic=1 console=ttyS0,9600
autostart=off
autoload=off
stdin=serial
stdout=serial
stderr=serial
reset_button=0
ver=U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
netmask=255.255.255.0
ipaddr=192.168.0.120
gatewayip=192.168.0.1
serverip=192.168.0.8

Environment size: 9176/16380 bytes