[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Minimal powerpc kernel, miboot users please test (Was Re: modularized powerpc kernel)



On Thu, Oct 23, 2003 at 06:14:29PM +0200, Sven Luther wrote:
> Mmm, could you look at the /boot/config-2.4.22-powerpc file, and try to
> adapt it, and build a kernel which does work for you ? Even if this
> means adding some stuff, we have to isolate where the problem is.
> 
> I will upload 2.4.22-2 as is though, as it will need to pass the NEW
> queue anyway, and we can fix the powerpc-small config in a future -3
> release.

Aha! I got a working kernel. I guess I know more than I think I do :)

Here is the diff for the config, from your -small config. I really
don't know which of these were essential, I ended up with only 59k
free space on the floppy. But I guess that's enough.

Also, whoever can work on it to make it part of the d-i build: I put
the script to generate the floppy miBoot image (stolen from
boot-floppies), and the necessary pieces, plus the resulting floppy
image, at

http://members.cox.net/toff1/miBoot.tgz

The floppy boots and loads the woody root.bin on my clone machine.
I'll try to test on a 9500 later if I get a chance. I couldn't test
the sarge root.bin yet, the one I had handy (from a last week's CD)
was too big for a floppy.

--- boot/config-2.4.22-powerpc-small	Wed Oct 22 10:43:36 2003
+++ miBoot/config	Thu Oct 23 22:52:29 2003
@@ -90,7 +90,7 @@
 # CONFIG_PARPORT_SUNBPP is not set
 # CONFIG_PARPORT_OTHER is not set
 CONFIG_PARPORT_1284=y
-CONFIG_GEN_RTC=m
+CONFIG_GEN_RTC=y
 CONFIG_PPC601_SYNC_FIX=y
 CONFIG_PROC_DEVICETREE=y
 CONFIG_PPC_RTAS=y
@@ -369,11 +369,11 @@
 #
 # CONFIG_BLK_DEV_HD_IDE is not set
 # CONFIG_BLK_DEV_HD is not set
-CONFIG_BLK_DEV_IDEDISK=m
+CONFIG_BLK_DEV_IDEDISK=y
 # CONFIG_IDEDISK_MULTI_MODE is not set
 # CONFIG_IDEDISK_STROKE is not set
 CONFIG_BLK_DEV_IDECS=m
-CONFIG_BLK_DEV_IDECD=m
+CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDETAPE=m
 CONFIG_BLK_DEV_IDEFLOPPY=m
 CONFIG_BLK_DEV_IDESCSI=m
@@ -442,12 +442,12 @@
 #
 # SCSI support
 #
-CONFIG_SCSI=m
+CONFIG_SCSI=y
 
 #
 # SCSI support type (disk, tape, CD-ROM)
 #
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
 CONFIG_SD_EXTRA_DEVS=40
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
@@ -558,10 +558,10 @@
 CONFIG_SCSI_U14_34F_MAX_TAGS=8
 # CONFIG_SCSI_NSP32 is not set
 CONFIG_SCSI_DEBUG=m
-CONFIG_SCSI_MESH=m
+CONFIG_SCSI_MESH=y
 CONFIG_SCSI_MESH_SYNC_RATE=5
 CONFIG_SCSI_MESH_RESET_DELAY_MS=4000
-CONFIG_SCSI_MAC53C94=m
+CONFIG_SCSI_MAC53C94=y
 
 #
 # PCMCIA SCSI adapter support
@@ -626,7 +626,7 @@
 # Ethernet (10 or 100Mbit)
 #
 CONFIG_NET_ETHERNET=y
-CONFIG_MACE=m
+CONFIG_MACE=y
 # CONFIG_MACE_AAUI_PORT is not set
 CONFIG_BMAC=m
 CONFIG_GMAC=m
@@ -1105,8 +1105,8 @@
 # Input core support
 #
 CONFIG_INPUT=y
-CONFIG_INPUT_KEYBDEV=m
-CONFIG_INPUT_MOUSEDEV=m
+CONFIG_INPUT_KEYBDEV=y
+CONFIG_INPUT_MOUSEDEV=y
 CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
 CONFIG_INPUT_JOYDEV=m
@@ -1264,7 +1264,7 @@
 # CONFIG_AMD7XX_TCO is not set
 # CONFIG_SCx200_GPIO is not set
 # CONFIG_AMD_PM768 is not set
-CONFIG_NVRAM=m
+CONFIG_NVRAM=y
 # CONFIG_RTC is not set
 CONFIG_DTLK=m
 CONFIG_R3964=m
@@ -1352,7 +1352,7 @@
 # CONFIG_ADFS_FS_RW is not set
 CONFIG_AFFS_FS=m
 CONFIG_ASFS_FS=m
-CONFIG_HFS_FS=m
+CONFIG_HFS_FS=y
 CONFIG_HFSPLUS_FS=m
 CONFIG_BEFS_FS=m
 # CONFIG_BEFS_DEBUG is not set
@@ -1753,7 +1753,7 @@
 #
 # CONFIG_CRC32 is not set
 CONFIG_ZLIB_INFLATE=y
-CONFIG_ZLIB_DEFLATE=m
+CONFIG_ZLIB_DEFLATE=y
 
 #
 # Kernel hacking


-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net



Reply to: