You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. * This file defines the configuration for Etherboot.
  3. *
  4. * The build system splits this file into several individual header
  5. * files of the form config/%.h, so that changing one option doesn't
  6. * necessitate a rebuild of every single object. For this reason, it
  7. * is important to maintain the strict formatting in this file.
  8. *
  9. */
  10. /* @BEGIN general.h
  11. *
  12. * Console configuration
  13. *
  14. * These options specify the console types that Etherboot will use for
  15. * interaction with the user.
  16. *
  17. */
  18. #define CONSOLE_FIRMWARE /* Default BIOS console */
  19. #undef CONSOLE_SERIAL /* Serial port */
  20. #undef CONSOLE_DIRECT_VGA /* Direct access to VGA card */
  21. #undef CONSOLE_BTEXT /* Who knows what this does? */
  22. #undef CONSOLE_PC_KBD /* Direct access to PC keyboard */
  23. /* @END general.h */
  24. /* @BEGIN serial.h
  25. *
  26. * Serial port configuration
  27. *
  28. * These options affect the operation of the serial console. They
  29. * take effect only if the serial console is included using the
  30. * CONSOLE_SERIAL option.
  31. *
  32. */
  33. #define COMCONSOLE 0x3f8 /* I/O port address */
  34. /* Keep settings from a previous user of the serial port (e.g. lilo or
  35. * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
  36. */
  37. #undef COMPRESERVE
  38. #ifndef COMPRESERVE
  39. #define COMSPEED 115200 /* Baud rate */
  40. #define COMDATA 8 /* Data bits */
  41. #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
  42. #define COMSTOP 1 /* Stop bits */
  43. #endif
  44. /* @END serial.h */
  45. /* @BEGIN general.h
  46. *
  47. * Timer configuration
  48. *
  49. */
  50. #define TIMER_BIOS /* 18Hz BIOS timer */
  51. #define TIMER_RDTSC /* CPU TimeStamp Counter timer */
  52. #define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
  53. banner should appear */
  54. /* @END general.h */
  55. /* @BEGIN isa.h
  56. *
  57. * ISA probe address configuration
  58. *
  59. * You can override the list of addresses that will be probed by any
  60. * ISA drivers.
  61. *
  62. */
  63. #undef ISA_PROBE_ADDRS /* e.g. 0x200, 0x300 */
  64. #undef ISA_PROBE_ONLY /* Do not probe any other addresses */
  65. /* @END isa.h */
  66. /* @BEGIN general.h
  67. *
  68. * Network protocols
  69. *
  70. */
  71. #define NET_PROTO_IPV4 /* IPv4 protocol */
  72. /* @END general.h */
  73. /* @BEGIN general.h
  74. *
  75. * Download protocols
  76. *
  77. */
  78. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  79. #undef DOWNLOAD_PROTO_NFS /* Network File System */
  80. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  81. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  82. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  83. #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
  84. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  85. #undef DOWNLOAD_PROTO_FSP /* FSP? */
  86. /* @END general.h */
  87. /* @BEGIN general.h
  88. *
  89. * Name resolution modules
  90. *
  91. */
  92. #define DNS_RESOLVER /* DNS resolver */
  93. #undef NMB_RESOLVER /* NMB resolver */
  94. /* @END general.h */
  95. /* @BEGIN general.h
  96. *
  97. * Image types
  98. *
  99. * Etherboot supports various image formats. Select whichever ones
  100. * you want to use.
  101. *
  102. */
  103. #undef IMAGE_NBI /* NBI image support */
  104. #define IMAGE_ELF /* ELF image support */
  105. #undef IMAGE_FREEBSD /* FreeBSD kernel image support */
  106. #define IMAGE_MULTIBOOT /* MultiBoot image support */
  107. #undef IMAGE_AOUT /* a.out image support */
  108. #undef IMAGE_WINCE /* WinCE image support */
  109. #define IMAGE_PXE /* PXE image support */
  110. #define IMAGE_SCRIPT /* gPXE script image support */
  111. #define IMAGE_BZIMAGE /* Linux bzImage image support */
  112. #define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  113. /* @END general.h */
  114. /* @BEGIN general.h
  115. *
  116. * Command-line commands to include
  117. *
  118. */
  119. #define AUTOBOOT_CMD /* Automatic booting */
  120. #define NVO_CMD /* Non-volatile option storage commands */
  121. #define CONFIG_CMD /* Option configuration console */
  122. #define IFMGMT_CMD /* Interface management commands */
  123. #define ROUTE_CMD /* Routing table management commands */
  124. #define IMAGE_CMD /* Image management commands */
  125. #define DHCP_CMD /* DHCP management commands */
  126. #define SANBOOT_CMD /* SAN boot commands */
  127. /* @END general.h */
  128. /* @BEGIN general.h
  129. *
  130. * Obscure configuration options
  131. *
  132. * You probably don't need to touch these.
  133. *
  134. */
  135. #undef BUILD_SERIAL /* Include an automatic build serial
  136. * number. Add "bs" to the list of
  137. * make targets. For example:
  138. * "make bin/rtl8139.dsk bs" */
  139. #undef BUILD_ID /* Include a custom build ID string,
  140. * e.g "test-foo" */
  141. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  142. #undef GDBSERIAL /* Remote GDB debugging over serial */
  143. #undef GDBUDP /* Remote GDB debugging over UDP
  144. * (both may be set) */
  145. /* @END general.h */
  146. /* @TRYSOURCE config-local.h */