Skip to contentSkip to conversation

board/BuR/common: fix netconsole

PATCH New Hannes Schmelzer 2 participants 2 messages May 28, 2015 – Jun 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/BuR/common: fix netconsole

netconsole had become defective over time and cleanups. Because the feature is used very rarely nobody did take notice about this defect.

With this patch the resulting syntax error on call will be fixed.

---

 include/configs/bur_am335x_common.h | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
include/configs/bur_am335x_common.h +7 -11
index b441fa0..8e38c2f 100644
@@ -17,17 +17,13 @@
 "defaultip=192.168.60.253\0" \
 "defaultsip=192.168.60.254\0" \
 "netconsole=echo switching to network console ...; " \
-"if dhcp; then " \
-"setenv ncip ${serverip}; else " \
-"setenv ncip 192.168.60.254; " \
-"setenv serverip 192.168.60.254; " \
-"setenv gatewayip 192.168.60.254; " \
-"setenv ipaddr 192.168.60.1; " \
-"fi;" \
-"setenv netdisplay0 '" \
-"setcurs 1 9; puts myip; setcurs 10 9; puts ${ipaddr};" \
-"setcurs 1 10;puts serverip; setcurs 10 10; puts ${serverip};" \
-"run netdisplay0; " \
+"if dhcp; then setenv ncip ${serverip}; " \
+"else " \
+"setenv ncip 192.168.60.254; setenv serverip 192.168.60.254; " \
+"setenv gatewayip 192.168.60.254; setenv ipaddr 192.168.60.1; " \
+"fi; " \
+"setcurs 1 9; lcdputs myip; setcurs 10 9; lcdputs ${ipaddr};" \
+"setcurs 1 10;lcdputs serverip; setcurs 10 10; lcdputs ${serverip};" \
 "setenv stdout nc;setenv stdin nc;setenv stderr nc\0"
 
 #define CONFIG_CMD_TIME
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 board/BuR/common: fix netconsole

Quoted 8 lines · Hannes Schmelzer

netconsole had become defective over time and cleanups. Because the feature is used very rarely nobody did take notice about this defect.

With this patch the resulting syntax error on call will be fixed.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150603/0500d728/attachment.sig>