Skip to content

Instantly share code, notes, and snippets.

@halmartin
Created January 8, 2018 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halmartin/3b1655abf18ccd432f60af7aa7c36d1b to your computer and use it in GitHub Desktop.
Save halmartin/3b1655abf18ccd432f60af7aa7c36d1b to your computer and use it in GitHub Desktop.
Western Digital Yosemite mcu_upgrade binary strings
/lib/ld-linux.so.3
librs232.so
RS232_Send
_fini
RS232_Read
RS232_Open
__gmon_start__
RS232_SetParam
RS232_Close
_Jv_RegisterClasses
_init
libxmldbc.so
xmldbc_set
libgcc_s.so.1
__aeabi_unwind_cpp_pr0
__aeabi_unwind_cpp_pr1
libc.so.6
strcpy
sprintf
puts
putchar
abort
strtol
memset
getopt
__fxstat64
memcpy
fclose
malloc
raise
optarg
system
usleep
fread
fopen64
__libc_start_main
free
_edata
__bss_start
__bss_start__
__bss_end__
__end__
_end
GLIBC_2.4
GCC_3.5
Usage : mcu_upgrade -f filename
-b : mcu_upgrade -b baudrate
-h : show this help
Open Firmware File Error!!!
alloc %d failure
%.4X=
%.2X
err : send %s failure
change to baudrate 57600
clear uart rx data : 0x%x
2. err : retrun ack not match
1. err : retrun ack not match
/tmp/up_upgrade_percentage
/dev/ttyS1
error : open ttyS1 fail
error
For Yosemite used
mcu auto reboot
f:hb:dr
firmware name : %s
cpu baud rate : %s
code_size : %dK
load firmware finish
kill -9 `pidof up_read_daemon`
kill -9 `pidof up_send_daemon`
/runtime/firmware_percentage
enable isp failure
enable isp ok
set isp failure
set isp ok
send br 57600
set br 115200 failure
read flash 0xB800~0xBFFF failure
read flash 0xB800~0xBFFF ok
erase all failure
erase all ok
write flash failure
write flash ok
finish failure
finish ok
read flash 0x0~0xBFFF failure
read flash 0x0~0xBFFF ok
err : write data no match
over
led firmware updated_done
touch /tmp/upload_fw_success
do_reboot 1
end failure
end ok
WT61P8
Enable ISP
Set ISP
Erase
Page Erase
Program
Set Address High Byte
Finish
Read
Baudrate 57600
GCC: (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) 4.6.4
aeabi
MARVELL-PJ4
.shstrtab
.interp
.note.ABI-tag
.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rel.dyn
.rel.plt
.init
.text
.fini
.rodata
.ARM.extab
.ARM.exidx
.eh_frame
.init_array
.fini_array
.jcr
.dynamic
.got
.data
.bss
.comment
.ARM.attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment