linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Defconfig support
@ 2009-01-20  4:21 Sean MacLennan
  2009-01-20 11:29 ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Sean MacLennan @ 2009-01-20  4:21 UTC (permalink / raw)
  To: linuxppc-dev

Since the list seems quiet right now, thought I would ask a question.
Up till now I haven't really worried about the warp defconfig being up
to date since, realistically, the stock kernel was not usable on the
warp. Since it usually boots from NAND, the lack of an ndfc driver
made it unbootable in a production system.

However, the 2.6.29 kernel will boot, so the defconfig problem becomes
more acute. The problem is keeping the changes that are required for
the warp while also handling the normal changes that happen every
release.

For example, the current git diff shows CONFIG_SIMPLE_GPIO which is
just a new feature and can be safely left unset. But the watchdog made
it into the kernel, so CONFIG_PIKA_WDT should be set for a warp.

Any ideas for a good way of handling this?

Cheers,
   Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Defconfig support
  2009-01-20  4:21 Defconfig support Sean MacLennan
@ 2009-01-20 11:29 ` Josh Boyer
  2009-01-21  1:09   ` Sean MacLennan
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Boyer @ 2009-01-20 11:29 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: linuxppc-dev

On Mon, Jan 19, 2009 at 11:21:36PM -0500, Sean MacLennan wrote:
>Since the list seems quiet right now, thought I would ask a question.
>Up till now I haven't really worried about the warp defconfig being up
>to date since, realistically, the stock kernel was not usable on the
>warp. Since it usually boots from NAND, the lack of an ndfc driver
>made it unbootable in a production system.
>
>However, the 2.6.29 kernel will boot, so the defconfig problem becomes
>more acute. The problem is keeping the changes that are required for
>the warp while also handling the normal changes that happen every
>release.
>
>For example, the current git diff shows CONFIG_SIMPLE_GPIO which is
>just a new feature and can be safely left unset. But the watchdog made
>it into the kernel, so CONFIG_PIKA_WDT should be set for a warp.
>
>Any ideas for a good way of handling this?

You can certainly send me patches for defconfig updates.  I go through
and update them all (via make xxx_defconfig; make oldconfig) after -rc2
is available, but I might not set everything exactly as you would want
to see it.

If there's a chicken/egg problem in that there are drivers or changes
that went upstream but aren't in the powerpc branches yet for one reason
or another, you can poke me about getting things pulled in.

Since I'll be doing defconfig updates today, just tell me which options
you need set or disabled.

josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Defconfig support
  2009-01-20 11:29 ` Josh Boyer
@ 2009-01-21  1:09   ` Sean MacLennan
  2009-01-21  1:15     ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Sean MacLennan @ 2009-01-21  1:09 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linuxppc-dev

On Tue, 20 Jan 2009 06:29:30 -0500
"Josh Boyer" <jwboyer@linux.vnet.ibm.com> wrote:

> Since I'll be doing defconfig updates today, just tell me which
> options you need set or disabled.

Let's try this patch and see how it goes. If it doesn't apply easily, I
will just give you a list. 

Note a few of the options will be disabled with the make oldconfig and
that is fine.

