serial --unit=0 --speed=@BAUDRATE@ --word=8 --parity=no --stop=1
terminal --timeout=2 console serial

default 0
timeout 5

title   OpenWrt
root    (hd0,0)
kernel  /boot/vmlinuz @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
boot

title	OpenWrt (failsafe)
root	(hd0,0)
kernel  /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
boot