Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64 - Debian

This is a discussion on Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64 - Debian ; Package: linux-image-2.6-powerpc64 Version: 2.6.24-1 Severity: normal Tags: patch Hi, Support for PA Semi's powerpc platform is working well in the upstream kernel sources, and only needs enablement of a few kernel config options to work with the rest of the ...

+ Reply to Thread
Results 1 to 11 of 11

Thread: Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

  1. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    Package: linux-image-2.6-powerpc64
    Version: 2.6.24-1
    Severity: normal
    Tags: patch

    Hi,

    Support for PA Semi's powerpc platform is working well in the upstream kernel sources, and only needs enablement of
    a few kernel config options to work with the rest of the distro.

    I've attached a patch to the powerpc kernel config. It'll enable the config options in question. I hope I've
    generated it right, I normally don't use the debian package management tools to configure and build my kernel.

    The gist of the additions are:

    * Enable CONFIG_PPC_PASEMI for base platform support
    * Enable CONFIG_PASEMI_MAC=m for ethernet drivers
    * Enable CONFIG_FB_NVIDIA=y, since we tend to use those cards in some eval systems and it's convenient
    * Set CONFIG_PHYLIB=y instead of =m so I can:
    * Enable CONFIG_PPC_PASEMI_MDIO=y (it doesn't auto-probe well at the moment so =y is needed)
    * CONFIG_HW_RANDOM_PASEMI=y to enable the hw rng driver
    * CONFIG_I2C_PASEMI=y for i2c driver
    * CONFIG_EDAC=m and CONFIG_PASEMI_EDAC=m for edac support (ECC error reporting)
    * CONFIG_ELECTRA_IDE=m for the simple ide interface on some of the eval boards


    I think that was most of it, it's pretty straightforward. Please do let me know if there are any questions.


    -- System Information:
    Debian Release: lenny/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: powerpc (ppc64)

    Kernel: Linux 2.6.24-03863-g0ba6c33-dirty (SMP w/2 CPU cores)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/bash

    *** diff
    --- linux-2.6-2.6.24/debian/config/powerpc/config.powerpc64.orig 2008-01-29 21:10:25.000000000 -0600
    +++ linux-2.6-2.6.24/debian/config/powerpc/config.powerpc64 2008-01-29 21:47:26.000000000 -0600
    @@ -9,7 +9,7 @@ CONFIG_EEH=y
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_PLATINUM is not set
    # CONFIG_FB_VALKYRIE is not set
    -# CONFIG_FB_NVIDIA is not set
    +CONFIG_FB_NVIDIA=y
    CONFIG_FORCE_MAX_ZONEORDER=13
    # CONFIG_GEN_RTC is not set
    CONFIG_HANGCHECK_TIMER=m
    @@ -99,3 +99,18 @@ CONFIG_MIGRATION=y
    CONFIG_CMDLINE="console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0"
    # CONFIG_MV643XX_ETH is not set
    CONFIG_BLK_DEV_AMD74XX=m
    +# CONFIG_PPC_CELLEB is not set
    +CONFIG_PPC_PASEMI_CPUFREQ=y
    +CONFIG_PPC_PASEMI_IOMMU=y
    +CONFIG_ELECTRA_IDE=m
    +CONFIG_EDAC=m
    +CONFIG_MPIC_BROKEN_REGREAD=y
    +CONFIG_I2C_PASEMI=m
    +CONFIG_PPC_PASEMI=y
    +CONFIG_OF_DEVICE=y
    +CONFIG_PASEMI_MAC=m
    +CONFIG_HW_RANDOM_PASEMI=m
    +CONFIG_EDAC_MM_EDAC=y
    +CONFIG_EDAC_PASEMI=m
    +CONFIG_PHYLIB=y
    +CONFIG_PPC_PASEMI_MDIO=y



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    * Olof Johansson [2008-01-29 22:22]:
    > Support for PA Semi's powerpc platform is working well in the
    > upstream kernel sources, and only needs enablement of a few kernel
    > config options to work with the rest of the distro.


    Out of interest, are you also going to add support to
    debian-installer?
    --
    Martin Michlmayr
    http://www.cyrius.com/



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    On Wed, Jan 30, 2008 at 04:00:49PM +1100, Martin Michlmayr wrote:
    > * Olof Johansson [2008-01-29 22:22]:
    > > Support for PA Semi's powerpc platform is working well in the
    > > upstream kernel sources, and only needs enablement of a few kernel
    > > config options to work with the rest of the distro.

    >
    > Out of interest, are you also going to add support to
    > debian-installer?


    If someone's able to help me do it, I wouldn't mind. If not, that'd be
    the next step for me to look into.

    When using a mainline kernel to boot the machine with the etch installer
    ramdisk, everything works fine with the exception of a warning about
    partition types to use. I'm guessing it's a simple addition to a platform
    detection table that's missing, it should do well with whatever Maple
    already uses. Figuring out how to rebuild the installer image is likely
    the trickiest part of it. :-)


    -Olof



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    * Olof Johansson [2008-01-30 09:22]:
    > When using a mainline kernel to boot the machine with the etch installer
    > ramdisk, everything works fine with the exception of a warning about
    > partition types to use. I'm guessing it's a simple addition to a platform
    > detection table that's missing, it should do well with whatever Maple
    > already uses. Figuring out how to rebuild the installer image is likely
    > the trickiest part of it. :-)


    I'll follow-up on this in private.
    --
    Martin Michlmayr
    http://www.cyrius.com/



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  5. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    On Wed, Jan 30, 2008 at 04:00:49PM +1100, Martin Michlmayr wrote:

    > Out of interest, are you also going to add support to
    > debian-installer?


    A patch for debian-installer was just posted on debian-boot.

    Any chance I can get the kernel config patch applied? I'd love to see
    base support for our platform in the base distribution, and it shouldn't
    add any regressions to existing platforms.


    Thanks,

    Olof



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  6. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    On Tue, Jan 29, 2008 at 10:22:20PM -0600, Olof Johansson wrote:
    > * Enable CONFIG_PPC_PASEMI for base platform support
    > * Enable CONFIG_PASEMI_MAC=m for ethernet drivers


    Okay.

    > * Enable CONFIG_FB_NVIDIA=y, since we tend to use those cards in some eval systems and it's convenient


    Open firmware fb support is not enough for pre-userland?

    > * Enable CONFIG_PPC_PASEMI_MDIO=y (it doesn't auto-probe well at the moment so =y is needed)


    Even than it is a userspace thing to detect it. So you get =m.

    > * CONFIG_HW_RANDOM_PASEMI=y to enable the hw rng driver
    > * CONFIG_I2C_PASEMI=y for i2c driver


    The same.

    > * CONFIG_EDAC=m and CONFIG_PASEMI_EDAC=m for edac support (ECC error reporting)


    Okay. This is a generic thing, so maybe this should be enabled anyway.

    Bastian

    --
    Women are more easily and more deeply terrified ... generating more
    sheer horror than the male of the species.
    -- Spock, "Wolf in the Fold", stardate 3615.4



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  7. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    Hi,

    On Wed, Feb 06, 2008 at 09:27:26AM +0100, Bastian Blank wrote:
    > On Tue, Jan 29, 2008 at 10:22:20PM -0600, Olof Johansson wrote:
    > > * Enable CONFIG_PPC_PASEMI for base platform support
    > > * Enable CONFIG_PASEMI_MAC=m for ethernet drivers

    >
    > Okay.
    >
    > > * Enable CONFIG_FB_NVIDIA=y, since we tend to use those cards in some eval systems and it's convenient

    >
    > Open firmware fb support is not enough for pre-userland?


    Our firmware hands off the video in text mode (unlike ibm and apple
    firmware that sets up and provides the framebuffer). Unfortunately the
    64-bit kernels don't do the text-mode console though, so it needs the
    framebuffer driver to get output.

    Having it =m would work, the main drawback is some debugability loss.
    But given that all boards have serial ports, they could be used for
    console in those cases.

    So =m would be OK with me.

    > > * Enable CONFIG_PPC_PASEMI_MDIO=y (it doesn't auto-probe well at the moment so =y is needed)

    >
    > Even than it is a userspace thing to detect it. So you get =m.


    It's a really small driver, but alright.

    > > * CONFIG_HW_RANDOM_PASEMI=y to enable the hw rng driver
    > > * CONFIG_I2C_PASEMI=y for i2c driver

    >
    > The same.


    Ok.

    > > * CONFIG_EDAC=m and CONFIG_PASEMI_EDAC=m for edac support (ECC error reporting)

    >
    > Okay. This is a generic thing, so maybe this should be enabled anyway.


    Sure.


    Thanks,

    Olof



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  8. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    Anything I can do to help move this along? Should I respin and post a
    fresh patch, or will you just edit the changes before checking them in?


    Thanks,

    Olof




    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  9. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    Hi,

    Here's a respun version, with all added config options done as modules
    instead, based on the comments above. The only exceptions are options
    that are bools and thus cannot be modules.

    Bastian, please apply or let me know what else I need to do for this to
    be acceptable. The installer patches for the platform have already been
    applied (bug 464429). Without the kernel-side config change it's still
    impossible to install a system. :-)


    Thanks,

    Olof


    diff -rpu debian.orig/config/powerpc/config.powerpc64 debian/config/powerpc/config.powerpc64
    --- debian.orig/config/powerpc/config.powerpc64 2008-03-25 11:04:09.000000000 -0500
    +++ debian/config/powerpc/config.powerpc64 2008-03-25 21:26:21.000000000 -0500
    @@ -9,7 +9,7 @@ CONFIG_EEH=y
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_PLATINUM is not set
    # CONFIG_FB_VALKYRIE is not set
    -# CONFIG_FB_NVIDIA is not set
    +CONFIG_FB_NVIDIA=m
    CONFIG_FORCE_MAX_ZONEORDER=13
    # CONFIG_GEN_RTC is not set
    CONFIG_HANGCHECK_TIMER=m
    @@ -99,3 +99,17 @@ CONFIG_MIGRATION=y
    CONFIG_CMDLINE="console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0"
    # CONFIG_MV643XX_ETH is not set
    CONFIG_BLK_DEV_AMD74XX=m
    +CONFIG_PPC_PASEMI_CPUFREQ=y
    +CONFIG_PPC_PASEMI_IOMMU=y
    +CONFIG_ELECTRA_IDE=m
    +CONFIG_EDAC=y
    +CONFIG_MPIC_BROKEN_REGREAD=y
    +CONFIG_I2C_PASEMI=m
    +CONFIG_PPC_PASEMI=y
    +CONFIG_OF_DEVICE=y
    +CONFIG_PASEMI_MAC=m
    +CONFIG_HW_RANDOM_PASEMI=m
    +CONFIG_EDAC_MM_EDAC=m
    +CONFIG_EDAC_PASEMI=m
    +CONFIG_PHYLIB=m
    +CONFIG_PPC_PASEMI_MDIO=m



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  10. Bug#463200: linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64

    On Tue, Mar 25, 2008 at 09:46:07PM -0500, Olof Johansson wrote:

    > Bastian, please apply or let me know what else I need to do for this to
    > be acceptable.


    Any news? I didn't hear anything back. Who's supposed to pick up patches
    like these, since there's currently no powerpc kernel maintainer?


    Thanks,

    -Olof



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  11. Bug#463200: marked as done (linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64)


    Your message dated Mon, 28 Apr 2008 12:08:45 +0000
    with message-id
    and subject line Bug#463200: fixed in linux-2.6 2.6.25-1
    has caused the Debian Bug report #463200,
    regarding linux-image-2.6-powerpc64: Please enable platform options for PA Semi boards on powerpc64
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    463200: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463200
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread