Jump to content
OMRON Forums

How to recover a corrupted/erased Kernel EEPROM in Power PMAC?


Sina.Sattari
 Share

Recommended Posts

Each Power PMAC firmware package includes its proper version of Kernel and it automatically updates the Kernel, but this is only true if the Power PMAC is running and could execute the PowerPMAC.deb file. If the Kernel is corrupted/erased, then the CPU can not complete a boot cycle and it can't execute the installation package.

 

In order to recover from this situation, we have to:

1. Start an TFTP server on the PC.

2. Get connected to Power PMAC with a serial communication console.

3. Transfer the Kernel image from the PC to Power PMAC boot-loader over the Ethernet network using the TFTP client/server.

4. Erase the EEPROM.

5. Copy the Kernel Image into the EEPROM.

 

The following section explains these steps in detail:

 

1. Start an TFTP server on the PC.

Download the following package and extract it as a folder under C:\tftpsrv\ drive.

 

tftpsrv.zip

 

NOTE: The Kernel uImage included in this package is for firmware version 1.5.8.0. If you need a different uImage file, please extract the file from the respective PowerPMAC.deb file.

 

After extraction, go to command prompt in Windows and execute the tftpsvr.bat file:

350308165_TFTPServerV1.04(readwrite)_2012-11-05_14-59-10.png.e0933483bb7fe579a6cc4c854cd1ab8f.png

 

 

2. Get connected to Power PMAC with a serial communication console.

This can be done through a couple of serial console programs such as Putty. (Download Link)

 

1027514185_PuTTYConfiguration_2012-11-05_15-02-52.png.64d65aaadcd7048ddd5a8c21ffb676aa.png

 

3. Transfer the Kernel image from the PC to Power PMAC boot-loader over the Ethernet network using the TFTP client/server.

 

While the serial console application is running, turn on the Power PMAC. Interrupt the boot sequence by pressing any button during the boot when proper message is displayed.

 

1765237679_COM11-PuTTY_2012-11-05_15-10-59.png.5b146aa20d331b86c6fb8bb63226cd14.png

 

Assign an IP address from the same subnet that the PC is connected to (usually this IP address is set to 192.168.0.200 for Power PMAC by default):

setenv ipaddr 10.34.9.232

 

Define the IP address of the server where the TFTP server is running:

setenv serverip 10.34.9.1

 

Copy the uImage file from the PC to the Power PMAC memory:

tftp 0x20000 uImage

 

737087059_COM11-PuTTY_2012-11-05_15-22-56.png.6eb4490c7c6be6bf3db8b1807748d200.png

 

4. Erase the EEPROM.

 

Erase the EEPROM where the uImage has to be copied:

erase 0xfc000000 0xfc3dffff

 

1616102025_COM11-PuTTY_2012-11-05_15-25-37.png.93244e941c1dd512ac3e959a82beb4d3.png

 

5. Copy the Kernel Image into the EEPROM.

 

Copy the Kernel Image from memory into EEPROM:

cp.b ${fileaddr} 0xfc000000 ${filesize}

 

938747805_COM11-PuTTY_2012-11-05_15-27-59.png.78201b7b8595c43e3f2eed5611676966.png

 

Restart the Power PMAC and the Kernel should load properly.

Link to comment
Share on other sites

  • 2 years later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

The TFTP server is a third party server program - it is not part of the firmware. It is in the zip file. It will work with all firmware versions and CPU types. The uImage.xxx file is in the zip file also. If you have a 460 CPU use Sina's original post. If you have a 465 CPU use my newer post. You can extract it from the firmware deb file at this path: “\data.tar\.\boot\”. For a 460 CPU it is the file: “uImage”. For a 465 CPU it is the file: “uImage.smp”.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...