From patchwork Wed Jun 17 10:49:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311108 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zZ4wRJz9sSJ for ; Wed, 17 Jun 2020 20:49:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D519488C21; Wed, 17 Jun 2020 10:49:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n5dcVrQ+Tmp6; Wed, 17 Jun 2020 10:49:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9BC7E884FD; Wed, 17 Jun 2020 10:49:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C49831BF406 for ; Wed, 17 Jun 2020 10:49:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C144187A08 for ; Wed, 17 Jun 2020 10:49:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1utcz52F_Z1V for ; Wed, 17 Jun 2020 10:49:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 333ED87776 for ; Wed, 17 Jun 2020 10:49:36 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 6A65A610B4; Wed, 17 Jun 2020 10:49:34 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:09 +0200 Message-Id: <20200617104925.1036330-2-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 01/17] board/olpc: move MTD symbols up to the common config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" XO-1 has an internal MTD device. Also, CONFIG_MTD_SPI_NOR was set twice for XO-1.75. One copy is removed, one remains. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 2 ++ board/olpc/xo-1.75/linux.config | 3 --- board/olpc/xo-1/linux.config | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index 0ea622eeec..524b80494a 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -19,6 +19,8 @@ CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y CONFIG_CHR_DEV_SG=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y CONFIG_NETDEVICES=y CONFIG_LIBERTAS=m CONFIG_INPUT_MOUSEDEV=y diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config index c5e0fe17e1..0ca7d16e30 100644 --- a/board/olpc/xo-1.75/linux.config +++ b/board/olpc/xo-1.75/linux.config @@ -31,9 +31,6 @@ CONFIG_LIBERTAS_THINFIRM=m CONFIG_MWIFIEX=m CONFIG_MWIFIEX_SDIO=m CONFIG_MTD_SPI_NOR=m -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_SPI_NOR=m CONFIG_I2C_PXA=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SPI=y diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 72d18ae009..594ee9547e 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -22,7 +22,9 @@ CONFIG_CMA=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=0 +CONFIG_MTD_ONENAND=y CONFIG_MTD_ONENAND_GENERIC=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_CAFE=y CONFIG_MTD_UBI=y CONFIG_CS5535_MFGPT=y From patchwork Wed Jun 17 10:49:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311109 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zc0R0Mz9sRh for ; Wed, 17 Jun 2020 20:49:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 40108884F3; Wed, 17 Jun 2020 10:49:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LboJ5EmMXczi; Wed, 17 Jun 2020 10:49:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B313988515; Wed, 17 Jun 2020 10:49:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5CD291BF406 for ; Wed, 17 Jun 2020 10:49:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5644187A14 for ; Wed, 17 Jun 2020 10:49:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YMKcDSqjjYQv for ; Wed, 17 Jun 2020 10:49:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id D8CB0879C9 for ; Wed, 17 Jun 2020 10:49:38 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id A4388610B4; Wed, 17 Jun 2020 10:49:37 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:10 +0200 Message-Id: <20200617104925.1036330-3-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 02/17] board/olpc: move SERIO_OLPC_APSP to XO-1.75 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This is the keyboard connected via the SP "security processor" on a XO-1.75. XO-1 has a regular PC keyboard. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 1 - board/olpc/xo-1.75/linux.config | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index 524b80494a..75670936e5 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -29,7 +29,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_X=1200 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=900 CONFIG_INPUT_EVDEV=y CONFIG_INPUT_TABLET=y -CONFIG_SERIO_OLPC_APSP=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_BATTERY_OLPC=y diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config index 0ca7d16e30..4a779a3b23 100644 --- a/board/olpc/xo-1.75/linux.config +++ b/board/olpc/xo-1.75/linux.config @@ -12,6 +12,7 @@ CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_VFP=y CONFIG_NEON=y +CONFIG_SERIO_OLPC_APSP=y CONFIG_REGULATOR_88PG86X=m CONFIG_VIDEO_MMP_CAMERA=y CONFIG_DRM_ARMADA=y From patchwork Wed Jun 17 10:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311110 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zc3n7tz9sSJ for ; Wed, 17 Jun 2020 20:49:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2A857226FF; Wed, 17 Jun 2020 10:49:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDHeuDua9KYH; Wed, 17 Jun 2020 10:49:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DC2E1203F6; Wed, 17 Jun 2020 10:49:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5E4CC1BF406 for ; Wed, 17 Jun 2020 10:49:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4EB6D203F6 for ; Wed, 17 Jun 2020 10:49:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bhhuNj3w9nLo for ; Wed, 17 Jun 2020 10:49:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by silver.osuosl.org (Postfix) with ESMTPS id EFD7A20349 for ; Wed, 17 Jun 2020 10:49:41 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 47A09610B4; Wed, 17 Jun 2020 10:49:40 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:11 +0200 Message-Id: <20200617104925.1036330-4-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 03/17] board/olpc: move BACKLIGHT_CLASS_DEVICE up to common config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Both machines need it. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 1 + board/olpc/xo-1.75/linux.config | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index 75670936e5..e4f94c87c9 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -45,6 +45,7 @@ CONFIG_DRM_PANEL_SIMPLE=m CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FB_SIMPLE=y CONFIG_LCD_CLASS_DEVICE=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_USB=y diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config index 4a779a3b23..f8c0bff5cc 100644 --- a/board/olpc/xo-1.75/linux.config +++ b/board/olpc/xo-1.75/linux.config @@ -19,7 +19,6 @@ CONFIG_DRM_ARMADA=y CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_DRM_SIMPLE_BRIDGE=m CONFIG_DRM_ETNAVIV=m -CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_USB_EHCI_MV=y CONFIG_MMC_SDHCI_PXAV3=y CONFIG_OLPC_XO175=y From patchwork Wed Jun 17 10:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311113 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zm0SnCz9sSJ for ; Wed, 17 Jun 2020 20:49:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AC2F1221FF; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OlaO6Pelw4I3; Wed, 17 Jun 2020 10:49:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1582522739; Wed, 17 Jun 2020 10:49:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 34A3E1BF406 for ; Wed, 17 Jun 2020 10:49:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2BFAC88515 for ; Wed, 17 Jun 2020 10:49:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K0S8lDSPzIjQ for ; Wed, 17 Jun 2020 10:49:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by hemlock.osuosl.org (Postfix) with ESMTPS id 43D8B884FD for ; Wed, 17 Jun 2020 10:49:44 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 7932B610B4; Wed, 17 Jun 2020 10:49:42 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:12 +0200 Message-Id: <20200617104925.1036330-5-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 04/17] board/olpc: move the SDHCI drivers to appropriate board configs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Platform driver on XO-1.75, PCI on XO-1. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 2 -- board/olpc/xo-1.75/linux.config | 1 + board/olpc/xo-1/linux.config | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index e4f94c87c9..4ba157cf0b 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -53,8 +53,6 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PCI=y -CONFIG_MMC_SDHCI_PLTFM=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config index f8c0bff5cc..b686950799 100644 --- a/board/olpc/xo-1.75/linux.config +++ b/board/olpc/xo-1.75/linux.config @@ -20,6 +20,7 @@ CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_DRM_SIMPLE_BRIDGE=m CONFIG_DRM_ETNAVIV=m CONFIG_USB_EHCI_MV=y +CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_PXAV3=y CONFIG_OLPC_XO175=y CONFIG_OLPC_XO175_EC=y diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 594ee9547e..8ed10ff62b 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -65,6 +65,7 @@ CONFIG_SND_AC97_POWER_SAVE=y CONFIG_SND_CS5535AUDIO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_OHCI_HCD=y +CONFIG_MMC_SDHCI_PCI=y CONFIG_FB_OLPC_DCON=y CONFIG_XO1_RFKILL=y CONFIG_RESET_CONTROLLER=y From patchwork Wed Jun 17 10:49:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311111 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zg4llfz9sRh for ; Wed, 17 Jun 2020 20:49:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 35CD4884FD; Wed, 17 Jun 2020 10:49:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Jyhk9UvQbWr; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7728888517; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 369911BF406 for ; Wed, 17 Jun 2020 10:49:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2F8D120349 for ; Wed, 17 Jun 2020 10:49:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BoaTktOdYEjT for ; Wed, 17 Jun 2020 10:49:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by silver.osuosl.org (Postfix) with ESMTPS id E7BC7226D8 for ; Wed, 17 Jun 2020 10:49:45 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id B4CCF610B4; Wed, 17 Jun 2020 10:49:44 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:13 +0200 Message-Id: <20200617104925.1036330-6-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 05/17] board/olpc: move GPIO_SYSFS to common config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" It's not specific to XO-1. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 1 + board/olpc/xo-1/linux.config | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index 4ba157cf0b..01de870730 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -21,6 +21,7 @@ CONFIG_BLK_DEV_SR=y CONFIG_CHR_DEV_SG=y CONFIG_MTD=y CONFIG_MTD_BLOCK=y +CONFIG_GPIO_SYSFS=y CONFIG_NETDEVICES=y CONFIG_LIBERTAS=m CONFIG_INPUT_MOUSEDEV=y diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 8ed10ff62b..0680e073cb 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -44,7 +44,6 @@ 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 From patchwork Wed Jun 17 10:49:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311112 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zh3pJkz9sSJ for ; Wed, 17 Jun 2020 20:49:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1542B87776; Wed, 17 Jun 2020 10:49:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SwK1I_aJjDfz; Wed, 17 Jun 2020 10:49:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A4306879DD; Wed, 17 Jun 2020 10:49:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id DE72B1BF406 for ; Wed, 17 Jun 2020 10:49:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A3303221FF for ; Wed, 17 Jun 2020 10:49:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3XnJFsLXjBFT for ; Wed, 17 Jun 2020 10:49:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by silver.osuosl.org (Postfix) with ESMTPS id BD96A226B3 for ; Wed, 17 Jun 2020 10:49:47 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 84736610B4; Wed, 17 Jun 2020 10:49:46 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:14 +0200 Message-Id: <20200617104925.1036330-7-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 06/17] board/olpc: move LIS3_SPI to XO-1.75 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" It's only present on ARM OLPC laptops. Signed-off-by: Lubomir Rintel --- board/olpc/xo-1.75/linux.config | 1 + board/olpc/xo-1/linux.config | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config index b686950799..30e43a8860 100644 --- a/board/olpc/xo-1.75/linux.config +++ b/board/olpc/xo-1.75/linux.config @@ -12,6 +12,7 @@ CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_VFP=y CONFIG_NEON=y +CONFIG_SENSORS_LIS3_SPI=y CONFIG_SERIO_OLPC_APSP=y CONFIG_REGULATOR_88PG86X=m CONFIG_VIDEO_MMP_CAMERA=y diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 0680e073cb..9f6731a5a5 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -29,7 +29,6 @@ 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 From patchwork Wed Jun 17 10:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311115 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zr15vVz9sRh for ; Wed, 17 Jun 2020 20:50:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BAE2522C44; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y3vqz3DONDjB; Wed, 17 Jun 2020 10:49:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AF7FA25C08; Wed, 17 Jun 2020 10:49:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EDD521BF989 for ; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EB4FC88515 for ; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9J0c516kjibt for ; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by hemlock.osuosl.org (Postfix) with ESMTPS id 73F5D884FD for ; Wed, 17 Jun 2020 10:49:49 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 47119610B4; Wed, 17 Jun 2020 10:49:48 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:15 +0200 Message-Id: <20200617104925.1036330-8-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 07/17] board/olpc: enable dependencies of options we use X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" A couple of config symbols were mising that things we enable depend on. Enable them. Signed-off-by: Lubomir Rintel --- board/olpc/linux.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/olpc/linux.config b/board/olpc/linux.config index 01de870730..538f7c5949 100644 --- a/board/olpc/linux.config +++ b/board/olpc/linux.config @@ -32,6 +32,7 @@ CONFIG_INPUT_EVDEV=y CONFIG_INPUT_TABLET=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_POWER_SUPPLY=y CONFIG_BATTERY_OLPC=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_MEDIA_SUPPORT=y @@ -54,14 +55,17 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y +CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_RTC_CLASS=y CONFIG_EXT4_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y +CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_FONTS=y CONFIG_FONT_TER16x32=y From patchwork Wed Jun 17 10:49:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311116 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zs63tnz9sRh for ; Wed, 17 Jun 2020 20:50:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4394088810; Wed, 17 Jun 2020 10:49:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rmw9Vcbnzq-i; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 98EBF89568; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id ECB0D1BF9AF for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7591022735 for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ebB8F5XMWHn9 for ; Wed, 17 Jun 2020 10:49:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by silver.osuosl.org (Postfix) with ESMTPS id 78D3B226B3 for ; Wed, 17 Jun 2020 10:49:51 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 34E20610B4; Wed, 17 Jun 2020 10:49:50 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:16 +0200 Message-Id: <20200617104925.1036330-9-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 08/17] board/olpc/xo-1: enable JFFS2 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The XO-1 laptop has a NAND flash an firmware capable of reading JFFS2 from it. Enable JFFS2 kernel support so that we'll be able to create images capable of booting from the internal flash. Signed-off-by: Lubomir Rintel --- board/olpc/xo-1/linux.config | 1 + 1 file changed, 1 insertion(+) diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 9f6731a5a5..63566e8b90 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -70,6 +70,7 @@ CONFIG_RESET_CONTROLLER=y CONFIG_GENERIC_PHY=y CONFIG_PROC_KCORE=y CONFIG_HUGETLBFS=y +CONFIG_JFFS2_FS=y CONFIG_JFFS2_FS_WBUF_VERIFY=y CONFIG_JFFS2_SUMMARY=y CONFIG_JFFS2_FS_XATTR=y From patchwork Wed Jun 17 10:49:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311114 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zp2S4rz9sRh for ; Wed, 17 Jun 2020 20:49:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D4ECC88517; Wed, 17 Jun 2020 10:49:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n6tQrLNwXclF; Wed, 17 Jun 2020 10:49:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5DD2D88810; Wed, 17 Jun 2020 10:49:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E31801BF406 for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E0092884E0 for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Wkb+lgFsZEP for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 674CA884DC for ; Wed, 17 Jun 2020 10:49:53 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 2ADF1610B4; Wed, 17 Jun 2020 10:49:52 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:17 +0200 Message-Id: <20200617104925.1036330-10-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 09/17] board/olpc/xo-1: enable STAGING X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The DCON driver for the platform is a staging driver. Signed-off-by: Lubomir Rintel --- board/olpc/xo-1/linux.config | 1 + 1 file changed, 1 insertion(+) diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 63566e8b90..356fbd6071 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -64,6 +64,7 @@ CONFIG_SND_CS5535AUDIO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_OHCI_HCD=y CONFIG_MMC_SDHCI_PCI=y +CONFIG_STAGING=y CONFIG_FB_OLPC_DCON=y CONFIG_XO1_RFKILL=y CONFIG_RESET_CONTROLLER=y From patchwork Wed Jun 17 10:49:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311117 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zx3N6Hz9sRh for ; Wed, 17 Jun 2020 20:50:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AD4C28888C; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f0M6luJ+1quw; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 264878957C; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C56A01BF406 for ; Wed, 17 Jun 2020 10:49:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C152E884CA for ; Wed, 17 Jun 2020 10:49:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tJbMgDxT8nSl for ; Wed, 17 Jun 2020 10:49:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4E204884E4 for ; Wed, 17 Jun 2020 10:49:55 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 1418F610B4; Wed, 17 Jun 2020 10:49:54 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:18 +0200 Message-Id: <20200617104925.1036330-11-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 10/17] board/olpc/xo-1: enable ACPI X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The DCON drivers depends on it. Signed-off-by: Lubomir Rintel --- board/olpc/xo-1/linux.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 356fbd6071..2541a310a5 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -6,7 +6,7 @@ CONFIG_HZ_100=y CONFIG_KEXEC=y CONFIG_PHYSICAL_START=0x400000 CONFIG_CMDLINE_BOOL=y -# CONFIG_ACPI is not set +CONFIG_ACPI=y CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_OLPC=y From patchwork Wed Jun 17 10:49:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311118 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n1zx3rCxz9sSg for ; Wed, 17 Jun 2020 20:50:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D01E6203F6; Wed, 17 Jun 2020 10:50:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QhtWOn7Pg8qy; Wed, 17 Jun 2020 10:50:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7D9AE226FF; Wed, 17 Jun 2020 10:50:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A78DF1BF406 for ; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A448C884E0 for ; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lMrYJGvv-ITk for ; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1CD27884CA for ; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id DE641610B4; Wed, 17 Jun 2020 10:49:55 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:19 +0200 Message-Id: <20200617104925.1036330-12-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 11/17] board/olpc/xo-1: drop garbage from kernel config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" These are unnecessary in a defconfig. Signed-off-by: Lubomir Rintel --- board/olpc/xo-1/linux.config | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config index 2541a310a5..12919471a2 100644 --- a/board/olpc/xo-1/linux.config +++ b/board/olpc/xo-1/linux.config @@ -4,7 +4,6 @@ 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=y CONFIG_CPU_IDLE=y @@ -13,10 +12,7 @@ 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 From patchwork Wed Jun 17 10:49:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311119 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n2010yWQz9sRh for ; Wed, 17 Jun 2020 20:50:09 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 650E087AB6; Wed, 17 Jun 2020 10:50:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J61M7gico15D; Wed, 17 Jun 2020 10:50:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 72B6187A02; Wed, 17 Jun 2020 10:50:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9964E1BF989 for ; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9564C884E4 for ; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edD4Gf+-6REw for ; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 072D1884E0 for ; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id CD5CA610B4; Wed, 17 Jun 2020 10:49:57 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:20 +0200 Message-Id: <20200617104925.1036330-13-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 12/17] board/olpc: set JFFS2 root when booting from a MTD X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This makes the boot script set appropriate root parameters when it's loaded from a NAND flash device. Signed-off-by: Lubomir Rintel --- board/olpc/olpc.fth | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/board/olpc/olpc.fth b/board/olpc/olpc.fth index 678f0af5b5..b4cbecf11f 100644 --- a/board/olpc/olpc.fth +++ b/board/olpc/olpc.fth @@ -5,10 +5,11 @@ " /aliases" find-device " last" get-property abort" No last alias" -" /pci/sd@c" 2over substring? if " root=/dev/mmcblk0p1 " to boot-file then -" /sd/sdhci@d4280000" 2over substring? if " root=/dev/mmcblk1p1 " to boot-file then -" /pci/usb@" 2over substring? if " root=/dev/sda1 " to boot-file then -" /usb@" 2over substring? if " root=/dev/sda1 " to boot-file then +" /pci/sd@c" 2over substring? if " root=/dev/mmcblk0p1 " to boot-file then +" /sd/sdhci@d4280000" 2over substring? if " root=/dev/mmcblk1p1 " to boot-file then +" /pci/usb@" 2over substring? if " root=/dev/sda1 " to boot-file then +" /usb@" 2over substring? if " root=/dev/sda1 " to boot-file then +" /pci/nandflash@c" 2over substring? if " root=/dev/mtdblock0 rootfstype=jffs2 " to boot-file then 2drop root-device " compatible" get-property dend if 0 0 then ( compatible$ ) From patchwork Wed Jun 17 10:49:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311120 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20708JSz9sRh for ; Wed, 17 Jun 2020 20:50:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1303826866; Wed, 17 Jun 2020 10:50:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ccHGR4Zkkj91; Wed, 17 Jun 2020 10:50:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7045226295; Wed, 17 Jun 2020 10:50:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6C5411BF989 for ; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 665A0879FE for ; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DKNtcJKxwwCi for ; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E25FD879DD for ; Wed, 17 Jun 2020 10:50:00 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id AA1D0610B4; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:21 +0200 Message-Id: <20200617104925.1036330-14-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 13/17] configs/olpc_xo1: enable JFFS2 image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The machine has a NAND flash device and firmware capable of loading the OS from a JFFS2 file system on it. Enable creation of JFFS2 image that can be written to said flash device. Signed-off-by: Lubomir Rintel --- configs/olpc_xo1_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/olpc_xo1_defconfig b/configs/olpc_xo1_defconfig index 5919f6ab36..36ac051ffb 100644 --- a/configs/olpc_xo1_defconfig +++ b/configs/olpc_xo1_defconfig @@ -21,4 +21,8 @@ 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_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTD=y From patchwork Wed Jun 17 10:49:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311122 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20c1ShGz9sSg for ; Wed, 17 Jun 2020 20:50:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BA89C87778; Wed, 17 Jun 2020 10:50:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5VBurtSPFPM; Wed, 17 Jun 2020 10:50:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3E1208625B; Wed, 17 Jun 2020 10:50:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6DA771BF406 for ; Wed, 17 Jun 2020 10:50:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6B0EB879FE for ; Wed, 17 Jun 2020 10:50:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FTqTlfTNr7Oo for ; Wed, 17 Jun 2020 10:50:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DA8CA879DD for ; Wed, 17 Jun 2020 10:50:02 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 98B89610B4; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:22 +0200 Message-Id: <20200617104925.1036330-15-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 14/17] board/olpc: move the paragraph on firmware up in the readme X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Lubomir Rintel --- board/olpc/readme.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/board/olpc/readme.txt b/board/olpc/readme.txt index d57635926e..2ed44011f7 100644 --- a/board/olpc/readme.txt +++ b/board/olpc/readme.txt @@ -28,18 +28,6 @@ Then: $ make menuconfig # Customize the build configuration $ make # Build -Create the bootable media -========================= - -When the build is finished, the resulting image file will be called -"sdcard.img". It can be written directly to a SD-card or and USB flash stick. - -Please double check that you're using the right device (e.g. with "lsblk" -command). Doing the following will DESTROY ALL DATA that's currently on the -media. - - # cat output/images/sdcard.img >/dev/ - Preparing the machine ===================== @@ -71,6 +59,18 @@ to update the firmware: ok flash ext:\q4e00ja.rom \ Flash the "q4e00ja.rom" from the SD card ok flash u:\q4e00ja.rom \ Flash the "q4e00ja.rom" from USB stick +Create the bootable media +========================= + +When the build is finished, the resulting image file will be called +"sdcard.img". It can be written directly to a SD-card or and USB flash stick. + +Please double check that you're using the right device (e.g. with "lsblk" +command). Doing the following will DESTROY ALL DATA that's currently on the +media. + + # cat output/images/sdcard.img >/dev/ + Booting the machine =================== From patchwork Wed Jun 17 10:49:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311123 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20d6dgDz9sSn for ; Wed, 17 Jun 2020 20:50:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 35F4F221FF; Wed, 17 Jun 2020 10:50:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJHm9bbcuUB2; Wed, 17 Jun 2020 10:50:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 458FC226D8; Wed, 17 Jun 2020 10:50:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 724481BF989 for ; Wed, 17 Jun 2020 10:50:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6F82E879DD for ; Wed, 17 Jun 2020 10:50:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yzqm5Iovq3s9 for ; Wed, 17 Jun 2020 10:50:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BEC7F87776 for ; Wed, 17 Jun 2020 10:50:04 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 86854610B4; Wed, 17 Jun 2020 10:50:03 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:23 +0200 Message-Id: <20200617104925.1036330-16-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 15/17] board/olpc: document flashing the JFFS2 image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Lubomir Rintel --- board/olpc/readme.txt | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/board/olpc/readme.txt b/board/olpc/readme.txt index 2ed44011f7..f04ad7037c 100644 --- a/board/olpc/readme.txt +++ b/board/olpc/readme.txt @@ -9,10 +9,13 @@ Supported models * OLPC XO-1 The original NS Geode based OLPC laptop, uses the x86 architecture. + Can be booted either from an internal MTD device formatted with JFFS2 + or from a FAT or EXT4 partition on a SD card or a USB flash stick. * OLPC XO-7.5 The ARM-based laptop. Needs a recent enough firmware to provide a good - enough flattened device tree to the kernel. + enough flattened device tree to the kernel. Can be from a FAT or EXT4 + partition on a internal eMMC, a SD card or a USB flash stick. Configure and build =================== @@ -59,20 +62,37 @@ to update the firmware: ok flash ext:\q4e00ja.rom \ Flash the "q4e00ja.rom" from the SD card ok flash u:\q4e00ja.rom \ Flash the "q4e00ja.rom" from USB stick -Create the bootable media -========================= +Create the bootable SD card or USB flash stick +============================================== -When the build is finished, the resulting image file will be called -"sdcard.img". It can be written directly to a SD-card or and USB flash stick. +When the build is finished, an image file called "sdcard.img" will be created. +It is suitable for writing directly to a SD card, USB flash stick or (on a +XO-1.75) the internal eMMC flash. -Please double check that you're using the right device (e.g. with "lsblk" -command). Doing the following will DESTROY ALL DATA that's currently on the -media. +Before writing the image, please double check that you're using the right +device (e.g. with "lsblk" command). Doing the following will DESTROY ALL DATA +that's currently on the media. # cat output/images/sdcard.img >/dev/ +Flashing the JFFS2 image (XO-1 only) +==================================== + +Unlike XO-1.75, the internal NAND flash on XO-1 is accessed without a FTL +and needs a filesystem flash-friendly filesystem. A build configured for +XO-1 creates a file named "root.jffs2" that can be written to it. + +One way to write it is from the Open Firmware prompt. First, partition +and format a USB flash disk with a FAT file system and place the +"root.jffs2" file onto it. Then power on the machine, enter the +Open Firmware port by pressing the ESC key and run the following: + + ok patch noop ?open-crcs copy-nand \ Disable CRC check + ok copy-nand u:\root.jffs2 + Booting the machine =================== Once your machine is unlocked, it will automatically boot from your media -wherever it will detect it attached to the USB bus or the SD card slot. +wherever it will detect it attached to the USB bus or the SD card slot, +otherwise it will proceed booting from the internal flash. From patchwork Wed Jun 17 10:49:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311125 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20q3kf0z9sRh for ; Wed, 17 Jun 2020 20:50:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 07B8024F78; Wed, 17 Jun 2020 10:50:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyhgOqTbnOlW; Wed, 17 Jun 2020 10:50:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A3CCB22735; Wed, 17 Jun 2020 10:50:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 3DB241BF406 for ; Wed, 17 Jun 2020 10:50:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3A2A087AC3 for ; Wed, 17 Jun 2020 10:50:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UawZDlbvkmjI for ; Wed, 17 Jun 2020 10:50:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B5E4987A62 for ; Wed, 17 Jun 2020 10:50:06 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 813BE610B4; Wed, 17 Jun 2020 10:50:05 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:24 +0200 Message-Id: <20200617104925.1036330-17-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 16/17] configs/olpc_xo1: bump kernel version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Update kernel to version 5.7.1. Signed-off-by: Lubomir Rintel --- Changes since v1: - Added this patch configs/olpc_xo1_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olpc_xo1_defconfig b/configs/olpc_xo1_defconfig index 36ac051ffb..79a8a77bf3 100644 --- a/configs/olpc_xo1_defconfig +++ b/configs/olpc_xo1_defconfig @@ -1,11 +1,11 @@ BR2_x86_geode=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=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_CUSTOM_VERSION_VALUE="5.7.1" 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" From patchwork Wed Jun 17 10:49:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311127 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20w6pgzz9sRR for ; Wed, 17 Jun 2020 20:50:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0234426261; Wed, 17 Jun 2020 10:50:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WFv5xNzO4TS2; Wed, 17 Jun 2020 10:50:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9E74122C44; Wed, 17 Jun 2020 10:50:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 55A4F1BF406 for ; Wed, 17 Jun 2020 10:50:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 527AF887E0 for ; Wed, 17 Jun 2020 10:50:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1wvZRxvXJmtA for ; Wed, 17 Jun 2020 10:50:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id A4896887D9 for ; Wed, 17 Jun 2020 10:50:08 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 6F13E610B4; Wed, 17 Jun 2020 10:50:07 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:25 +0200 Message-Id: <20200617104925.1036330-18-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 17/17] configs/olpc_xo175: bump kernel version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Update kernel to version 5.7.1. Signed-off-by: Lubomir Rintel --- Changes since v1: - Added this patch configs/olpc_xo175_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/olpc_xo175_defconfig b/configs/olpc_xo175_defconfig index 6e31ecf92c..19075fe5a2 100644 --- a/configs/olpc_xo175_defconfig +++ b/configs/olpc_xo175_defconfig @@ -1,12 +1,12 @@ BR2_arm=y BR2_pj4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=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_CUSTOM_VERSION_VALUE="5.7.1" 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"