Recently, when debugging Uboot's code, the new version of the Uboot,lowlevel_init function is empty, and no links to LOWLEVEL_INIT.O are found in the link file. Two lights were added before and after BL Lowlevel_init, and it was found that the part after BL was not executed, so I wanted to see if the program had run this function. Find the way to the disassembly bin file on the Internet, it is very useful to find a friend to provide.
Use the arm-linux-objdump inside the Arm-linux tool chain to disassemble
CD to the directory where the bin file is located, enter it at the command line:
arm-linux-objdump-d-B binary-m arm xxx.bin > Xxx.asm
Parameters:-D decompile All code-M host type, arm-b file format, binary
For Elf-formatted files, only one-D parameter can be
You can disassemble the Xxx.bin to the Xxx.asm file.
Arm's Bin file disassembly method