[LinuxBIOS] Build issue for khepri target

Stefan Reinauer stepan at coresystems.de
Wed Jul 19 18:06:39 CEST 2006


* Anil B G <bg.anil at gmail.com> [060719 18:02]:
> Hi,
>   I have captured the output of serial (COM A), that comes from the SP.
> However, I am unable to disable the same and get the output of LinuxBIOS on the
> serial
 

try "platform get console" ... it seems you mistyped the name several
times. the sp does not like backspace, so it prints the error you see.

> ===============================================================================
> ========
>  
>  
> 
> Starting OpenBSD Secure Shell server: sshd.
>  
> localhost login: root
> Password:
> localhost # platform get consi   ole
> Error. The requested service is not available.
> localhost # platform
> platform: Error. Unknown subcommand.
> Usage: platform console {-h|--help}
>        platform get console {-h|--help}
>        platform get hostname {-h|--help}
>        platform get mac {-h|--help}
>        platform get power state {-h|--help}
>        platform get product-id {-h|--help}
>        platform get os state {-h|--help}
>        platform set console {-h|--help}
>        platform set os state boot {-h|--help}
>        platform set os state reboot {-h|--help}
>        platform set os state shutdown {-h|--help}
>        platform set os state update-bios {-h|--help}
>        platform set power state {-h|--help}
> localhost # platform get consil      ole
> Rear Panel
> Platform COMA
> localhost # platform set console -d
> Error. Invalid parameter(s).
> localhost # platform set consi   ole -help
> platform set console {--serial|-s} sp [{{--enable|-e}|{--disable|-d}}]
>          [{{--prune|-p}|{--noprune|-n}}] [{--speed|-S}
>          {1200|2400|4800|9600|19200|38400|57600|115200}] [{--log|-l} size]
>          [{-h|--help}]
>  or
> platform set console {--serial|-s} platform [{-h|--help}]
> {-S|--speed} {1200|2400|4800|9600|19200|38400|57600|115200}
>                     Select the port speed on the SP to use to connect to the
>                     platform console.  BIOS, the platform OS and the SP must
> all
>                     be configured for the same speed.  This setting does not
>                     affect the platform configuration
>                     Cannot be used with: -s=platform
> {-d|--disable}      Indicate that the platform console monitor is inactive
>                     Cannot be used with: -e -s=platform
> {-e|--enable}       Indicate that the platform console monitor is active
>                     Cannot be used with: -d -s=platform
> {-h|--help}         Print the usage message.
> {-l|--log} size     Select the trigger size in KB for console log rotation.
>                     Minimum 64KB, Maximum 1024KB
>                     Cannot be used with: -s=platform
> {-n|--noprune}      Indicate that the platform console log should be the raw
>                     console data
>                     Cannot be used with: -p -s=platform
> {-p|--prune}        Indicate that the platform console log is to be cleaned of
>                     ANSI sequences and pruned of duplicated information
>                     Cannot be used with: -n -s=platform
> {-s|--serial} {sp|platform}
>                     Specify whether the serial port is connected to the
> platform
>                     COMA port, or the SP serial console
>                     Cannot be used with: -e [platform] -d [platform] -p
> [platform] -n [platform] -S [platform] -l [platform]
>  
> localhost #
>  
> ===============================================================================
> =========
> 
> 
> On 7/19/06, Stefan Reinauer <stepan at coresystems.de> wrote:
> 
> 
>     what does "platform get console" tell you?
> 
>     It should say something like:
>     $ platform get console
>     Rear Panel Enabled Speed Pruning Log Trigger
>     SP Console Yes     19200 No      244 KB
>     ^^^^^^^^^^^^^^^^^^
> 
>     You need to configure the
>     console on the SP with the "platform set console" command.
> 
>     platform set console {--serial|-s} sp [{{--enable|-e}|{--disable|-d}}]
>     [{{--prune|-p}|{--noprune|-n}}]
>             [{--speed|-S} {1200|2400|4800|9600|19200|38400|57600|115200}]
>     [{--log|-l} size] [{-h|--help}]
>     or
>     platform set console {--serial|-s} platform [{-h|--help}]
>     {-S|--speed} {1200|2400|4800|9600|19200|38400|57600|115200}
>                        Select the port speed for the platform console.
>                        BIOS, the platform OS and the console must
>                        all be configured for the same speed
>                        Cannot be used with: -s=platform
> 
>     {-d|--disable}      Indicate that the platform console monitor is
>                        inactive
>                        Cannot be used with: -e -s=platform
> 
>     {-e|--enable}       Indicate that the platform console monitor is active
>                        Cannot be used with: -d -s=platform
> 
>     {-p|--prune}        Indicate that the platform console log is to be
>                        cleaned of ANSI sequences and pruned of
>                        duplicated information
>                        Cannot be used with: -n -s=platform
> 
>     {-s|--serial} {sp|platform}
>                        Specify whether the serial port is connected to the
>                        platform COMA port, or the SP serial console
>                        Cannot be used with: -e [platform] -d [platform] -p
>                        [platform] -n [platform] -S [platform] -l [platform]
> 
> 
>     * Anil B G <bg.anil at gmail.com> [060718 19:14]:
>     > Hi Stefan,
>     >   I logged into the SP and tried platform console etc. but I was not
>     really
>     > sure how that would help me.
>     > That would only change the settings of the Linux thats loaded and on a
>     reboot
>     > the PPCboot would again spew messages on the serial.
>     > I guess I am missing something here, but cannot really visualise how to
>     get the
>     > output of LinuxBIOS on the serial.
>     > One way perhaps would be to disable the SP at the hardware level (if that
>     is
>     > possible).
>     >
>     > Please let me know if it is possible to disable serial by trying
>     "platform
>     > console" on the SP.
>     >
>     > Regards
>     > Anil
>     >
>     >
>     > On 7/17/06, Stefan Reinauer <stepan at coresystems.de> wrote:
>     >
>     >     * Anil B G < bg.anil at gmail.com> [060717 17:07]:
>     >     > Hi,
>     >     >   I only get the output of the SP on the serial interface.
>     >
>     >     log in to the sp and do "platform console"
>     >
>     >
>     >     --
>     >     coresystems GmbH   Brahmsstr. 16   D-79104 Freiburg i. Br.
>     >          Tel.: +49 761 7668825   Fax: +49 761 7664613
>     >     Email: info at coresystems.de    http://www.coresystems.de/
>     >
>     >
> 
>     --
>     coresystems GmbH   Brahmsstr. 16   D-79104 Freiburg i. Br.
>          Tel.: +49 761 7668825   Fax: +49 761 7664613
>     Email: info at coresystems.de    http://www.coresystems.de/
> 
> 

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list