From patchwork Wed Nov 16 16:33:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 82557 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp249826qge; Wed, 16 Nov 2016 08:33:48 -0800 (PST) X-Received: by 10.28.126.146 with SMTP id z140mr11622297wmc.84.1479314028697; Wed, 16 Nov 2016 08:33:48 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id i3si19560349wja.200.2016.11.16.08.33.48; Wed, 16 Nov 2016 08:33:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0E78D4BA29; Wed, 16 Nov 2016 17:33:48 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f3SY3YlWkJt6; Wed, 16 Nov 2016 17:33:47 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4C8AA4B98A; Wed, 16 Nov 2016 17:33:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 50E5D4B99D for ; Wed, 16 Nov 2016 17:33:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GbEpzZwGqQey for ; Wed, 16 Nov 2016 17:33:44 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by theia.denx.de (Postfix) with ESMTPS id 0DF8F4B951 for ; Wed, 16 Nov 2016 17:33:40 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id t79so83988424wmt.0 for ; Wed, 16 Nov 2016 08:33:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=vPIazJiGNsX8TTY/300k0eMcDii5a37G4ilfP7Nc9RM=; b=RHN5WEsHhB4jY+o4MvueVX19k/saNwvQB2jHzdIEJqIQxOJDRHJMziDKHpnh6uYFLa 9WPf4q/4+rC+qW4wenZXbzy+DdEKCCsyQ6dGj4VS5p/Eg4n4pZTZ9ldTYDs9KgBiuxwj ZBCLkrluBU1xRlXl8hQgzrg7a5GBJr1Cjm6l6rYvrZtcFF+4DUdrIi9T3Qy1trjpvUNR W+XzFm3oCzukPLwI3wb39apdvPl4pysc+Vu9nZCODkbZl4+fUyateP5cp5lCKGZFDGbw bGLBH5Vb+QTCr2peIV0S3P/FJp9fyT3mCWFObhtA5oj/fq4giSybERWi3jM3pZ2ffG9r bgGA== 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; bh=vPIazJiGNsX8TTY/300k0eMcDii5a37G4ilfP7Nc9RM=; b=aaFf53qa2pn7ycPI7AvVjLE2BP7KCdGg+jTMLJo1r47BTOJGRvO7Ay9bl3WcrWL/fA qAVNAZKRF4iOmj0+AuSL5ZF6jSELnk+ey0HlOW9GdUv2Y1rT6poHAzUe8UHlNj7Iseji DxRW0Qxe4n/dZ2cz/t7y49IFDNvdd58+d9Av1Ey9iGfSRHwQLnn84FiYWkNejtdL7qrv 5VvB6RuvLAe8mfDj6dvewXdnBljdh6DQy+y0OjWrtKuJMzNYYieEgsoBa0dtQ8Vp6YSS 2+sbq01p6sF0Wpo6BGpQgssiQ6wLTUYs0D2mYNqo1dQ5vSSGvUaQeQ5ENJ+MTp9VkyS3 G0PQ== X-Gm-Message-State: ABUngvdnhjVdZ1YeROeSzt9aWHmAq9/3jgD7K62L8B5S3gpbCQPf6uKaG/T45lhI3ZqoxBKo X-Received: by 10.195.2.75 with SMTP id bm11mr2482686wjd.98.1479314019856; Wed, 16 Nov 2016 08:33:39 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id w66sm11017457wme.4.2016.11.16.08.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Nov 2016 08:33:39 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Wed, 16 Nov 2016 17:33:33 +0100 Message-Id: <20161116163335.4560-1-fparent@baylibre.com> X-Mailer: git-send-email 2.10.2 Cc: Tom Rini Subject: [U-Boot] [PATCH 1/3] davinci: omapl138_lcdk: use correct AIS config X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The AIS image built for the OMAPL138-LCDK board is not booting because the AIS configuration is not correct. This commit adds a AIS configuration file that allow the SPL to boot correctly. Signed-off-by: Fabien Parent --- board/davinci/da8xxevm/omapl138_lcdk_ais.cfg | 4 ++++ include/configs/omapl138_lcdk.h | 3 +++ scripts/config_whitelist.txt | 1 + 3 files changed, 8 insertions(+) create mode 100644 board/davinci/da8xxevm/omapl138_lcdk_ais.cfg -- 2.10.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Tom Rini diff --git a/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg b/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg new file mode 100644 index 0000000..afce286 --- /dev/null +++ b/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg @@ -0,0 +1,4 @@ +PLL0 180001 40b +DDR2 18010001 2 c5 134832 264a3209 3c14c722 492 0 +EMIFA_ASYNC 0 3ffffffd 0 0 2 +PSC 10d0003 diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 854fc47..91ddbb1 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -272,6 +272,9 @@ #define CONFIG_SPL_PAD_TO 32768 #endif +/* AIS Image */ +#define CONFIG_AIS_CONFIG_FILE "board/davinci/da8xxevm/omapl138_lcdk_ais.cfg" + /* additions for new relocation code, must added to all boards */ #define CONFIG_SYS_SDRAM_BASE 0xc0000000 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index d476367..c694f90 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -73,6 +73,7 @@ CONFIG_ADP_AG101P CONFIG_AEABI CONFIG_AEMIF_CNTRL_BASE CONFIG_AES +CONFIG_AIS_CONFIG_FILE CONFIG_ALTERA_SDRAM CONFIG_ALTERA_SPI_IDLE_VAL CONFIG_ALTIVEC