Stefan Reinauer | 0fff41e | 2003-09-23 22:44:12 +0000 | [diff] [blame] | 1 | # |
| 2 | # Sample config file for Newisys Khepri systems |
| 3 | # |
| 4 | |
| 5 | loadoptions |
| 6 | |
| 7 | # Target directory for khepri build |
| 8 | target khepri |
| 9 | |
| 10 | # list of all used variables: |
| 11 | uses ARCH |
| 12 | uses CONFIG_COMPRESS |
| 13 | uses CONFIG_IOAPIC |
| 14 | uses CONFIG_ROM_STREAM |
| 15 | uses CONFIG_ROM_STREAM_START |
| 16 | uses CONFIG_UDELAY_TSC |
| 17 | uses CPU_FIXUP |
| 18 | uses FALLBACK_SIZE |
| 19 | uses HAVE_FALLBACK_BOOT |
| 20 | uses HAVE_MP_TABLE |
| 21 | uses HAVE_PIRQ_TABLE |
| 22 | uses HAVE_HARD_RESET |
| 23 | uses i586 |
| 24 | uses i686 |
| 25 | uses INTEL_PPRO_MTRR |
| 26 | uses HEAP_SIZE |
| 27 | uses IRQ_SLOT_COUNT |
| 28 | uses k7 |
| 29 | uses k8 |
| 30 | uses MAINBOARD_PART_NUMBER |
| 31 | uses MAINBOARD_VENDOR |
| 32 | uses CONFIG_SMP |
| 33 | uses CONFIG_MAX_CPUS |
| 34 | uses MEMORY_HOLE |
| 35 | uses PAYLOAD_SIZE |
| 36 | uses _RAMBASE |
| 37 | uses _ROMBASE |
| 38 | uses ROM_IMAGE_SIZE |
| 39 | uses ROM_SECTION_OFFSET |
| 40 | uses ROM_SECTION_SIZE |
| 41 | uses ROM_SIZE |
| 42 | uses STACK_SIZE |
| 43 | uses USE_FALLBACK_IMAGE |
| 44 | uses USE_OPTION_TABLE |
| 45 | uses HAVE_OPTION_TABLE |
| 46 | uses MAXIMUM_CONSOLE_LOGLEVEL |
| 47 | uses DEFAULT_CONSOLE_LOGLEVEL |
| 48 | uses CONFIG_CONSOLE_SERIAL8250 |
| 49 | uses MAINBOARD |
| 50 | uses CONFIG_CHIP_CONFIGURE |
| 51 | uses XIP_ROM_SIZE |
| 52 | uses XIP_ROM_BASE |
| 53 | uses LINUXBIOS_EXTRA_VERSION |
Stefan Reinauer | 261f2bb | 2003-09-26 10:03:47 +0000 | [diff] [blame] | 54 | uses CC |
| 55 | |
| 56 | # set target C compiler to 32bit gcc. |
| 57 | option CC="gcc -m32" |
Stefan Reinauer | 0fff41e | 2003-09-23 22:44:12 +0000 | [diff] [blame] | 58 | |
| 59 | # Configuration options. |
| 60 | |
| 61 | option CONFIG_CHIP_CONFIGURE=1 |
| 62 | |
| 63 | option MAXIMUM_CONSOLE_LOGLEVEL=8 |
| 64 | option DEFAULT_CONSOLE_LOGLEVEL=8 |
| 65 | option CONFIG_CONSOLE_SERIAL8250=1 |
| 66 | |
| 67 | option CPU_FIXUP=1 |
| 68 | option CONFIG_UDELAY_TSC=0 |
| 69 | option i686=1 |
| 70 | option i586=1 |
| 71 | option INTEL_PPRO_MTRR=1 |
| 72 | option k7=1 |
| 73 | option k8=1 |
| 74 | |
| 75 | |
| 76 | # Size of the image. Khepri comes with 512k per default. |
| 77 | option ROM_SIZE=524288 |
| 78 | |
| 79 | option HAVE_OPTION_TABLE=1 |
| 80 | option CONFIG_ROM_STREAM=1 |
| 81 | option HAVE_FALLBACK_BOOT=1 |
| 82 | |
| 83 | option FALLBACK_SIZE=131072 |
| 84 | |
| 85 | ## LinuxBIOS C code runs at this location in RAM |
| 86 | option _RAMBASE=0x00004000 |
| 87 | |
| 88 | romimage "normal" |
| 89 | option USE_FALLBACK_IMAGE=0 |
| 90 | option ROM_IMAGE_SIZE=0x10000 |
| 91 | option LINUXBIOS_EXTRA_VERSION="-Khepri-Normal" |
| 92 | mainboard newisys/khepri |
Stefan Reinauer | a1d2c58 | 2003-09-30 09:52:37 +0000 | [diff] [blame] | 93 | payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf |
Stefan Reinauer | 0fff41e | 2003-09-23 22:44:12 +0000 | [diff] [blame] | 94 | end |
| 95 | |
| 96 | romimage "fallback" |
| 97 | option USE_FALLBACK_IMAGE=1 |
| 98 | option ROM_IMAGE_SIZE=0x10000 |
| 99 | option LINUXBIOS_EXTRA_VERSION="-Khepri-Fallback" |
| 100 | mainboard newisys/khepri |
| 101 | payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf |
| 102 | end |
| 103 | |
Stefan Reinauer | d6fdac46 | 2003-10-27 10:36:44 +0000 | [diff] [blame^] | 104 | buildrom ./khepri.rom ROM_SIZE "normal" "fallback" |