AI-G board FWDN flashing fail

I got my AI-G board, and want to flash it.

FWDN โ€“fwdn is OK, but next steps fail.

Windows / Linux all failed with same error log.

Attached please find the logs.

Thanks.

WINDOWS LOGS:

PS C:\tools> cd .\fwdn_ai\

PS C:\tools\fwdn_ai> .\fwdn_aig.exe --fwdn .\boot-firmware\tcc750x_fwdn.json

[FWDNLogger::PrintCurTime:100] 25/09/02-16:13:32

[main:24] FWDN N-Dolphin v1.0.1 - 2024.9.24 16:18:11

Com port num : 7

[main:92] Start FWDN

[ProtocolCB::StartNDFWDN:120] Waiting for SYNC Response(2)

[ProtocolCB::StartNDFWDN:120] Waiting for SYNC Response(2)

[ProtocolCB::StartNDFWDN:120] Waiting for SYNC Response(2)

[ProtocolCB::StartNDFWDN:120] Waiting for SYNC Response(2)

[FWDN_ND::ImageSend:442] Complete to send MCERT image

[FWDN_ND::ImageSend:442] Complete to send HSM image

[FWDN_ND::ImageSend:442] Complete to send FWDN_BL1 image

[FWDN_ND::ImageSend:442] Complete to send FWDN_DRAM_PARAMETER image

[FWDN_ND::ImageSend:442] Complete to send FWDN_BL2 image

[FWDN_ND::ImageSend:442] Complete to send FWDN_BL3 image

[FWDN_ND::InfoDevice:123] ############## Device Info ##############

[PrintIP:527] ip : 192.168.0.100

[PrintIP:527] mask : 255.255.255.0

[PrintIP:527] gateway : 0.0.0.0

[FWDN_ND::InfoDevice:132] port : 8080

[FWDN_ND::InfoDevice:135]

mmc0_user: 7818182656 byte block_size: 512 byte

mmc0_boot0: 4194304 byte block_size: 512 byte

mmc0_boot1: 4194304 byte block_size: 512 byte

snor1: 0 byte

snor2: 0 byte

fw_version: tcc750x_v0.0.111

fw_build_id: g90e2b777

fw_build_date: 2024-09-24-17:11:42+0900

----- Firmware Information -----

VERSION : tcc750x_v0.0.111

BUILD ID : g90e2b777

BUILD DATE : 2024-09-24-17:11:42+0900

----- Detail of Storages -----

#### eMMC Info ####

Manufacture ID: 0x15

OEM: 0x100

Name: 0x8GTF4

User Capacity: 7.3 GiB (7818182656 Byte)

Boot Capacity: 4 MiB (4194304 Byte)

RPMB Capacity: 512 KiB (524288 Byte)

Speed Mode: HS200

#### SNOR Info ####

----- Summary of Storages -----

eMMC : O

SNOR : X

- O : Init success

- X : Init failed or not exist

----- Summary of DRAM Init -----

DRAM Init : Success

DRAM Size : TBD MB

----- PMU Status -----

PMU_USER : 0x660000

PMU_SIC_USER : 0x80

PMU_CONFIG : 0x2

* BM : PMU_CONFIG[1:0]

- 0 : USB BOOT

- 1 : SNOR BOOT

- 2 : eMMC BOOT

- 3 : eMMC with SIC BOOT

--------------------------------

[FWDN_ND::LoadFwdnFW:676] TCP Ready OK

[main:156] Complete FWDN, Total Time = 55643 ms

[main:162] **Notification : For more detailed FWDN Log, use the -g or --debug option.

PS C:\tools\fwdn_ai> .\fwdn_aig.exe --storage emmc --low-format

[FWDNLogger::PrintCurTime:100] 25/09/02-16:14:40

[main:24] FWDN N-Dolphin v1.0.1 - 2024.9.24 16:18:11

Com port num : 7

[FWDNFile::Open:23] pFileName == NULL

[CheckFile:502] Failed to open file - (null)

[CheckMandatoryFilesND:462] Failed to check file - (null)

[main:88] You need to check mandatory files

PS C:\tools\fwdn_ai>

LINUX LOGS:

johnson@Johnson-Huawei:~/Workspace/AI/TCC750X/linuxsdk/build-autolinux$ sudo ./fwdn-v8/out/fwdn_nd --fwdn boot-firmware/tcc750x_fwdn.json

[sudo] password for johnson:

[PrintCurTime:100] 25/09/02-16:03:01

[main:21] FWDN N-Dolphin v1.0.1 - 2024.9.24 16:15:47

