diff --git a/src/config/local/branding.h b/src/config/local/branding.h new file mode 100644 index 00000000000..ea9d4289ce2 --- /dev/null +++ b/src/config/local/branding.h @@ -0,0 +1,5 @@ +#undef PRODUCT_SHORT_NAME +#define PRODUCT_SHORT_NAME "Zero-OS Network Driver" + +#undef PRODUCT_URI +#define PRODUCT_URI "https://bootstrap.grid.tf" diff --git a/src/config/local/colour.h b/src/config/local/colour.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/console.h b/src/config/local/console.h new file mode 100644 index 00000000000..f71c516f1ee --- /dev/null +++ b/src/config/local/console.h @@ -0,0 +1,12 @@ +/* Increase log level on screen console */ +// #undef LOG_LEVEL +// #define LOG_LEVEL LOG_ALL + +#undef CONSOLE_PCBIOS +#define CONSOLE_PCBIOS CONSOLE_USAGE_ALL + +#undef CONSOLE_EFI +#define CONSOLE_EFI CONSOLE_USAGE_ALL + +/* Enable Serial Console port (useful with IPMI, etc. with console redirection) */ +#define CONSOLE_SERIAL diff --git a/src/config/local/crypto.h b/src/config/local/crypto.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/dhcp.h b/src/config/local/dhcp.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/entropy.h b/src/config/local/entropy.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/fault.h b/src/config/local/fault.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/fdt.h b/src/config/local/fdt.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/general.h b/src/config/local/general.h new file mode 100644 index 00000000000..71e742f4f3b --- /dev/null +++ b/src/config/local/general.h @@ -0,0 +1,58 @@ +/* + * These settings are relevant only with our + * autoboot script. This release is intended to be used + * only with the Zero OS Bootstrap boot script and nothing else, + * thus, we can disable all commands and protocols not used + * by that script. + */ + +/* For now, we only support IPv4 bootstrapping */ +#undef NET_PROTO_IPV6 /* IPv6 protocol */ + +/* Disable protocols we don't use */ +#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */ +#undef NET_PROTO_EAPOL /* EAP over LAN protocol */ + +/* Enable HTTPS protocol which is the only one we really use */ +#define DOWNLOAD_PROTO_HTTPS + +/* Disable SAN boot protocols */ +#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */ +#undef SANBOOT_PROTO_AOE /* AoE protocol */ +#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */ +#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */ +#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */ + +/* Disable Wireless encryption, we don't support wireless devices */ +#undef CRYPTO_80211_WEP +#undef CRYPTO_80211_WPA +#undef CRYPTO_80211_WPA2 +#undef EAP_METHOD_MD5 + +/* Disable Etherboot Images support */ +#undef IMAGE_PNG +#undef IMAGE_DER +#undef IMAGE_PEM + +/* Disable commands we don't need */ +#undef IWMGMT_CMD /* Wireless interface management commands */ +#undef IBMGMT_CMD /* Infiniband management commands */ +#undef FCMGMT_CMD /* Fibre Channel management commands */ +#undef SANBOOT_CMD /* SAN boot commands */ +//#undef MENU_CMD +#undef FORM_CMD +#undef LOGIN_CMD +#undef SYNC_CMD +#undef IMAGE_ARCHIVE_CMD /* Archive image management commands */ +#undef SHIM_CMD /* EFI shim command (or dummy command) */ + +/* Enable extra commands not enabled by default */ +/* We mostly use them to provide debug information */ +#define NSLOOKUP_CMD /* DNS resolving command */ +#define TIME_CMD /* Show current local time (useful for HTTPS) */ +#define REBOOT_CMD /* Reboot if the script fails */ +#define PING_CMD /* We may send an initial ping request */ +#define NTP_CMD /* We do time syncronization during boot */ +#define CERT_CMD + +#define BUILD_ID "24.11.12" diff --git a/src/config/local/ioapi.h b/src/config/local/ioapi.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/isa.h b/src/config/local/isa.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/nap.h b/src/config/local/nap.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/reboot.h b/src/config/local/reboot.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/sanboot.h b/src/config/local/sanboot.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/serial.h b/src/config/local/serial.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/settings.h b/src/config/local/settings.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/sideband.h b/src/config/local/sideband.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/time.h b/src/config/local/time.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/timer.h b/src/config/local/timer.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/umalloc.h b/src/config/local/umalloc.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/config/local/usb.h b/src/config/local/usb.h new file mode 100644 index 00000000000..b63ca865bae --- /dev/null +++ b/src/config/local/usb.h @@ -0,0 +1,9 @@ +/* No need for USB support with auto execute script */ +//#undef USB_HCD_XHCI /* xHCI USB host controller */ +//#undef USB_HCD_EHCI /* EHCI USB host controller */ +//#undef USB_HCD_UHCI /* UHCI USB host controller */ + +//#undef USB_KEYBOARD /* USB keyboards */ +#undef USB_BLOCK /* USB block devices */ + +//#undef USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */