Hi. I'm trying to configure and build a linuxbios rom to boot from IDE hard drive on a pcchips 810 motherboard.
I'm using kernel 2.4.20-cwlinux with the attached configuration; the sources are located in /usr/src/linux
I've checked out the latest freebios from sf.net; I also wrote the attached config file (why isn't the cgi script on the web pages working?). Pay attention this is my very first config file so it will be full of mistakes and omissions, I can't do any better by now.
when I give the following command I get the output:
# python NLBConfig.py pcchips.config ~/linuxbios/freebios/
Creating directory /root/linuxbios/build/pcchips Will place Makefile, crt0.S, etc. in /root/linuxbios/build/pcchips Process config file: /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/Config Now Process the i386 base files Added ldscript init file: /root/linuxbios/freebios/src/arch/i386/config/ldscript.base Process config file: /root/linuxbios/freebios/src/config/Config Process config file: /root/linuxbios/freebios/src/lib/Config Process config file: /root/linuxbios/freebios/src/boot/Config Process config file: /root/linuxbios/freebios/src/rom/Config Process config file: /root/linuxbios/freebios/src/pc80/Config Process config file: /root/linuxbios/freebios/src/pc80/ide/Config Process config file: /root/linuxbios/freebios/src/arch/i386/Config Process config file: /root/linuxbios/freebios/src/arch/i386/boot/Config Process config file: /root/linuxbios/freebios/src/arch/i386/lib/Config ===> Warning: /root/linuxbios/build/pcchips.config:6 /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/Config:1 /root/linuxbios/freebios/src/arch/i386/config/make.base:47 /root/linuxbios/freebios/src/arch/i386/Config:2 /root/linuxbios/freebios/src/arch/i386/lib/Config:11: makerule for target 'c_start.s' is replacing previous defintion in file /root/linuxbios/freebios/src/arch/i386/lib/Config Process config file: /root/linuxbios/freebios/src/arch/i386/smp/Config Added mainboard init file: cpu/i386/entry16.inc Added mainboard init file: cpu/i386/entry32.inc Added ldscript init file: /root/linuxbios/freebios/src/cpu/i386/entry16.lds Added ldscript init file: /root/linuxbios/freebios/src/cpu/i386/entry32.lds Added mainboard init file: superio/sis/950/setup_serial.inc Added mainboard init file: pc80/serial.inc Added mainboard init file: arch/i386/lib/console.inc Added mainboard init file: cpu/k7/earlymtrr.inc Process config file: /root/linuxbios/freebios/src/northsouthbridge/sis/730/Config ===> Warning: /root/linuxbios/build/pcchips.config:6 /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/Config:12 /root/linuxbios/freebios/src/northsouthbridge/sis/730/Config:1: Invalid option specifcation: SIS730 assuming you meant SIS730=1 Added ram init file: northsouthbridge/sis/730/raminit.inc Process config file: /root/linuxbios/freebios/src/cpu/p5/Config Process config file: /root/linuxbios/freebios/src/cpu/p6/Config Process config file: /root/linuxbios/freebios/src/cpu/k7/Config Process config file: /root/linuxbios/freebios/src/cpu/k7/Config Creating /root/linuxbios/build/pcchips/Makefile.settings Creating /root/linuxbios/build/pcchips/Makefile Creating /root/linuxbios/build/pcchips/crt0_includes.h Creating /root/linuxbios/build/pcchips/nsuperio.c Creating /root/linuxbios/build/pcchips/LinuxBIOSDoc.config
I have many warnings. However a pcchips directory is created and it contains:
# ls -R pcchips pcchips: LinuxBIOSDoc.config Makefile Makefile.settings crt0_includes.h nsuperio.c
I enter the dir and give a 'make' command:
# make Makefile:480: warning: overriding commands for target `c_start.o' Makefile:465: warning: ignoring old commands for target `c_start.o' Makefile:513: warning: overriding commands for target `keyboard.o' Makefile:417: warning: ignoring old commands for target `keyboard.o' Makefile:534: warning: overriding commands for target `cpufixup.o' Makefile:531: warning: ignoring old commands for target `cpufixup.o' cp /root/linuxbios/freebios/src/arch/i386/config/crt0.base crt0.S gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s gcc ... -o crt0.o crt0.s crt0.s: Assembler messages: crt0.s:1554: Warning: indirect jmp without `*' gcc ... -o ide_fill_inbuf.o /root/linuxbios/freebios/src/rom/ide_fill_inbuf.c /root/linuxbios/freebios/src/rom/ide_fill_inbuf.c: In function `ide_read': /root/linuxbios/freebios/src/rom/ide_fill_inbuf.c:60: warning: unused variable `j' /root/linuxbios/freebios/src/rom/ide_fill_inbuf.c:60: warning: unused variable `i' /root/linuxbios/freebios/src/rom/ide_fill_inbuf.c:59: warning: unused variable `result' gcc ... -o linuxbiosmain.o /root/linuxbios/freebios/src/lib/linuxbiosmain.c gcc ... -o linuxpci.o /root/linuxbios/freebios/src/lib/linuxpci.c /root/linuxbios/freebios/src/lib/linuxpci.c:13: warning: `rcsid' defined but not used gcc ... -o newpci.o /root/linuxbios/freebios/src/lib/newpci.c /root/linuxbios/freebios/src/lib/newpci.c:14: warning: `rcsid' defined but not used gcc ... -o clog2.o /root/linuxbios/freebios/src/lib/clog2.c gcc ... -o printk.o /root/linuxbios/freebios/src/lib/printk.c /root/linuxbios/freebios/src/lib/printk.c:9: warning: `rcsid' defined but not used gcc ... -o serial_subr.o /root/linuxbios/freebios/src/lib/serial_subr.c /root/linuxbios/freebios/src/lib/serial_subr.c:2: warning: `rcsid' defined but not used gcc ... -o video_subr.o /root/linuxbios/freebios/src/lib/video_subr.c gcc ... -o subr.o /root/linuxbios/freebios/src/lib/subr.c /root/linuxbios/freebios/src/lib/subr.c:8: warning: `rcsid' defined but not used gcc ... -o vsprintf.o /root/linuxbios/freebios/src/lib/vsprintf.c /root/linuxbios/freebios/src/lib/vsprintf.c:13: warning: `rcsid' defined but not used gcc ... -o memset.o /root/linuxbios/freebios/src/lib/memset.c gcc ... -o memcpy.o /root/linuxbios/freebios/src/lib/memcpy.c gcc ... -o memcmp.o /root/linuxbios/freebios/src/lib/memcmp.c gcc ... -o malloc.o /root/linuxbios/freebios/src/lib/malloc.c gcc ... -o do_inflate.o /root/linuxbios/freebios/src/lib/do_inflate.c In file included from /root/linuxbios/freebios/src/lib/do_inflate.c:67: /root/linuxbios/freebios/src/lib/inflate.c: In function `gunzip': /root/linuxbios/freebios/src/lib/inflate.c:1100: warning: value computed is not used /root/linuxbios/freebios/src/lib/inflate.c:1101: warning: value computed is not used /root/linuxbios/freebios/src/lib/inflate.c:1102: warning: value computed is not used gcc ... -o delay.o /root/linuxbios/freebios/src/lib/delay.c gcc ... -o compute_ip_checksum.o /root/linuxbios/freebios/src/lib/compute_ip_checksum.c gcc ... -o version.o /root/linuxbios/freebios/src/lib/version.c gcc ... -o keyboard.o /root/linuxbios/freebios/src/pc80/keyboard.c /root/linuxbios/freebios/src/pc80/keyboard.c:2: warning: `rcsid' defined but not used gcc ... -o mc146818rtc.o /root/linuxbios/freebios/src/pc80/mc146818rtc.c /root/linuxbios/freebios/src/pc80/mc146818rtc.c: In function `rtc_init': /root/linuxbios/freebios/src/pc80/mc146818rtc.c:139: warning: unused variable `i' gcc ... -o isa-dma.o /root/linuxbios/freebios/src/pc80/isa-dma.c gcc ... -o i8259.o /root/linuxbios/freebios/src/pc80/i8259.c gcc ... -o beep.o /root/linuxbios/freebios/src/pc80/beep.c gcc ... -o vga_load_regs.o /root/linuxbios/freebios/src/pc80/vga_load_regs.c gcc ... -o font_8x16.o /root/linuxbios/freebios/src/pc80/font_8x16.c gcc ... -o vga_set_mode.o /root/linuxbios/freebios/src/pc80/vga_set_mode.c gcc ... -o vga_load_pcx.o /root/linuxbios/freebios/src/pc80/vga_load_pcx.c gcc ... -o ide.o /root/linuxbios/freebios/src/pc80/ide/ide.c gcc ... -o boot.o /root/linuxbios/freebios/src/arch/i386/boot/boot.c gcc ... -o linuxbios_table.o /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c: In function `lb_strings': /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c:122: warning: assignment from incompatible pointer type /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c: In function `write_linuxbios_table': /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c:230: warning: unused variable `rec_src' /root/linuxbios/freebios/src/arch/i386/boot/linuxbios_table.c:230: warning: unused variable `rec_dest' gcc ... -o i386_subr.o /root/linuxbios/freebios/src/arch/i386/lib/i386_subr.c gcc ... -o params.o /root/linuxbios/freebios/src/arch/i386/lib/params.c /root/linuxbios/freebios/src/arch/i386/lib/params.c:30: warning: `rcsid' defined but not used gcc ... -o hardwaremain.o /root/linuxbios/freebios/src/arch/i386/lib/hardwaremain.c /root/linuxbios/freebios/src/arch/i386/lib/hardwaremain.c:32: warning: `rcsid' defined but not used gcc ... -o c_start.o c_start.s c_start.s: Assembler messages: c_start.s:330: Warning: using `%eax' instead of `%ax' due to `l' suffix gcc ... -o pirq_routing.o /root/linuxbios/freebios/src/arch/i386/lib/pirq_routing.c gcc ... -o southbridge.o /root/linuxbios/freebios/src/northsouthbridge/sis/730/southbridge.c /root/linuxbios/freebios/src/northsouthbridge/sis/730/southbridge.c: In function `ide_fixup': /root/linuxbios/freebios/src/northsouthbridge/sis/730/southbridge.c:92: warning: unused variable `delay' /root/linuxbios/freebios/src/northsouthbridge/sis/730/southbridge.c: At top level: /root/linuxbios/freebios/src/northsouthbridge/sis/730/southbridge.c:26: warning: `rcsid' defined but not used gcc ... -o northbridge.o /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c: In function `sizeram': /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c:128: warning: return from incompatible pointer type /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c: In function `framebuffer_on': /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c:138: warning: `return' with a value, in function returning void /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c: At top level: /root/linuxbios/freebios/src/northsouthbridge/sis/730/northbridge.c:25: warning: `rcsid' defined but not used gcc ... -o superio_sis_950.o /root/linuxbios/freebios/src/superio/sis/950/superio.c /root/linuxbios/freebios/src/superio/sis/950/superio.c:2: warning: `rcsid' defined but not used gcc ... -o nsuperio.o nsuperio.c gcc ... -o mainboard.o /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/mainboard.c gcc ... -o irq_tables.o /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:21: warning: excess elements in array initializer /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:21: warning: (near initialization for `intel_irq_routing_table.slots') /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:23: warning: excess elements in array initializer /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:23: warning: (near initialization for `intel_irq_routing_table.slots') /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:25: warning: excess elements in array initializer /root/linuxbios/freebios/src/mainboard/pcchips/m810lmr/irq_tables.c:25: warning: (near initialization for `intel_irq_routing_table.slots') gcc ... -o cpuid.o /root/linuxbios/freebios/src/cpu/p5/cpuid.c /root/linuxbios/freebios/src/cpu/p5/cpuid.c:3: warning: `rcsid' defined but not used gcc ... -o microcode.o /root/linuxbios/freebios/src/cpu/p6/microcode.c /root/linuxbios/freebios/src/cpu/p6/microcode.c:7: warning: `rcsid' defined but not used gcc ... -o mtrr.o /root/linuxbios/freebios/src/cpu/p6/mtrr.c /root/linuxbios/freebios/src/cpu/p6/mtrr.c: In function `set_var_mtrr': /root/linuxbios/freebios/src/cpu/p6/mtrr.c:132: warning: unused variable `tmp' /root/linuxbios/freebios/src/cpu/p6/mtrr.c: At top level: /root/linuxbios/freebios/src/cpu/p6/mtrr.c:29: warning: `rcsid' defined but not used gcc ... -o l2_cache.o /root/linuxbios/freebios/src/cpu/p6/l2_cache.c /root/linuxbios/freebios/src/cpu/p6/l2_cache.c:33: warning: `rcsid' defined but not used gcc ... -o cpufixup.o /root/linuxbios/freebios/src/cpu/k7/cpufixup.c rm -f linuxbios.a ar cr linuxbios.a crt0.o linuxbiosmain.o linuxpci.o newpci.o clog2.o printk.o serial_subr.o video_subr.o subr.o vsprintf.o memset.o memcpy.o memcmp.o malloc.o do_inflate.o delay.o compute_ip_checksum.o version.o keyboard.o mc146818rtc.o isa-dma.o i8259.o beep.o vga_load_regs.o font_8x16.o vga_set_mode.o vga_load_pcx.o ide.o boot.o linuxbios_table.o i386_subr.o params.o hardwaremain.o c_start.o pirq_routing.o c_start.o southbridge.o northbridge.o superio_sis_950.o nsuperio.o mainboard.o irq_tables.o keyboard.o cpuid.o microcode.o mtrr.o l2_cache.o cpufixup.o cpufixup.o gcc -nostdlib -r -o linuxbios_c.o c_start.o ide_fill_inbuf.o linuxbios.a /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/libgcc.a perl -e 'foreach $var (split(" ", $ENV{VARIABLES})) { if ($ENV{$var} =~ m/^(0x[0-9a-fA-F]+|0[0-7]+|[0-9]+)$/) { print "$var = $ENV{$var};\n"; }}' > ldoptions gcc -nostdlib -nostartfiles -static -o linuxbios_c -T /root/linuxbios/freebios/src/config/linuxbios_c.ld linuxbios_c.o linuxbios_c.o: In function `mdelay': linuxbios_c.o(.text+0xa99): undefined reference to `udelay' collect2: ld returned 1 exit status make: *** [linuxbios_c] Error 1
I'm not able to build a rom successfully :(
bye as
# # Automatically generated make config: don't edit # CONFIG_X86=y # CONFIG_SBUS is not set CONFIG_UID16=y
# # Code maturity level options # CONFIG_EXPERIMENTAL=y
# # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y
# # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set CONFIG_MK7=y # CONFIG_MELAN is not set # CONFIG_MCRUSOE is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y # CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_HAS_TSC=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_USE_3DNOW=y CONFIG_X86_PGE=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_F00F_WORKS_OK=y CONFIG_X86_MCE=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_HIGHMEM is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_SMP is not set CONFIG_PREEMPT=y CONFIG_LOCK_BREAK=y # CONFIG_X86_UP_APIC is not set # CONFIG_X86_TSC_DISABLE is not set CONFIG_X86_TSC=y CONFIG_HAVE_DEC_LOCK=y
# # General setup # CONFIG_NET=y CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set CONFIG_PCI_GODIRECT=y # CONFIG_PCI_GOANY is not set CONFIG_PCI_DIRECT=y # CONFIG_ISA is not set CONFIG_PCI_NAMES=y # CONFIG_EISA is not set # CONFIG_MCA is not set # CONFIG_HOTPLUG is not set # CONFIG_PCMCIA is not set # CONFIG_HOTPLUG_PCI is not set CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y CONFIG_KCORE_ELF=y # CONFIG_KCORE_AOUT is not set # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set # CONFIG_KEXEC is not set CONFIG_PM=y CONFIG_ACPI=y # CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_BUSMGR=y CONFIG_ACPI_SYS=y CONFIG_ACPI_CPU=y CONFIG_ACPI_BUTTON=y # CONFIG_ACPI_AC is not set # CONFIG_ACPI_EC is not set # CONFIG_APM is not set
# # Memory Technology Devices (MTD) # # CONFIG_MTD is not set
# # Parallel port support # # CONFIG_PARPORT is not set
# # Plug and Play configuration # # CONFIG_PNP is not set
# # Block devices # # CONFIG_BLK_DEV_FD is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_STATS is not set
# # Enterprise Volume Management System # # CONFIG_EVMS is not set
# # Multi-device support (RAID and LVM) # # CONFIG_MD is not set
# # Cryptography support (CryptoAPI) # # CONFIG_CRYPTO is not set
# # 128 bit blocksize #
# # 64 bit blocksize #
# # Deprecated #
# # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set # CONFIG_NETLINK_DEV is not set # CONFIG_NETFILTER is not set # CONFIG_FILTER is not set CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_INET_ECN is not set # CONFIG_SYN_COOKIES is not set # CONFIG_IPV6 is not set # CONFIG_KHTTPD is not set # CONFIG_ATM is not set # CONFIG_VLAN_8021Q is not set
# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set
# # Appletalk devices # # CONFIG_DECNET is not set # CONFIG_BRIDGE is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_LLC is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set
# # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set
# # Network testing # # CONFIG_NET_PKTGEN is not set
# # Telephony Support # # CONFIG_PHONE is not set
# # ATA/IDE/MFM/RLL support # CONFIG_IDE=y
# # IDE, ATA and ATAPI Block devices # CONFIG_BLK_DEV_IDE=y
# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set # CONFIG_BLK_DEV_HD is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y # CONFIG_IDEDISK_STROKE is not set # CONFIG_BLK_DEV_IDEDISK_VENDOR is not set # CONFIG_BLK_DEV_COMMERIAL is not set CONFIG_BLK_DEV_IDECD=y # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=y # CONFIG_IDE_TASK_IOCTL is not set
# # IDE chipset support/bugfixes # # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_PCI_WIP is not set CONFIG_BLK_DEV_ADMA=y # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_PIIX is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_PDC202XX is not set # CONFIG_BLK_DEV_SVWKS is not set CONFIG_BLK_DEV_SIS5513=y # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set CONFIG_IDEDMA_AUTO=y # CONFIG_IDEDMA_IVB is not set # CONFIG_DMA_NONPCI is not set CONFIG_BLK_DEV_IDE_MODES=y # CONFIG_BLK_DEV_ATARAID is not set
# # SCSI support # CONFIG_SCSI=y
# # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_SR_EXTRA_DEVS=2 CONFIG_CHR_DEV_SG=y
# # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_DEBUG_QUEUES is not set # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set
# # SCSI low-level drivers # # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AHA1740 is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_DPT_I2O is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_MEGARAID is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_CPQFCTS is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_DMA is not set # CONFIG_SCSI_EATA_PIO is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_NCR53C7xx is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_NCR53C8XX is not set # CONFIG_SCSI_SYM53C8XX is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PCI2000 is not set # CONFIG_SCSI_PCI2220I is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_ISP is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_SEAGATE is not set # CONFIG_SCSI_SIM710 is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_DEBUG is not set
# # Fusion MPT device support # # CONFIG_FUSION is not set # CONFIG_FUSION_BOOT is not set # CONFIG_FUSION_ISENSE is not set # CONFIG_FUSION_CTL is not set # CONFIG_FUSION_LAN is not set
# # IEEE 1394 (FireWire) support (EXPERIMENTAL) # # CONFIG_IEEE1394 is not set
# # I2O device support # # CONFIG_I2O is not set
# # Network device support # CONFIG_NETDEVICES=y
# # ARCnet devices # # CONFIG_ARCNET is not set CONFIG_DUMMY=y # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_ETHERTAP is not set
# # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y # CONFIG_HAPPYMEAL is not set # CONFIG_SUNGEM is not set # CONFIG_NET_VENDOR_3COM is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_HP100 is not set CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set # CONFIG_ADAPTEC_STARFIRE is not set # CONFIG_TULIP is not set # CONFIG_DE4X5 is not set # CONFIG_DGRS is not set # CONFIG_DM9102 is not set # CONFIG_EEPRO100 is not set # CONFIG_E100 is not set # CONFIG_FEALNX is not set # CONFIG_NATSEMI is not set # CONFIG_NE2K_PCI is not set # CONFIG_8139CP is not set # CONFIG_8139TOO is not set CONFIG_SIS900=y # CONFIG_EPIC100 is not set # CONFIG_SUNDANCE is not set # CONFIG_TLAN is not set # CONFIG_TC35815 is not set # CONFIG_VIA_RHINE is not set # CONFIG_WINBOND_840 is not set # CONFIG_NET_POCKET is not set
# # Ethernet (1000 Mbit) # # CONFIG_ACENIC is not set # CONFIG_DL2K is not set # CONFIG_E1000 is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set # CONFIG_SK98LIN is not set # CONFIG_TIGON3 is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set CONFIG_PPP=y # CONFIG_PPP_MULTILINK is not set CONFIG_PPP_ASYNC=y # CONFIG_PPP_SYNC_TTY is not set CONFIG_PPP_DEFLATE=y CONFIG_PPP_BSDCOMP=y # CONFIG_PPPOE is not set # CONFIG_SLIP is not set
# # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set
# # Token Ring devices # # CONFIG_TR is not set # CONFIG_NET_FC is not set # CONFIG_RCPCI is not set # CONFIG_SHAPER is not set
# # Wan interfaces # # CONFIG_WAN is not set
# # Amateur Radio support # # CONFIG_HAMRADIO is not set
# # IrDA (infrared) support # # CONFIG_IRDA is not set
# # ISDN subsystem # # CONFIG_ISDN is not set
# # Input core support # CONFIG_INPUT=y CONFIG_INPUT_KEYBDEV=y CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 # CONFIG_INPUT_JOYDEV is not set CONFIG_INPUT_EVDEV=y
# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y # CONFIG_SERIAL_CONSOLE is not set # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_UNIX98_PTYS is not set # CONFIG_HVC_CONSOLE is not set
# # I2C support # CONFIG_I2C=y CONFIG_I2C_ALGOBIT=y # CONFIG_I2C_ELV is not set # CONFIG_I2C_VELLEMAN is not set # CONFIG_I2C_ALGOPCF is not set CONFIG_I2C_CHARDEV=y CONFIG_I2C_PROC=y
# # Mice # # CONFIG_BUSMOUSE is not set CONFIG_MOUSE=y CONFIG_PSMOUSE=y # CONFIG_82C710_MOUSE is not set # CONFIG_PC110_PAD is not set # CONFIG_MK712_MOUSE is not set
# # Joysticks # # CONFIG_INPUT_GAMEPORT is not set # CONFIG_INPUT_SERIO is not set
# # Joysticks # # CONFIG_INPUT_IFORCE_USB is not set # CONFIG_QIC02_TAPE is not set
# # Watchdog Cards # # CONFIG_WATCHDOG is not set # CONFIG_AMD_RNG is not set # CONFIG_INTEL_RNG is not set # CONFIG_AMD_PM768 is not set CONFIG_NVRAM=y CONFIG_RTC=y # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_SONYPI is not set
# # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set CONFIG_AGP=y # CONFIG_AGP_INTEL is not set # CONFIG_AGP_I810 is not set # CONFIG_AGP_VIA is not set # CONFIG_AGP_AMD is not set # CONFIG_AGP_AMD_8151 is not set CONFIG_AGP_SIS=y # CONFIG_AGP_ALI is not set # CONFIG_AGP_SWORKS is not set CONFIG_DRM=y # CONFIG_DRM_OLD is not set
# # DRM 4.1 drivers # CONFIG_DRM_NEW=y # CONFIG_DRM_TDFX is not set # CONFIG_DRM_R128 is not set # CONFIG_DRM_RADEON is not set # CONFIG_DRM_I810 is not set # CONFIG_DRM_I830 is not set # CONFIG_DRM_MGA is not set # CONFIG_DRM_SIS is not set # CONFIG_MWAVE is not set
# # Multimedia devices # CONFIG_VIDEO_DEV=y
# # Video For Linux # CONFIG_VIDEO_PROC_FS=y
# # Video Adapters # CONFIG_VIDEO_BT848=y # CONFIG_VIDEO_PMS is not set # CONFIG_VIDEO_CPIA is not set # CONFIG_VIDEO_SAA5249 is not set # CONFIG_TUNER_3036 is not set # CONFIG_VIDEO_STRADIS is not set # CONFIG_VIDEO_ZORAN is not set # CONFIG_VIDEO_ZR36120 is not set
# # Radio Adapters # # CONFIG_RADIO_GEMTEK_PCI is not set # CONFIG_RADIO_MAXIRADIO is not set # CONFIG_RADIO_MAESTRO is not set
# # File systems # # CONFIG_QUOTA is not set # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set CONFIG_EXT3_FS=y CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set # CONFIG_FAT_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set CONFIG_TMPFS=y CONFIG_RAMFS=y CONFIG_ISO9660_FS=y # CONFIG_JOLIET is not set # CONFIG_ZISOFS is not set # CONFIG_JFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_VXFS_FS is not set # CONFIG_NTFS_FS is not set # CONFIG_HPFS_FS is not set CONFIG_PROC_FS=y # CONFIG_DEVFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_EXT2_FS=y # CONFIG_SYSV_FS is not set # CONFIG_UDF_FS is not set # CONFIG_UFS_FS is not set # CONFIG_XFS_FS is not set
# # Network File Systems # # CONFIG_CODA_FS is not set # CONFIG_INTERMEZZO_FS is not set CONFIG_NFS_FS=y # CONFIG_NFS_V3 is not set CONFIG_NFSD=y # CONFIG_NFSD_V3 is not set # CONFIG_NFSD_TCP is not set CONFIG_SUNRPC=y CONFIG_LOCKD=y # CONFIG_SMB_FS is not set # CONFIG_NCP_FS is not set # CONFIG_ZISOFS_FS is not set
# # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y # CONFIG_SMB_NLS is not set # CONFIG_NLS is not set
# # Console drivers # CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y # CONFIG_MDA_CONSOLE is not set
# # Frame-buffer support # CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y # CONFIG_FB_RIVA is not set # CONFIG_FB_CLGEN is not set # CONFIG_FB_PM2 is not set # CONFIG_FB_PM3 is not set # CONFIG_FB_CYBER2000 is not set # CONFIG_FB_VESA is not set # CONFIG_FB_VGA16 is not set # CONFIG_FB_HGA is not set CONFIG_VIDEO_SELECT=y # CONFIG_FB_MATROX is not set # CONFIG_FB_ATY is not set # CONFIG_FB_RADEON is not set # CONFIG_FB_ATY128 is not set CONFIG_FB_SIS=y CONFIG_FB_SIS_300=y # CONFIG_FB_SIS_315 is not set # CONFIG_FB_NEOMAGIC is not set # CONFIG_FB_3DFX is not set # CONFIG_FB_VOODOO1 is not set # CONFIG_FB_TRIDENT is not set # CONFIG_FB_VIRTUAL is not set # CONFIG_FBCON_ADVANCED is not set CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB32=y # CONFIG_FBCON_FONTWIDTH8_ONLY is not set # CONFIG_FBCON_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y
# # Sound # CONFIG_SOUND=y # CONFIG_SOUND_ALI5455 is not set # CONFIG_SOUND_BT878 is not set # CONFIG_SOUND_CMPCI is not set # CONFIG_SOUND_EMU10K1 is not set # CONFIG_SOUND_FUSION is not set # CONFIG_SOUND_CS4281 is not set # CONFIG_SOUND_ES1370 is not set # CONFIG_SOUND_ES1371 is not set # CONFIG_SOUND_ESSSOLO1 is not set # CONFIG_SOUND_MAESTRO is not set # CONFIG_SOUND_MAESTRO3 is not set # CONFIG_SOUND_FORTE is not set CONFIG_SOUND_ICH=y # CONFIG_SOUND_RME96XX is not set # CONFIG_SOUND_SONICVIBES is not set # CONFIG_SOUND_TRIDENT is not set # CONFIG_SOUND_MSNDCLAS is not set # CONFIG_SOUND_MSNDPIN is not set # CONFIG_SOUND_VIA82CXXX is not set # CONFIG_SOUND_OSS is not set CONFIG_SOUND_TVMIXER=y
# # USB support # CONFIG_USB=y # CONFIG_USB_DEBUG is not set
# # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y # CONFIG_USB_BANDWIDTH is not set # CONFIG_USB_LONG_TIMEOUT is not set
# # USB Host Controller Drivers # # CONFIG_USB_EHCI_HCD is not set CONFIG_USB_UHCI_ALT=y # CONFIG_USB_OHCI is not set
# # USB Device Class drivers # # CONFIG_USB_AUDIO is not set # CONFIG_USB_BLUETOOTH is not set # CONFIG_USB_MIDI is not set CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_HP8200e is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set
# # USB Human Interface Devices (HID) # CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y # CONFIG_USB_HIDDEV is not set # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set
# # USB Imaging devices # # CONFIG_USB_DC2XX is not set # CONFIG_USB_MDC800 is not set # CONFIG_USB_SCANNER is not set # CONFIG_USB_MICROTEK is not set # CONFIG_USB_HPUSBSCSI is not set
# # USB Multimedia devices # # CONFIG_USB_IBMCAM is not set # CONFIG_USB_OV511 is not set # CONFIG_USB_PWC is not set # CONFIG_USB_SE401 is not set # CONFIG_USB_STV680 is not set # CONFIG_USB_VICAM is not set # CONFIG_USB_DSBR is not set # CONFIG_USB_DABUSB is not set
# # USB Network adaptors # # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_CATC is not set # CONFIG_USB_CDCETHER is not set # CONFIG_USB_USBNET is not set
# # USB port drivers #
# # USB Serial Converter support # # CONFIG_USB_SERIAL is not set
# # USB Miscellaneous drivers # # CONFIG_USB_RIO500 is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_TIGL is not set # CONFIG_USB_BRLVGER is not set # CONFIG_USB_LCD is not set
# # Bluetooth support # # CONFIG_BLUEZ is not set
# # Kernel hacking # # CONFIG_DEBUG_KERNEL is not set
# # Library routines # CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y
# Sample config file for PCCHIPS M810LMR with DoC Millennium (as root) # This will make a target directory of ./pcchips target pcchips
# PCCHIPS M810LMR mainboard mainboard pcchips/m810lmr
# Athlon CPU cpu k7
# Enable Serial Console for debugging option VIDEO_CONSOLE=1 option SERIAL_CONSOLE=1
# IDE boot option BOOT_IDE=1 option IDE_BOOT_DRIVE=2
#need to know size of partition table for ide option ONE_TRACK=32
# Enable ethernet option ENABLE_MII=1
# Use the internal VGA frame buffer device option HAVE_FRAMEBUFFER=1
# Path to your kernel (vmlinux) linux /usr/src/linux
# Kernel command line parameters commandline root=/dev/hda2 ro console=ttyS0,115200 console=tty0
gcc -nostdlib -nostartfiles -static -o linuxbios_c -T /root/linuxbios/freebios/src/config/linuxbios_c.ld linuxbios_c.o linuxbios_c.o: In function `mdelay': linuxbios_c.o(.text+0xa99): undefined reference to `udelay' collect2: ld returned 1 exit status make: *** [linuxbios_c] Error 1
I'm not able to build a rom successfully :(
as
Try adding to the config:
option CONFIG_UDELAY_TSC=1
and see if this won't correct the undefined reference to udelay.
-Steve
Steve M. Gehlbach wrote:
Try adding to the config:
option CONFIG_UDELAY_TSC=1
and see if this won't correct the undefined reference to udelay.
thank you! it works now. I have a 'romimage' file which I think it's the one I should flash.
I'm not sure, however, about the correctness of the options there in the config file. Where can I read the actual documentation of the various options?
bye thank you as
I'm not sure, however, about the correctness of the options there in the config file. Where can I read the actual documentation of the various options?
as
The documentation on config options is pretty sparce, mostly in the code itself. Look at the other config files (in freebios/src/mainboard/.../config.example and also in freebios/util/config/*), and of course, read the C code. I use a find/grep alias a lot to find config options and how they are used (alias findit='find . | xargs grep 2>/dev/null').
We need more documentation for linuxbios; right now it is not a project where you can just type "make" and flash a rom without digging into the code a little (IMHO). The best bet if you don't want to spend some time on it, is to buy a board from cwlinux. And, of course, if you come up to speed and want to help out, I'm sure Ron would welcome a howto.html file.
-Steve
Steve M. Gehlbach wrote:
The documentation on config options is pretty sparce, mostly in the code itself. Look at the other config files (in
ok
freebios/src/mainboard/.../config.example and also in freebios/util/config/*), and of course, read the C code. I use a find/grep alias a lot to find config options and how they are used (alias findit='find . | xargs grep 2>/dev/null').
isn't it the same "grep -r XXX ."?!
We need more documentation for linuxbios; right now it is not a project where you can just type "make" and flash a rom without digging into the code a little (IMHO).
I understand. In the future, something like kernel's or lirc's config menus would be great.
WHy isn't the web-configuration tool working? Is it an outdated tool or do you only have to correctly configure cgi access?
The best bet if you don't want to spend some time on it, is to buy a board from cwlinux. And, of course, if you come up to speed and want to help out, I'm sure Ron would welcome a howto.html file.
my company had my request to buy few motherboard from cwlinux. However they like to write a lot of papers and to prepare budget reports for anything. I've already used cwlinux great ROM images, and I have a pcchips motherboard bought by myself in an exibition working with linuxbios. I'm very interested in this project and I would like to understand it and contribute, if possible.
Now I will dig a bit into the code and configuration samples. When I'll have enough knowledge I will try some experiments and I will write down some web pages on how to do it. Something like my other 'howto' about lirc ( http://www.manoweb.com/alesan/lirc ). I like good, detailed documentation and I hope to write something like this for my experience with linuxbios.
I invite everybody, if they can, to answer to the many questions I've written in the list. Each piece of information I can gather will find its way on the howto...!
bye! as
findit='find . | xargs grep 2>/dev/null').
isn't it the same "grep -r XXX ."?!
Yup, this is the same (actually better). I wasn't aware of the grep -r switch; it is not on all unices (eg, SunOS, Unixware). I'm kind of an old Unix person and only learn the newer ways when someone points it out. Thanks for the tip.
WHy isn't the web-configuration tool working? Is it an outdated tool or do you only have to correctly configure cgi access?
Ron can answer better but I think no one has gotten around to it.
Each piece of information I can gather will find its way on the howto...!
Great!
-Steve
Steve M. Gehlbach wrote:
Yup, this is the same (actually better). I wasn't aware of the grep -r switch; it is not on all unices (eg, SunOS, Unixware). I'm kind of an
:)
bye as
On Sun, 2 Feb 2003, Alessio Sangalli wrote:
WHy isn't the web-configuration tool working? Is it an outdated tool or do you only have to correctly configure cgi access?
nobody had time to make it go.
We're shorthanded ...
ron
On Sun, 2 Feb 2003, Steve M. Gehlbach wrote:
option CONFIG_UDELAY_TSC=1
then we need to see which mainboard config is incorrect. Sorry about this.
ron