The ones I know will be disabled are the PIKA_SD driver and the
PIKA_LEDS driver. Also I don't think it will let you disabled
SCSI_WAIT_SCAN :( You have to patch a Kconfig for that.

Cheers,
   Sean

--- /tmp/orig-config	2009-01-20 19:49:57.000000000 -0500
+++ arch/powerpc/configs/44x/warp_defconfig	2009-01-20 19:59:23.000000000 -0500
@@ -390,7 +390,7 @@
 CONFIG_MTD_PARTITIONS=y
 # CONFIG_MTD_TESTS is not set
 # CONFIG_MTD_REDBOOT_PARTS is not set
-# CONFIG_MTD_CMDLINE_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_OF_PARTS=y
 # CONFIG_MTD_AR7_PARTS is not set
 
@@ -405,7 +405,7 @@
 # CONFIG_INFTL is not set
 # CONFIG_RFD_FTL is not set
 # CONFIG_SSFDC is not set
-CONFIG_MTD_OOPS=m
+# CONFIG_MTD_OOPS is not set
 
 #
 # RAM/ROM/Flash chip drivers
@@ -459,7 +459,7 @@
 CONFIG_MTD_NAND_ECC_SMC=y
 # CONFIG_MTD_NAND_MUSEUM_IDS is not set
 CONFIG_MTD_NAND_IDS=y
-# CONFIG_MTD_NAND_NDFC is not set
+CONFIG_MTD_NAND_NDFC=y
 # CONFIG_MTD_NAND_DISKONCHIP is not set
 # CONFIG_MTD_NAND_NANDSIM is not set
 # CONFIG_MTD_NAND_PLATFORM is not set
@@ -529,7 +529,7 @@
 # CONFIG_SCSI_CONSTANTS is not set
 # CONFIG_SCSI_LOGGING is not set
 # CONFIG_SCSI_SCAN_ASYNC is not set
-CONFIG_SCSI_WAIT_SCAN=m
+# CONFIG_SCSI_WAIT_SCAN is not set
 
 #
 # SCSI Transports
@@ -663,7 +663,7 @@
 #
 # I2C system bus drivers (mostly embedded / system-on-chip)
 #
-# CONFIG_I2C_IBM_IIC is not set
+CONFIG_I2C_IBM_IIC=y
 # CONFIG_I2C_MPC is not set
 # CONFIG_I2C_OCORES is not set
 # CONFIG_I2C_SIMTEC is not set
@@ -685,8 +685,8 @@
 # Miscellaneous I2C Chip support
 #
 # CONFIG_DS1682 is not set
-# CONFIG_AT24 is not set
-CONFIG_SENSORS_EEPROM=y
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
 # CONFIG_SENSORS_PCF8574 is not set
 # CONFIG_PCF8575 is not set
 # CONFIG_SENSORS_PCA9539 is not set
@@ -704,7 +704,7 @@
 # CONFIG_POWER_SUPPLY is not set
 CONFIG_HWMON=y
 # CONFIG_HWMON_VID is not set
-# CONFIG_SENSORS_AD7414 is not set
+CONFIG_SENSORS_AD7414=y
 # CONFIG_SENSORS_AD7418 is not set
 # CONFIG_SENSORS_ADM1021 is not set
 # CONFIG_SENSORS_ADM1025 is not set
@@ -757,8 +757,21 @@
 # CONFIG_SENSORS_W83627EHF is not set
 # CONFIG_HWMON_DEBUG_CHIP is not set
 CONFIG_THERMAL=y
-# CONFIG_THERMAL_HWMON is not set
-# CONFIG_WATCHDOG is not set
+CONFIG_THERMAL_HWMON=y
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_PIKA_WDT=y
+# CONFIG_BOOKE_WDT is not set
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
 CONFIG_SSB_POSSIBLE=y
 
 #
@@ -916,14 +929,14 @@
 #
 # OTG and related infrastructure
 #
-CONFIG_MMC=m
+CONFIG_MMC=y
 # CONFIG_MMC_DEBUG is not set
 # CONFIG_MMC_UNSAFE_RESUME is not set
 
 #
 # MMC/SD/SDIO Card Drivers
 #
-CONFIG_MMC_BLOCK=m
+CONFIG_MMC_BLOCK=y
 CONFIG_MMC_BLOCK_BOUNCE=y
 # CONFIG_SDIO_UART is not set
 # CONFIG_MMC_TEST is not set
@@ -933,9 +946,21 @@
 #
 # CONFIG_MMC_SDHCI is not set
 # CONFIG_MMC_WBSD is not set
-# CONFIG_MMC_PIKASD is not set
+CONFIG_MMC_PIKASD=y
 # CONFIG_MEMSTICK is not set
-# CONFIG_NEW_LEDS is not set
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+
+#
+# LED drivers
+#
+CONFIG_LEDS_WARP=y
+# CONFIG_LEDS_PCA955X is not set
+
+#
+# LED Triggers
+#
+# CONFIG_LEDS_TRIGGERS is not set
 # CONFIG_ACCESSIBILITY is not set
 # CONFIG_EDAC is not set
 # CONFIG_RTC_CLASS is not set
@@ -949,8 +974,11 @@
 CONFIG_EXT2_FS=y
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
-# CONFIG_EXT3_FS is not set
+CONFIG_EXT3_FS=y
+# CONFIG_EXT3_FS_XATTR is not set
 # CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+# CONFIG_JBD_DEBUG is not set
 # CONFIG_REISERFS_FS is not set
 # CONFIG_JFS_FS is not set
 # CONFIG_FS_POSIX_ACL is not set
@@ -990,7 +1018,8 @@
 CONFIG_PROC_SYSCTL=y
 CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_SYSFS=y
-# CONFIG_TMPFS is not set
+CONFIG_TMPFS=y
+# CONFIG_TMPFS_POSIX_ACL is not set
 # CONFIG_HUGETLB_PAGE is not set
 # CONFIG_CONFIGFS_FS is not set
 CONFIG_MISC_FILESYSTEMS=y
@@ -1178,7 +1207,7 @@
 # CONFIG_FTR_FIXUP_SELFTEST is not set
 # CONFIG_MSI_BITMAP_SELFTEST is not set
 # CONFIG_XMON is not set
-# CONFIG_IRQSTACKS is not set
+CONFIG_IRQSTACKS=y
 # CONFIG_VIRQ_DEBUG is not set
 CONFIG_BDI_SWITCH=y
 # CONFIG_PPC_EARLY_DEBUG is not set

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Defconfig support
  2009-01-21  1:09   ` Sean MacLennan
@ 2009-01-21  1:15     ` Josh Boyer
  0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2009-01-21  1:15 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: linuxppc-dev

On Tue, Jan 20, 2009 at 08:09:36PM -0500, Sean MacLennan wrote:
>On Tue, 20 Jan 2009 06:29:30 -0500
>"Josh Boyer" <jwboyer@linux.vnet.ibm.com> wrote:
>
>> Since I'll be doing defconfig updates today, just tell me which
>> options you need set or disabled.
>
>Let's try this patch and see how it goes. If it doesn't apply easily, I
>will just give you a list. 
>
>Note a few of the options will be disabled with the make oldconfig and
>that is fine.
>
>The ones I know will be disabled are the PIKA_SD driver and the
>PIKA_LEDS driver. Also I don't think it will let you disabled
>SCSI_WAIT_SCAN :( You have to patch a Kconfig for that.

OK, I'll work these in tonight and then send them Ben's way.

josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-21  1:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20  4:21 Defconfig support Sean MacLennan
2009-01-20 11:29 ` Josh Boyer
2009-01-21  1:09   ` Sean MacLennan
2009-01-21  1:15     ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).