I am trying to use busybox to dump files in /sys and /proc.
I happen to have an embedded device with busybox 1.31.
I noticed that xxd does not have the -e option for little endian.
I can't figure out how to do this in od or hexdump either, with busybox's limited set of options.
Any ideas?
Example of what does not work:
# hexdump fsl,mf-mix-wakeup-irq
0000000 c007 0000 0000 007d 0000 0000 4001 4006
# od -X fsl,mf-mix-wakeup-irq
0000000 0000c007 007d0000 00000000 40064001
0000020
This is the byte order that I want (from the source code):
0x7c00000 0x7d00 0x0 0x1400640
od -c
), and what you want to get instead? What are the files?xxd -g4
orod -tx4
?