Bug#706476: closed by Ben Hutchings b...@decadent.org.uk (Re: Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2))
On Wed, May 1, 2013 at 3:33 AM, Debian Bug Tracking System ow...@bugs.debian.org wrote: This is an automatic notification regarding your Bug report which was filed against the linux-image-3.2.0-4-486 package: #706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2) It has been closed by Ben Hutchings b...@decadent.org.uk. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Ben Hutchings b...@decadent.org.uk by replying to this email. -- 706476: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706476 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- Forwarded message -- From: Ben Hutchings b...@decadent.org.uk To: 706476-d...@bugs.debian.org Cc: Date: Wed, 01 May 2013 03:31:35 +0100 Subject: Re: Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2) On Tue, 2013-04-30 at 18:39 +0100, Ben Hutchings wrote: On Tue, Apr 30, 2013 at 05:22:56PM +0100, lkcl wrote: Package: linux-image-3.2.0-4-486 Severity: important discovered from another debian bugreport that pc-engines systems can be upgraded to more recent firmware and work with linux-image-3.2.0-4-486 (which is great!) and also discovered that the geodewdt kernel module has been compiled, which is also great (as it's missing from the 2.6.32 debian kernel builds) however what's not so great is that the GPIO 5535 kernel driver has been left out, and it is a requirement for the project. as native builds on 500mhz AMD Geodes take absolutely forever it would be nice if this could be corrected. kernel option is GPIO_CS5535 [...] That's odd, this was enabled in 3.1.0~rc4-1~experimental.1: * [i386] Enable GPIO_CS5535, MFD_CS5535, CS5535_MFGPT, CS5535_CLOCK_EVENT_SRC, GPIO_VX855, MFD_VX855 as modules; [i386/486] Enable OLPC_XO1_PM, OLPC_XO1_RTC, OLPC_XO1_SCI, OLPC_XO15_SCI (Closes: #639113) and is still enabled in the config files in the source package. There must be some new dependency that has forced it off again. I'll look at this later. It *is* still enabled, but it's built-in on the 486 flavour because OLPC_XO1_SCI selects it. thanks ben... investigating further: # PCI GPIO expanders: # CONFIG_GPIO_CS5535=y # CONFIG_GPIO_LANGWELL is not set CONFIG_GPIO_PCH=m CONFIG_GPIO_ML_IOH=m # CONFIG_GPIO_RDC321X is not set bizarre. so why the heck is i think it's changed quite a lot from 2.6.32, no major-minor numbers any more, to a generic GPIO interface which i've not yet understood/tracked down. so yes, more work to do but at least a route to investigate. thanks ben. l. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#706476: closed by Ben Hutchings b...@decadent.org.uk (Re: Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2))
On Wed, May 1, 2013 at 10:56 AM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: It *is* still enabled, but it's built-in on the 486 flavour because OLPC_XO1_SCI selects it. thanks ben... investigating further: # PCI GPIO expanders: # CONFIG_GPIO_CS5535=y # CONFIG_GPIO_LANGWELL is not set CONFIG_GPIO_PCH=m CONFIG_GPIO_ML_IOH=m # CONFIG_GPIO_RDC321X is not set bizarre. so why the heck is i think it's changed quite a lot from 2.6.32, no major-minor numbers any more, to a generic GPIO interface which i've not yet understood/tracked down. so yes, more work to do but at least a route to investigate. thanks ben. right. the issue is this: CONFIG_GPIO_CS5535 appears to hook into the standard linux kernel gpio subsystem (gpiolib), which is *not* exposed to userspace unless you set CONFIG_EXPERIMENTAL, CONFIG_SYSFS and CONFIG_SYSFS_GPIO. contrast this with 2.6.32 where CONFIG_CS5535_GPIO exposed GPIO directly into userspace as a major/minor device and you see what the issue is. # # Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. # CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_GPIOLIB=y # CONFIG_DEBUG_GPIO is not set # CONFIG_GPIO_SYSFS is not set right. that's the problem - CONFIG_GPIO_SYSFS isn't set. as this alix6f2 board is being used for pulling relays on powered equipment which is mission-critical, using the LEDs for status information, resetting the internal MiniPCIe modem if it goes belly-up and so on, this is a major functional step backwards, and we may have to return to the 2.6.32 kernel with *no* watchdog support. also of note is that i had to put this into modprobe.d for 2.6.32: cs5535_gpio options cs5535_gpio mask=0x this allows us to use GPIOs which were allocated to LEDs, buzzer and so on on *this* device, whereas other devices may use those GPIOs for functions that may not be appropriate for general use. in resolving this it would be appreciated to bear in mind that we *need* that mask value. also, if the GPIO_CS5535 module is built-in and GPIO_SYSFS is enabled as well, then there's the possibility that people will randomly poke around ... but only the once :) if these are done as modules then even if GPIO_SYSFS is built-in and populates /sys/class/gpio it will at least be empty until modprobe gpio_cs5535 is called (and in our case with the mask parameter), and that will only really be done by people who know what they're doing. now to work out how to re-open this bug :) l. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#706476: Info received (Bug#706476 closed by Ben Hutchings b...@decadent.org.uk (Re: Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2)))
i've added these at the end of debian/config/i386/none/config.i486 and then checked debian/build/build_i386_none_486/.config but CONFIG_GPIO_CS5535 had been modified to y, ah well. fakeroot make -f debian/rules.gen -j16 binary-arch_i386_none_486 still running... # # GPIOLIB and SYSFS # CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_GPIOLIB=y # CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_SYSFS=y # # PCI GPIO expanders: # CONFIG_GPIO_CS5535=m -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2)
Package: linux-image-3.2.0-4-486 Severity: important discovered from another debian bugreport that pc-engines systems can be upgraded to more recent firmware and work with linux-image-3.2.0-4-486 (which is great!) and also discovered that the geodewdt kernel module has been compiled, which is also great (as it's missing from the 2.6.32 debian kernel builds) however what's not so great is that the GPIO 5535 kernel driver has been left out, and it is a requirement for the project. as native builds on 500mhz AMD Geodes take absolutely forever it would be nice if this could be corrected. kernel option is GPIO_CS5535 -- System Information: Debian Release: 6.0.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2)
On Tue, Apr 30, 2013 at 05:22:56PM +0100, lkcl wrote: Package: linux-image-3.2.0-4-486 Severity: important discovered from another debian bugreport that pc-engines systems can be upgraded to more recent firmware and work with linux-image-3.2.0-4-486 (which is great!) and also discovered that the geodewdt kernel module has been compiled, which is also great (as it's missing from the 2.6.32 debian kernel builds) however what's not so great is that the GPIO 5535 kernel driver has been left out, and it is a requirement for the project. as native builds on 500mhz AMD Geodes take absolutely forever it would be nice if this could be corrected. kernel option is GPIO_CS5535 [...] That's odd, this was enabled in 3.1.0~rc4-1~experimental.1: * [i386] Enable GPIO_CS5535, MFD_CS5535, CS5535_MFGPT, CS5535_CLOCK_EVENT_SRC, GPIO_VX855, MFD_VX855 as modules; [i386/486] Enable OLPC_XO1_PM, OLPC_XO1_RTC, OLPC_XO1_SCI, OLPC_XO15_SCI (Closes: #639113) and is still enabled in the config files in the source package. There must be some new dependency that has forced it off again. I'll look at this later. Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#706476: linux-image-3.2.0-4-486: amd geode gpio-cs5535 module not being compiled (needed for alix6f2)
On Tue, Apr 30, 2013 at 6:39 PM, Ben Hutchings b...@decadent.org.uk wrote: On Tue, Apr 30, 2013 at 05:22:56PM +0100, lkcl wrote: Package: linux-image-3.2.0-4-486 Severity: important discovered from another debian bugreport that pc-engines systems can be upgraded to more recent firmware and work with linux-image-3.2.0-4-486 (which is great!) and also discovered that the geodewdt kernel module has been compiled, which is also great (as it's missing from the 2.6.32 debian kernel builds) however what's not so great is that the GPIO 5535 kernel driver has been left out, and it is a requirement for the project. as native builds on 500mhz AMD Geodes take absolutely forever it would be nice if this could be corrected. kernel option is GPIO_CS5535 [...] That's odd, this was enabled in 3.1.0~rc4-1~experimental.1: * [i386] Enable GPIO_CS5535, MFD_CS5535, CS5535_MFGPT, CS5535_CLOCK_EVENT_SRC, GPIO_VX855, MFD_VX855 as modules; [i386/486] Enable OLPC_XO1_PM, OLPC_XO1_RTC, OLPC_XO1_SCI, OLPC_XO15_SCI (Closes: #639113) and is still enabled in the config files in the source package. There must be some new dependency that has forced it off again. I'll look at this later. star, thanks ben, really appreciated. if i get clearance at work to spend more time on this i'll attempt a kernel build myself. i was expecting to upgrade and to build geodewdt, ironic that it's the other way round. l. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org