u-boot/board/engicam/icorem6
Jagan Teki 023ff2f732 imx6: icorem6: Add NAND support
Add NAND support for Engicam i.CoreM6 qdl board.

Boot Log:
--------

U-Boot SPL 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43)
Trying to boot from NAND
NAND : 512 MiB

U-Boot 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43 +0530)

CPU:   Freescale i.MX6SOLO rev1.3 at 792MHz
CPU:   Industrial temperature grade (-40C to 105C) at 55C
Reset cause: WDOG
Model: Engicam i.CoreM6 DualLite/Solo Starter Kit
DRAM:  256 MiB
NAND:  512 MiB
MMC:   FSL_SDHC: 0
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
icorem6qdl>

Cc: Scott Wood <oss@buserror.net>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2016-10-26 18:59:57 +02:00
..
icorem6.c imx6: icorem6: Add NAND support 2016-10-26 18:59:57 +02:00
Kconfig arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support 2016-10-26 16:53:16 +02:00
MAINTAINERS arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support 2016-10-26 16:53:16 +02:00
Makefile arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support 2016-10-26 16:53:16 +02:00
README arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual 2016-10-26 16:53:16 +02:00

How to use U-Boot on Engicam i.CoreM6 DualLite/Solo and Quad/Dual Starter Kit:
-----------------------------------------------------------------------------

- Configure U-Boot for Engicam i.CoreM6 QDL:

$ make mrproper
$ make icorem6qdl_mmc_defconfig

- Build for i.CoreM6 DualLite/Solo

$ make

- Build for i.CoreM6 Quad/Dual

$ make DEVICE_TREE=imx6q-icore

This will generate the SPL image called SPL and the u-boot-dtb.img.

- Flash the SPL image into the micro SD card:

sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync

- Flash the u-boot-dtb.img image into the micro SD card:

sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync

- Jumper settings:

MMC Boot: JM3 Closed

- Connect the Serial cable between the Starter Kit and the PC for the console.
(J28 is the Linux Serial console connector)

- Insert the micro SD card in the board, power it up and U-Boot messages should
come up.

- Note: For loading Linux on Quad/Dual modules set the dtb as
  icorem6qdl> setenv fdt_file imx6q-icore.dtb