Skip to contentSkip to conversation

add 'terminal program' functionality

PATCH New Harald Welte 2 participants 2 messages Dec 19, 2007 – Jan 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add 'terminal program' functionality

This patch adds a 'cu' like serial terminal command to u-boot using which you can access other serial ports from the system console.

OpenMoko uses this in their Neo1973 phones to get access to the GSM Modem and GPS chip from the bootloader.

common/Makefile +1 -0
Index: u-boot/common/Makefile
===================================================================
@@ -86,6 +86,7 @@
 COBJS-y += cmd_sata.o
 COBJS-$(CONFIG_CMD_SCSI) += cmd_scsi.o
 COBJS-$(CONFIG_CMD_SPI) += cmd_spi.o
+COBJS-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o
 COBJS-$(CONFIG_CMD_UNIVERSE) += cmd_universe.o
 COBJS-$(CONFIG_CMD_USB) += cmd_usb.o
 COBJS-y += cmd_vfd.o
common/cmd_terminal.c new file +102 -0

102 lines not on this page · raw message

include/config_cmd_all.h +1 -0
Index: u-boot/include/config_cmd_all.h
===================================================================
@@ -73,6 +73,7 @@
 #define CONFIG_CMD_SETGETDCR	/* DCR support on 4xx		*/
 #define CONFIG_CMD_SNTP		/* SNTP support			*/
 #define CONFIG_CMD_SPI		/* SPI utility			*/
+#define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
 #define CONFIG_CMD_USB		/* USB Support			*/
 #define CONFIG_CMD_VFD		/* VFD support (TRAB)		*/
Signature · 3 lines
- Harald Welte <[email protected]>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone
#1 lore raw

PATCH 1/1 add 'terminal program' functionality

Quoted 7 lines · In message <[email protected]> you wrote:

This patch adds a 'cu' like serial terminal command to u-boot using which you can access other serial ports from the system console.

OpenMoko uses this in their Neo1973 phones to get access to the GSM Modem and GPS chip from the bootloader.

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Extreme feminine beauty is always disturbing.
	-- Spock, "The Cloud Minders", stardate 5818.4