aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Stephan Hoffmann <sho@relinux.de>2014-07-03 10:46:22 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-07-07 07:55:02 +0200
commit5ac8f8ce10027ac8285a7e9cec16e74aa38ee2c1 (patch)
tree4387db0f5514a5c6836e0677fdfbce4d4363e851 /board
parentaa9a1a8de21839d44316d62bd57a5b4b6474ef80 (diff)
downloadbuildroot-5ac8f8ce10027ac8285a7e9cec16e74aa38ee2c1.tar.gz
buildroot-5ac8f8ce10027ac8285a7e9cec16e74aa38ee2c1.tar.bz2
Add support for Congatec QMX6
Add support for the iMX6 based conga-QMX6 family of Qseven modules. This patch is based on Linux 3.0.35 from Congatec's kernel reporitory [Peter: slightly simplify post build script] Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/congatec/qmx6/6q_bootscript.txt2
-rwxr-xr-xboard/congatec/qmx6/post-build.sh7
-rw-r--r--board/congatec/qmx6/readme.txt36
3 files changed, 45 insertions, 0 deletions
diff --git a/board/congatec/qmx6/6q_bootscript.txt b/board/congatec/qmx6/6q_bootscript.txt
new file mode 100644
index 0000000000..13822207b9
--- /dev/null
+++ b/board/congatec/qmx6/6q_bootscript.txt
@@ -0,0 +1,2 @@
+set bootargs console=ttymxc1,115200 root=/dev/mmcblk0p1 rootwait consoleblank=0
+${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image"
diff --git a/board/congatec/qmx6/post-build.sh b/board/congatec/qmx6/post-build.sh
new file mode 100755
index 0000000000..92251a53a9
--- /dev/null
+++ b/board/congatec/qmx6/post-build.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TARGET_DIR=$1
+BOARD_DIR="$(dirname $0)"
+
+mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "boot script" \
+ -d $BOARD_DIR/6q_bootscript.txt $TARGET_DIR/6q_bootscript
diff --git a/board/congatec/qmx6/readme.txt b/board/congatec/qmx6/readme.txt
new file mode 100644
index 0000000000..d2e0dcacbd
--- /dev/null
+++ b/board/congatec/qmx6/readme.txt
@@ -0,0 +1,36 @@
+This is the minimal buildroot support for the Congatec QMX6 Qseven CoM
+
+conga-QMX6 is based on the freescale iMX6 SoC. For more information please
+have a look at http://www.congatec.com/products/qseven/conga-qmx6.html
+
+The configuration is based on the currently latest kernel release from
+Congatec's git repository which is based on 3.0.35. The bootloader u-boot
+is preconfigured on the CPU module and does not need to be replaced.
+
+To build the default configuration you only have to:
+
+ make qmx6_defconfig && make
+
+You will need a microSD card of sufficient size and the first or only
+partition configured as Linux type.
+
+To transfer the system to the card do:
+
+ $ sudo dd if=output/images/rootfs.ext2 of=/dev/sdX1
+
+You can optionally extend the filesystem size to the whole partition:
+
+ $ sudo resize2fs /dev/sdX1
+
+You can also update the card image without completely rewriting it:
+
+ $ sudo mount /dev/sdX1 /mnt
+ $ sudo tar xf output/images/rootfs.tar -C /mnt
+ $ sudo umount /mnt
+
+Connect a terminal program to the rs232 connector marked "CONSOLE"
+with baudrate set to 115200, insert the microSD card into the socket
+on the CPU module and power the board to watch the system boot.
+
+Booting from the SD card slot on the base board is currently not
+supported.