[3/3] configs, board/olpc: add OLPC XO-1.75 configuration
diff mbox series

Message ID 20190501072844.18455-4-lkundrak@v3.sk
State Superseded
Headers show
Series
  • configs,board: add OLPC XO laptops
Related show

Commit Message

Lubomir Rintel May 1, 2019, 7:28 a.m. UTC
The ARM-based OLPC XO laptop, now supported by mainline kernels.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 board/olpc/xo-1.75/linux.config | 28 +++++++++++++
 configs/olpc_xo175_defconfig    | 73 +++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)
 create mode 100644 board/olpc/xo-1.75/linux.config
 create mode 100644 configs/olpc_xo175_defconfig

Patch
diff mbox series

diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config
new file mode 100644
index 0000000000..235d82a9ee
--- /dev/null
+++ b/board/olpc/xo-1.75/linux.config
@@ -0,0 +1,28 @@ 
+CONFIG_ARCH_MMP=y
+CONFIG_MACH_MMP2_DT=y
+CONFIG_USB_EHCI_MV_U2O=y
+CONFIG_SWP_EMULATE=y
+CONFIG_OABI_COMPAT=y
+CONFIG_FORCE_MAX_ZONEORDER=16
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_SMC91X=m
+CONFIG_LIBERTAS_USB=m
+CONFIG_LIBERTAS_SDIO=y
+CONFIG_VIDEO_MMP_CAMERA=m
+CONFIG_DRM_ARMADA=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_USB_EHCI_MV=y
+CONFIG_MMC_SDHCI_PXAV3=y
+CONFIG_PHY_PXA_USB=y
+CONFIG_CRYPTO_LZO=m
+# CONFIG_XZ_DEC_X86 is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_LL=y
+CONFIG_DEBUG_MMP_UART3=y
+CONFIG_DEBUG_UNCOMPRESS=y
+CONFIG_EARLY_PRINTK=y
diff --git a/configs/olpc_xo175_defconfig b/configs/olpc_xo175_defconfig
new file mode 100644
index 0000000000..da57b9358c
--- /dev/null
+++ b/configs/olpc_xo175_defconfig
@@ -0,0 +1,73 @@ 
+BR2_arm=y
+BR2_pj4=y
+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
+BR2_TARGET_GENERIC_HOSTNAME="xo.local"
+BR2_INIT_SYSTEMD=y
+BR2_SYSTEM_BIN_SH_BASH=y
+# BR2_TARGET_GENERIC_GETTY is not set
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olpc/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olpc/xo-1.75/linux.config"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olpc/linux.config"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_PACKAGE_E2FSPROGS=y
+BR2_PACKAGE_E2FSPROGS_DEBUGFS=y
+BR2_PACKAGE_E2FSPROGS_E2IMAGE=y
+BR2_PACKAGE_E2FSPROGS_E4DEFRAG=y
+BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
+BR2_PACKAGE_LINUX_FIRMWARE=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897=y
+BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897=y
+BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y
+BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61=y
+BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y
+BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
+BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y
+BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
+BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y
+BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_LINUXCONSOLETOOLS=y
+BR2_PACKAGE_SPI_TOOLS=y
+BR2_PACKAGE_4TH=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
+BR2_PACKAGE_NSS_MDNS=y
+BR2_PACKAGE_AVAHI=y
+# BR2_PACKAGE_AVAHI_AUTOIPD is not set
+BR2_PACKAGE_AVAHI_DAEMON=y
+# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
+BR2_PACKAGE_IPROUTE2=y
+BR2_PACKAGE_IW=y
+BR2_PACKAGE_NETWORK_MANAGER=y
+BR2_PACKAGE_OPENSSH=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
+BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y
+BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y
+BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
+BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
+BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
+BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
+BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW=y
+BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION=y
+BR2_PACKAGE_FILE=y
+BR2_PACKAGE_WHICH=y
+# BR2_PACKAGE_SYSTEMD_NETWORKD is not set
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_LABEL="XO175"
+BR2_TARGET_ROOTFS_EXT2_SIZE="96M"
+BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O dir_index,^huge_file,^64bit,^extent"
+BR2_PACKAGE_HOST_GENIMAGE=y