When I run the ubiboot after booting M4 I get the log:
Colibri iMX7 # run ubiboot
Booting from NAND...
ubi0: default fastmap pool size: 200
ubi0: default fastmap WL pool size: 100
ubi0: attaching mtd5
ubi0: attached by fastmap
ubi0: fastmap pool size: 200
ubi0: fastmap WL pool size: 100
ubi0: attached mtd5 (name "ubi", size 508 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 4052, bad PEBs: 12, corrupted PEBs: 0
ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 99/39, WL threshold: 4096, image sequence number: 1053277079
ubi0: available PEBs: 0, total reserved PEBs: 4052, PEBs reserved for bad PEB handling: 68
No size specified -> Using max size (5937640)
Read 5937640 bytes from volume kernel to 81000000
No size specified -> Using max size (46670)
Read 46670 bytes from volume dtb to 82000000
Kernel image @ 0x81000000 [ 0x000000 - 0x5a99e8 ]
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Using Device Tree in place at 82000000, end 8200e64d
Updating MTD partitions...
Starting kernel ...
This happens on both Linix versions 3.04 and 5.
I tried
Colibri iMX7 # setenv fdt_fixup 'fdt addr ${fdt_addr_r} && fdt rm /soc/aips-bus@30800000/spba-bus@30800000/serial@30890000' Colibri iMX7 # saveenv
but it is no use.