From 99422610836d7f8e2b8063540eb08f4a731a7ab9 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 12 Feb 2010 21:33:30 +0000 Subject: making use of lemote PMON bugs it is possible to get full serial PMON console; describe the trickery involved; ok miod@ --- distrib/notes/loongson/install | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/distrib/notes/loongson/install b/distrib/notes/loongson/install index 5d18cb77e29..290f50821e6 100644 --- a/distrib/notes/loongson/install +++ b/distrib/notes/loongson/install @@ -1,4 +1,4 @@ -dnl $OpenBSD: install,v 1.4 2010/02/12 20:58:34 miod Exp $ +dnl $OpenBSD: install,v 1.5 2010/02/12 21:33:29 otto Exp $ OpenBSDInstallPrelude Booting the installation media: @@ -114,6 +114,30 @@ OpenBSDInstallWrapup PMON> set bsd /dev/fs/ext2@wd0/boot/bsd + On the Fuloong 2F, getting PMON to use the serial console + is tricky, due to PMON bugs and design decisions made by + Lemote. + PMON's default serial speed is 115200, and OpenBSD will + also use that speed. By default, it is possible to use + serial input if no USB keyboard is attached. PMON will + nevertheless display output its on the VGA display. + To get full serial access, the first step is to boot + into PMON> with both serial console and VGA display but + no USB keyboard attached. + You can type on the serial console, but output will be shown + on the VGA display. Next enter the following + commands: + + PMON> set novga 1 + PMON> set nokbd 1 + PMON> set al "" + PMON> set ShowBootMenu no + + Then boot into linux and rename /boot/boot.cfg so that + it does not get found by PMON. At the next reboot + the Fuloong 2F will boot into the PMON + prompt on the serial console. + Gdium systems final steps: Gdium systems do not have a boot menu, and directly boot the -- cgit v1.2.3