linuxppc-2.5 CONFIG_BOOT_LOAD undefined
/usr/bin/time make oldconfig zImage modules modules_install INSTALL_MOD_PATH=pwd &>log
olaf@mango:~/linux-2.6.0-test3-lxppc25> tail log
--set-section-flags=.image=contents,alloc,load,readonly,data \
arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.old -T arch/ppc/boot/ld.script -Ttext -Bstatic -o arch/ppc/boot/simple/zvmlinux arch/ppc/boot/simple/head.o arch/ppc/boot/simple/relocate.o arch/ppc/boot/simple/misc.o arch/ppc/boot/simple/image.o arch/ppc/boot/common/lib.a arch/ppc/boot/lib/lib.a
ld: invalid hex number `-Bstatic'
make[2]: *** [arch/ppc/boot/simple/zvmlinux] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
Command exited with non-zero status 2
1375.30user 103.63system 24:56.21elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1591311major+1490305minor)pagefaults 0swaps
olaf@mango:~/linux-2.6.0-test3-lxppc25> grep -wr CONFIG_BOOT_LOAD .configCONFIG_BOOT_LOAD=0x00800000
-Ttext wants an address, arch/ppc/boot/simple/Makefile does not include the .config for some reasons.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 17 lines · Olaf Hering
/usr/bin/timemake oldconfig zImage modulesmodules_installINSTALL_MOD_PATH=pwd&>logolaf@mango:~/linux-2.6.0-test3-lxppc25> tail log
--set-section-flags=.image=contents,alloc,load,readonly,data \ arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.old -T
arch/ppc/boot/ld.script-Ttext -Bstatic -oarch/ppc/boot/simple/zvmlinuxarch/ppc/boot/simple/head.oarch/ppc/boot/simple/relocate.oarch/ppc/boot/simple/misc.oarch/ppc/boot/simple/image.oarch/ppc/boot/common/lib.aarch/ppc/boot/lib/lib.a
ld: invalid hex number `-Bstatic'
make[2]: *** [arch/ppc/boot/simple/zvmlinux] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
Command exited with non-zero status 2
1375.30user 103.63system 24:56.21elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1591311major+1490305minor)pagefaults 0swaps
olaf@mango:~/linux-2.6.0-test3-lxppc25> grep -wrCONFIG_BOOT_LOAD.configCONFIG_BOOT_LOAD=0x00800000
Quoted 2 lines
-Ttext wants an address,
arch/ppc/boot/simple/Makefiledoes not include the .config for some reasons.
What's your whole .config? This error pops up from time to time, but only just from time to time.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Tom Rini
Quoted 2 lines · Olaf Hering
-Ttext wants an address,
arch/ppc/boot/simple/Makefiledoes not include the .config for some reasons.What's your whole .config? This error pops up from time to time, but only just from time to time.
CONFIG_MMU=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_HAVE_DEC_LOCK=yCONFIG_EXPERIMENTAL=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_MODULES=yCONFIG_OBSOLETE_MODPARM=yCONFIG_MODVERSIONS=yCONFIG_KMOD=yCONFIG_PPC=yCONFIG_PPC32=y
CONFIG_6xx=yCONFIG_PM=yCONFIG_GENERIC_ISA_DMA=yCONFIG_PPC_STD_MMU=yCONFIG_PPC_MULTIPLATFORM=yCONFIG_PPC_CHRP=yCONFIG_PPC_PMAC=yCONFIG_PPC_PREP=yCONFIG_PPC_OF=yCONFIG_TAU=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_KCORE_ELF=yCONFIG_KERNEL_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=mCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=yCONFIG_PROC_DEVICETREE=yCONFIG_PPCBUG_NVRAM=yCONFIG_HIGHMEM_START=0xfe000000CONFIG_LOWMEM_SIZE=0x30000000CONFIG_KERNEL_START=0xc0000000CONFIG_TASK_SIZE=0x80000000CONFIG_BOOT_LOAD=0x00800000CONFIG_FW_LOADER=mCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=123456CONFIG_BLK_DEV_INITRD=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_ADMA=yCONFIG_BLK_DEV_IDE_PMAC=yCONFIG_BLK_DEV_IDEDMA_PMAC=yCONFIG_BLK_DEV_IDEDMA_PMAC_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_AUTO=yCONFIG_SCSI=mCONFIG_BLK_DEV_SD=mCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=mCONFIG_SCSI_REPORT_LUNS=yCONFIG_SCSI_CONSTANTS=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_SYN_COOKIES=yCONFIG_IPV6_SCTP__=yCONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_CRC32=yCONFIG_SUNGEM=mCONFIG_NET_TULIP=yCONFIG_DE2104X=yCONFIG_TULIP=yCONFIG_TULIP_MMIO=yCONFIG_DE4X5=mCONFIG_FB=yCONFIG_FB_ATY=yCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GX=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_PCI_CONSOLE=yCONFIG_FONTS=y
CONFIG_FONT_6x11=yCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_TSDEV=mCONFIG_INPUT_TSDEV_SCREEN_X=240CONFIG_INPUT_TSDEV_SCREEN_Y=320CONFIG_INPUT_EVDEV=mCONFIG_INPUT_EVBUG=mCONFIG_SOUND_GAMEPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_INPUT_MOUSE=yCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_IFORCE=mCONFIG_JOYSTICK_IFORCE_USB=yCONFIG_INPUT_JOYDUMP=mCONFIG_INPUT_TOUCHSCREEN=yCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=yCONFIG_INPUT_UINPUT=mCONFIG_ADB_CUDA=yCONFIG_ADB_PMU=yCONFIG_PMAC_PBOOK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=yCONFIG_ADB=yCONFIG_ADB_MACIO=yCONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_I2C=mCONFIG_I2C_KEYWEST=mCONFIG_I2C_CHARDEV=mCONFIG_BUSMOUSE=yCONFIG_NVRAM=yCONFIG_GEN_RTC=yCONFIG_EXT2_FS=yCONFIG_AUTOFS_FS=mCONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_ZISOFS_FS=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_SUNRPC=yCONFIG_PARTITION_ADVANCED=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_ISO8859_1=mCONFIG_SOUND=mCONFIG_SND=mCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_DUMMY=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=mCONFIG_SND_POWERMAC=mCONFIG_SND_USB_AUDIO=mCONFIG_USB=mCONFIG_USB_DEVICEFS=yCONFIG_USB_OHCI_HCD=mCONFIG_USB_AUDIO=mCONFIG_USB_BLUETOOTH_TTY=mCONFIG_USB_MIDI=mCONFIG_USB_ACM=mCONFIG_USB_PRINTER=mCONFIG_USB_STORAGE=mCONFIG_USB_STORAGE_DATAFAB=yCONFIG_USB_STORAGE_FREECOM=yCONFIG_USB_STORAGE_ISD200=yCONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=yCONFIG_USB_STORAGE_SDDR09=yCONFIG_USB_STORAGE_SDDR55=yCONFIG_USB_STORAGE_JUMPSHOT=yCONFIG_USB_HID=mCONFIG_USB_HIDINPUT=yCONFIG_HID_FF=yCONFIG_HID_PID=yCONFIG_LOGITECH_FF=yCONFIG_THRUSTMASTER_FF=yCONFIG_USB_HIDDEV=yCONFIG_USB_AIPTEK=mCONFIG_USB_WACOM=mCONFIG_USB_KBTAB=mCONFIG_USB_POWERMATE=mCONFIG_USB_XPAD=mCONFIG_USB_SCANNER=mCONFIG_USB_MICROTEK=mCONFIG_USB_HPUSBSCSI=mCONFIG_USB_DABUSB=mCONFIG_USB_AX8817X=mCONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=mCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_GENESYS=yCONFIG_USB_NET1080=yCONFIG_USB_PL2301=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_ZAURUS=yCONFIG_USB_CDCETHER=yCONFIG_USB_SERIAL=mCONFIG_USB_SERIAL_GENERIC=yCONFIG_USB_SERIAL_BELKIN=mCONFIG_USB_SERIAL_DIGI_ACCELEPORT=mCONFIG_USB_SERIAL_EMPEG=mCONFIG_USB_SERIAL_FTDI_SIO=mCONFIG_USB_SERIAL_VISOR=mCONFIG_USB_SERIAL_IPAQ=mCONFIG_USB_SERIAL_IR=mCONFIG_USB_SERIAL_EDGEPORT=mCONFIG_USB_SERIAL_EDGEPORT_TI=mCONFIG_USB_SERIAL_KEYSPAN_PDA=mCONFIG_USB_SERIAL_KEYSPAN=mCONFIG_USB_SERIAL_KEYSPAN_MPR=yCONFIG_USB_SERIAL_KEYSPAN_USA28=yCONFIG_USB_SERIAL_KEYSPAN_USA28X=yCONFIG_USB_SERIAL_KEYSPAN_USA28XA=yCONFIG_USB_SERIAL_KEYSPAN_USA28XB=yCONFIG_USB_SERIAL_KEYSPAN_USA19=yCONFIG_USB_SERIAL_KEYSPAN_USA18X=yCONFIG_USB_SERIAL_KEYSPAN_USA19W=yCONFIG_USB_SERIAL_KEYSPAN_USA19QW=yCONFIG_USB_SERIAL_KEYSPAN_USA19QI=yCONFIG_USB_SERIAL_KEYSPAN_USA49W=yCONFIG_USB_SERIAL_KEYSPAN_USA49WLC=yCONFIG_USB_SERIAL_KLSI=mCONFIG_USB_SERIAL_KOBIL_SCT=mCONFIG_USB_SERIAL_MCT_U232=mCONFIG_USB_SERIAL_PL2303=mCONFIG_USB_SERIAL_SAFE=mCONFIG_USB_SERIAL_SAFE_PADDED=yCONFIG_USB_SERIAL_CYBERJACK=mCONFIG_USB_SERIAL_XIRCOM=mCONFIG_USB_SERIAL_OMNINET=mCONFIG_USB_EZUSB=yCONFIG_USB_EMI26=mCONFIG_USB_TIGL=mCONFIG_USB_AUERSWALD=mCONFIG_USB_RIO500=mCONFIG_USB_BRLVGER=mCONFIG_USB_LCD=mCONFIG_USB_TEST=mCONFIG_USB_GADGET=mCONFIG_USB_NET2280=mCONFIG_USB_ZERO=mCONFIG_USB_ZERO_NET2280=yCONFIG_USB_ETH=mCONFIG_USB_ETH_NET2280=yCONFIG_ZLIB_INFLATE=yCONFIG_DEBUG_KERNEL=yCONFIG_MAGIC_SYSRQ=y
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 17 lines · Olaf Hering
/usr/bin/timemake oldconfig zImage modulesmodules_installINSTALL_MOD_PATH=pwd&>logolaf@mango:~/linux-2.6.0-test3-lxppc25> tail log
--set-section-flags=.image=contents,alloc,load,readonly,data \ arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.old -T
arch/ppc/boot/ld.script-Ttext -Bstatic -oarch/ppc/boot/simple/zvmlinuxarch/ppc/boot/simple/head.oarch/ppc/boot/simple/relocate.oarch/ppc/boot/simple/misc.oarch/ppc/boot/simple/image.oarch/ppc/boot/common/lib.aarch/ppc/boot/lib/lib.a
ld: invalid hex number `-Bstatic'
make[2]: *** [arch/ppc/boot/simple/zvmlinux] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
Command exited with non-zero status 2
1375.30user 103.63system 24:56.21elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1591311major+1490305minor)pagefaults 0swaps
olaf@mango:~/linux-2.6.0-test3-lxppc25> grep -wrCONFIG_BOOT_LOAD.configCONFIG_BOOT_LOAD=0x00800000
Quoted 2 lines
-Ttext wants an address,
arch/ppc/boot/simple/Makefiledoes not include the .config for some reasons.
I just noticed something. With the .config you posted (and with IDE disabled, as it doesn't work in current linus bk):
$ find arch/ppc/boot -name *.o | grep simple arch/ppc/boot/simple/legacy.o $
Are you sure you sent the correct .config ?
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 1 line · Tom Rini
Are you sure you sent the correct .config ?
maybe I screwed it, here is it again.
boots on an ibook1 at least.
CONFIG_MMU=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_HAVE_DEC_LOCK=yCONFIG_EXPERIMENTAL=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_MODULES=yCONFIG_OBSOLETE_MODPARM=yCONFIG_MODVERSIONS=yCONFIG_KMOD=yCONFIG_PPC=yCONFIG_PPC32=y
CONFIG_6xx=yCONFIG_PM=yCONFIG_GENERIC_ISA_DMA=yCONFIG_PPC_STD_MMU=yCONFIG_PPC_MULTIPLATFORM=yCONFIG_PPC_CHRP=yCONFIG_PPC_PMAC=yCONFIG_PPC_PREP=yCONFIG_PPC_OF=yCONFIG_TAU=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_KCORE_ELF=yCONFIG_KERNEL_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=mCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=yCONFIG_PROC_DEVICETREE=yCONFIG_PPCBUG_NVRAM=yCONFIG_HIGHMEM_START=0xfe000000CONFIG_LOWMEM_SIZE=0x30000000CONFIG_KERNEL_START=0xc0000000CONFIG_TASK_SIZE=0x80000000CONFIG_BOOT_LOAD=0x00800000CONFIG_FW_LOADER=mCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=123456CONFIG_BLK_DEV_INITRD=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_ADMA=yCONFIG_BLK_DEV_IDE_PMAC=yCONFIG_BLK_DEV_IDEDMA_PMAC=yCONFIG_BLK_DEV_IDEDMA_PMAC_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_AUTO=yCONFIG_SCSI=mCONFIG_BLK_DEV_SD=mCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=mCONFIG_SCSI_REPORT_LUNS=yCONFIG_SCSI_CONSTANTS=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_SYN_COOKIES=yCONFIG_IPV6_SCTP__=yCONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_CRC32=yCONFIG_SUNGEM=mCONFIG_NET_TULIP=yCONFIG_DE2104X=yCONFIG_TULIP=yCONFIG_TULIP_MMIO=yCONFIG_DE4X5=mCONFIG_FB=yCONFIG_FB_ATY=yCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GX=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_PCI_CONSOLE=yCONFIG_FONTS=y
CONFIG_FONT_6x11=yCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_TSDEV=mCONFIG_INPUT_TSDEV_SCREEN_X=240CONFIG_INPUT_TSDEV_SCREEN_Y=320CONFIG_INPUT_EVDEV=mCONFIG_INPUT_EVBUG=mCONFIG_SOUND_GAMEPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_INPUT_MOUSE=yCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_IFORCE=mCONFIG_JOYSTICK_IFORCE_USB=yCONFIG_INPUT_JOYDUMP=mCONFIG_INPUT_TOUCHSCREEN=yCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=yCONFIG_INPUT_UINPUT=mCONFIG_ADB_CUDA=yCONFIG_ADB_PMU=yCONFIG_PMAC_PBOOK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=yCONFIG_ADB=yCONFIG_ADB_MACIO=yCONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_I2C=mCONFIG_I2C_KEYWEST=mCONFIG_I2C_CHARDEV=mCONFIG_BUSMOUSE=yCONFIG_NVRAM=yCONFIG_GEN_RTC=yCONFIG_EXT2_FS=yCONFIG_AUTOFS_FS=mCONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_ZISOFS_FS=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_SUNRPC=yCONFIG_PARTITION_ADVANCED=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_ISO8859_1=mCONFIG_SOUND=mCONFIG_SND=mCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_DUMMY=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=mCONFIG_SND_POWERMAC=mCONFIG_SND_USB_AUDIO=mCONFIG_USB=mCONFIG_USB_DEVICEFS=yCONFIG_USB_OHCI_HCD=mCONFIG_USB_AUDIO=mCONFIG_USB_BLUETOOTH_TTY=mCONFIG_USB_MIDI=mCONFIG_USB_ACM=mCONFIG_USB_PRINTER=mCONFIG_USB_STORAGE=mCONFIG_USB_STORAGE_DATAFAB=yCONFIG_USB_STORAGE_FREECOM=yCONFIG_USB_STORAGE_ISD200=yCONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=yCONFIG_USB_STORAGE_SDDR09=yCONFIG_USB_STORAGE_SDDR55=yCONFIG_USB_STORAGE_JUMPSHOT=yCONFIG_USB_HID=mCONFIG_USB_HIDINPUT=yCONFIG_HID_FF=yCONFIG_HID_PID=yCONFIG_LOGITECH_FF=yCONFIG_THRUSTMASTER_FF=yCONFIG_USB_HIDDEV=yCONFIG_USB_AIPTEK=mCONFIG_USB_WACOM=mCONFIG_USB_KBTAB=mCONFIG_USB_POWERMATE=mCONFIG_USB_XPAD=mCONFIG_USB_SCANNER=mCONFIG_USB_MICROTEK=mCONFIG_USB_HPUSBSCSI=mCONFIG_USB_DABUSB=mCONFIG_USB_AX8817X=mCONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=mCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_GENESYS=yCONFIG_USB_NET1080=yCONFIG_USB_PL2301=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_ZAURUS=yCONFIG_USB_CDCETHER=yCONFIG_USB_SERIAL=mCONFIG_USB_SERIAL_GENERIC=yCONFIG_USB_SERIAL_BELKIN=mCONFIG_USB_SERIAL_DIGI_ACCELEPORT=mCONFIG_USB_SERIAL_EMPEG=mCONFIG_USB_SERIAL_FTDI_SIO=mCONFIG_USB_SERIAL_VISOR=mCONFIG_USB_SERIAL_IPAQ=mCONFIG_USB_SERIAL_IR=mCONFIG_USB_SERIAL_EDGEPORT=mCONFIG_USB_SERIAL_EDGEPORT_TI=mCONFIG_USB_SERIAL_KEYSPAN_PDA=mCONFIG_USB_SERIAL_KEYSPAN=mCONFIG_USB_SERIAL_KEYSPAN_MPR=yCONFIG_USB_SERIAL_KEYSPAN_USA28=yCONFIG_USB_SERIAL_KEYSPAN_USA28X=yCONFIG_USB_SERIAL_KEYSPAN_USA28XA=yCONFIG_USB_SERIAL_KEYSPAN_USA28XB=yCONFIG_USB_SERIAL_KEYSPAN_USA19=yCONFIG_USB_SERIAL_KEYSPAN_USA18X=yCONFIG_USB_SERIAL_KEYSPAN_USA19W=yCONFIG_USB_SERIAL_KEYSPAN_USA19QW=yCONFIG_USB_SERIAL_KEYSPAN_USA19QI=yCONFIG_USB_SERIAL_KEYSPAN_USA49W=yCONFIG_USB_SERIAL_KEYSPAN_USA49WLC=yCONFIG_USB_SERIAL_KLSI=mCONFIG_USB_SERIAL_KOBIL_SCT=mCONFIG_USB_SERIAL_MCT_U232=mCONFIG_USB_SERIAL_PL2303=mCONFIG_USB_SERIAL_SAFE=mCONFIG_USB_SERIAL_SAFE_PADDED=yCONFIG_USB_SERIAL_CYBERJACK=mCONFIG_USB_SERIAL_XIRCOM=mCONFIG_USB_SERIAL_OMNINET=mCONFIG_USB_EZUSB=yCONFIG_USB_EMI26=mCONFIG_USB_TIGL=mCONFIG_USB_AUERSWALD=mCONFIG_USB_RIO500=mCONFIG_USB_BRLVGER=mCONFIG_USB_LCD=mCONFIG_USB_TEST=mCONFIG_USB_GADGET=mCONFIG_USB_NET2280=mCONFIG_USB_ZERO=mCONFIG_USB_ZERO_NET2280=yCONFIG_USB_ETH=mCONFIG_USB_ETH_NET2280=yCONFIG_ZLIB_INFLATE=yCONFIG_DEBUG_KERNEL=yCONFIG_MAGIC_SYSRQ=y
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Olaf Hering
Quoted 1 line · Tom Rini
Are you sure you sent the correct .config ?
maybe I screwed it, here is it again.
boots on an ibook1 at least.
The problem is that PPC_MULTIPLATFORM does not go into arch/ppc/boot/simple/, except for one file. The log you posted shows it trying to link a zvmlinuz in there.
By chance do all of your tools meet the requirements in Documentation/Changes ? Assuming that's been kept up to date.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Tom Rini
The problem is that
PPC_MULTIPLATFORMdoes not go intoarch/ppc/boot/simple/, except for one file. The log you posted shows it trying to link a zvmlinuz in there.By chance do all of your tools meet the requirements in
Documentation/Changes? Assuming that's been kept up to date.
Yes, it is uptodate, SuSE 8.2.
I found that it goes into /simple/ only once, and that fails.
208 cp -av .config ../config.foo 209 make distclean 210 l 211 cp ../config.foo .config 212 /usr/bin/time make oldconfig zImage modules modules_install INSTALL_MOD_PATH=`pwd` &>log fails 213 w 214 o log 215 make zImage
succeeds
216 rm -fv arch/ppc/boot/simple/*.o
217 make zImage
succeeds
218 history
That makes we wonder, 'make oldconfig zImage' is different from 'make zImage'? Must be some dependency problem.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Olaf Hering
Quoted 6 lines · Tom Rini
The problem is that
PPC_MULTIPLATFORMdoes not go intoarch/ppc/boot/simple/, except for one file. The log you posted shows it trying to link a zvmlinuz in there.By chance do all of your tools meet the requirements in
Documentation/Changes? Assuming that's been kept up to date.Yes, it is uptodate, SuSE 8.2.
[snip]
Quoted 2 lines
That makes we wonder, 'make oldconfig zImage' is different from 'make zImage'? Must be some dependency problem.
Curiously, yes. This does trigger a bug.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Tom Rini
Quoted 2 lines
Must be some dependency problem.
Curiously, yes. This does trigger a bug.
Strange, I will try to reproduce.
My machine is i386 1GHz UP.
Did you compile on SMP?
At present trying to get ppc compilable from Linus - latest. Should I grap a ppc specific tree?
Sam
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Sam Ravnborg
Quoted 3 lines · Tom Rini
Quoted 2 lines
Must be some dependency problem.
Quoted 8 lines
Quoted 1 line
Curiously, yes. This does trigger a bug.
Strange, I will try to reproduce.
My machine is i386 1GHz UP.Did you compile on SMP?
At present trying to get ppc compilable from Linus - latest. Should I grap a ppc specific tree?
Its an ibook1, 300mhz. last change is:
[email protected], 2003-08-11 09:55:28+10:00, [email protected]
Fix compilation of drivers/scsi/ide-scsi.c.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 1 line · Olaf Hering
Quoted 1 line
Strange, I will try to reproduce.
OK, I found the bug.
In top-level Makefile the variable include_config is set only if no noconfig_target are listed on the commandline. oldconfig is an noconfig target - so this fails.
I will try to fix it during the weekend.
Sam
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Sam Ravnborg
I will try to fix it during the weekend.
Olaf - care to try the following patch.
It is on top of linus's tree, but I expect it to apply to your ppc tree as well.
I was able to reprocduce the error here - and this fixed it for me. But I may have overlooked a subtle combination of usage.
PS - Still needs to update a few comments in the patch.
Sam
===== Makefile 1.420 vs edited =====
Makefile +52 -94
@@ -243,17 +243,15 @@ comma := , depfile = $(subst $(comma),_,$(@D)/.$(@F).d) -noconfig_targets := xconfig gconfig menuconfig config oldconfig randconfig \ - defconfig allyesconfig allnoconfig allmodconfig \ - clean mrproper distclean rpm \ - help tags TAGS cscope %docs \ - checkconfig checkhelp checkincludes +# Files to ignore in find ... that searches all of the kernel src RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \) -prune -o RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS +# =========================================================================== +# Rules shared between *config targets and build targets + # Helpers built in scripts/ -# --------------------------------------------------------------------------- scripts/docproc scripts/fixdep scripts/split-include : scripts ;
@@ -261,9 +259,49 @@ scripts: $(Q)$(MAKE) $(build)=scripts -# Objects we will link into vmlinux / subdirs we need to visit -# --------------------------------------------------------------------------- +# To make sure we do not include .config for any of the *config targets +# catch them early, and hand them over to scripts/kconfig/Makefile +# It is allowed to specify more targets when calling make, including +# mixing *config targets and build targets. +# For example 'make oldconfig all'. +# Detect this situation, and make a second invocation of make so +# .config is not included in this case either. + +config-targets := 0 +mixed-targets := 0 +ifneq ($(filter config %config,$(MAKECMDGOALS)),) + config-targets := 1 + ifneq ($(filter-out config %config,$(MAKECMDGOALS)),) + mixed-targets := 1 + endif +endif + +ifeq ($(mixed-targets),1) +# =========================================================================== +# We're called with mixed targets (*config and build targets). +# Handle them one after the other. + +%:: FORCE + $(Q)$(MAKE) $@ + +else +ifeq ($(config-targets),1) +# =========================================================================== +# *config targets only - make sure prerequisites are updated, and descend +# in scripts/kconfig to make the *config target + +%config: scripts/fixdep FORCE + $(Q)$(MAKE) $(build)=scripts/kconfig $@ +config : scripts/fixdep FORCE + $(Q)$(MAKE) $(build)=scripts/kconfig $@ + +else +# =========================================================================== +# Build targets only - this includes vmlinux, arch specific targets, clean +# targets and others. In general all targets except *config targets. + +# Objects we will link into vmlinux / subdirs we need to visit init-y := init/ drivers-y := drivers/ sound/ net-y := net/
@@ -271,14 +309,8 @@ core-y := usr/ SUBDIRS := -ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) - -export include_config := 1 - -include .config -endif - include arch/$(ARCH)/Makefile # Let architecture Makefiles change CPPFLAGS if needed
@@ -304,10 +336,8 @@ libs-y2 := $(patsubst %/, %/built-in.o, $(libs-y)) libs-y := $(libs-y1) $(libs-y2) -ifdef include_config - # Here goes the main Makefile -# =========================================================================== +# --------------------------------------------------------------------------- # # If the user gave a *config target, it'll be handled in another # section below, since in this case we cannot include .config
@@ -608,72 +638,6 @@ echo "#endif" ) endef -else # ifdef include_config - -ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) - -# Targets which don't need .config -# =========================================================================== -# -# These targets basically have their own Makefile - not quite, but at -# least its own exclusive section in the same Makefile. The reason for -# this is the following: -# To know the configuration, the main Makefile has to include -# .config. That's a obviously a problem when .config doesn't exist -# yet, but that could be kludged around with only including it if it -# exists. -# However, the larger problem is: If you run make *config, make will -# include the old .config, then execute your *config. It will then -# notice that a piece it included (.config) did change and restart from -# scratch. Which will cause execution of *config again. You get the -# picture. -# If we don't explicitly let the Makefile know that .config is changed -# by *config (the old way), it won't reread .config after *config, -# thus working with possibly stale values - we don't that either. -# -# So we divide things: This part here is for making *config targets, -# and other targets which should work when no .config exists yet. -# The main part above takes care of the rest after a .config exists. - -# Kernel configuration -# --------------------------------------------------------------------------- - -.PHONY: oldconfig xconfig gconfig menuconfig config \ - make_with_config rpm - -scripts/kconfig/conf scripts/kconfig/mconf scripts/kconfig/qconf scripts/kconfig/gconf: scripts/fixdep FORCE - $(Q)$(MAKE) $(build)=scripts/kconfig $@ - -xconfig: scripts/kconfig/qconf - ./scripts/kconfig/qconf arch/$(ARCH)/Kconfig - -gconfig: scripts/kconfig/gconf - ./scripts/kconfig/gconf arch/$(ARCH)/Kconfig - -menuconfig: scripts/kconfig/mconf - $(Q)$(MAKE) $(build)=scripts/lxdialog - ./scripts/kconfig/mconf arch/$(ARCH)/Kconfig - -config: scripts/kconfig/conf - ./scripts/kconfig/conf arch/$(ARCH)/Kconfig - -oldconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -o arch/$(ARCH)/Kconfig - -randconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -r arch/$(ARCH)/Kconfig - -allyesconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -y arch/$(ARCH)/Kconfig - -allnoconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -n arch/$(ARCH)/Kconfig - -allmodconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -m arch/$(ARCH)/Kconfig - -defconfig: scripts/kconfig/conf - ./scripts/kconfig/conf -d arch/$(ARCH)/Kconfig ### # Cleaning is done on three levels.
@@ -778,6 +742,8 @@ # RPM target # --------------------------------------------------------------------------- +.PHONY: rpm + # If you do a make spec before packing the tarball you can rpm -ta it spec:
@@ -864,17 +830,8 @@ -name '*.[hcS]' -type f -print | sort \ | xargs $(PERL) -w scripts/checkincludes.pl -else # ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) - -# We're called with both targets which do and do not need -# .config included. Handle them one after the other. -# =========================================================================== - -%:: FORCE - $(Q)$(MAKE) $@ - -endif # ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) -endif # ifdef include_config +endif #ifeq ($(config-targets),1) +endif #ifeq ($(mixed-targets),1) # FIXME Should go into a make.lib or something # ===========================================================================
@@ -894,6 +851,7 @@ cmd_files := $(wildcard .*.cmd $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd)) ifneq ($(cmd_files),) + $(cmd_files): ; # Do not try to update dependency files include $(cmd_files) endif
===== scripts/Makefile.build 1.38 vs edited =====
scripts/Makefile.build +2 -3
@@ -7,9 +7,8 @@ .PHONY: __build __build: -ifdef include_config -include .config -endif +# Read .config if it exist, otherwise ignore +-include .config include $(obj)/Makefile
===== scripts/kconfig/Makefile 1.6 vs edited =====
scripts/kconfig/Makefile +63 -0
69 lines not on this page · raw message
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Sam Ravnborg
Quoted 2 lines · Sam Ravnborg
I will try to fix it during the weekend.
Olaf - care to try the following patch.
It is on top of linus's tree, but I expect it to apply to your ppc tree as well.
Yes, works for me [TM].
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/