From: http://blog.csdn.net/kikilizhm/article/details/7771573
Recently debugged ubootCodeIn the new version of uboot, lowlevel_init function is empty, and no link to lowlevel_init.o is found in the Link file. Two lights were added before BL lowlevel_init and found that the parts after BL were not executed.ProgramHave you run this function. I found some methods provided by some friends when I searched for binfiles on the Internet, which is very useful.
You can use the arm-Linux-objdump in the arm-Linux tool chain for disassembly.
CD to the directory where the binfile is located, and enter the following 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
Only one-D parameter is required for an elf file.
You can decompile XXX. bin to the XXX. ASM file.
From: http://blog.csdn.net/kikilizhm/article/details/7771573
When debugging uboot Code recently, the new version of uboot and lowlevel_init functions are used, and no link to lowlevel_init.o is found in the Link file. We added two lights before BL lowlevel_init and found that the parts after BL were not executed, so we wanted to see if the specific program was running this function. I found some methods provided by some friends when I searched for binfiles on the Internet, which is very useful.
Use the arm-Linux-objdump in the arm-Linux tool chain for disassembly.
CD to the directory where the binfile is located, and enter the following 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
Only one-D parameter is required for an elf file.
You can decompile XXX. bin to the XXX. ASM file.