{"id":1479,"date":"2021-11-24T22:12:59","date_gmt":"2021-11-24T20:12:59","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=1479"},"modified":"2021-11-24T22:12:59","modified_gmt":"2021-11-24T20:12:59","slug":"asrockrack-x470d4u-and-x470d4u2-2t-bmc-firmware-update-problems-and-solution","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2021\/11\/24\/asrockrack-x470d4u-and-x470d4u2-2t-bmc-firmware-update-problems-and-solution\/","title":{"rendered":"AsrockRack X470D4U and X470D4U2-2T BMC Firmware update problems and SOLUTION."},"content":{"rendered":"\n<p><strong>PROBLEM:<\/strong><\/p>\n\n\n\n<p>I&#8217;ve got several Ryzen Boxes with AsrockRack X470D4U and X470D4U2-2T Mainboards,<\/p>\n\n\n\n<p>I know a lot of providers here using these exact mainboards here with their Ryzen offerrings, So maybe some help here:<\/p>\n\n\n\n<p>My problem is after updating the latest official BMC Firmware updates,<br>Here&nbsp;<a href=\"https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U#Download\">https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U#Download<\/a>&nbsp;and Here&nbsp;<a href=\"https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U2-2T#Download\">https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U2-2T#Download<\/a><\/p>\n\n\n\n<p>Each and every mainboards BMC IPMI interface is now not responding to pings or accessible over LAN.<\/p>\n\n\n\n<p>I can send commands using ipmitool application from linux command line.<\/p>\n\n\n\n<p>But no matter what I do, I can&#8217;t be able to access to BMC IPMI over LAN.<\/p>\n\n\n\n<p>Only info I can find from AsRock side is this thread from their forum:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/forum.asrock.com\/forum_posts.asp?TID=19681&#038;KW=X470D4U&#038;title=asrock-x470d4u-after-update-to-bmc-03-02-00-ipmi-g\n<\/div><\/figure>\n\n\n\n<p>But also this has got no official updates from AsRock.<\/p>\n\n\n\n<p>Somebody mentioned&nbsp;<a href=\"https:\/\/www.asrockrack.com\/support\/faq.asp?id=40\">https:\/\/www.asrockrack.com\/support\/faq.asp?id=40<\/a>&nbsp;this solution in that thread , but I also don&#8217;t have the luxury to reboot and flash old version of firmware as all these boxes are production boxes with several virtual servers on them.<\/p>\n\n\n\n<p>Anybody using these mainboards have any clue about what to do to regain access to BMC IPMI Web interface?<\/p>\n\n\n\n<p>As I said I can get response using IPMITOOL from command line. And everything seems to be working.<\/p>\n\n\n\n<p>Please help..<\/p>\n\n\n\n<p><em>SOLUTION:<\/em><\/p>\n\n\n\n<p>Updates on this matter:<\/p>\n\n\n\n<p>1- After tons \/ hours of brain thinkering and google searches I figure out that the most sensible way is to downgrade the bmc firmware to a &#8220;working&#8221; one.<\/p>\n\n\n\n<p>2- I then needed ASPEED socflash utility v 1.2 linux version &#8211; which is very hard to get &#8211; Aspeed was providing it from their website but no more &#8211; After some google foo I found it. If anybody needs socflash utility v1.2 linux version, you are free to contact me.<\/p>\n\n\n\n<p>3- flashed old bmc firmware with socflash linux utilty<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@r5:~\/socflash\/SOCFLASH# .\/socflash.sh X470D4U_P2.20.00.ima X470D4U_calismayan.ima \nASPEED SOC Flash Utility v.1.20.00 \nWarning:\nSoCflash utility is only for engineers to update the firmware in lab,\nit is not a commercialized software product,\nASPEED has not done compatibility\/reliability stress test for SoCflash.\nPlease do not use this utility for any mass production purpose.\nPress y to continue if you are agree ....\ny\nFind ASPEED Device 1a03:2000 on 22:0.0 \nMMIO Virtual Address: a364e000 \nRelocate IO Base: f000 \nFound ASPEED Device 1a03:2500 rev. 41 \nStatic Memory Controller Information: \nCS0 Flash Type is SPI \nCS1 Flash Type is SPI \nCS2 Flash Type is SPI \nCS3 Flash Type is NOR \nCS4 Flash Type is NOR \nBoot CS is 0 \nOption Information: \nCS: 0 \nFlash Type: SPI \n[Warning] Don't AC OFF or Reboot System During BMC Firmware Update!! \n[SOCFLASH] Flash ID : 1940ef \nFind Flash Chip #1: WinbondW25Q256\/257 \nBackup Flash Chip O.K.                 \nUpdate Flash Chip #1 O.K.            \nUpdate Flash Chip O.K.         \nroot@r5:~\/socflash\/SOCFLASH# \n<\/pre>\n\n\n\n<p>4- After firmware downgrade:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@r5:~\/socflash\/SOCFLASH# ipmitool mc info\nDevice ID                 : 32\nDevice Revision           : 1\nFirmware Revision         : 2.20\nIPMI Version              : 2.0\nManufacturer ID           : 49622\nManufacturer Name         : Unknown (0xC1D6)\nProduct ID                : 514 (0x0202)\nProduct Name              : Unknown (0x202)\nDevice Available          : yes\nProvides Device SDRs      : no\nAdditional Device Support :\n    Sensor Device\n    SDR Repository Device\n    SEL Device\n    FRU Inventory Device\n    IPMB Event Receiver\n    IPMB Event Generator\n    Chassis Device\nAux Firmware Rev Info     : \n    0x00\n    0x00\n    0x00\n    0x00\nroot@r5:~\/socflash\/SOCFLASH# ipmitool lan print 1\nMAC Address             : a8:a1:59:86:f3:ec\nSNMP Community String   : AMI\nIP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10\nBMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled\nGratituous ARP Intrvl   : 0.0 seconds\nDefault Gateway IP      : 0.0.0.0\nDefault Gateway MAC     : 00:00:00:00:00:00\nBackup Gateway IP       : 0.0.0.0\nBackup Gateway MAC      : 00:00:00:00:00:00\n802.1q VLAN ID          : Disabled\n802.1q VLAN Priority    : 0\nRMCP+ Cipher Suites     : 0,1,2,3,6,7,8,11,12,15,16,17\nCipher Suite Priv Max   : caaaaaaaaaaaXXX\n                        :     X=Cipher Suite Unused\n                        :     c=CALLBACK\n                        :     u=USER\n                        :     o=OPERATOR\n                        :     a=ADMIN\n                        :     O=OEM\nBad Password Threshold  : 0\nInvalid password disable: no\nAttempt Count Reset Int.: 0\nUser Lockout Interval   : 0\nroot@r5:~\/socflash\/SOCFLASH# \n<\/pre>\n\n\n\n<p>5- Now it&#8217;s time to Enter the usual ip address \/ gateway of the IPMI<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">LAN Configuration\n\nipmitool lan set 1 ipsrc static\nipmitool lan set 1 ipaddr 192.168.1.211\nipmitool lan set 1 netmask 255.255.255.0\nipmitool lan set 1 defgw ipaddr 192.168.1.254\nipmitool lan set 1 defgw macaddr 00:0e:0c:aa:8e:13\nipmitool lan set 1 arp respond on\nipmitool lan set 1 auth ADMIN MD5\nipmitool lan set 1 access on\n\nUser Configuration\nA user will now be setup with admin rights.\nipmitool user set name 2 admin\nipmitool user set password 2\nPassword for user 2: \nPassword for user 2: \nipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4\nipmitool user enable 2\n \n<\/pre>\n\n\n\n<p>6- WEB INTERFACE WORKS NOW!!!<\/p>\n\n\n\n<p>7- Time to upgrade to latest version of BMC firmware now&nbsp;<img decoding=\"async\" src=\"https:\/\/lowendtalk.com\/resources\/emoji\/smile.png\" alt=\":smile:\" height=\"20\"><\/p>\n\n\n\n<p>Thank you for all your answers!<\/p>\n\n\n\n<p>hello, you can download it here:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/nc.dandik.net\/let\/socflash.linux.v.1.20.tar.gz\n<\/div><\/figure>\n\n\n\n<p>full package for all OS&#8217;s is here:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/nc.dandik.net\/let\/v12000.zip\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>PROBLEM: I&#8217;ve got several Ryzen Boxes with AsrockRack X470D4U and X470D4U2-2T Mainboards, I know a lot of providers here using these exact mainboards here with their Ryzen offerrings, So maybe some help here: My problem is after updating the latest official BMC Firmware updates,Here&nbsp;https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U#Download&nbsp;and Here&nbsp;https:\/\/www.asrockrack.com\/general\/productdetail.asp?Model=X470D4U2-2T#Download Each and every mainboards BMC IPMI interface is now not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1479","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1479"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1479\/revisions"}],"predecessor-version":[{"id":1480,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1479\/revisions\/1480"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}