09 Feb, 2010

1 commit


21 Sep, 2009

1 commit


28 Jul, 2008

1 commit

  • When using the "sccdbg" option to route early kernel messages and
    xmon to the SCC serial port on PowerMacs, when this wasn't the
    configured output port of Open Firmware, we initialize the baudrate
    to 57600bps. This isn't a very good default on some powermacs where
    both the FW and pmac_zilog will default to 38400. This fixes it to
    use the same logic as pmac_zilog to pick a default speed.

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     

13 Apr, 2007

1 commit


04 Oct, 2006

1 commit

  • On powermac, when open firmware is set to use the SCC for console, this
    causes the low level udbg early console to read back the speed and
    re-use it instead of hard coding 57600 bps. This doesn't (yet) pass the
    detected speed all the way to pmac_zilog though.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

31 Jul, 2006

1 commit

  • Now that get_property() returns a void *, there's no need to cast its
    return value. Also, treat the return value as const, so we can
    constify get_property later.

    powermac platform & macintosh driver changes.

    Built for pmac32_defconfig, g5_defconfig

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Paul Mackerras

    Jeremy Kerr
     

01 Jul, 2006

1 commit


27 Mar, 2006

1 commit


11 Jan, 2006

1 commit

  • This patch adds Kconfig entries to control the early debugging options,
    currently in setup_64.c.

    Doing this via Kconfig rather than #defines means you can have one source tree,
    which is buildable for multiple platforms - and you can enable the correct
    early debug option for each platform via .config.

    I made udbg_early_init() a static inline because otherwise GCC is to daft to
    optimise it away when debugging is off.

    Now that we have udbg_init_rtas() we can make call_rtas_display_status* static.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Paul Mackerras

    Michael Ellerman
     

09 Jan, 2006

2 commits

  • The udbg low level io layer has an issue with udbg_getc() returning a
    char (unsigned on ppc) instead of an int, thus the -1 if you had no
    available input device could end up turned into 0xff, filling your
    display with bogus characters. This fixes it, along with adding a little
    blob to xmon to do a delay before exiting when getting an EOF and fixing
    the detection of ADB keyboards in udbg_adb.c

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     
  • This patch unifies udbg for both ppc32 and ppc64 when building the
    merged achitecture. xmon now has a single "back end". The powermac udbg
    stuff gets enriched with some ADB capabilities and btext output. In
    addition, the early_init callback is now called on ppc32 as well,
    approx. in the same order as ppc64 regarding device-tree manipulations.
    The init sequences of ppc32 and ppc64 are getting closer, I'll unify
    them in a later patch.

    For now, you can force udbg to the scc using "sccdbg" or to btext using
    "btextdbg" on powermacs. I'll implement a cleaner way of forcing udbg
    output to something else than the autodetected OF output device in a
    later patch.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt