Products > Test Equipment

Agilent E7495 linux root account

<< < (77/91) > >>

kirill_ka:

--- Quote ---[root@Linux /root]$tar --version
tar: unrecognized option `--version'

--- End quote ---

It's a crippled  busybox version.
Gnu tar is at /flash/elgato/utils/tar

jordi:
Do you think it got corrupted after the transfer? I can dump it again for you or just go straight for the raw dump.

kirill_ka:

--- Quote from: jordi on July 10, 2020, 12:18:27 am ---Do you think it got corrupted after the transfer? I can dump it again for you or just go straight for the raw dump.

--- End quote ---
No, I think all the needed files are copied ok. A bit of inconvenience is that unix permissions are not saved. But if you do a raw flash dump I should be able to extract them.
I noted the version of tar as the backup procedure I described as "Approach 1" requires GNU tar.

jordi:
kirill_ka,

Here is the image generated with the DD command from above:

https://j07m.s3-us-west-1.amazonaws.com/Public/mtdb3.img

kirill_ka:
For the very unlikely case someone wants to reverse engineer DSP code for the E7495,
I want to share my findings about the format of DSP .bin files.

The DSP is Analog Devices SHARC 21160M.

egServer/Dragonfly/Measurements/UserCode/*.bin
length of blob1 (32bit, LE)
blob1 (SHARC code)
length of blob2 (32bit, LE)
blob2 (unknown)
length of blob3 (32bit, LE)
blob3 (unknown)
blob4 (unknown)

egServer/Dragonfly/Firmware/E7495A/run.bin
egServer/Dragonfly/Firmware/E7495A/setu.bin
egServer/Dragonfly/Firmware/CPXSRC/run.bin
egServer/Dragonfly/Firmware/CPXSRC/setu.bin
12 byte header or some setup code
flash image

The flash image starts from SHARC code in a weird byte order.

I used unidasm utility from the MAME project to look at the SHARC assembly.
The unidasm doesn't get all the opcodes from 21160M right, but most of the code looks ok.

I'm attaching Tcl script I use to prepare code for unidasm.
Here's how to call it for Firmware:

--- Code: ---./reord.tcl 12 12 '2 3 0 1 6 7 p p 4 5 10 11 8 9 p p' run.bin tmp.bin
./unidasm -arch sharc tmp.bin

--- End code ---

And for UserCode:

--- Code: ---./reord.tcl 4 6 '5 4 3 2 1 0 p p' demod.bin tmp.bin
./unidasm -arch sharc tmp.bin

--- End code ---

bloblist.tcl is for splitting UserCode files.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod