mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-15 01:11:45 +02:00
Enable the serial port from the build_image command line. Currenly, you have to edit build_kernel_image.sh to enable the serial port for kernel debugging. Now: ./build_image --board=${BOARD} --enable_serial=ttyS0 Will enable sending printks to the specified serial port. BUG=chromium-os:38026 TEST=built images with and without serial enabled Change-Id: I9ef4f2a20f0d451e132371339c4eba1faf4c94de Reviewed-on: https://gerrit.chromium.org/gerrit/41638 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Paul Taysom <taysom@chromium.org> Tested-by: Paul Taysom <taysom@chromium.org>