Follow

SmartServer IoT doesn't boot up, stuck in U-Boot prompt (KB1387)   

This is the workaround when the SmartServer environmental variables get corrupted and the SmartServer is constantly rebooting in the U-boot prompt.

On older SmartServer IoT software versions (2.41 and 2.50), or upgrading from an older software version to newer software we have seen a couple of cases in which the SmartServer doesn't boot up properly.  The SmartServer appears to constantly reboot. You shouldn't see this upgrade issue with SmartServer 2.61+.

When the SmartServer constantly reboots in the U-boot prompt you can't access the SmartServer CMS and may have problems accessing the SmartServer configuration Web page.

For example, if you connect to the SmartServer serial console and see the following messages due to constant rebooting then you will need to run the workaround below.

U-Boot 2015.04 (Aug 08 2018 - 02:20:16)
CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
CPU:   Temperature 34 C
Reset cause: WDOG
Board: Echelon Lumewave Apollo 2
Boot Device: SPI-NOR
I2C:   ready
DRAM:  2 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected MX25L3205D with page size 256 Bytes, erase size 64 KiB, total 4 MiB
In:    serial
Out:   serial
Err:   serial
Normal Boot
=> sudo /midia/usb0/re-image.sh
Unknown command 'sudo' - try 'help'

 

Workaround:

This workaround is unique for each SmartServer as you will be fixing the SmartServer environmental variables using the information on the bottom of each SmartServer.

There is also a different workaround based on whether this is a SmartServer IoT Pro or SmartServer IoT Pro EX.  The SmartServer IoT Pro EX comes with built-in RS-485 so requires additional U-boot commands.

To stop the SmartServer from constantly rebooting, press any key on the keyboard (for example, the space key) when prompted with "Hit any key to stop autoboot" .  The SmartServer will constantly reboot so you may want to wait until it does the autoboot and then immediately issue the workaround commands.

Copy the information below into a text editor and replace <..> with information from the bottom of the SmartServer. Do not copy each line separately as you won't be able to copy them fast enough, you must copy all lines with a single copy and paste.  That is, copy all the lines (Typically CTRL-A followed by CTRL-V) and paste them into the SmartServer console.  All the lines must be issued at one time.

 

SmartServer IoT Pro Workaround Format: unique for each SmartServer

env default -a
saveenv
setenv echelon_passwd <password from label on bottom of unit>
setenv echelon_serial <serial # from bottom of unit>
setenv ethaddr <MAC1 from bottom of unit>
setenv eth1addr <MAC2 from bottom of unit>
saveenv

 

For example: SmartServer IoT Pro with serial # 442021D33486

env default -a
saveenv
setenv echelon_password FTpB-fWaW
setenv echelon_serial 442021D33486
setenv ethaddr 00-D0-71-0A-25-1A
setenv eth1addr 00-D0-71-0A-25-1B
saveenv

Copy all the lines (Typically CTRL-A followed by CTRL-V) and paste them into the SmartServer console.  All the lines must be issued at one time.

 

SmartServer IoT Pro EX (2 built-in RS-485 ports) Workaround Format: Unique for each SmartServer

env default -a
saveenv
setenv echelon_passwd <password from label on bottom of unit>
setenv echelon_serial <serial # from bottom of unit>
setenv ethaddr <MAC1 from bottom of unit>
setenv eth1addr <MAC2 from bottom of unit>
saveenv
setenv echelon_rs485a 1
setenv echelon_rs485b 1
saveenv

 

For example: SmartServer IoT Pro EX with serial # 442021D33487

env default -a
saveenv
setenv echelon_password FTwX-fWaW
setenv echelon_serial 442021D33487
setenv ethaddr 00-D0-71-0A-35-1A
setenv eth1addr 00-D0-71-0A-35-1B
saveenv
setenv echelon_rs485a 1
setenv echelon_rs485b 1
saveenv

Copy all the lines (Typically CTRL-A followed by CTRL-V) and paste them into the SmartServer console.  All the lines must be issued at one time.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk