summaryrefslogtreecommitdiffstats
path: root/board/freescale/imx6sabre
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@freescale.com>2015-03-30 14:50:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-01 23:34:10 +0200
commit3029f6ef14fd2fd6256b755c500b93f817d9a407 (patch)
tree2e517c4c5c4bcf1b40a16884ebca7f959d46cbaf /board/freescale/imx6sabre
parent2d3e97e033e4cdff17913914dffb6fee033411c1 (diff)
downloadbuildroot-3029f6ef14fd2fd6256b755c500b93f817d9a407.tar.gz
buildroot-3029f6ef14fd2fd6256b755c500b93f817d9a407.zip
imx6sabresd: rename to imx6sabre
Rename imx6sabresd board folder to imx6sabre, to prepare for Sabre Auto addition. Update doc, link and defconfigs accordingly. Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Eric Bénard <eric@eukrea.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Luca Ceresoli <luca@lucaceresoli.net> Cc: Gilles Talis <gilles.talis@gmail.com> Cc: Gary Bisson <bisson.gary@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/freescale/imx6sabre')
-rw-r--r--board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch36
-rw-r--r--board/freescale/imx6sabre/readme.txt70
2 files changed, 106 insertions, 0 deletions
diff --git a/board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch b/board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
new file mode 100644
index 0000000000..c01df4e6e5
--- /dev/null
+++ b/board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
@@ -0,0 +1,36 @@
+From 4a7cd7c5b165317dccf45cfc235da3e14bc339e8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@freescale.com>
+Date: Tue, 12 Aug 2014 10:17:31 +0200
+Subject: [PATCH] mx6qsabre_common: boot Linux to /init in mfgtools mode
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Buildroot supplies a nice /init wrapper script to use when booting from a
+ramdisk.
+
+This patch tells u-boot to tell the kernel to boot into /init (instead of
+/linuxrc) on i.MX6, when booting in mfgtools mode. This way we can boot a
+buildroot system entirely through USB.
+
+Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
+---
+ include/configs/mx6qsabre_common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
+index 69ff0df..ec7b665 100644
+--- a/include/configs/mx6qsabre_common.h
++++ b/include/configs/mx6qsabre_common.h
+@@ -129,7 +129,7 @@
+
+ #define CONFIG_MFG_ENV_SETTINGS \
+ "mfgtool_args=setenv bootargs console=" CONFIG_CONSOLE_DEV ",115200 " \
+- "rdinit=/linuxrc " \
++ "rdinit=/init " \
+ "g_mass_storage.stall=0 g_mass_storage.removable=1 " \
+ "g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\
+ "g_mass_storage.iSerialNumber=\"\" "\
+--
+2.0.1
+
diff --git a/board/freescale/imx6sabre/readme.txt b/board/freescale/imx6sabre/readme.txt
new file mode 100644
index 0000000000..6c1a5b55c8
--- /dev/null
+++ b/board/freescale/imx6sabre/readme.txt
@@ -0,0 +1,70 @@
+*******************************************************
+Freescale i.MX6Q and i.MX6DL SABRESD development boards
+*******************************************************
+
+This file documents the Buildroot support for the Freescale SABRE Board for
+Smart Devices Based on the i.MX 6 Series (SABRESD).
+
+Read the SABRESD Quick Start Guide for an introduction to the board:
+http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.pdf
+
+Build
+=====
+
+First, configure Buildroot for your SABRE board.
+For i.MX6Q SABRE SD board:
+
+ make freescale_imx6qsabresd_defconfig
+
+For i.MX6DL SABRE SD board:
+
+ make freescale_imx6dlsabresd_defconfig
+
+Build all components:
+
+ make
+
+You will find in ./output/images/ the following files:
+ - imx6dl-sabresd.dtb or imx6q-sabresd.dtb
+ - rootfs.ext2
+ - rootfs.tar
+ - u-boot.imx
+ - uImage
+
+Create a bootable SD card
+=========================
+
+To determine the device associated to the SD card have a look in the
+/proc/partitions file:
+
+ cat /proc/partitions
+
+Run the following script as root on your SD card. This will partition the card
+and copy the bootloader, kernel, DTBs and root filesystem as needed.
+
+*** WARNING! The script will destroy all the card content. Use with care! ***
+
+ ./board/freescale/create-boot-sd.sh <your-sd-device>
+
+Boot the SABRE board
+====================
+
+SABRE SD
+--------
+
+To boot your newly created system on a SABRE SD Board (refer to the SABRE SD
+Quick Start Guide for guidance):
+- insert the SD card in the SD3 slot of the board;
+- locate the BOOT dip switches (SW6), set dips 2 and 7 to ON, all others to OFF;
+- connect a Micro USB cable to Debug Port and connect using a terminal emulator
+ at 115200 bps, 8n1;
+- power on the board.
+
+Enjoy!
+
+References
+==========
+
+https://community.freescale.com/docs/DOC-95015
+https://community.freescale.com/docs/DOC-95017
+https://community.freescale.com/docs/DOC-99218
OpenPOWER on IntegriCloud