From patchwork Sun May 17 11:53:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292127 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 49Q0t24TW3z9sT8 for ; Sun, 17 May 2020 21:54:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 163BE204EB; Sun, 17 May 2020 11:53:57 +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 KbJYCZ5y-j5m; Sun, 17 May 2020 11:53:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5E5742048C; Sun, 17 May 2020 11:53:53 +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 031411BF3D5 for ; Sun, 17 May 2020 11:53:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 000E6864D0 for ; Sun, 17 May 2020 11:53:50 +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 PZYywBqSdbWO for ; Sun, 17 May 2020 11:53:49 +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 9EC18864CD for ; Sun, 17 May 2020 11:53:49 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id CC5D9610D3; Sun, 17 May 2020 11:53:47 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:27 +0200 Message-Id: <20200517115341.1677382-2-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 01/15] 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 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 Sun May 17 11:53:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292129 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 49Q0t85hn1z9sT8 for ; Sun, 17 May 2020 21:54:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C02AB204C5; Sun, 17 May 2020 11:54:04 +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 IJZY8vB38fGG; Sun, 17 May 2020 11:53:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0D965204CF; Sun, 17 May 2020 11:53: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 3393F1BF3D5 for ; Sun, 17 May 2020 11:53:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2DE9A877AB for ; Sun, 17 May 2020 11:53: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 4wlj+RmDwOJg for ; Sun, 17 May 2020 11:53:51 +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 7980287775 for ; Sun, 17 May 2020 11:53:51 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id A0367610D5; Sun, 17 May 2020 11:53:49 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:28 +0200 Message-Id: <20200517115341.1677382-3-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 02/15] 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 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 Sun May 17 11:53:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292128 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Q0t44JQ8z9sT8 for ; Sun, 17 May 2020 21:54:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D108F87F31; Sun, 17 May 2020 11:54:00 +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 Tckeuc6gTzBo; Sun, 17 May 2020 11:53:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0643F877AB; Sun, 17 May 2020 11:53:59 +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 CEE021BF3D5 for ; Sun, 17 May 2020 11:53:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C947F86B46 for ; Sun, 17 May 2020 11:53:54 +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 lW96mosjP0vZ for ; Sun, 17 May 2020 11:53:52 +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 8A30D86519 for ; Sun, 17 May 2020 11:53:52 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 53D2E610D7; Sun, 17 May 2020 11:53:51 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:29 +0200 Message-Id: <20200517115341.1677382-4-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 03/15] 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 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 Sun May 17 11:53:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292133 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 49Q0tH5LSMz9sTD for ; Sun, 17 May 2020 21:54:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0585120502; Sun, 17 May 2020 11:54:14 +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 rqpMP4CtzK-Y; Sun, 17 May 2020 11:54:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 11CCF20509; Sun, 17 May 2020 11:54:00 +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 DBD8E1BF94D for ; Sun, 17 May 2020 11:53:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D8F2B884C1 for ; Sun, 17 May 2020 11:53:54 +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 3L+KBggZ6IrJ for ; Sun, 17 May 2020 11:53:54 +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 2E7D288456 for ; Sun, 17 May 2020 11:53:54 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id E453E610B0; Sun, 17 May 2020 11:53:52 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:30 +0200 Message-Id: <20200517115341.1677382-5-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 04/15] 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 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 Sun May 17 11:53:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292130 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 49Q0t91qqxz9sTD for ; Sun, 17 May 2020 21:54:09 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CCDF488456; Sun, 17 May 2020 11:54:06 +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 0WUxuL4MztQH; Sun, 17 May 2020 11:54:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3B4EA884C1; Sun, 17 May 2020 11:54:06 +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 3FA381BF3D5 for ; Sun, 17 May 2020 11:53:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D0C6877AB for ; Sun, 17 May 2020 11:53:56 +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 KJQJUgjU+Chc for ; Sun, 17 May 2020 11:53: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 B362287775 for ; Sun, 17 May 2020 11:53:55 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 7DB0A610B0; Sun, 17 May 2020 11:53:54 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:31 +0200 Message-Id: <20200517115341.1677382-6-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 05/15] 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 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 Sun May 17 11:53:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292137 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 49Q0tP4ftJz9sT8 for ; Sun, 17 May 2020 21:54:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0BC97214D2; Sun, 17 May 2020 11:54:18 +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 G8KHnk1cun2y; Sun, 17 May 2020 11:54:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8695620794; Sun, 17 May 2020 11:54:07 +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 E14F91BF3D5 for ; Sun, 17 May 2020 11:53:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DEFAA877AB for ; Sun, 17 May 2020 11:53: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 ha+tw71je-ky for ; Sun, 17 May 2020 11:53: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 6323A87775 for ; Sun, 17 May 2020 11:53:57 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 2E029610B0; Sun, 17 May 2020 11:53:56 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:32 +0200 Message-Id: <20200517115341.1677382-7-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 06/15] 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 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 Sun May 17 11:53:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292135 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Q0tL2NfNz9sT8 for ; Sun, 17 May 2020 21:54:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4125C876C0; Sun, 17 May 2020 11:54:15 +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 tH13yGcUWTFy; Sun, 17 May 2020 11:54:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 550B187F39; Sun, 17 May 2020 11:54:14 +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 040021BF3D5 for ; Sun, 17 May 2020 11:54:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CF4D020525 for ; Sun, 17 May 2020 11:54:04 +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 p8gO5Hkr5AYx for ; Sun, 17 May 2020 11:54:01 +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 8C3A8204E2 for ; Sun, 17 May 2020 11:53:59 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id B2506610B0; Sun, 17 May 2020 11:53:57 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:33 +0200 Message-Id: <20200517115341.1677382-8-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 07/15] 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 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 Sun May 17 11:53:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292131 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 49Q0tF3h88z9sT8 for ; Sun, 17 May 2020 21:54:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D415486A90; Sun, 17 May 2020 11:54:11 +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 ODzEnHzJArXD; Sun, 17 May 2020 11:54:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 53F8586A92; Sun, 17 May 2020 11:54:11 +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 8EFDF1BF3D5 for ; Sun, 17 May 2020 11:54:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8968E87775 for ; Sun, 17 May 2020 11:54:01 +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 zQxURe9W8s1d for ; Sun, 17 May 2020 11:54:00 +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 6816987F19 for ; Sun, 17 May 2020 11:54:00 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 31ADC610D3; Sun, 17 May 2020 11:53:59 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:34 +0200 Message-Id: <20200517115341.1677382-9-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 08/15] 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 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 Sun May 17 11:53:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292132 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Q0tH3F7fz9sT8 for ; Sun, 17 May 2020 21:54:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A2A2487F08; Sun, 17 May 2020 11:54:13 +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 p5DIfi8QaMeA; Sun, 17 May 2020 11:54:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 45087875F0; Sun, 17 May 2020 11:54:12 +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 789401BF3D5 for ; Sun, 17 May 2020 11:54:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7186B884C1 for ; Sun, 17 May 2020 11:54:02 +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 dncFakd0VGVj for ; Sun, 17 May 2020 11:54:02 +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 F23BE88456 for ; Sun, 17 May 2020 11:54:01 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id B9DC3610B0; Sun, 17 May 2020 11:54:00 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:35 +0200 Message-Id: <20200517115341.1677382-10-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 09/15] 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 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 Sun May 17 11:53:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292134 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 49Q0tJ62n5z9sT8 for ; Sun, 17 May 2020 21:54:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C37A686B76; Sun, 17 May 2020 11:54:14 +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 Cph3DIPCJlmH; Sun, 17 May 2020 11:54:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3BEDB86B59; Sun, 17 May 2020 11:54:13 +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 100071BF3D5 for ; Sun, 17 May 2020 11:54:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0D35F884C1 for ; Sun, 17 May 2020 11:54:04 +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 hx5OJYVNOyNp for ; Sun, 17 May 2020 11:54:03 +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 9B9E188456 for ; Sun, 17 May 2020 11:54:03 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 5F573610B0; Sun, 17 May 2020 11:54:02 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:36 +0200 Message-Id: <20200517115341.1677382-11-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 10/15] 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 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 Sun May 17 11:53:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292136 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 49Q0tN3Bmcz9sT8 for ; Sun, 17 May 2020 21:54:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 27A1286B6A; Sun, 17 May 2020 11:54:16 +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 HxbvgfnaH6-i; Sun, 17 May 2020 11:54:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A5A2486B74; Sun, 17 May 2020 11:54:15 +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 BFFF71BF3D5 for ; Sun, 17 May 2020 11:54:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BB74A85727 for ; Sun, 17 May 2020 11:54:05 +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 YV+VTlfFNveR for ; Sun, 17 May 2020 11:54:05 +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 0963D80A61 for ; Sun, 17 May 2020 11:54:05 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id CE58B610D3; Sun, 17 May 2020 11:54:03 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:37 +0200 Message-Id: <20200517115341.1677382-12-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 11/15] 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 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 Sun May 17 11:53:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292140 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 49Q0tX0Y4Cz9sT8 for ; Sun, 17 May 2020 21:54:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F1C6386B43; Sun, 17 May 2020 11:54:23 +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 Oq_NlXrudq-C; Sun, 17 May 2020 11:54:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 774D286B46; Sun, 17 May 2020 11:54:23 +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 1E54E1BF3D5 for ; Sun, 17 May 2020 11:54:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0D94E20532 for ; Sun, 17 May 2020 11:54:14 +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 8RGhKCmFKzCF for ; Sun, 17 May 2020 11:54:07 +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 A31B22076F for ; Sun, 17 May 2020 11:54:06 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 5B254610B0; Sun, 17 May 2020 11:54:05 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:38 +0200 Message-Id: <20200517115341.1677382-13-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 12/15] 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 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 Sun May 17 11:53:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292138 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 49Q0tQ2M6mz9sTD for ; Sun, 17 May 2020 21:54:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E5ACB86CAC; Sun, 17 May 2020 11:54:17 +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 US38hBIf8VnN; Sun, 17 May 2020 11:54:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DB16C86BA0; Sun, 17 May 2020 11:54:16 +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 CABCB1BF3D5 for ; Sun, 17 May 2020 11:54:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C692A8588A for ; Sun, 17 May 2020 11:54:08 +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 NeHpSyVBypNM for ; Sun, 17 May 2020 11:54:08 +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 2D5C9874F7 for ; Sun, 17 May 2020 11:54:08 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id EAD8E610D3; Sun, 17 May 2020 11:54:06 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:39 +0200 Message-Id: <20200517115341.1677382-14-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 13/15] 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 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 Sun May 17 11:53:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292139 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 49Q0tR3thrz9sT8 for ; Sun, 17 May 2020 21:54:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 030FC207A6; Sun, 17 May 2020 11:54:21 +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 PHuhZJNgCffX; Sun, 17 May 2020 11:54:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 565F521509; Sun, 17 May 2020 11:54:18 +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 7E3EF1BF3D5 for ; Sun, 17 May 2020 11:54:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 79E6C8869D for ; Sun, 17 May 2020 11:54:10 +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 5JzFPDU1PTEW for ; Sun, 17 May 2020 11:54:10 +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 CE42D884C1 for ; Sun, 17 May 2020 11:54:09 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id 68C43610B0; Sun, 17 May 2020 11:54:08 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:40 +0200 Message-Id: <20200517115341.1677382-15-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 14/15] 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 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 Sun May 17 11:53:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1292141 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 49Q0tb4yDyz9sT8 for ; Sun, 17 May 2020 21:54:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B6E222271C; Sun, 17 May 2020 11:54:27 +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 FjlWCwhQeM+6; Sun, 17 May 2020 11:54:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A4CBF204E2; Sun, 17 May 2020 11:54:20 +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 CBFB01BF3D5 for ; Sun, 17 May 2020 11:54:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C8FAC886A6 for ; Sun, 17 May 2020 11:54:11 +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 TqcM8I9tUu5D for ; Sun, 17 May 2020 11:54:11 +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 259718869D for ; Sun, 17 May 2020 11:54:11 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id E3390610D3; Sun, 17 May 2020 11:54:09 +0000 (UTC) From: Lubomir Rintel To: buildroot@buildroot.org Date: Sun, 17 May 2020 13:53:41 +0200 Message-Id: <20200517115341.1677382-16-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517115341.1677382-1-lkundrak@v3.sk> References: <20200517115341.1677382-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 15/15] 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 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.