[SLOF] SLOF on JS21

Alexey Kardashevskiy aik at ozlabs.ru
Wed Jan 20 18:46:59 AEDT 2016


On 01/20/2016 05:27 PM, Thomas Huth wrote:
> On 20.01.2016 07:05, Alexey Kardashevskiy wrote:
>> On 01/11/2016 06:34 PM, Thomas Huth wrote:
>>> On 11.01.2016 02:58, Alexey Kardashevskiy wrote:
>>>> On 01/08/2016 07:11 PM, Thomas Huth wrote:
>>> [...]
>>>>> Now I'm back from vacation ... but currently I don't have the
>>>>> PowerStation with me anymore .... I'll try when I'm back at the
>>>>> location where I left it...
>>>>
>>>> Turns out I have JS22 (Type 7998) and JS21 (Type 8844) here where I can
>>>> try SLOF. btw are they any different from the SLOF bootability
>>>> prospective?
>>>>
>>>> Also since it has been a while since I flashed those last time, can you
>>>> please send few commands how to flash slof and how to switch sides?
>>>
>>> SLOF only works on JS20 and JS21, since these were the PowerPC 970 based
>>> blades. JS22 is POWER6, so SLOF won't work there.
>>>
>>> JS21 also ships with a pHyp based firmware by default. So IIRC the
>>> easiest way to boot SLOF there is to set up a TFTP server on another
>>> machine, and then to boot the takeover image:
>>>
>>> - Build SLOF with "make js2x"
>>> - Then create the takeover image with "make -C board-js2x takeover"
>>> - Copy clients/takeover/takeover.elf to your TFTP server and boot it
>>
>> My js2x is running some firmware with the screen like:
>>
>> IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
>> IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
>> IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
>>
>>            1 = SMS Menu                          5 = Default Boot List
>>            8 = Open Firmware Prompt              6 = Stored Boot List
>>
>>
>>       Memory      Keyboard     Network     SCSI     Speaker  ok
>
> That's the default pHyp based firmware.
>
>> which is not SLOF and takeover does not seem working there :-/
>
> What happens if you boot the takeover.elf?


What is the boot command format there?

This did not work:
load net:bootp,10.61.2.7,takeover.elf,10.61.254.21

It ignored my IP and used DHCP anyway and did not try loading my 
"takeover.elf". I had to do the complete setup of DHCP&etc :-/

Anyway, here is what I got so far:


0 > boot net






TFTP BOOT ---------------------------------------------------
Server IP.....................10.61.2.7

Client IP.....................10.61.133.101

Gateway IP....................10.61.2.1

Subnet Mask...................255.255.0.0
( 1  ) Filename.................slof-js2x/takeover.elf
TFTP Retries..................5
Block Size....................512


FILE        : slof-js2x/takeover.elf
BLKSIZE     : 512
TFTP-RETRIES: 5
FINAL PACKET COUNT = 1926
FINAL FILE SIZE = 985644  BYTES

Elapsed time since release of system processors: 2 mins 37 secs

Failed to allocated memory for RTAS

  takeover on cpu1 (cac1f0, 100404740)\
  takeover on cpu2 (cad2c8, 200404740)\
  takeover on cpu3 (cae3a0, 300404740)\
  takeover on master cpu -

SLOF **********************************************************************
JS2XBlade Starting
  Build Date = Jan 20 2016 15:29:37
  FW Version = git-2e9f1f28d236ba23
  Check ROM  = OK
  Press "s" to enter Open Firmware.


  Switching top HT bus to 800MHz...
  Adapters on 00000000f2000000
                      00 0800 (B) : 1166 0130    pci*
                      01 0800 (D) : 1014 028c    citrine


And here it hangs.


-- 
Alexey


More information about the SLOF mailing list