110 | | By default the Gateworks bootloader's configure one of the board's UARTs for serial console. This can be disabled by changing the bootargs in the bootloader: |
111 | | * Example: Laguna uboot |
112 | | {{{ |
113 | | setenv bootargs console= root=/dev/mtdblock3 rootfstype=squashfs,jffs2 noinitrd |
114 | | saveenv |
115 | | }}} |
116 | | * Example: Ventana uboot: |
117 | | {{{ |
118 | | setenv console null |
119 | | saveenv |
120 | | }}} |
121 | | |
122 | | If using Yocto or a more traditional Linux based OS, you may need to take additional steps to disable the OS enabling the serial port for a Login terminal by removing the line with that serial port from {{{ /etc/inittab }}}. |
123 | | |
124 | | The bootloader will still output data upon power up - see below. |
125 | | |
126 | | |
127 | | [=#bootloader] |
128 | | == Bootloader Serial Console == |
129 | | If you wish to disable the bootloader's use of the serial port, you will need to recompile the bootloader. |
130 | | |
131 | | Notes: |
132 | | * For Lagunu u-boot-2008.10 modify CONFIG_CONS_INDEX in include/configs/cavium_cns3000*.h setting it to a non-existent port. |
133 | | * Define CONFIG_SILENT_CONSOLE to enable support for silent mode (must custom compile bootloader as discussed on the wiki [wiki:laguna/bootloader here]) |
134 | | * Set the u-boot envvar silent to disable some u-boot output |
135 | | * One should probably tweak the bootdelay to 1 second (or turn it off) |
136 | | * One can still interrupt u-boot by pressing the specified key (you won't see output, but your input will be processed) |
137 | | |
| 110 | See [wiki:silenceconsole silenceconsole] for details on silencing or changing the serial console for boot firmware, Linux kernel, and OS. |