Skip to content

Commit

Permalink
wedge400: eth0 mac addr fixup (#119)
Browse files Browse the repository at this point in the history
Summary:
As title
Pull Request resolved: facebookexternal/openbmc.celestica#119

Test Plan:
root@bmc-oob:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:EC:DC:76:E8
          inet addr:10.204.113.97  Bcast:10.204.113.255  Mask:255.255.254.0
          inet6 addr: fe80::2e0:ecff:fedc:76e8%lo/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:574 errors:0 dropped:0 overruns:0 frame:0
          TX packets:399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:53055 (51.8 KiB)  TX bytes:27833 (27.1 KiB)
          Interrupt:20

root@bmc-oob:~# weutil
Wedge EEPROM :
Version: 3
Product Name: WEDGE400-AC-F
Product Part Number: 20-002268
System Assembly Part Number: NA
Facebook PCBA Part Number: 132-000094-02
Facebook PCB Part Number: 131-000072-02
ODM PCBA Part Number: R1149G000102
ODM PCBA Serial Number: G012119200013
Product Production State: 1
Product Version: 2
Product Sub-Version: 0
Product Serial Number: F0A2119210002
Product Asset Tag: 5850024
System Manufacturer: CLS
System Manufacturing Date: 05-22-19
PCB Manufacturer: WUS
Assembled At: CLS
Local MAC: 00:E0:EC:DC:76:E8
Extended MAC Base: 00:E0:EC:DC:76:E9
Extended MAC Address Size: 143
Location on Fabric: SMB
CRC8: 0x14

Pass

Reviewed By: joancaneus

fbshipit-source-id: 92b002154d
  • Loading branch information
joancaneus authored and facebook-github-bot committed Aug 30, 2019
1 parent cbff4f7 commit 245717d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SRC_URI += "file://board-utils.sh \
file://boot_info.sh \
file://cpld_ver.sh \
file://disable_watchdog.sh \
file://eth1_mac_fixup.sh \
file://eth0_mac_fixup.sh \
file://fcmcpld_update.sh \
file://feutil \
file://fpga_ver.sh \
Expand Down Expand Up @@ -105,8 +105,8 @@ do_install_board() {

# networking is done after rcS, any start level within rcS
# for mac fixup should work
install -m 755 eth1_mac_fixup.sh ${D}${sysconfdir}/init.d/eth1_mac_fixup.sh
update-rc.d -r ${D} eth1_mac_fixup.sh start 70 S .
install -m 755 eth0_mac_fixup.sh ${D}${sysconfdir}/init.d/eth0_mac_fixup.sh
update-rc.d -r ${D} eth0_mac_fixup.sh start 70 S .

install -m 755 setup_board.sh ${D}${sysconfdir}/init.d/setup_board.sh
update-rc.d -r ${D} setup_board.sh start 80 S .
Expand Down

0 comments on commit 245717d

Please sign in to comment.