Still having issues with a missing /dev/ttyO0 when I boot my 'scope, but wanted to share this bit of info.
Using the files provided by tautech in this thread
https://www.eevblog.com/forum/testgear/siglent-sds1102cml-non-responsive-any-ideas/msg3554063/#msg3554063, I populated a directory C:\tftp on my desktop and unzipped those files into it. (I seem to be missing a rootfs.img?)
Then, using the interrupted U-Boot session, I updated the 'scope's networking settings using the following commands:
editenv gatewayip
editenv ipaddr
editenv serverip
by default these settings are:
gatewayip=10.11.13.1
ipaddr=10.11.13.250
serverip=10.11.13.19
I downloaded tftp64 to use as my TFTP server. Using most of the defaults works, just need to point it to your files at C:\tftp.
If we examine printenv, we can see some command syntaxes pre-populated.
a=echo tftp download MLO,u-boot.img,uImage,ubi.img image fpga nand ...; run m; run u; run k; run f; run b; run r; run d
This command "a" downloads via TFTP the files named:
MLO
u-boot.img
uImage
rootfs.img
logo.bmp
firmdata0.img
datafs.img
You can then kick off a TFTP based update of your device like this:
U-Boot SPL 2013.01.01-svn29730 (Mar 27 2017 - 19:02:34)
config ddr_pll_config()++
config ddr_pll_config()--
nand_init+++++
nand_init-----
Lcd_Init()++
SetUpLCD()++
SetUpLCD()--
error: logo_header->sign(Logo from buffer image1[]: base=0x0; end=0x0; end-base=0x0; rwsize=0x177000; r=0xffffffff
Lcd_Init()--
U-Boot 2013.01.01-svn29730 (Mar 27 2017 - 19:02:34)
I2C: ready
DRAM: 128 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
set_default_env::7864
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot
U-Boot#
U-Boot#
U-Boot#
U-Boot# editenv gatewayip
Unknown command 'editenv' - try 'help'
U-Boot# editenv gatewayip
edit: 192.168.1.1
U-Boot# editenv ipaddr
edit: 192.168.1.234
U-Boot# editevn serverip
Unknown command 'editevn' - try 'help'
U-Boot# editenv serverip
edit: 192.168.1.118
U-Boot# run a
tftp download MLO,u-boot.img,uImage,ubi.img image fpga nand ...
Upgrade the MLO by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'MLO'.
Load address: 0x82000000
Loading: ######
420.9 KiB/s
done
Bytes transferred = 79809 (137c1 hex)
NAND erase: device 0 offset 0x0, size 0x20000
Erasing at 0x0 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x20000
131072 bytes written: OK
Upgrade the u-boot.img by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #########################
124 KiB/s
done
Bytes transferred = 357280 (573a0 hex)
NAND erase: device 0 offset 0x80000, size 0x1e0000
Erasing at 0x240000 -- 100% complete.
OK
NAND write: device 0 offset 0x80000, size 0x1e0000
1966080 bytes written: OK
Upgrade the uImage by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'uImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################
447.3 KiB/s
done
Bytes transferred = 2157832 (20ed08 hex)
NAND erase: device 0 offset 0x3080000, size 0x600000
Erasing at 0x3660000 -- 100% complete.
OK
NAND write: device 0 offset 0x3080000, size 0x600000
6291456 bytes written: OK
Upgrade the rootfs.img by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'rootfs.img'.
Load address: 0x82000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
tftp download logo.bmp to nand ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'logo.bmp'.
Load address: 0x83000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
ERROR:signature(
** get_bmp_rgb(0x82000000, 0x83000000, 0x0) failed! **
bmpload - Get RGB from .bmp picture
NAND erase: device 0 offset 0x280000, size 0x300000
Erasing at 0x560000 -- 100% complete.
OK
NAND write: device 0 offset 0x280000, size 0x300000
3145728 bytes written: OK
Upgrade the firmdata0.img by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'firmdata0.img'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#############
447.3 KiB/s
done
Bytes transferred = 2097152 (200000 hex)
NAND erase: device 0 offset 0x3680000, size 0x3200000
Erasing at 0x6860000 -- 100% complete.
OK
NAND write: device 0 offset 0x3680000, size 0x3200000
52428800 bytes written: OK
Upgrade the datafs.img by tftp ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.118; our IP address is 192.168.1.234
Filename 'datafs.img'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#############
444.3 KiB/s
done
Bytes transferred = 2097152 (200000 hex)
NAND erase: device 0 offset 0x9a80000, size 0x6580000
Erasing at 0xffe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x9a80000, size 0x1500000
22020096 bytes written: OK
U-Boot# run nandboot
(Re)start USB...
USB0: lowlevel init failed
USB error: all controllers failed lowlevel init
Download Linux from USB to Nandflash...
** Bad device usb 0 **
** Bad device usb 0 **
** Bad device usb 0 **
** Bad device usb 0 **
Booting from nand ...
NAND read: device 0 offset 0x3080000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Linux-3.2.0+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2157768 Bytes = 2.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.