* [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre
@ 2015-03-20 17:41 Vincent Stehlé
2015-03-20 17:41 ` [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
2015-03-21 15:24 ` [Buildroot] [PATCH " Arnout Vandecappelle
0 siblings, 2 replies; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-20 17:41 UTC (permalink / raw)
To: buildroot
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>
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>
---
board/freescale/imx53loco/create-boot-sd.sh | 2 +-
board/freescale/imx6sabre/create-boot-sd.sh | 93 ++++++++++++++++++++++
...ommon-boot-Linux-to-init-in-mfgtools-mode.patch | 36 +++++++++
board/freescale/imx6sabre/readme.txt | 68 ++++++++++++++++
board/freescale/imx6sabresd/create-boot-sd.sh | 93 ----------------------
...ommon-boot-Linux-to-init-in-mfgtools-mode.patch | 36 ---------
board/freescale/imx6sabresd/readme.txt | 67 ----------------
configs/freescale_imx6dlsabresd_defconfig | 2 +-
configs/freescale_imx6qsabresd_defconfig | 2 +-
9 files changed, 200 insertions(+), 199 deletions(-)
create mode 100755 board/freescale/imx6sabre/create-boot-sd.sh
create mode 100644 board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
create mode 100644 board/freescale/imx6sabre/readme.txt
delete mode 100755 board/freescale/imx6sabresd/create-boot-sd.sh
delete mode 100644 board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
delete mode 100644 board/freescale/imx6sabresd/readme.txt
diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh
index 3083fd2..b1ce208 120000
--- a/board/freescale/imx53loco/create-boot-sd.sh
+++ b/board/freescale/imx53loco/create-boot-sd.sh
@@ -1 +1 @@
-../imx6sabresd/create-boot-sd.sh
\ No newline at end of file
+../imx6sabre/create-boot-sd.sh
\ No newline at end of file
diff --git a/board/freescale/imx6sabre/create-boot-sd.sh b/board/freescale/imx6sabre/create-boot-sd.sh
new file mode 100755
index 0000000..af45115
--- /dev/null
+++ b/board/freescale/imx6sabre/create-boot-sd.sh
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+set -u
+set -e
+
+PROGNAME=$(basename $0)
+
+usage()
+{
+ echo "Create an SD card that boots on an i.MX53/6 board."
+ echo
+ echo "Note: all data on the the card will be completely deleted!"
+ echo "Use with care!"
+ echo "Superuser permissions may be required to write to the device."
+ echo
+ echo "Usage: ${PROGNAME} <sd_block_device>"
+ echo "Arguments:"
+ echo " <sd_block_device> The device to be written to"
+ echo
+ echo "Example: ${PROGNAME} /dev/mmcblk0"
+ echo
+}
+
+if [ $# -ne 1 ]; then
+ usage
+ exit 1
+fi
+
+if [ $(id -u) -ne 0 ]; then
+ echo "${PROGNAME} must be run as root"
+ exit 1
+fi
+
+DEV=${1}
+
+# The partition name prefix depends on the device name:
+# - /dev/sde -> /dev/sde1
+# - /dev/mmcblk0 -> /dev/mmcblk0p1
+if echo ${DEV}|grep -q mmcblk ; then
+ PART="p"
+else
+ PART=""
+fi
+
+PART1=${DEV}${PART}1
+PART2=${DEV}${PART}2
+
+# Unmount the partitions if mounted
+umount ${PART1} || true
+umount ${PART2} || true
+
+# First, clear the card
+dd if=/dev/zero of=${DEV} bs=1M count=20
+
+sync
+
+# Partition the card.
+# SD layout for i.MX6 boot:
+# - Bootloader at offset 1024
+# - FAT partition starting at 1MB offset, containing uImage and *.dtb
+# - ext2/3 partition formatted as ext2 or ext3, containing the root filesystem.
+sfdisk ${DEV} <<EOF
+32,480,b
+512,,L
+EOF
+
+sync
+
+# Copy the bootloader at offset 1024
+dd if=output/images/u-boot.imx of=${DEV} obs=512 seek=2
+
+# Prepare a temp dir for mounting partitions
+TMPDIR=$(mktemp -d)
+
+# FAT partition: kernel and DTBs
+mkfs.vfat ${PART1}
+mount ${PART1} ${TMPDIR}
+cp output/images/*Image ${TMPDIR}/
+cp output/images/*.dtb ${TMPDIR}/ || true
+sync
+umount ${TMPDIR}
+
+# ext2 partition: root filesystem
+mkfs.ext2 ${PART2}
+mount ${PART2} ${TMPDIR}
+tar -C ${TMPDIR}/ -xf output/images/rootfs.tar
+sync
+umount ${TMPDIR}
+
+# Cleanup
+rmdir ${TMPDIR}
+sync
+echo Done
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 0000000..c01df4e
--- /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 0000000..4287a4a
--- /dev/null
+++ b/board/freescale/imx6sabre/readme.txt
@@ -0,0 +1,68 @@
+*******************************************************
+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 or imx6q-sabreauto.dtb or
+ imx6dl-sabreauto.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/imx6sabre/create-boot-sd.sh <your-sd-device>
+
+Boot the SABRE board
+====================
+
+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
diff --git a/board/freescale/imx6sabresd/create-boot-sd.sh b/board/freescale/imx6sabresd/create-boot-sd.sh
deleted file mode 100755
index af45115..0000000
--- a/board/freescale/imx6sabresd/create-boot-sd.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-set -u
-set -e
-
-PROGNAME=$(basename $0)
-
-usage()
-{
- echo "Create an SD card that boots on an i.MX53/6 board."
- echo
- echo "Note: all data on the the card will be completely deleted!"
- echo "Use with care!"
- echo "Superuser permissions may be required to write to the device."
- echo
- echo "Usage: ${PROGNAME} <sd_block_device>"
- echo "Arguments:"
- echo " <sd_block_device> The device to be written to"
- echo
- echo "Example: ${PROGNAME} /dev/mmcblk0"
- echo
-}
-
-if [ $# -ne 1 ]; then
- usage
- exit 1
-fi
-
-if [ $(id -u) -ne 0 ]; then
- echo "${PROGNAME} must be run as root"
- exit 1
-fi
-
-DEV=${1}
-
-# The partition name prefix depends on the device name:
-# - /dev/sde -> /dev/sde1
-# - /dev/mmcblk0 -> /dev/mmcblk0p1
-if echo ${DEV}|grep -q mmcblk ; then
- PART="p"
-else
- PART=""
-fi
-
-PART1=${DEV}${PART}1
-PART2=${DEV}${PART}2
-
-# Unmount the partitions if mounted
-umount ${PART1} || true
-umount ${PART2} || true
-
-# First, clear the card
-dd if=/dev/zero of=${DEV} bs=1M count=20
-
-sync
-
-# Partition the card.
-# SD layout for i.MX6 boot:
-# - Bootloader at offset 1024
-# - FAT partition starting at 1MB offset, containing uImage and *.dtb
-# - ext2/3 partition formatted as ext2 or ext3, containing the root filesystem.
-sfdisk ${DEV} <<EOF
-32,480,b
-512,,L
-EOF
-
-sync
-
-# Copy the bootloader at offset 1024
-dd if=output/images/u-boot.imx of=${DEV} obs=512 seek=2
-
-# Prepare a temp dir for mounting partitions
-TMPDIR=$(mktemp -d)
-
-# FAT partition: kernel and DTBs
-mkfs.vfat ${PART1}
-mount ${PART1} ${TMPDIR}
-cp output/images/*Image ${TMPDIR}/
-cp output/images/*.dtb ${TMPDIR}/ || true
-sync
-umount ${TMPDIR}
-
-# ext2 partition: root filesystem
-mkfs.ext2 ${PART2}
-mount ${PART2} ${TMPDIR}
-tar -C ${TMPDIR}/ -xf output/images/rootfs.tar
-sync
-umount ${TMPDIR}
-
-# Cleanup
-rmdir ${TMPDIR}
-sync
-echo Done
diff --git a/board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch b/board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
deleted file mode 100644
index c01df4e..0000000
--- a/board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-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/imx6sabresd/readme.txt b/board/freescale/imx6sabresd/readme.txt
deleted file mode 100644
index 583ef40..0000000
--- a/board/freescale/imx6sabresd/readme.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-*******************************************************
-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 SABRESD board.
-For i.MX6Q:
-
- make freescale_imx6qsabresd_defconfig
-
-For i.MX6DL:
-
- 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/imx6sabresd/create-boot-sd.sh <your-sd-device>
-
-Boot the SABRESD board
-======================
-
-To boot your newly created system (refer to the SABRESD 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
diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig
index 680031d..a13d2b9 100644
--- a/configs/freescale_imx6dlsabresd_defconfig
+++ b/configs/freescale_imx6dlsabresd_defconfig
@@ -3,7 +3,7 @@ BR2_arm=y
BR2_cortex_a9=y
# patches
-BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
# toolchain
BR2_KERNEL_HEADERS_VERSION=y
diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig
index f2f702e..95f29d7 100644
--- a/configs/freescale_imx6qsabresd_defconfig
+++ b/configs/freescale_imx6qsabresd_defconfig
@@ -3,7 +3,7 @@ BR2_arm=y
BR2_cortex_a9=y
# patches
-BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
# toolchain
BR2_KERNEL_HEADERS_VERSION=y
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support
2015-03-20 17:41 [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
@ 2015-03-20 17:41 ` Vincent Stehlé
2015-03-21 15:37 ` Arnout Vandecappelle
2015-03-21 15:24 ` [Buildroot] [PATCH " Arnout Vandecappelle
1 sibling, 1 reply; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-20 17:41 UTC (permalink / raw)
To: buildroot
SABRE Board for Automotive Infotainment (SABRE Auto, a.k.a. SABRE-AI) is
Freescale's evaluation board based on the i.MX 6 ARM Cortex-A9 applications
processor.
Those defconfigs are an adaptation of freescale_imx6{q,dl}sabresd_defconfig for
SABRE Auto, and are thus based on Freescale "official" git repo on
git.freescale.com and SW release 3.10.17_1.0.0_ga.
Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Gilles Talis <gilles.talis@gmail.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Gary Bisson <bisson.gary@gmail.com>
---
Hi,
I would like to "revive" a bit this proposal to add SABRE Auto defconfigs into
buildroot.
I have verified that all four freescale_imx6*sabre*_defconfig build properly,
and I could verify that the two freescale_imx6qsabre*_defconfig will boot from
SD card, using Luca's script.
Sadly, I cannot test that the two freescale_imx6dlsabre*_defconfig still run
correctly. Testers welcome! :)
Best regards,
V.
Changes since v1:
- Re-create from latest freescale_imx6{q,dl}sabresd_defconfig files.
board/freescale/imx6sabre/readme.txt | 39 ++++++++++++++++++++++++++++-
configs/freescale_imx6dlsabreauto_defconfig | 35 ++++++++++++++++++++++++++
configs/freescale_imx6qsabreauto_defconfig | 35 ++++++++++++++++++++++++++
3 files changed, 108 insertions(+), 1 deletion(-)
create mode 100644 configs/freescale_imx6dlsabreauto_defconfig
create mode 100644 configs/freescale_imx6qsabreauto_defconfig
diff --git a/board/freescale/imx6sabre/readme.txt b/board/freescale/imx6sabre/readme.txt
index 4287a4a..8d0c34c 100644
--- a/board/freescale/imx6sabre/readme.txt
+++ b/board/freescale/imx6sabre/readme.txt
@@ -3,11 +3,16 @@ 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).
+Smart Devices Based on the i.MX 6 Series (SABRESD), as well as the Freescale
+SABRE Board for Automotive Infotainment.
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
+Read the SABRE for Automotive Infotainment Quick Start Guide for an
+introduction to the board:
+http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SABREINFOQSG.pdf
+
Build
=====
@@ -20,6 +25,14 @@ For i.MX6DL SABRE SD board:
make freescale_imx6dlsabresd_defconfig
+For i.MX6Q SABRE Auto board:
+
+ make freescale_imx6qsabreauto_defconfig
+
+For i.MX6DL SABRE Auto board:
+
+ make freescale_imx6dlsabreauto_defconfig
+
Build all components:
make
@@ -58,6 +71,30 @@ Quick Start Guide for guidance):
at 115200 bps, 8n1;
- power on the board.
+To boot your newly created system on a SABRE Auto Board (refer to the SABRE for
+Automotive Infotainment Quick Start Guide for guidance):
+- insert the SD card in the CPU card SD card socket J14;
+- Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card.
+ Reference configuration:
+
+ S1
+ 1 2 3 4 5 6 7 8 9 10
+ off ON off off ON off off off off off
+
+ S2
+ 1 2 3 4
+ off off ON off
+
+ S3
+ 1 2 3 4
+ off off ON ON
+
+ J3: 1-2
+
+- connect an RS-232 UART cable to CPU card debug port J18 and connect using a
+ terminal emulator at 115200 bps, 8n1;
+- power on the board.
+
Enjoy!
References
diff --git a/configs/freescale_imx6dlsabreauto_defconfig b/configs/freescale_imx6dlsabreauto_defconfig
new file mode 100644
index 0000000..f4fc48a
--- /dev/null
+++ b/configs/freescale_imx6dlsabreauto_defconfig
@@ -0,0 +1,35 @@
+# architecture
+BR2_arm=y
+BR2_cortex_a9=y
+
+# patches
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
+
+# toolchain
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.10.17"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+
+# system
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
+
+# kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabreauto"
+
+# filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+
+# bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6dlsabreauto"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
diff --git a/configs/freescale_imx6qsabreauto_defconfig b/configs/freescale_imx6qsabreauto_defconfig
new file mode 100644
index 0000000..0831d24
--- /dev/null
+++ b/configs/freescale_imx6qsabreauto_defconfig
@@ -0,0 +1,35 @@
+# architecture
+BR2_arm=y
+BR2_cortex_a9=y
+
+# patches
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
+
+# toolchain
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.10.17"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+
+# system
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
+
+# kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto"
+
+# filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+
+# bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6qsabreauto"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre
2015-03-20 17:41 [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
2015-03-20 17:41 ` [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
@ 2015-03-21 15:24 ` Arnout Vandecappelle
2015-03-21 16:34 ` Eric Nelson
2015-03-30 11:54 ` Vincent Stehlé
1 sibling, 2 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2015-03-21 15:24 UTC (permalink / raw)
To: buildroot
On 20/03/15 18:41, Vincent Stehl? wrote:
> Rename imx6sabresd board folder to imx6sabre, to prepare for Sabre Auto
> addition. Update doc, link and defconfigs accordingly.
One annoying thing: the SABRELite is quite different from the AI and SD, so the
readme wouldn't be such a good fit for it. But that's a problem for whoever adds
SABRELite :-)
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
I have a few comments but nothing major, so
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>
> ---
> board/freescale/imx53loco/create-boot-sd.sh | 2 +-
> board/freescale/imx6sabre/create-boot-sd.sh | 93 ++++++++++++++++++++++
> ...ommon-boot-Linux-to-init-in-mfgtools-mode.patch | 36 +++++++++
> board/freescale/imx6sabre/readme.txt | 68 ++++++++++++++++
> board/freescale/imx6sabresd/create-boot-sd.sh | 93 ----------------------
> ...ommon-boot-Linux-to-init-in-mfgtools-mode.patch | 36 ---------
> board/freescale/imx6sabresd/readme.txt | 67 ----------------
That's a big diffstat for just moving some files around, and it hides the fact
that you actually did change something in the readme. In the future, please use
the -M option to git format-patch (and even -C for the second patch to make the
similarity between the boards more explicit). In fact, there's no reason why -M
and -C shouldn't be the default in git, so please add them to your git config:
git config --global --bool format.find-renames true
git config --global --bool format.find-copies true
And you probably also want that for diffs, so:
git config --global diff.renames copies
So to simplify the review, I've replaced your mail below with the result of git
format-patch -M
> ---
> board/freescale/imx53loco/create-boot-sd.sh | 2 +-
> .../{imx6sabresd => imx6sabre}/create-boot-sd.sh | 0
> ...e_common-boot-Linux-to-init-in-mfgtools-mode.patch | 0
> board/freescale/{imx6sabresd => imx6sabre}/readme.txt | 19 ++++++++++---------
> configs/freescale_imx6dlsabresd_defconfig | 2 +-
> configs/freescale_imx6qsabresd_defconfig | 2 +-
> 6 files changed, 13 insertions(+), 12 deletions(-)
> rename board/freescale/{imx6sabresd => imx6sabre}/create-boot-sd.sh (100%)
> rename board/freescale/{imx6sabresd => imx6sabre}/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch (100%)
> rename board/freescale/{imx6sabresd => imx6sabre}/readme.txt (78%)
>
> diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh
> index 3083fd2..b1ce208 120000
> --- a/board/freescale/imx53loco/create-boot-sd.sh
> +++ b/board/freescale/imx53loco/create-boot-sd.sh
> @@ -1 +1 @@
> -../imx6sabresd/create-boot-sd.sh
> \ No newline at end of file
> +../imx6sabre/create-boot-sd.sh
Since it is also used by imx53loco, perhaps it's better to put this script in
the freescale directory instead?
> \ No newline at end of file
> diff --git a/board/freescale/imx6sabresd/create-boot-sd.sh b/board/freescale/imx6sabre/create-boot-sd.sh
> similarity index 100%
> rename from board/freescale/imx6sabresd/create-boot-sd.sh
> rename to board/freescale/imx6sabre/create-boot-sd.sh
> diff --git a/board/freescale/imx6sabresd/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
> similarity index 100%
> rename from board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
> rename to board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
> diff --git a/board/freescale/imx6sabresd/readme.txt b/board/freescale/imx6sabre/readme.txt
> similarity index 78%
> rename from board/freescale/imx6sabresd/readme.txt
> rename to board/freescale/imx6sabre/readme.txt
> index 583ef40..4287a4a 100644
> --- a/board/freescale/imx6sabresd/readme.txt
> +++ b/board/freescale/imx6sabre/readme.txt
> @@ -11,12 +11,12 @@ http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.p
> Build
> =====
>
> -First, configure Buildroot for your SABRESD board.
> -For i.MX6Q:
> +First, configure Buildroot for your SABRE board.
> +For i.MX6Q SABRE SD board:
>
> make freescale_imx6qsabresd_defconfig
>
> -For i.MX6DL:
> +For i.MX6DL SABRE SD board:
>
> make freescale_imx6dlsabresd_defconfig
>
> @@ -25,7 +25,8 @@ Build all components:
> make
>
> You will find in ./output/images/ the following files:
> - - imx6dl-sabresd.dtb or imx6q-sabresd.dtb
> + - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6q-sabreauto.dtb or
> + imx6dl-sabreauto.dtb
The auto things are only added by the second patch...
> - rootfs.ext2
> - rootfs.tar
> - u-boot.imx
> @@ -44,13 +45,13 @@ 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/imx6sabresd/create-boot-sd.sh <your-sd-device>
> + ./board/freescale/imx6sabre/create-boot-sd.sh <your-sd-device>
>
> -Boot the SABRESD board
> -======================
> +Boot the SABRE board
> +====================
>
> -To boot your newly created system (refer to the SABRESD Quick Start Guide for
> -guidance):
> +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
> diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig
> index 680031d..a13d2b9 100644
> --- a/configs/freescale_imx6dlsabresd_defconfig
> +++ b/configs/freescale_imx6dlsabresd_defconfig
> @@ -3,7 +3,7 @@ BR2_arm=y
> BR2_cortex_a9=y
>
> # patches
> -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
> +BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
>
> # toolchain
> BR2_KERNEL_HEADERS_VERSION=y
> diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig
> index f2f702e..95f29d7 100644
> --- a/configs/freescale_imx6qsabresd_defconfig
> +++ b/configs/freescale_imx6qsabresd_defconfig
> @@ -3,7 +3,7 @@ BR2_arm=y
> BR2_cortex_a9=y
>
> # patches
> -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
> +BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
>
> # toolchain
> BR2_KERNEL_HEADERS_VERSION=y
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support
2015-03-20 17:41 ` [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
@ 2015-03-21 15:37 ` Arnout Vandecappelle
2015-03-30 11:59 ` Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
0 siblings, 2 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2015-03-21 15:37 UTC (permalink / raw)
To: buildroot
On 20/03/15 18:41, Vincent Stehl? wrote:
> SABRE Board for Automotive Infotainment (SABRE Auto, a.k.a. SABRE-AI) is
> Freescale's evaluation board based on the i.MX 6 ARM Cortex-A9 applications
> processor.
>
> Those defconfigs are an adaptation of freescale_imx6{q,dl}sabresd_defconfig for
> SABRE Auto, and are thus based on Freescale "official" git repo on
> git.freescale.com and SW release 3.10.17_1.0.0_ga.
>
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
> Cc: Gilles Talis <gilles.talis@gmail.com>
> Cc: Peter Korsgaard <jacmet@sunsite.dk>
> Cc: Luca Ceresoli <luca@lucaceresoli.net>
> Cc: Gary Bisson <bisson.gary@gmail.com>
[snip]
> @@ -58,6 +71,30 @@ Quick Start Guide for guidance):
> at 115200 bps, 8n1;
> - power on the board.
>
> +To boot your newly created system on a SABRE Auto Board (refer to the SABRE for
> +Automotive Infotainment Quick Start Guide for guidance):
I would introduce subheadings here for the two boards, so
Boot the SABRE board
====================
SABRE SD
--------
...
SABRE Auto
----------
...
> +- insert the SD card in the CPU card SD card socket J14;
> +- Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card.
> + Reference configuration:
> +
> + S1
> + 1 2 3 4 5 6 7 8 9 10
> + off ON off off ON off off off off off
> +
> + S2
> + 1 2 3 4
> + off off ON off
> +
> + S3
> + 1 2 3 4
> + off off ON ON
> +
> + J3: 1-2
> +
> +- connect an RS-232 UART cable to CPU card debug port J18 and connect using a
Shouldn't that be Debug UART DB9? I'm just looking at the quick start guide here...
> + terminal emulator at 115200 bps, 8n1;
> +- power on the board.
> +
> Enjoy!
>
> References
I don't suppose you've created similar pages for the auto?
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre
2015-03-21 15:24 ` [Buildroot] [PATCH " Arnout Vandecappelle
@ 2015-03-21 16:34 ` Eric Nelson
2015-03-30 11:54 ` Vincent Stehlé
1 sibling, 0 replies; 10+ messages in thread
From: Eric Nelson @ 2015-03-21 16:34 UTC (permalink / raw)
To: buildroot
Hi Arnout,
On 03/21/2015 08:24 AM, Arnout Vandecappelle wrote:
> On 20/03/15 18:41, Vincent Stehl? wrote:
>> Rename imx6sabresd board folder to imx6sabre, to prepare for Sabre Auto
>> addition. Update doc, link and defconfigs accordingly.
>
> One annoying thing: the SABRELite is quite different from the AI and SD, so the
> readme wouldn't be such a good fit for it. But that's a problem for whoever adds
> SABRELite :-)
>
SABRELite is already present, though somewhat hidden.
The nitrogen6x board support contains support for SABRE Lite, since the
only real difference is added WiFi on Nitrogen6x:
http://boundarydevices.com/differences-sabre-lite-nitrogen6x-and-som/
The boards run the same U-Boot and kernel, though they do have
different device trees.
Regards,
Eric
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre
2015-03-21 15:24 ` [Buildroot] [PATCH " Arnout Vandecappelle
2015-03-21 16:34 ` Eric Nelson
@ 2015-03-30 11:54 ` Vincent Stehlé
1 sibling, 0 replies; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-30 11:54 UTC (permalink / raw)
To: buildroot
On 03/21/2015 04:24 PM, Arnout Vandecappelle wrote:
..
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Hi Arnout,
Thank you very much for reviewing!
(too big a patch)
..
> So to simplify the review, I've replaced your mail below with the result of git
> format-patch -M
Thanks for the tips. I updated my git config as per your comments; my
next patches should be better.
(create-boot-sd.sh)
..
> Since it is also used by imx53loco, perhaps it's better to put this script in
> the freescale directory instead?
That makes sense; I will send a v2 patch with the create-boot-sd.sh
script in board/freescale/ then.
(readme.txt mentioning sabre auto)
..
>> + - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6q-sabreauto.dtb or
>> + imx6dl-sabreauto.dtb
> The auto things are only added by the second patch...
Sorry, this is a mistake; thank you for spotting that.
Best regards,
V.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support
2015-03-21 15:37 ` Arnout Vandecappelle
@ 2015-03-30 11:59 ` Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
1 sibling, 0 replies; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-30 11:59 UTC (permalink / raw)
To: buildroot
On 03/21/2015 04:37 PM, Arnout Vandecappelle wrote:
(board/freescale/imx6sabre/readme.txt)
..
> I would introduce subheadings here for the two boards, so
>
> Boot the SABRE board
> ====================
>
> SABRE SD
> --------
> ...
>
> SABRE Auto
> ----------
> ...
Hi Arnout,
Thank you for your review; I will add the headings in v2 of both patches
then.
(readme.txt)
..
>> +- connect an RS-232 UART cable to CPU card debug port J18 and connect using a
> Shouldn't that be Debug UART DB9? I'm just looking at the quick start guide here...
You are right, J18 is indeed the DB9. I will mention both in the
readme.txt in v2, so that it be completely unambiguous.
(Freescale community webpages on buildroot on Sabre SD)
..
> I don't suppose you've created similar pages for the auto?
For the moment I do not have any page about Sabre Auto, sorry. Probably
I should rather update and re-title the existing pages. This way, the
DOC numbers referenced in the readme.txt would stay the same.
Best regards,
V.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre
2015-03-21 15:37 ` Arnout Vandecappelle
2015-03-30 11:59 ` Vincent Stehlé
@ 2015-03-30 12:50 ` Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
2015-04-01 21:35 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Thomas Petazzoni
1 sibling, 2 replies; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-30 12:50 UTC (permalink / raw)
To: buildroot
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>
---
Changes since v1:
- Move the create-boot-sd.sh script under board/freescale and update
imx6sabre/readme.txt accordingly.
- Remove erroneous mention of Sabre Auto from that patch and move it to
the next patch.
- Add a "SABRE SD" section in the doc paragraph "Boot the SABRE board".
board/freescale/{imx6sabresd => }/create-boot-sd.sh | 0
board/freescale/imx53loco/create-boot-sd.sh | 2 +-
...e_common-boot-Linux-to-init-in-mfgtools-mode.patch | 0
board/freescale/{imx6sabresd => imx6sabre}/readme.txt | 19 +++++++++++--------
configs/freescale_imx6dlsabresd_defconfig | 2 +-
configs/freescale_imx6qsabresd_defconfig | 2 +-
6 files changed, 14 insertions(+), 11 deletions(-)
rename board/freescale/{imx6sabresd => }/create-boot-sd.sh (100%)
rename board/freescale/{imx6sabresd => imx6sabre}/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch (100%)
rename board/freescale/{imx6sabresd => imx6sabre}/readme.txt (82%)
diff --git a/board/freescale/imx6sabresd/create-boot-sd.sh b/board/freescale/create-boot-sd.sh
similarity index 100%
rename from board/freescale/imx6sabresd/create-boot-sd.sh
rename to board/freescale/create-boot-sd.sh
diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh
index 3083fd2..b1ce208 120000
--- a/board/freescale/imx53loco/create-boot-sd.sh
+++ b/board/freescale/imx53loco/create-boot-sd.sh
@@ -1 +1 @@
-../imx6sabresd/create-boot-sd.sh
\ No newline at end of file
+../imx6sabre/create-boot-sd.sh
\ No newline at end of file
diff --git a/board/freescale/imx6sabresd/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
similarity index 100%
rename from board/freescale/imx6sabresd/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
rename to board/freescale/imx6sabre/patches/uboot/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch
diff --git a/board/freescale/imx6sabresd/readme.txt b/board/freescale/imx6sabre/readme.txt
similarity index 82%
rename from board/freescale/imx6sabresd/readme.txt
rename to board/freescale/imx6sabre/readme.txt
index 583ef40..6c1a5b5 100644
--- a/board/freescale/imx6sabresd/readme.txt
+++ b/board/freescale/imx6sabre/readme.txt
@@ -11,12 +11,12 @@ http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.p
Build
=====
-First, configure Buildroot for your SABRESD board.
-For i.MX6Q:
+First, configure Buildroot for your SABRE board.
+For i.MX6Q SABRE SD board:
make freescale_imx6qsabresd_defconfig
-For i.MX6DL:
+For i.MX6DL SABRE SD board:
make freescale_imx6dlsabresd_defconfig
@@ -44,13 +44,16 @@ 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/imx6sabresd/create-boot-sd.sh <your-sd-device>
+ ./board/freescale/create-boot-sd.sh <your-sd-device>
-Boot the SABRESD board
-======================
+Boot the SABRE board
+====================
-To boot your newly created system (refer to the SABRESD Quick Start Guide for
-guidance):
+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
diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig
index 680031d..a13d2b9 100644
--- a/configs/freescale_imx6dlsabresd_defconfig
+++ b/configs/freescale_imx6dlsabresd_defconfig
@@ -3,7 +3,7 @@ BR2_arm=y
BR2_cortex_a9=y
# patches
-BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
# toolchain
BR2_KERNEL_HEADERS_VERSION=y
diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig
index f2f702e..95f29d7 100644
--- a/configs/freescale_imx6qsabresd_defconfig
+++ b/configs/freescale_imx6qsabresd_defconfig
@@ -3,7 +3,7 @@ BR2_arm=y
BR2_cortex_a9=y
# patches
-BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches"
# toolchain
BR2_KERNEL_HEADERS_VERSION=y
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v2 2/2] configs: add Freescale SABRE Auto board support
2015-03-30 12:50 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
@ 2015-03-30 12:50 ` Vincent Stehlé
2015-04-01 21:35 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Thomas Petazzoni
1 sibling, 0 replies; 10+ messages in thread
From: Vincent Stehlé @ 2015-03-30 12:50 UTC (permalink / raw)
To: buildroot
SABRE Board for Automotive Infotainment (SABRE Auto, a.k.a. SABRE-AI) is
Freescale's evaluation board based on the i.MX 6 ARM Cortex-A9 applications
processor.
Those defconfigs are an adaptation of freescale_imx6{q,dl}sabresd_defconfig for
SABRE Auto, and are thus based on Freescale "official" git repo on
git.freescale.com and SW release 3.10.17_1.0.0_ga.
Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Gilles Talis <gilles.talis@gmail.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Gary Bisson <bisson.gary@gmail.com>
---
Changes since v1:
- Move erroneous mention of Sabre Auto from previous patch into this
one.
- Add a "SABRE AUTO" section in the doc paragraph "Boot the SABRE
board". Add a mention of the DB9 connector for the Sabre Auto debug
UART.
board/freescale/imx6sabre/readme.txt | 45 +++++++++++++++++++++-
...fconfig => freescale_imx6dlsabreauto_defconfig} | 6 +--
...efconfig => freescale_imx6qsabreauto_defconfig} | 6 +--
3 files changed, 49 insertions(+), 8 deletions(-)
copy configs/{freescale_imx6qsabresd_defconfig => freescale_imx6dlsabreauto_defconfig} (85%)
copy configs/{freescale_imx6qsabresd_defconfig => freescale_imx6qsabreauto_defconfig} (86%)
diff --git a/board/freescale/imx6sabre/readme.txt b/board/freescale/imx6sabre/readme.txt
index 6c1a5b5..6850885 100644
--- a/board/freescale/imx6sabre/readme.txt
+++ b/board/freescale/imx6sabre/readme.txt
@@ -3,11 +3,16 @@ 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).
+Smart Devices Based on the i.MX 6 Series (SABRESD), as well as the Freescale
+SABRE Board for Automotive Infotainment.
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
+Read the SABRE for Automotive Infotainment Quick Start Guide for an
+introduction to the board:
+http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SABREINFOQSG.pdf
+
Build
=====
@@ -20,12 +25,21 @@ For i.MX6DL SABRE SD board:
make freescale_imx6dlsabresd_defconfig
+For i.MX6Q SABRE Auto board:
+
+ make freescale_imx6qsabreauto_defconfig
+
+For i.MX6DL SABRE Auto board:
+
+ make freescale_imx6dlsabreauto_defconfig
+
Build all components:
make
You will find in ./output/images/ the following files:
- - imx6dl-sabresd.dtb or imx6q-sabresd.dtb
+ - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6q-sabreauto.dtb or
+ imx6dl-sabreauto.dtb
- rootfs.ext2
- rootfs.tar
- u-boot.imx
@@ -60,6 +74,33 @@ Quick Start Guide for guidance):
at 115200 bps, 8n1;
- power on the board.
+SABRE Auto
+----------
+
+To boot your newly created system on a SABRE Auto Board (refer to the SABRE for
+Automotive Infotainment Quick Start Guide for guidance):
+- insert the SD card in the CPU card SD card socket J14;
+- Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card.
+ Reference configuration:
+
+ S1
+ 1 2 3 4 5 6 7 8 9 10
+ off ON off off ON off off off off off
+
+ S2
+ 1 2 3 4
+ off off ON off
+
+ S3
+ 1 2 3 4
+ off off ON ON
+
+ J3: 1-2
+
+- connect an RS-232 UART cable to CPU card debug port J18 UART DB9 and
+ connect using a terminal emulator at 115200 bps, 8n1;
+- power on the board.
+
Enjoy!
References
diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6dlsabreauto_defconfig
similarity index 85%
copy from configs/freescale_imx6qsabresd_defconfig
copy to configs/freescale_imx6dlsabreauto_defconfig
index 95f29d7..f4fc48a 100644
--- a/configs/freescale_imx6qsabresd_defconfig
+++ b/configs/freescale_imx6dlsabreauto_defconfig
@@ -11,7 +11,7 @@ BR2_DEFAULT_KERNEL_VERSION="3.10.17"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
# system
-BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
# kernel
BR2_LINUX_KERNEL=y
@@ -21,14 +21,14 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabreauto"
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
# bootloader
BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
+BR2_TARGET_UBOOT_BOARDNAME="mx6dlsabreauto"
BR2_TARGET_UBOOT_FORMAT_IMX=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabreauto_defconfig
similarity index 86%
copy from configs/freescale_imx6qsabresd_defconfig
copy to configs/freescale_imx6qsabreauto_defconfig
index 95f29d7..0831d24 100644
--- a/configs/freescale_imx6qsabresd_defconfig
+++ b/configs/freescale_imx6qsabreauto_defconfig
@@ -11,7 +11,7 @@ BR2_DEFAULT_KERNEL_VERSION="3.10.17"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
# system
-BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
# kernel
BR2_LINUX_KERNEL=y
@@ -21,14 +21,14 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto"
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
# bootloader
BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
+BR2_TARGET_UBOOT_BOARDNAME="mx6qsabreauto"
BR2_TARGET_UBOOT_FORMAT_IMX=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre
2015-03-30 12:50 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
@ 2015-04-01 21:35 ` Thomas Petazzoni
1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2015-04-01 21:35 UTC (permalink / raw)
To: buildroot
Dear Vincent Stehl?,
On Mon, 30 Mar 2015 14:50:21 +0200, Vincent Stehl? wrote:
> 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>
Both patches applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-04-01 21:35 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 17:41 [Buildroot] [PATCH 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
2015-03-20 17:41 ` [Buildroot] [PATCH 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
2015-03-21 15:37 ` Arnout Vandecappelle
2015-03-30 11:59 ` Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Vincent Stehlé
2015-03-30 12:50 ` [Buildroot] [PATCH v2 2/2] configs: add Freescale SABRE Auto board support Vincent Stehlé
2015-04-01 21:35 ` [Buildroot] [PATCH v2 1/2] imx6sabresd: rename to imx6sabre Thomas Petazzoni
2015-03-21 15:24 ` [Buildroot] [PATCH " Arnout Vandecappelle
2015-03-21 16:34 ` Eric Nelson
2015-03-30 11:54 ` Vincent Stehlé
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.