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=12035265472r=1w=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 From [EMAIL PROTECTED] Fri Apr 25 19:29:12 2008 From: David Woodhouse [EMAIL PROTECTED] Subject: [PATCH, RESEND] RTC class driver for ppc_md RTC functions Date: Fri, 25 Apr 2008 19:29:12 +1000 X-Patchwork-ID: 18139 This hooks up the platform-specific [gs]et_rtc_time functions so that kernels using CONFIG_RTC_CLASS have RTC support on most PowerPC platforms. Signed-off-by: David Woodhouse [EMAIL PROTECTED] --- diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 1e6715e..3e788b7 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -461,4 +461,12 @@ config RTC_DRV_RS5C313 help If you say yes here you get support for the Ricoh RS5C313 RTC chips. +config RTC_DRV_PPC + tristate PowerPC machine dependent RTC support + depends on PPC_MERGE + help + The PowerPC kernel has machine-specific functions for accessing + the RTC. This exposes that functionality through the generic RTC + class. + endif # RTC_CLASS diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 465db4d..e822e56 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -49,3 +49,4 @@ obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o +obj-$(CONFIG_RTC_DRV_PPC) += rtc-ppc.o --- /dev/null 2007-12-03 03:08:41.854157978 + +++ b/drivers/rtc/rtc-ppc.c 2007-12-03 16:56:15.0 + @@ -0,0 +1,69 @@ +/* + * RTC driver for ppc_md RTC functions + * + * © 2007 Red Hat, Inc. + * + * Author: David Woodhouse [EMAIL PROTECTED] + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + + +#include linux/module.h +#include linux/err.h +#include linux/rtc.h +#include linux/platform_device.h +#include asm/machdep.h + +static int ppc_rtc_read_time(struct device *dev, struct rtc_time *tm) +{ + ppc_md.get_rtc_time(tm); + return 0; +} + +static int ppc_rtc_set_time(struct device *dev, struct rtc_time *tm) +{ + return ppc_md.set_rtc_time(tm); +} + +static const struct rtc_class_ops ppc_rtc_ops = { + .set_time = ppc_rtc_set_time, + .read_time = ppc_rtc_read_time, +}; + +static struct rtc_device *rtc; +static struct platform_device *ppc_rtc_pdev; + +static int __init ppc_rtc_init(void) +{ + if (!ppc_md.get_rtc_time || !ppc_md.set_rtc_time) + return -ENODEV; + + ppc_rtc_pdev = platform_device_register_simple(ppc-rtc, 0, NULL, 0); + if (IS_ERR(ppc_rtc_pdev)) + return PTR_ERR(ppc_rtc_pdev); + + rtc = rtc_device_register(ppc_md, ppc_rtc_pdev-dev, + ppc_rtc_ops, THIS_MODULE); + if (IS_ERR(rtc)) { + platform_device_unregister(ppc_rtc_pdev); + return PTR_ERR(rtc); + } + + return 0; +} + +static void __exit ppc_rtc_exit(void) +{ + rtc_device_unregister(rtc); + platform_device_unregister(ppc_rtc_pdev); +} + +module_init(ppc_rtc_init); +module_exit(ppc_rtc_exit); + +MODULE_LICENSE(GPL); +MODULE_AUTHOR(David Woodhouse [EMAIL PROTECTED]); +MODULE_DESCRIPTION(Generic RTC class driver for PowerPC); --- a/debian/config/powerpc/config.powerpc64 +++ b/debian/config/powerpc/config.powerpc64 @@ -155,6 +155,11 @@ CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0 ## # CONFIG_HOTPLUG_PCI is not set +### +### file: drivers/rtc/Kconfig +### +CONFIG_RTC_DRV_PPC=m + ## ## file: drivers/scsi/Kconfig ##
Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)
On Fri, 30 May 2008, Geoff Levand wrote: You don't have CONFIG_LOGO_LINUX_CLUT224 set, so the SPE logos are not rendered correctly. It looks like the lines of pixel are not aligned. Geert, can you say why? Is it a bug in the logo code? If there's no main logo, it also skips (using `return') drawing the extra SPE logos. I looked into it a few days ago, and came up with the patch below. But this is not sufficient to fix the issue, as fb_show_logo_line() needs fb_logo.logo. As this looks very low-priority to me, I didn't go further. --- drivers/video/fbmem.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -553,6 +553,7 @@ static inline int fb_show_extra_logos(st int fb_prepare_logo(struct fb_info *info, int rotate) { int depth = fb_get_color_depth(info-var, info-fix); + int height = 0; unsigned int yres; memset(fb_logo, 0, sizeof(struct logo_data)); @@ -574,12 +575,10 @@ int fb_prepare_logo(struct fb_info *info depth = 4; } - /* Return if no suitable logo was found */ + /* Skip if no suitable logo was found */ fb_logo.logo = fb_find_logo(depth); - - if (!fb_logo.logo) { - return 0; - } + if (!fb_logo.logo) + goto out; if (rotate == FB_ROTATE_UR || rotate == FB_ROTATE_UD) yres = info-var.yres; @@ -588,8 +587,9 @@ int fb_prepare_logo(struct fb_info *info if (fb_logo.logo-height yres) { fb_logo.logo = NULL; - return 0; + goto out; } + height = fb_logo.logo-height; /* What depth we asked for might be different from what we get */ if (fb_logo.logo-type == LINUX_LOGO_CLUT224) @@ -615,7 +615,8 @@ int fb_prepare_logo(struct fb_info *info } } - return fb_prepare_extra_logos(info, fb_logo.logo-height, yres); +out: + return fb_prepare_extra_logos(info, height, yres); } int fb_show_logo(struct fb_info *info, int rotate) 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: [EMAIL PROTECTED] 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 · BIC GEBABEBB08A · IBAN BE39001382358619
Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)
Bastian Blank wrote: On Wed, May 28, 2008 at 04:22:45PM -0700, Geoff Levand wrote: Bastian Blank wrote: 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. I just found that bug a few days ago (testing debian). It should go into -rc5. It went unfound for many months because no one builds the PS3 frame buffer as a module. It comes up too late. I think if you have it as a module, most users will complain about it. -# 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=12035265472r=1w=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. I can test your proposed config if you make it available to me. I commited large parts of it in the trunk. I tested it, and in general it works OK. I put the dmesg here: http://cell.gotdns.org/pub/debian-cell-kernel-2/ You don't have CONFIG_LOGO_LINUX_CLUT224 set, so the SPE logos are not rendered correctly. It looks like the lines of pixel are not aligned. Geert, can you say why? Is it a bug in the logo code? I'll do some more testing next week. -Geoff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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=0xc000 +# 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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/kernel/people/geoff/cell/debian-penguin-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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 GPLv2 I know my rights; I want my phone call! DRM What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 GPLv2 I know my rights; I want my phone call! DRM What use is a phone call… if you are unable to speak? (as seen on /.) diff -ur debian.old/config/powerpc/config.powerpc64 debian/config/powerpc/config.powerpc64 --- debian.old/config/powerpc/config.powerpc64 2008-05-15 17:25:31.0 +0200 +++ debian/config/powerpc/config.powerpc64 2008-05-15 17:32:01.0 +0200 @@ -72,7 +72,30 @@ ## ## file: arch/powerpc/platforms/ps3/Kconfig ## -# CONFIG_PPC_PS3 is not set +CONFIG_PPC_PS3=y +# CONFIG_PS3_ADVANCED is not set +CONFIG_PS3_HTAB_SIZE=20 +# CONFIG_PS3_DYNAMIC_DMA is not set +CONFIG_PS3_USE_LPAR_ADDR=y +CONFIG_PS3_VUART=y +CONFIG_PS3_PS3AV=y +CONFIG_PS3_SYS_MANAGER=m +CONFIG_PS3_STORAGE=y +CONFIG_PS3_DISK=y +CONFIG_PS3_ROM=y +CONFIG_PS3_FLASH=y +CONFIG_FB_PS3=y +CONFIG_FB_PS3_DEFAULT_SIZE_M=18 +CONFIG_SND_PS3=y +CONFIG_SND_PS3_DEFAULT_START_DELAY=2000 +CONFIG_GELIC_NET=m +CONFIG_GELIC_WIRELESS=y +CONFIG_PPC_CELL=y +# CONFIG_PPC_CELL_NATIVE is not set +# CONFIG_PPC_IBM_CELL_BLADE is not set +CONFIG_SPU_FS=y +CONFIG_SPU_BASE=y +# CONFIG_OPROFILE_CELL is not set ## ## file: arch/powerpc/platforms/pseries/Kconfig
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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: [EMAIL PROTECTED] 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
Bug#462529: linux-2.6: Add config file support for efika and PS3 (preliminary)
Package: linux-2.6 Version: 2.6.24-rc6 Severity: normal Tags: patch Add support for the Genesi Efika support, now that the patches are merged in 2.6.24. Also, some preliminary work for PS3 support, it didn't quite work on 2.6.24-rc6, but then it may be due to initramfs generation, or to the fact that most of the patches are still missing, but it cannot hurt to have those configuration options applied already. Sven Luther -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: powerpc (ppc64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-vserver-powerpc64 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) diff -ur linux-2.6-2.6.24~rc6/debian/changelog linux-2.6-2.6.24~rc6.2/debian/changelog --- linux-2.6-2.6.24~rc6/debian/changelog 2008-01-25 14:10:55.0 +0100 +++ linux-2.6-2.6.24~rc6.2/debian/changelog 2008-01-04 17:38:30.0 +0100 @@ -1,3 +1,15 @@ +linux-2.6 (2.6.24~rc6-1~experimental.1~powerdebian.1) powerdebian; urgency=low + + * Added Sony PS3 and Genesi Efika support. + + -- Sven Luther [EMAIL PROTECTED] Fri, 4 Jan 2008 17:37:42 +0100 + +linux-2.6 (2.6.24~rc6-1~experimental.1~snapshot.10024) kernel-dists-trunk; urgency=low + + * changelog + + -- Sven Luther [EMAIL PROTECTED] Fri, 4 Jan 2008 17:16:39 +0100 + linux-2.6 (2.6.24~rc6-1~experimental.1~snapshot.10023) kernel-dists-trunk; urgency=low * Snapshot. diff -ur linux-2.6-2.6.24~rc6/debian/config/powerpc/config.powerpc linux-2.6-2.6.24~rc6.2/debian/config/powerpc/config.powerpc --- linux-2.6-2.6.24~rc6/debian/config/powerpc/config.powerpc 2008-01-25 14:10:55.0 +0100 +++ linux-2.6-2.6.24~rc6.2/debian/config/powerpc/config.powerpc 2008-01-04 17:15:57.0 +0100 @@ -12,11 +12,22 @@ CONFIG_FB_IMSTT=y # CONFIG_PPC64 is not set CONFIG_CLASSIC32=y -CONFIG_SERIAL_MPC52xx=y -CONFIG_SERIAL_MPC52xx_CONSOLE=y -CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200 CONFIG_MII=y -CONFIG_PATA_MPC52xx=m CONFIG_SENSORS_AMS=m CONFIG_SENSORS_AMS_PMU=y CONFIG_SENSORS_AMS_I2C=y + +CONFIG_PPC_EFIKA=y +CONFIG_PPC_MPC52xx=y +CONFIG_SERIAL_MPC52xx=y +CONFIG_SERIAL_MPC52xx_CONSOLE=y +CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200 +CONFIG_PATA_MPC52xx=m +CONFIG_PPC_BESTCOMM=y +CONFIG_PPC_BESTCOMM_ATA=m +CONFIG_PPC_BESTCOMM_FEC=m +CONFIG_PPC_BESTCOMM_GEN_BD=m +CONFIG_FEC_MPC52xx=m +CONFIG_FEC_MPC52xx_MDIO=m +CONFIG_SND_PPC_MPC52xx_AC97=m +CONFIG_SPI_MPC52xx_PSC=m diff -ur linux-2.6-2.6.24~rc6/debian/config/powerpc/config.powerpc64 linux-2.6-2.6.24~rc6.2/debian/config/powerpc/config.powerpc64 --- linux-2.6-2.6.24~rc6/debian/config/powerpc/config.powerpc64 2008-01-25 14:10:55.0 +0100 +++ linux-2.6-2.6.24~rc6.2/debian/config/powerpc/config.powerpc64 2008-01-04 17:15:57.0 +0100 @@ -99,3 +99,29 @@ CONFIG_CMDLINE=console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0 # CONFIG_MV643XX_ETH is not set CONFIG_BLK_DEV_AMD74XX=m + +CONFIG_PPC_PS3=y +# CONFIG_PS3_ADVANCED is not set +CONFIG_PS3_HTAB_SIZE=20 +# CONFIG_PS3_DYNAMIC_DMA is not set +CONFIG_PS3_USE_LPAR_ADDR=y +CONFIG_PS3_VUART=y +CONFIG_PS3_PS3AV=y +CONFIG_PS3_SYS_MANAGER=m +CONFIG_PS3_STORAGE=y +CONFIG_PS3_DISK=y +CONFIG_PS3_ROM=y +CONFIG_PS3_FLASH=y +CONFIG_FB_PS3=y +CONFIG_FB_PS3_DEFAULT_SIZE_M=18 +CONFIG_SND_PS3=y +CONFIG_SND_PS3_DEFAULT_START_DELAY=2000 +CONFIG_GELIC_NET=m +CONFIG_GELIC_WIRELESS=y +CONFIG_PPC_CELL=y +# CONFIG_PPC_CELL_NATIVE is not set +# CONFIG_PPC_IBM_CELL_BLADE is not set +CONFIG_SPU_FS=y +CONFIG_SPU_BASE=y +# CONFIG_OPROFILE_CELL is not set +