Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between hex data and ASCII data in line #7

Open
vido89 opened this issue Jan 1, 2024 · 1 comment
Open

Inconsistency between hex data and ASCII data in line #7

vido89 opened this issue Jan 1, 2024 · 1 comment

Comments

@vido89
Copy link

vido89 commented Jan 1, 2024

So I have dumped some data but Im getting an error
Inconsistency between hex data and ASCII data in line (or the lines before):
'e1000020: 696c6968 0078756e 00000000 00000000 hilinux.........'

e1000000: 56190527 b5423f5d 104f8b4b e4c30c00    '..V]?B.K.O.....
e1000010: 0000a0e0 0000a0e0 4ce5e454 00020205    ........T..L....
e1000020: 696c6968 0078756e 00000000 00000000    hilinux.........
e1000030: 00000000 00000000 00000000 00000000    ................
e1000040: e1a00000 e1a00000 e1a00000 e1a00000    ................
e1000050: e1a00000 e1a00000 e1a00000 e1a00000    ................
e1000060: ea000002 016f2818 00000000 000cc3e4    .....(o.........
e1000070: e1a07001 e3a08000 e10f2000 e3120003    .p....... ......
e1000080: 1a000001 e3a00017 ef123456 e10f2000    ........V4... ..
e1000090: e38220c0 e121f002 00000000 00000000    . ....!.........

what can I do to fix this ?

@gmbnomis
Copy link
Owner

gmbnomis commented Jan 7, 2024

The hex values in the line decode to

00000000  69 6c 69 68 00 78 75 6e  00 00 00 00 00 00 00 00  ilih.xun........

The script checks (where possible) if the hex dump and the ASCII representation are consistent.

They are inconsistent in the example above: The script expects a byte per byte dump, but this looks like 32-bit little endian ( e.g. 696c6968 little endian is 68 69 6c 69, which is hili).

Can you shed some light on how you obtained this dump? (u-boot command, version, platform)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants