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>
This commit is contained in:
parent
3d3f27172d
commit
244ffaafd1
@ -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
|
||||
|
@ -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
|
||||
|
@ -9,7 +9,6 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
|
||||
# System configuration
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="tty0"
|
||||
BR2_ROOTFS_OVERLAY="board/minnowboard/fs-overlay-graphical"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
|
||||
|
@ -3,7 +3,6 @@ BR2_x86_64=y
|
||||
BR2_x86_atom=y
|
||||
|
||||
# Misc
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user