eMMC에 초기 OS가 없는 것으로 확인 되어, USB(FWDN) 모드로 부팅후 ubuntu-22.04-topst-weston_desktop-v1.0.0.zip 이미지를 eMMC로 플래싱을 하고자 하는데요.
일단 에러가 떠서 진행이 안됩니다.
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ ./fwdn.sh
[main:30] FWDN V8 v1.4.12 - 2022.8.19 13:49:14
[OpenPort:75] Failed to open device: LIBUSB_ERROR_ACCESS
[OpenPort:44] Failed to open USB Port
[ConnectUSBAndLoadFWDNRom:248] Please re-connect or reboot the device.
USB(FWDN) 모드로 부팅이 안됐나 싶어서 도큐먼트를 읽어 봤는데, eMMC에 이미지가 없다면 기본적으로 USB 부팅 모드라고 적혀있네요. 혹시나 몰라 보드에 전원 넣고 RESET LED 들어온 상태 확인후 , BOOT 단추를 누른 상태에서 RESET 단추를 눌러도 봤습니다.
USB-C 케이블을 잘못 됐나 싶어 2개를 바꿔가며 해봤는데 똑같습니다.
HOST PC OS
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
lsusb 했을때 Telechips 잘 잡힘.
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ lsusb
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 002: ID 320f:5055 RDR GS85
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 25a7:fa7c Areson Technology Corp Xlite Mini Wireless
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 016: ID 140e:b201 Telechips, Inc.
Bus 002 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ ls -al fwdn
-r-xr-xr-x 1 pyohwan pyohwan 394424 Aug 3 16:39 fwdn
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ ./fwdn.sh
[main:27] FWDN V8 v2.0.0 - 2024.10.24 13:05:28
[OpenPort:76] Failed to open device: LIBUSB_ERROR_ACCESS
[OpenPort:46] Failed to open USB Port
[ConnectUSBAndLoadFWDNRom:279] Please re-connect or reboot the device.
pyohwan@hp-elitedesk-705-g5-desktop-mini-debian12:~/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0$ ./fwdn.sh
[main:27] FWDN V8 v2.0.0 - 2024.10.24 13:05:28
[LoadFWDNRom:448] Start to load FWDN rom
[LoadMCERT:870] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/mcert.bin
[LoadHSM:907] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/hsm.cs.bin
[SendFWDNHeader:964] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/fwdn.rom - Header
[SendFWDNBody_V8:782] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/fwdn.rom - Body
[LoadFWDNRom:463] Complete to load FWDN rom
[GetFWDNRomVersion:1919] fwdn.rom version : 23.5.22
[GetFWDNRomVersion:1935] PMU user status register : 0x00440000
[PrintBootFailureReason:1876] The boot mode of the board is 'eMMC Only' - BM : 5
[PrintBootFailureReason:1884] However, the board is operating in USB mode for the following reasons
[PrintBootFailureReason:1885] If it is not the intended boot mode, check the reasons below
[PrintBootFailureReason:1889] Boot failure reason : Primary image - SC F/W
[PrintBootFailureReason:1894] Boot failure reason : Secondary image - SC F/W
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/dram_params.bin
[PrintDeviceInfo:1533] --------------Device info-------------
[PrintDeviceInfo:1534]
----- Detail of Storages -----
#### eMMC Info ####
Manufacture ID: 0x15
OEM: 0x100
Name: BJTD4
User Capacity: 29.1 GiB (31268536320 Byte)
Boot Capacity: 4 MiB (4194304 Byte)
RPMB Capacity: 4 MiB (4194304 Byte)
Speed Mode: HS200
----- Summary of Storages -----
eMMC : O
SNOR : X
UFS : X
- O : Init success
- X : Init failed or not exist
----- Summary of DRAM Init -----
DRAM Init : Success (Result 0x0 )
DRAM Size : 8192MB
[PrintDeviceInfo:1535] --------------------------------------
[main:157] Complete FWDN
[PrintCurTime:112] 25/08/04-17:04:02
[main:27] FWDN V8 v2.0.0 - 2024.10.24 13:05:28
[GetFWDNRomVersion:1919] fwdn.rom version : 23.5.22
[GetFWDNRomVersion:1935] PMU user status register : 0x00440000
[PrintBootFailureReason:1876] The boot mode of the board is 'eMMC Only' - BM : 5
[PrintBootFailureReason:1884] However, the board is operating in USB mode for the following reasons
[PrintBootFailureReason:1885] If it is not the intended boot mode, check the reasons below
[PrintBootFailureReason:1889] Boot failure reason : Primary image - SC F/W
[PrintBootFailureReason:1894] Boot failure reason : Secondary image - SC F/W
[LowformatCommand:1702] Start low-format
[LowformatCommand:1703] low-format can take a long time
[LowformatCommand:1732] Complete low-format
[main:157] Complete FWDN
[PrintCurTime:112] 25/08/04-17:04:02
[main:27] FWDN V8 v2.0.0 - 2024.10.24 13:05:28
[GetFWDNRomVersion:1919] fwdn.rom version : 23.5.22
[GetFWDNRomVersion:1935] PMU user status register : 0x00440000
[PrintBootFailureReason:1876] The boot mode of the board is 'eMMC Only' - BM : 5
[PrintBootFailureReason:1884] However, the board is operating in USB mode for the following reasons
[PrintBootFailureReason:1885] If it is not the intended boot mode, check the reasons below
[PrintBootFailureReason:1889] Boot failure reason : Primary image - SC F/W
[PrintBootFailureReason:1894] Boot failure reason : Secondary image - SC F/W
[main:126] Start write command
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/bconf.single.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/bconf.single.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/mcert.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/mcert.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/dram_params.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/dram_params.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/hsm.cs.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/hsm.cs.bin
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/scfw.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/scfw.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/optee.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/optee.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/subcore_optee.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/subcore_optee.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca72_bl1.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca72_bl1.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca53_bl1.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca53_bl1.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca72_bl2.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca72_bl2.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca53_bl2.rom
[GetFileAndWriteCommand:1078] /home/pyohwan/topst-d3-g/ubuntu-22.04-topst-weston_desktop-v1.0.0/boot-firmware/./prebuilt/ca53_bl2.rom
[main:134] Complete write command
[main:157] Complete FWDN
[PrintCurTime:112] 25/08/04-17:04:02
100% [||||||||||||||||||||||||||||||] 864768/864768[main:27] FWDN V8 v2.0.0 - 2024.10.24 13:05:28
[GetFWDNRomVersion:1919] fwdn.rom version : 23.5.22
[GetFWDNRomVersion:1935] PMU user status register : 0x00440000
[PrintBootFailureReason:1876] The boot mode of the board is 'eMMC Only' - BM : 5
[PrintBootFailureReason:1884] However, the board is operating in USB mode for the following reasons
[PrintBootFailureReason:1885] If it is not the intended boot mode, check the reasons below
[PrintBootFailureReason:1889] Boot failure reason : Primary image - SC F/W
[PrintBootFailureReason:1894] Boot failure reason : Secondary image - SC F/W
[main:126] Start write command
[GetFileAndWriteCommand:1078] d3g.fai
[main:134] Complete write command
[main:157] Complete FWDN
[PrintCurTime:112] 25/08/04-17:08:09
100% [||||||||||||||||||||||||||||||] 4291763824/4291763824
** When writing FAI files without low-format, there may be garbage values in partition where data is not written.