Unable to boot after flashing in MT8365

Hello,
We are using a custom board based on the MT8365 SoC running Yocto 22.2. When flashing the board using the Genio Flash Tool, the process completes successfully, but the board fails to boot. Upon probing the boot pins, we did not observe any noticeable differences between a working board and one that fails to boot. Please let us know if there are any specific checks or debug steps we should follow to investigate this further.

As of now below logs we are getting on from ROM Bootloader

[DL] 00009C40 00000000 010716

F0: 102B 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 4002 0000
F2: 00FF 0000
F5: 480A 0031
F8: 1034 0000
00: 1005 0000
F3: 4001 00E0 [0200]
F3: 4002 0000
F2: 00FF 0000
F5: 480A 0031
01: 102A 0001
02: 1027 0001
03: 1005 0000
BP: 0800 02D0 [0001]
EC: 0000 0000 [0001]
T0: 0000 9EFC [000F]
System halt!

Note: In some boards same BSP boots fine, we are using i350-evk BSP.

Hello @Firmware_BSP,

How is everything going?

Would it be possible for you to connect to the board through UART and share the full boot logs there?

Also, what changes did you needed to apply to your meta-layer for your custom board to be supported?

best regards,
Andres
Embedded Software Engineer at ProventusNova

Hello,

At 115200 UART Baudrate we got below logs

[DL] 00009C40 00000000 010716

F0: 102B 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 4002 0000
F2: 00FF 0000
F5: 480A 0031
F8: 1034 0000
00: 1005 0000
F3: 4001 00E0 [0200]
F3: 4002 0000
F2: 00FF 0000
F5: 480A 0031
01: 102A 0001
02: 1027 0001
03: 1005 0000
BP: 0800 02D0 [0001]
EC: 0000 0000 [0001]
T0: 0000 9EFC [000F]
System halt!

and for 921600 baudrate we did not got anything.

and for Board bring up we had used default Genio-350EVK BSP image only, which works fine with other boards with same HW configurations.

@Firmware_BSP,

Thanks for getting back.

Interesting, according to the MediaTek Documentation for the Genio 350 the baud rate you should use for serial communication should be 921600 .

And unfortunately the output you are getting at 115200 doesn’t say much.

Is that carrier board completely custom or is it commercially available?

best regards,
Andrew
Embedded Software Engineer at ProventusNova

Hi @Andres_Campos ,
At 921600 baud rate we are not getting any logs and its a custom board, which we had developed taking a reference from Genio-i350evk MediaTek | MediaTek | Genio 350 EVK | IoT Products

As per this Board Bringup — IoT Yocto documentation BOOT ROM will work on 115200, so we are using 115200 Baud rate.

Hello @Firmware_BSP,

Thanks for the further details.

It’s interesting to hear that baud rate 921600 is not working although you are basing your carrier board design on the devkit.

Does the board show any logs during flashing ?

And how does the genie-flash output look ? Anything there that could help?

best regards,
Andres
Embedded Software Engineer at ProventusNova