Note: MCFBA{L/H} that is used to dump the MC log buffer is valid only after the following command is executed:
fsl_mc start mc ${mc_addr} ${dpc_addr}
Run the above command first, then MCFBA contents will be valid.
To display the MC log buffer in U-Boot for debug purpose, when MC console is not available:
=> md 0x8340020 10
08340020: e0000006 00000027 00060000 00000000 ....'...........
08340030: 00000000 00000000 00000000 00000000 ................
08340040: 00000000 00000000 00000000 00000000 ................
08340050: 00000000 00000000 00000000 00000000 ................
The value at 08340024 is the MCFBAH address. In this case, it is 00000027. The value at 08340020 is the MCFBAL address. In this case, it is e0000000. So you can build the MCFBA base address as: 0x27e0000000.
run mcinitcmd
md 27e1000000
27e1000000: 4d430100 00000000 01400000 00300000 ..CM......@...0.
27e1000010: 000000b1 00000000 00000000 00000000 ................
27e1000020: 00000000 00000000 00000000 00000000 ................
27e1000030: 00000000 00000000 00000000 00000000 ................
4d430100 = magic number, 400000 = log buffer offset, 00300000 = log buffer lengthmd 27e1400000
md 27e1400000 <num>
For example:md 27e1400000 20
In case that the log buffer has more information, you can extend the output of md by replacing 20 with a greater value.