diff options
| author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2016-06-21 02:35:01 -0300 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2016-06-28 13:56:25 +0200 |
| commit | 244ffaafd18723fece75f45c14e0f0652dc1ebf3 (patch) | |
| tree | 4ab9e78c40710358d4de43c11ab2b7106d315abc /board/minnowboard | |
| parent | 3d3f27172d190834e27b0a373797ab5c12aa9899 (diff) | |
| download | buildroot-244ffaafd18723fece75f45c14e0f0652dc1ebf3.tar.gz buildroot-244ffaafd18723fece75f45c14e0f0652dc1ebf3.zip | |
minnowboard-max: Enable serial and HDMI consoles
Following what's done in Raspberry Pi's defconfigs, let's
unify the consoles in Minnowboard Max defconfigs, providing
consoles on HDMI and serial port.
[Peter: use tty1 like on rpi]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/minnowboard')
| -rwxr-xr-x | board/minnowboard/post-build.sh | 5 | ||||
| -rw-r--r-- | board/minnowboard/readme.txt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/board/minnowboard/post-build.sh b/board/minnowboard/post-build.sh index f3a11e99f0..1406a509c1 100755 --- a/board/minnowboard/post-build.sh +++ b/board/minnowboard/post-build.sh @@ -3,3 +3,8 @@ # $2 board name cp -v board/minnowboard/grub-${2}.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg + +# Add a console on tty1 +grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ +sed -i '/GENERIC_SERIAL/a\ +tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab diff --git a/board/minnowboard/readme.txt b/board/minnowboard/readme.txt index 8cf35b79c5..f76cd77c34 100644 --- a/board/minnowboard/readme.txt +++ b/board/minnowboard/readme.txt @@ -23,6 +23,9 @@ How to get started with the MinnowBoard (MAX) $ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync + The system starts two consoles: one on the serial port + and one on HDMI. + 3. Enjoy Additional information about this board can be found at |

