From patchwork Fri Feb 19 17:09:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 585311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 70F3C14031D for ; Sat, 20 Feb 2016 04:11:35 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=hgkYE3kP; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BE0B78523D; Fri, 19 Feb 2016 17:11:32 +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 h7pUNGc6oiaR; Fri, 19 Feb 2016 17:11:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2FAD89308F; Fri, 19 Feb 2016 17:11:31 +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 DDF991C1553 for ; Fri, 19 Feb 2016 17:11:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BAC0D2EE39 for ; Fri, 19 Feb 2016 17:11:16 +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 VtkVaObT64Ov for ; Fri, 19 Feb 2016 17:11:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by silver.osuosl.org (Postfix) with ESMTPS id 52384332EC for ; Fri, 19 Feb 2016 17:11:16 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id a4so80028240wme.1 for ; Fri, 19 Feb 2016 09:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WR0fWKh8ZfljdtkQ8YSlI+VHvY7Ws1D+OOz2jQiEIZY=; b=hgkYE3kPxUeU78abL3cTDF6vU+rJIgxprsDOz57KYYBBOC9WMXByKsI3yYbTci5SLl 0bq/sCDv2R7D5Crtl+p3Wa5d04sNtDku93AJhOaSDVL9saNZE62Fwq+S7b6Ntksgtl/s OAXcOPfWelAzU01K0vwD7ktIbdL+t3lh8dsCU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WR0fWKh8ZfljdtkQ8YSlI+VHvY7Ws1D+OOz2jQiEIZY=; b=LUI9RK+sUrJCVLMMB8Sfjayly1EpMMIeHDwl4/ZpdqzsktP/1nN7y3ZShvZDqocpBq 567dXReDPfWpQktjEonjqxZyRxHac0n+SL7GmsfkSAZ+KoJ+C+VUf+XnlrI6uB6Ic6lc wDLfCMznKcWxhi4zDWGMrqZVMGZIJfeA53ZEzr1b8ye8REUe6UoPuzvwGjxwikUsvwZS LvueWTww0g+tz6pOgVhoiLH24SuNrk7Lmwv7c0cfDV0iszmRo+jOCMbsPpzmyTa+XlQ+ XS9WDj3mTm3Q5It5vSaC02gReDBiFmJVixV/D9WboK9C9Or2a1rzddrVKbgkAz/VO6lc 2kpw== X-Gm-Message-State: AG10YOR9FJjDd2aupxbzS0V0vGuDqS0nCy0VfF7Y/wWPOI0qzKkaCihEoppb5klFL1mC50+s X-Received: by 10.28.211.130 with SMTP id k124mr10733234wmg.7.1455901875016; Fri, 19 Feb 2016 09:11:15 -0800 (PST) Received: from localhost.localdomain (host81-154-142-212.range81-154.btcentralplus.com. [81.154.142.212]) by smtp.gmail.com with ESMTPSA id z65sm7739166wmg.1.2016.02.19.09.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Feb 2016 09:11:13 -0800 (PST) From: Lee Jones To: buildroot@buildroot.org Date: Fri, 19 Feb 2016 17:09:02 +0000 Message-Id: <1455901745-18486-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455901745-18486-1-git-send-email-lee.jones@linaro.org> References: <1455901745-18486-1-git-send-email-lee.jones@linaro.org> Cc: Lee Jones , kieran.bingham@linaro.org, maxime.coquelin@st.com Subject: [Buildroot] [PATCH 6/9] boards: stm32f469-disco: Add kernel patch to set RAM address to 0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" At the time of submission, the Mainline kernel does not currently support the STM32f469. This patch adds a new config fragment which we can use to adjust the start of RAM address to 0. Signed-off-by: Lee Jones --- .../kernel/0003-kernel-config-frag-ram.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 board/stmicroelectronics/stm32/stm32f469-disco/patches/kernel/0003-kernel-config-frag-ram.patch diff --git a/board/stmicroelectronics/stm32/stm32f469-disco/patches/kernel/0003-kernel-config-frag-ram.patch b/board/stmicroelectronics/stm32/stm32f469-disco/patches/kernel/0003-kernel-config-frag-ram.patch new file mode 100644 index 0000000..f137956 --- /dev/null +++ b/board/stmicroelectronics/stm32/stm32f469-disco/patches/kernel/0003-kernel-config-frag-ram.patch @@ -0,0 +1,28 @@ +From 4cb65563325bee1886329b97ce3e2b0b90106bdd Mon Sep 17 00:00:00 2001 +From: Lee Jones +Date: Tue, 16 Feb 2016 13:56:13 +0000 +Subject: [PATCH 2/3] ARM: configs: Add new config fragment to change RAM start + point + +Rather than duplicate a defconfig for each difference +between platforms, we can choose to pick a basic defconfig and +manipulate it at run-time using config fragments. Here we're +adding a new fragment to over-ride the RAM start point to 0x0. + +Cc: Arnd Bergmann +Signed-off-by: Lee Jones +--- + arch/arm/configs/dram_0x00000000.config | 1 + + 1 file changed, 1 insertion(+) + create mode 100644 arch/arm/configs/dram_0x00000000.config + +diff --git a/arch/arm/configs/dram_0x00000000.config b/arch/arm/configs/dram_0x00000000.config +new file mode 100644 +index 0000000..db96dcb +--- /dev/null ++++ b/arch/arm/configs/dram_0x00000000.config +@@ -0,0 +1 @@ ++CONFIG_DRAM_BASE=0x00000000 +-- +1.9.1 +