diff mbox

[1/3] davinci: omapl138_lcdk: use correct AIS config

Message ID 20161116163335.4560-1-fparent@baylibre.com
State New
Headers show

Commit Message

Fabien Parent Nov. 16, 2016, 4:33 p.m. UTC
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 <fparent@baylibre.com>

---
 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

Comments

Tom Rini Nov. 17, 2016, 10:19 p.m. UTC | #1
On Wed, Nov 16, 2016 at 05:33:33PM +0100, Fabien Parent wrote:

> 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 <fparent@baylibre.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Peter Howard Nov. 17, 2016, 11:43 p.m. UTC | #2
On Thu, 2016-11-17 at 17:19 -0500, Tom Rini wrote:
> 	Error verifying signature: gpg: Fatal: can't create directory

> '/home/phoward/.gnupg': File exists

> On Wed, Nov 16, 2016 at 05:33:33PM +0100, Fabien Parent wrote:

> 

> > 

> > 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 <fparent@baylibre.com>

> 

> Reviewed-by: Tom Rini <trini@konsulko.com>


Given these changes, can you modify/remove
board/davinci/da8xxevm/README.omapl138-lcdk please?


-- 
Peter Howard <pjh@northern-ridge.com.au>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

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