Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary) - Debian

This is a discussion on Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary) - Debian ; While Efika support is included in 2.6.24-1, PS3 support is still not enabled in 2.6.24-4. As upstream 2.6.24 has full support for PS3 (except for wireless), it would be very easy to add support for it in the Debian kernel ...

+ Reply to Thread
Results 1 to 13 of 13

Thread: Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

  1. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    While Efika support is included in 2.6.24-1, PS3 support is still not enabled
    in 2.6.24-4.

    As upstream 2.6.24 has full support for PS3 (except for wireless), it would be
    very easy to add support for it in the Debian kernel package by enabling it in
    config.powerpc64, or by adding a new config.ps3.

    With kind regards,

    Geert Uytterhoeven
    Software Architect

    Sony Network and Software Technology Center Europe
    The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

    Phone: +32 (0)2 700 8453
    Fax: +32 (0)2 700 8622
    E-mail: Geert.Uytterhoeven@sonycom.com
    Internet: http://www.sony-europe.com/

    Sony Network and Software Technology Center Europe
    A division of Sony Service Centre (Europe) N.V.
    Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium
    VAT BE 0413.825.160 · RPR Brussels
    Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619

  2. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Fri, Feb 22, 2008 at 02:53:52PM +0100, Geert Uytterhoeven wrote:
    > While Efika support is included in 2.6.24-1, PS3 support is still not enabled
    > in 2.6.24-4.
    >
    > As upstream 2.6.24 has full support for PS3 (except for wireless), it would be
    > very easy to add support for it in the Debian kernel package by enabling it in
    > config.powerpc64, or by adding a new config.ps3.


    Geert,

    I missed the "enabling it in config.powerpc64" part (actually, I think
    everyone missed it).

    If no new build needs to be added, I guess the maintainers would be fine
    with it?

    Please provide a patch if you can.

    --
    Robert Millan

    I know my rights; I want my phone call!
    What use is a phone call… if you are unable to speak?
    (as seen on /.)



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

  3. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Thu, May 15, 2008 at 04:25:40PM +0200, Robert Millan wrote:
    > On Fri, Feb 22, 2008 at 02:53:52PM +0100, Geert Uytterhoeven wrote:
    > > While Efika support is included in 2.6.24-1, PS3 support is still not enabled
    > > in 2.6.24-4.
    > >
    > > As upstream 2.6.24 has full support for PS3 (except for wireless), it would be
    > > very easy to add support for it in the Debian kernel package by enabling it in
    > > config.powerpc64, or by adding a new config.ps3.

    >
    > Geert,
    >
    > I missed the "enabling it in config.powerpc64" part (actually, I think
    > everyone missed it).
    >
    > If no new build needs to be added, I guess the maintainers would be fine
    > with it?
    >
    > Please provide a patch if you can.


    I already provided a patch, which is smoledring in the BTS, since months
    now.

    Sadly,

    Sven Luther



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

  4. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    retitle 462529 please enable PS3 support in -powerpc64 build
    thanks

    On Thu, May 15, 2008 at 04:46:10PM +0200, Sven Luther wrote:
    > On Thu, May 15, 2008 at 04:25:40PM +0200, Robert Millan wrote:
    > >
    > > Please provide a patch if you can.

    >
    > I already provided a patch, which is smoledring in the BTS, since months
    > now.


    Thanks Sven.

    I just updated your patch to the latest version of the package (moving the
    definitions to the pre-existing PS3 section), but I cannot check if it
    still works. Is it safe to assume it does?

    In any case, would be nice if someone could test.

    --
    Robert Millan

    I know my rights; I want my phone call!
    What use is a phone call… if you are unable to speak?
    (as seen on /.)


  5. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Thu, May 15, 2008 at 05:35:51PM +0200, Robert Millan wrote:
    > retitle 462529 please enable PS3 support in -powerpc64 build
    > thanks
    >
    > On Thu, May 15, 2008 at 04:46:10PM +0200, Sven Luther wrote:
    > > On Thu, May 15, 2008 at 04:25:40PM +0200, Robert Millan wrote:
    > > >
    > > > Please provide a patch if you can.

    > >
    > > I already provided a patch, which is smoledring in the BTS, since months
    > > now.

    >
    > Thanks Sven.
    >
    > I just updated your patch to the latest version of the package (moving the
    > definitions to the pre-existing PS3 section), but I cannot check if it
    > still works. Is it safe to assume it does?


    It is is safe to assume that it doesn't break other powerpc64 machines,
    since all the config options are machine specific.

    But for it to work, it would need to be tested, maybe aurelien can have
    a try on the PS3 ? I CC him, but otherwise, it would be nice to just
    apply the patch, so that kernels are built with it, and we can test
    them.

    There is i think some bootwrapper issue which needs to be solved, but
    the same vmlinux elf kernel should be used for both. This is the kind of
    things that mkvmlinuz was designed to do.

    > In any case, would be nice if someone could test.


    Indeed.

    Friendly,

    Sven Luther



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

  6. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Thu, May 15, 2008 at 05:35:51PM +0200, Robert Millan wrote:
    > retitle 462529 please enable PS3 support in -powerpc64 build
    > thanks
    >
    > On Thu, May 15, 2008 at 04:46:10PM +0200, Sven Luther wrote:
    > > On Thu, May 15, 2008 at 04:25:40PM +0200, Robert Millan wrote:
    > > >
    > > > Please provide a patch if you can.

    > >
    > > I already provided a patch, which is smoledring in the BTS, since months
    > > now.

    >
    > Thanks Sven.
    >
    > I just updated your patch to the latest version of the package (moving the
    > definitions to the pre-existing PS3 section), but I cannot check if it
    > still works. Is it safe to assume it does?
    >
    > In any case, would be nice if someone could test.


    BTW, for completeness, the following option :

    CONFIG_TUNE_CELL

    Is interesteing since the cell ppc core is not able to do opcode dynamic
    scheduling, or whatever it is called, and thus there is a performance
    hit by not enableing it. Enabling this option slows down the other
    powerpc64 cpus though, so it can't be enabled by default.

    But even without it we should have a kernel who boots on the PS3, which
    is more already than what we have currently.

    Friendly,

    Sven Luther



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

  7. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    Hi,

    Robert Millan wrote:
    > retitle 462529 please enable PS3 support in -powerpc64 build
    > thanks
    >
    > On Thu, May 15, 2008 at 04:46:10PM +0200, Sven Luther wrote:
    >> On Thu, May 15, 2008 at 04:25:40PM +0200, Robert Millan wrote:
    >> >
    >> > Please provide a patch if you can.

    >>
    >> I already provided a patch, which is smoledring in the BTS, since months
    >> now.

    >
    > Thanks Sven.
    >
    > I just updated your patch to the latest version of the package (moving the
    > definitions to the pre-existing PS3 section), but I cannot check if it
    > still works. Is it safe to assume it does?
    >
    > In any case, would be nice if someone could test.


    I'm sorry I'm not so familiar with how to build the debian kernel,
    but if you give me some help where and how to get the sources,
    or a link to some docs that explain it I will do the testing.

    I have an up to date install of Lenny on PS3 here to use.

    -Geoff




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

  8. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    Robert Millan wrote:
    > I just updated your patch to the latest version of the package (moving the
    > definitions to the pre-existing PS3 section), but I cannot check if it
    > still works. Is it safe to assume it does?
    >
    > In any case, would be nice if someone could test.


    I made the following updated patch and tested it. It should be
    complete.

    There are some optional 2.6.25 kernel patches that would be nice
    to have applied for the PS3. I will make a separate bug report
    for those.

    --
    Update the Debian powerpc64 2.6.25 kernel config for Cell platforms.

    Adds support for the PS3 game console and updates the
    Cell blade config to support QS20 and QS21 machines.

    --- linux-2.6-2.6.25.orig/debian/config/powerpc/config.powerpc64
    +++ linux-2.6-2.6.25/debian/config/powerpc/config.powerpc64
    @@ -14,6 +14,7 @@
    CONFIG_SCHED_SMT=y
    CONFIG_CMDLINE="console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0"
    CONFIG_KERNEL_START=0xc000000000000000
    +# CONFIG_MEMORY_HOTREMOVE is not set

    ##
    ## file: arch/powerpc/Kconfig.debug
    @@ -30,12 +31,24 @@
    CONFIG_CPU_FREQ_PMAC64=y
    #. It's a bool
    CONFIG_PPC_PASEMI_CPUFREQ=y
    +CONFIG_UDBG_RTAS_CONSOLE=y
    +CONFIG_PPC_PMI=m
    +CONFIG_AXON_RAM=m

    ##
    ## file: arch/powerpc/platforms/cell/Kconfig
    ##
    -# CONFIG_PPC_IBM_CELL_BLADE is not set
    +CONFIG_PPC_CELL=y
    +CONFIG_PPC_CELL_NATIVE=y
    +CONFIG_PPC_IBM_CELL_BLADE=y
    CONFIG_SPU_FS=m
    +CONFIG_SPU_FS_64K_LS=y
    +CONFIG_SPU_BASE=y
    +CONFIG_CBE_RAS=y
    +CONFIG_CBE_THERM=m
    +CONFIG_CBE_CPUFREQ=m
    +CONFIG_CBE_CPUFREQ_PMI=m
    +CONFIG_OPROFILE_CELL=y

    ##
    ## file: arch/powerpc/platforms/celleb/Kconfig
    @@ -72,7 +85,19 @@
    ##
    ## file: arch/powerpc/platforms/ps3/Kconfig
    ##
    -# CONFIG_PPC_PS3 is not set
    +CONFIG_PPC_PS3=y
    +CONFIG_PS3_ADVANCED=y
    +CONFIG_PS3_HTAB_SIZE=20
    +# CONFIG_PS3_DYNAMIC_DMA is not set
    +CONFIG_PS3_VUART=y
    +CONFIG_PS3_PS3AV=y
    +CONFIG_PS3_SYS_MANAGER=y
    +CONFIG_PS3_STORAGE=m
    +CONFIG_PS3_DISK=m
    +CONFIG_PS3_ROM=m
    +CONFIG_PS3_FLASH=m
    +CONFIG_OPROFILE_PS3=m
    +CONFIG_PS3_LPM=m

    ##
    ## file: arch/powerpc/platforms/pseries/Kconfig
    @@ -93,7 +118,7 @@
    CONFIG_HVC_CONSOLE=y
    CONFIG_HVCS=m
    # CONFIG_RTC is not set
    -# CONFIG_GEN_RTC is not set
    +CONFIG_GEN_RTC=y
    CONFIG_HANGCHECK_TIMER=m

    ##
    @@ -127,6 +152,24 @@
    CONFIG_SPIDER_NET=m
    # CONFIG_MV643XX_ETH is not set
    CONFIG_PASEMI_MAC=m
    +CONFIG_GELIC_NET=m
    +CONFIG_GELIC_WIRELESS=y
    +CONFIG_GELIC_WIRELESS_OLD_PSK_INTERFACE=y
    +
    +##
    +## file: drivers/net/ibm_newmac/Kconfig
    +##
    +CONFIG_IBM_NEW_EMAC=m
    +CONFIG_IBM_NEW_EMAC_RXB=128
    +CONFIG_IBM_NEW_EMAC_TXB=64
    +CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32
    +CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256
    +CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0
    +# CONFIG_IBM_NEW_EMAC_DEBUG is not set
    +CONFIG_IBM_NEW_EMAC_ZMII=y
    +CONFIG_IBM_NEW_EMAC_RGMII=y
    +CONFIG_IBM_NEW_EMAC_TAH=y
    +CONFIG_IBM_NEW_EMAC_EMAC4=y

    ##
    ## file: drivers/pci/hotplug/Kconfig
    @@ -159,6 +202,10 @@
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_NVIDIA is not set
    # CONFIG_FB_ATY128 is not set
    +CONFIG_FB_PS3=y
    +CONFIG_FB_PS3_DEFAULT_SIZE_M=9
    +CONFIG_FB_LOGO_EXTRA=y
    +CONFIG_LOGO_LINUX_CLUT224=y

    ##
    ## file: drivers/watchdog/Kconfig
    @@ -176,3 +223,8 @@
    # CONFIG_MEMORY_HOTPLUG is not set
    CONFIG_MIGRATION=y

    +##
    +## file: sound/ppc/Kconfig
    +##
    +CONFIG_SND_PS3=m
    +CONFIG_SND_PS3_DEFAULT_START_DELAY=2000
    --- linux-2.6-2.6.25.orig/debian/config/defines
    +++ linux-2.6-2.6.25/debian/config/defines
    @@ -1,5 +1,5 @@
    [abi]
    -abiname: 2
    +abiname: 3

    [base]
    arches:




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

  9. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Wed, May 28, 2008 at 12:28:30PM -0700, Geoff Levand wrote:
    > -# CONFIG_PPC_IBM_CELL_BLADE is not set
    > +CONFIG_PPC_IBM_CELL_BLADE=y
    > CONFIG_SPU_FS=m
    > +CONFIG_SPU_FS_64K_LS=y
    > +CONFIG_CBE_RAS=y
    > +CONFIG_CBE_THERM=m
    > +CONFIG_CBE_CPUFREQ=m


    Okay.

    > +CONFIG_CBE_CPUFREQ_PMI=m


    Default n and experimental.

    > -# CONFIG_PPC_PS3 is not set
    > +CONFIG_PPC_PS3=y
    > +CONFIG_PS3_ADVANCED=y
    > +CONFIG_PS3_HTAB_SIZE=20
    > +# CONFIG_PS3_DYNAMIC_DMA is not set

    +CONFIG_PS3_PS3AV=m
    > +CONFIG_PS3_STORAGE=m
    > +CONFIG_PS3_DISK=m
    > +CONFIG_PS3_ROM=m
    > +CONFIG_PS3_FLASH=m
    > +CONFIG_PS3_LPM=m


    > -# CONFIG_GEN_RTC is not set
    > +CONFIG_GEN_RTC=y


    Why?

    > +CONFIG_GELIC_NET=m
    > +CONFIG_GELIC_WIRELESS=y


    > +CONFIG_IBM_NEW_EMAC=m
    > +CONFIG_IBM_NEW_EMAC_RXB=128
    > +CONFIG_IBM_NEW_EMAC_TXB=64
    > +CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32
    > +CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256
    > +CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0
    > +# CONFIG_IBM_NEW_EMAC_DEBUG is not set


    Okay.

    > +CONFIG_FB_PS3=y


    Yeah, everyone wants its favorite fb built-in.

    > +CONFIG_FB_PS3_DEFAULT_SIZE_M=9
    > +CONFIG_FB_LOGO_EXTRA=y
    > +CONFIG_LOGO_LINUX_CLUT224=y


    Why?

    > +CONFIG_SND_PS3=m
    > +CONFIG_SND_PS3_DEFAULT_START_DELAY=2000


    Okay.

    Bastian

    --
    "... freedom ... is a worship word..."
    "It is our worship word too."
    -- Cloud William and Kirk, "The Omega Glory", stardate unknown



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

  10. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    Bastian Blank wrote:
    > On Wed, May 28, 2008 at 12:28:30PM -0700, Geoff Levand wrote:
    >> -# CONFIG_PPC_IBM_CELL_BLADE is not set
    >> +CONFIG_PPC_IBM_CELL_BLADE=y
    >> CONFIG_SPU_FS=m
    >> +CONFIG_SPU_FS_64K_LS=y
    >> +CONFIG_CBE_RAS=y
    >> +CONFIG_CBE_THERM=m
    >> +CONFIG_CBE_CPUFREQ=m

    >
    > Okay.
    >
    >> +CONFIG_CBE_CPUFREQ_PMI=m

    >
    > Default n and experimental.



    OK, we don't need it.


    >> -# CONFIG_PPC_PS3 is not set
    >> +CONFIG_PPC_PS3=y
    >> +CONFIG_PS3_ADVANCED=y
    >> +CONFIG_PS3_HTAB_SIZE=20
    >> +# CONFIG_PS3_DYNAMIC_DMA is not set

    > +CONFIG_PS3_PS3AV=m
    >> +CONFIG_PS3_STORAGE=m
    >> +CONFIG_PS3_DISK=m
    >> +CONFIG_PS3_ROM=m
    >> +CONFIG_PS3_FLASH=m
    >> +CONFIG_PS3_LPM=m


    This is what I posted:

    +CONFIG_PPC_PS3=y
    +CONFIG_PS3_ADVANCED=y
    +CONFIG_PS3_HTAB_SIZE=20
    +# CONFIG_PS3_DYNAMIC_DMA is not set
    +CONFIG_PS3_VUART=y
    +CONFIG_PS3_PS3AV=y
    +CONFIG_PS3_SYS_MANAGER=y
    +CONFIG_PS3_STORAGE=m
    +CONFIG_PS3_DISK=m
    +CONFIG_PS3_ROM=m
    +CONFIG_PS3_FLASH=m
    +CONFIG_OPROFILE_PS3=m
    +CONFIG_PS3_LPM=m


    CONFIG_PS3_SYS_MANAGER is needed for proper operation.
    It controls button events and system shutdown.
    It could be a module, but is is small and with it
    built-in users can reboot without a forced power off
    if the root FS is not found.

    There is a 2.6.25 undefined symbol bug in PS3AV that
    won't allow it to be built as a module.

    If you don't want to support profiling, you can
    disable these:

    CONFIG_OPROFILE_PS3=n
    CONFIG_PS3_LPM=n


    >> -# CONFIG_GEN_RTC is not set
    >> +CONFIG_GEN_RTC=y

    >
    > Why?



    I am not so familiar with this option. I saw
    an RTC error message when this was not enabled.
    Maybe it is not needed?


    >> +CONFIG_GELIC_NET=m
    >> +CONFIG_GELIC_WIRELESS=y

    >
    >> +CONFIG_IBM_NEW_EMAC=m
    >> +CONFIG_IBM_NEW_EMAC_RXB=128
    >> +CONFIG_IBM_NEW_EMAC_TXB=64
    >> +CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32
    >> +CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256
    >> +CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0
    >> +# CONFIG_IBM_NEW_EMAC_DEBUG is not set

    >
    > Okay.
    >
    >> +CONFIG_FB_PS3=y

    >
    > Yeah, everyone wants its favorite fb built-in.



    We can make this a module, the trouble is that PS3
    can only output to the virtual frame buffer, and it
    comes up very late, so the there is a long delay
    between starting the boot and some text being displayed.
    Also, if there is a hang before that, the user is left
    with a blank screen.

    CONFIG_FB_PS3 depends on CONFIG_PS3_VUART and CONFIG_PS3_PS3AV.


    >> +CONFIG_FB_PS3_DEFAULT_SIZE_M=9



    We need this. It sets the default size of the virtual
    frame buffer. This setting will support up to 1080p or
    WUXGA resolution.


    >> +CONFIG_FB_LOGO_EXTRA=y
    >> +CONFIG_LOGO_LINUX_CLUT224=y

    >
    > Why?



    These put the SPE penguins up. Users seem to like (expect?)
    them:

    http://www.kernel.org/pub/linux/kern...nguin-shot.png

    They aren't needed if CONFIG_FB_PS3=m.

    Without CONFIG_LOGO_LINUX_CLUT224=y the SPE penguin images
    are not rendered correctly. I don't know why.


    >> +CONFIG_SND_PS3=m
    >> +CONFIG_SND_PS3_DEFAULT_START_DELAY=2000

    >
    > Okay.



    I can test your proposed config if you make it available to me.

    -Geoff





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

  11. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Wed, May 28, 2008 at 04:22:45PM -0700, Geoff Levand wrote:
    > Bastian Blank wrote:
    > >> +CONFIG_FB_PS3=y

    > >
    > > Yeah, everyone wants its favorite fb built-in.

    >
    > We can make this a module, the trouble is that PS3


    No, not in the current state of affairs, at least.

    Both the serial consoles and the framebuffer devices need to be builtin,
    as they are vital for early output.

    This is also the politic that Linus Torvalds had taken, when he insisted
    on having visible screen feedback as early as possible in the kernel.

    Doing anything else here will not do anyone a favour, and will make
    debugging more complicated, which will cost us in the end.

    Friendly,

    Sven Luther



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

  12. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    On Wed, May 28, 2008 at 04:22:45PM -0700, Geoff Levand wrote:
    > Bastian Blank wrote:
    > > On Wed, May 28, 2008 at 12:28:30PM -0700, Geoff Levand wrote:

    > CONFIG_PS3_SYS_MANAGER is needed for proper operation.
    > It controls button events and system shutdown.
    > It could be a module, but is is small and with it
    > built-in users can reboot without a forced power off
    > if the root FS is not found.


    Okay.

    > There is a 2.6.25 undefined symbol bug in PS3AV that
    > won't allow it to be built as a module.


    It is even unfixed in -rc4 and it is needed by FB_PS3.

    > >> -# CONFIG_GEN_RTC is not set
    > >> +CONFIG_GEN_RTC=y

    > > Why?

    > I am not so familiar with this option. I saw
    > an RTC error message when this was not enabled.


    Please show the error.

    > I can test your proposed config if you make it available to me.


    I commited large parts of it in the trunk.

    Bastian

    --
    Vulcans never bluff.
    -- Spock, "The Doomsday Machine", stardate 4202.1



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

  13. Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)

    Geoff Levand wrote:
    > Bastian Blank wrote:
    >>> >> -# CONFIG_GEN_RTC is not set
    >>> >> +CONFIG_GEN_RTC=y
    >>> > Why?
    >>> I am not so familiar with this option. I saw
    >>> an RTC error message when this was not enabled.

    >>
    >> Please show the error.

    >
    > This is the error:
    >
    > Setting the system clock.
    > Cannot access the Hardware Clock via any known method.
    > Use the --debug option to see the details of our search for an access method.
    > * Unable to set System Clock to: Fri May 30 20:33:06 UTC 2008
    >
    > ice:~# hwclock --debug
    > hwclock from util-linux-ng 2.13.1.1
    > hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
    > No usable clock interface found.
    > Cannot access the Hardware Clock via any known method.
    > ice:~# ls -l /dev/rtc*
    > ls: cannot access /dev/rtc*: No such file or directory
    >
    > The PS3 does not have an RTC driver. The PS3 platform code just hooks into
    > the standard powerpc ppc_md.set_rtc_time and ppc_md.get_rtc_time pointers
    > (arch/powerpc/platforms/ps3/time.c).
    >
    >>From what I understand the work to hookup the powerpc ppc_md. rtc routines

    > to the RTC_INTF_DEV routines has not been done. See here:
    >
    > http://marc.info/?t=120352654700002&r=1&w=2
    >
    > I'll look into this. I either need to make a gen_rtc driver for the
    > new rtc subsytem, or make a ps3 specific rtc driver.


    A patch to fix this problem is attached. It has been submitted
    for 2.6.27:

    http://patchwork.ozlabs.org/linuxppc/patch?id=18139

    With it there is a new driver rtc-ppc, enabled with CONFIG_RTC_DRV_PPC.

    Should I submit another bug report for this?

    -Geoff





+ Reply to Thread