I had compiled a Modbus project,using UART B and load the bin file to ocram(0x910000), run
Colibri iMX7 # ubi part ubi
Colibri iMX7 # ubi write 0x910000 m4firmware
Colibri iMX7 # setenv m4boot 'ubi read 0x910000 m4firmware && dcache flush && bootaux 0x910000'
Colibri iMX7 # setenv fdt_fixup 'fdt addr ${fdt_addr_r} && fdt rm /soc/aips-bus@30800000/spba-bus@30800000/serial@30890000 && fdt rm /soc/aips-bus@30800000/spba-bus@30800000/serial@30880000 && fdt rm /soc/aips-bus@30400000/adc@30610000'
Colibri iMX7 # saveenv
and then boot linux, It can communication with master station.
However, when LINK_FILE was changed to MCIMX7D_M4_ddr.ld in CMakeFileList.txt, I had compiled the Modbus project and load the bin file to ddr(0x9ff00000), run
Colibri iMX7 # ubi part ubi
Colibri iMX7 # ubi write 0x9ff00000 m4firmware
Colibri iMX7 # setenv m4boot 'ubi read 0x9ff00000 m4firmware && dcache flush && bootaux 0x9ff00000'
Colibri iMX7 # setenv fdt_fixup 'fdt addr ${fdt_addr_r} && fdt rm /soc/aips-bus@30800000/spba-bus@30800000/serial@30890000 && fdt rm /soc/aips-bus@30800000/spba-bus@30800000/serial@30880000 && fdt rm /soc/aips-bus@30400000/adc@30610000'
Colibri iMX7 # saveenv
and then boot linux, It can not communication with master station, and the master station prompts “port 7 not available”. So what can I do for this problem ?