uboot transplant exception collection to be improved

Download uboot source code (latest) online,
decompress, configure, compile

make fails to compile:

Official source code, the compilation fails,
prompt: segmentation fault
eliminates the source code problem, the
positioning is: some new properties of the compiler are used in the source code, and the compiler needs to be updated to the relevant time version.

After make is passed, nine times out of ten, it still can't be used, maybe there is no printing information on the serial port.

Analyze uboot:

Check the best link instruction information after make, you can know some approximate file organization forms, check.

Check the source code, if you encounter macros or other operations that you don't understand, you can disassemble the relevant files, check the disassembly,

disassembly file

arm-linux-objdump -D [.elf文件] > [.dis 反汇编文件]

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325392039&siteId=291194637