configs/olpc_xo1: new defconfig
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 16 Apr 2020 09:59:53 +0000 (11:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 17 Apr 2020 21:10:42 +0000 (23:10 +0200)
This defconfig supports the OLPC XO-1 platform.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
DEVELOPERS
board/olpc/xo-1/linux.config [new file with mode: 0644]
configs/olpc_xo1_defconfig [new file with mode: 0644]

index efce0d5c669c3e4510b1da3a8f90c0b5f0f9e668..b8629bd92087f3b1ac8bd917c4f4a0c48c7dc6d6 100644 (file)
@@ -243,6 +243,7 @@ olimex_a20_olinuxino_micro_defconfig: { extends: .defconfig }
 olimex_a33_olinuxino_defconfig: { extends: .defconfig }
 olimex_a64_olinuxino_defconfig: { extends: .defconfig }
 olimex_imx233_olinuxino_defconfig: { extends: .defconfig }
+olpc_xo1_defconfig: { extends: .defconfig }
 openblocks_a6_defconfig: { extends: .defconfig }
 orangepi_lite2_defconfig: { extends: .defconfig }
 orangepi_lite_defconfig: { extends: .defconfig }
index b35f543d00442b79ce7964fae167cc9cd50c70f8..7cf0630fb8e169f3040be024a2b4303c527da9b9 100644 (file)
@@ -1544,6 +1544,7 @@ F:        package/fswebcam/
 
 N:     Lubomir Rintel <lkundrak@v3.sk>
 F:     board/olpc/
+F:     configs/olpc_xo1_defconfig
 
 N:     Ludovic Desroches <ludovic.desroches@microchip.com>
 F:     board/atmel/
diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config
new file mode 100644 (file)
index 0000000..72d18ae
--- /dev/null
@@ -0,0 +1,81 @@
+# CONFIG_64BIT is not set
+CONFIG_IOSF_MBI=y
+CONFIG_MGEODE_LX=y
+CONFIG_X86_MSR=y
+CONFIG_HZ_100=y
+CONFIG_KEXEC=y
+CONFIG_PHYSICAL_START=0x400000
+CONFIG_CMDLINE_BOOL=y
+# CONFIG_ACPI is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_OLPC=y
+CONFIG_OLPC_XO1_PM=y
+CONFIG_OLPC_XO1_RTC=y
+CONFIG_OLPC_XO1_SCI=y
+# CONFIG_FIRMWARE_MEMMAP is not set
+# CONFIG_VIRTUALIZATION is not set
+CONFIG_ARCH_MMAP_RND_BITS=16
+CONFIG_REFCOUNT_FULL=y
+CONFIG_SPARSEMEM_MANUAL=y
+CONFIG_CMA=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_REDBOOT_PARTS=y
+CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=0
+CONFIG_MTD_ONENAND_GENERIC=y
+CONFIG_MTD_NAND_CAFE=y
+CONFIG_MTD_UBI=y
+CONFIG_CS5535_MFGPT=y
+CONFIG_CS5535_CLOCK_EVENT_SRC=y
+CONFIG_SENSORS_LIS3_SPI=y
+CONFIG_MOUSE_PS2_OLPC=y
+CONFIG_SERIAL_8250_NR_UARTS=1
+CONFIG_SERIAL_8250_RUNTIME_UARTS=1
+CONFIG_SERIAL_8250_EXTENDED=y
+CONFIG_SERIAL_8250_MANY_PORTS=y
+CONFIG_SERIAL_8250_SHARE_IRQ=y
+CONFIG_SERIAL_8250_DETECT_IRQ=y
+CONFIG_SERIAL_8250_RSA=y
+CONFIG_HW_RANDOM=y
+# CONFIG_HW_RANDOM_VIA is not set
+CONFIG_NVRAM=y
+CONFIG_SCx200_ACB=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_CS5535=y
+CONFIG_THERMAL=y
+CONFIG_WATCHDOG=y
+CONFIG_GEODE_WDT=y
+CONFIG_MFD_CS5535=y
+CONFIG_MFD_MAX8925=y
+CONFIG_VIDEO_CAFE_CCIC=y
+CONFIG_FB_TILEBLITTING=y
+CONFIG_FB_VESA=y
+CONFIG_FB_GEODE=y
+CONFIG_FB_GEODE_LX=y
+CONFIG_BACKLIGHT_MAX8925=y
+CONFIG_VGACON_SOFT_SCROLLBACK=y
+CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_DYNAMIC_MINORS=y
+CONFIG_SND_AC97_POWER_SAVE=y
+CONFIG_SND_CS5535AUDIO=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_FB_OLPC_DCON=y
+CONFIG_XO1_RFKILL=y
+CONFIG_RESET_CONTROLLER=y
+CONFIG_GENERIC_PHY=y
+CONFIG_PROC_KCORE=y
+CONFIG_HUGETLBFS=y
+CONFIG_JFFS2_FS_WBUF_VERIFY=y
+CONFIG_JFFS2_SUMMARY=y
+CONFIG_JFFS2_FS_XATTR=y
+CONFIG_JFFS2_COMPRESSION_OPTIONS=y
+CONFIG_UBIFS_FS=y
+CONFIG_PCI=y
+CONFIG_LIBERTAS_USB=m
+CONFIG_LIBERTAS_MESH=y
+CONFIG_LIBERTAS_THINFIRM=m
+CONFIG_LIBERTAS_THINFIRM_USB=m
diff --git a/configs/olpc_xo1_defconfig b/configs/olpc_xo1_defconfig
new file mode 100644 (file)
index 0000000..48b394a
--- /dev/null
@@ -0,0 +1,23 @@
+BR2_x86_geode=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olpc/xo-1/linux.config"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olpc/linux.config"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_PACKAGE_LINUX_FIRMWARE=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC=y
+BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_LABEL="XO1"
+BR2_TARGET_ROOTFS_EXT2_SIZE="32M"
+BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O dir_index,^huge_file,^64bit,^extent"
+BR2_PACKAGE_HOST_GENIMAGE=y