Rome FW Debug
Rome 2.1
For target dump: dram, register, cpu context, host can dump these 3 parts when necessary to debug FW state.
For the dram dump file: fwdump_ar6320v2_dram.log
1. Prepare xtensa tools environments: /cad/....
2. Get tools: bin2txt, fw_assist.py from P4 server
//components/rel/wlanfw.cnss/1.0.2/host/tools/bin2txt
//components/rel/wlanfw.cnss/1.0.2/host/tools/fw_assist
3. bin2txt 0x0 0x400000 fwdump_ar6320v2_dram.log stack.txt
4. get 2 symbpl files:
athwlan.out from the related FW build server.
sw.rom.out from P4 server: //components/rel/wlanfw.cnss/1.0.2/target/romexport/AR6320/hw.2/image
5. python ./fw_assist.py -D --target=rome_v2.1 --fw-path=./example/ --dram-file=./stack.txt
./example is where the 2 symbols file are.
6. the final chkdram_output_stack.txt is generated, it will contain register and the whole stack memory.
浙公网安备 33010602011771号