NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Netra T5220



On 11/17/2018 1:52 PM, Brett Lymn wrote:
On Fri, Nov 16, 2018 at 02:11:26PM -0700, Don NetBSD wrote:

Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
find the capabilities, there, documented?

As someone else mentioned that is the Service Processor boot, it is a
cut down linux image, IIRC running on powerpc.  I doubt if you will find
much publically available information on the guts of the SP... even if
you have access to Oracle support, it is not something that Oracle
customers are meant to mess with.

No.  The prompt BEFORE the service processor starts Linux.

Apply power...

   U-Boot 1.1.1

   custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032

   CPU:   MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
   Board: SPARC885
          Watchdog enabled
   I2C:   ready
   DRAM:
   trying 128 MBytes
   (128 MB SDRAM) 128 MB
   Memory Tests: DA A1 A2 00 FF 55 AA T2 T3 T4
   POST memory PASSED
   FLASH: 32 MB
   In:    serial
   Out:   serial
   Err:   serial
   Net:   FEC ETHERNET
POST i2c c d 14 18 2a 2d 2e 30 40 43 46 51 53 54 56 59 68 69 6a 6b 70 71
   PASSED
   POST cpu PASSED
   POST ethernet PASSED
   Booting linux in 30 seconds...

At this point, Linux hasn't booted.  You can abort the process (by asserting
your physical presence or with magic keystrokes).  You end up with a "preboot"
prompt:

   u-boot> version

   U-Boot 1.1.1

   custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032
   u-boot> boot

Now, you've issued the boot command to boot Linux on the SP:

   ## Booting image at fe080000 ...
      Image Name:   Linux-2.4.22
      Image Type:   PowerPC Linux Kernel Image (gzip compressed)
      Data Size:    815088 Bytes = 796 kB
      Load Address: 00000000
      Entry Point:  00000000
      Verifying Checksum ... OK
      Uncompressing Kernel Image ... OK
   do_bootm_linux():
     argv[0]=bootm
     argv[1]=0xfe080000
   ## Current stack ends at 0x07D388B8 => set upper limit to 0x00800000
   No initrd
   ## cmdline at 0x007FFF00 ... 0x007FFF80

yada yada yada... eventually, you get a login prompt:

   login: root
   Password: changeme
   Waiting for daemons to initialize...
   .
   Timed out waiting for daemons to start
   sccd daemon has shutdown

   Oracle(R) Integrated Lights Out Manager

   Version 3.0.10.4 r61032

   Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

   Warning: password is set to factory default.

   ->

And now you have the SP prompt.

The earlier "u-boot" prompt is significant as it lets you tinker with
the "pre-Linux" environment.  Among other things, it lets you erase the
Linux password so you CAN log into the SP (if you'd lost that information)

I want to know what else it is useful for (besides exploring "help" at
that prompt)


Home | Main Index | Thread Index | Old Index