I need get copy of original Bootloader from device running embedded Linux. Is it possible copy and save bootloader using CLI telnet commands? I have full access to CLI interface. Is there way copy Bootloader binary from memory and save it?
=> printenv
...
update_uboot=tftpboot 0x80000100 u-boot.bin && protect off 0x48000000 +${filesize} && erase 0x48000000 +${filesize} && sleep ${sdelay} && cp.b ${fileaddr} 0x48000000 ${filesize} && protect on 0x48000000 +${filesize}
...
ubootpartsize=0x20000
mtdinfo=0x20000(U-Boot)ro
mtdparts=spansion:0x20000(U-Boot)ro
5 cmdlinepart partitions found on MTD device spansion
partitions[0] = {.name = U-Boot, .offset = 0x00000000,.size = 0x00020000 (128K) }
0x00000000-0x00020000 : "U-Boot"
EDIT: netcat is not present in Busybox on embedded device.
BusyBox v1.19.2 built-in shell (ash)
Enter 'help' for a list of built-in commands.
# help
Built-in commands:
------------------
. : [ [[ bg break cd chdir continue echo eval exec exit export
false fg getopts hash help jobs kill local printf pwd read readonly
return set shift source test times trap true type ulimit umask
unset wait