[OpenPort:22] Complete open port(/dev/ttyUSB0)

[main:92] Start FWDN

[ImageSend:441] Complete to send MCERT image

[ImageSend:441] Complete to send HSM image

[ImageSend:441] Complete to send FWDN_BL1 image

[ImageSend:441] Complete to send FWDN_DRAM_PARAMETER image

[ImageSend:441] Complete to send FWDN_BL2 image

[ImageSend:441] Complete to send FWDN_BL3 image

[InfoDevice:123] ############## Device Info ##############

[PrintIP:527] ip : 192.168.0.100

[PrintIP:527] mask : 255.255.255.0

[PrintIP:527] gateway : 0.0.0.0

[InfoDevice:132] port : 8080

[InfoDevice:135]

mmc0_user: 7818182656 byte block_size: 512 byte

mmc0_boot0: 4194304 byte block_size: 512 byte

mmc0_boot1: 4194304 byte block_size: 512 byte

snor1: 0 byte

snor2: 0 byte

fw_version: tcc750x_v0.0.111

fw_build_id: g90e2b777

fw_build_date: 2024-09-24-17:11:42+0900

----- Firmware Information -----

VERSION : tcc750x_v0.0.111

BUILD ID : g90e2b777

BUILD DATE : 2024-09-24-17:11:42+0900

----- Detail of Storages -----

#### eMMC Info ####

Manufacture ID: 0x15

OEM: 0x100

Name: 0x8GTF4

User Capacity: 7.3 GiB (7818182656 Byte)

Boot Capacity: 4 MiB (4194304 Byte)

RPMB Capacity: 512 KiB (524288 Byte)

Speed Mode: HS200

#### SNOR Info ####

----- Summary of Storages -----

eMMC : O

SNOR : X

- O : Init success

- X : Init failed or not exist

----- Summary of DRAM Init -----

DRAM Init : Success

DRAM Size : TBD MB

----- PMU Status -----

PMU_USER : 0x660000

PMU_SIC_USER : 0x80

PMU_CONFIG : 0x2

* BM : PMU_CONFIG[1:0]

- 0 : USB BOOT

- 1 : SNOR BOOT

- 2 : eMMC BOOT

- 3 : eMMC with SIC BOOT

--------------------------------

[LoadFwdnFW:676] TCP Ready OK

[main:155] Complete FWDN, Total Time = 1467587 ms

[main:162] **Notification : For more detailed FWDN Log, use the -g or --debug option.

johnson@Johnson-Huawei:~/Workspace/AI/TCC750X/linuxsdk/build-autolinux$ sudo ./fwdn-v8/out/fwdn_nd --storage emmc --low-format

[PrintCurTime:100] 25/09/02-16:04:33

[main:21] FWDN N-Dolphin v1.0.1 - 2024.9.24 16:15:47

[OpenPort:22] Complete open port(/dev/ttyUSB0)

[Open:23] pFileName == NULL

[CheckFile:502] Failed to open file - (null)

[CheckMandatoryFilesND:462] Failed to check file - (null)

[main:87] You need to check mandatory files

johnson@Johnson-Huawei:~/Workspace/AI/TCC750X/linuxsdk/build-autolinux$ sudo ./fwdn-v8/out/fwdn_nd --write boot-firmware/tcc750x_boot.json

[PrintCurTime:100] 25/09/02-16:04:59

[main:21] FWDN N-Dolphin v1.0.1 - 2024.9.24 16:15:47

[OpenPort:22] Complete open port(/dev/ttyUSB0)

[Open:23] pFileName == NULL

[CheckFile:502] Failed to open file - (null)

[CheckMandatoryFilesND:462] Failed to check file - (null)

[main:87] You need to check mandatory files

johnson@Johnson-Huawei:~/Workspace/AI/TCC750X/linuxsdk/build-autolinux$

Hi. Mr. Zhang.

please follow the instruction inside the batch file (in case of Windows) of chat 3.7 TOPST.

simply run the bat file in CMD Window.

seems like you fulfilled the D3Gโ€™s instruction, not AIGโ€™s.

thanks

Thanks.

Yes, now WINDOWS fwdn process is OK.

But LINUX is still fail. Would you please help confirm that LINXU fwdn is confirmed OK?

Hi. Mr. Zhang.

please add โ€œโ€“fwdn boot-firmware/tcc750x_fwdn.jsonโ€ next to all ./fwdn_aig.

ex) ./fwdn_aig --fwdn boot-firmware/tcc750x_fwdn.json --storage emmc --low-format --port ttyUSB0

Please refer to the commit below.

thanks.

Yes, it works. Thanks.

1 Like