# Ubuntu 이미지 굽기시 에러 문의

**URL:** <https://community.topst.ai/t/ubuntu/589>\
**Category:** D3\
**Created:** [August 2, 2025, 8:49am UTC](https://community.topst.ai/t/ubuntu/589 "2025-08-02T08:49:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saenggeuri](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/saenggeuri/32/526_2.png) [@saenggeuri](https://community.topst.ai/u/saenggeuri)\
**Post date:** [August 2, 2025, 8:49am UTC](https://community.topst.ai/t/ubuntu/589/1 "2025-08-02T08:49:59Z")

</div>

안녕하세요.

주말이 되어 D3-G를 만져보기 시작했습니다.

아래의 문서들을 참고 했습니다.

> **[topst](https://topst.ai/tech/docs?page=514f35b6510d7b7a9c05ec68181c7df320980317)**
>
> TOPST는 '시스템 개발과 교육을 위한 종합 개방 플랫폼(Total Open-Platform for System development and Training)'을 의미, 한국(국산) SoC를 활용한 SBC 제품을 판매. 대표 제품는 AP, MCU , NPU 를 장착한 SBC 제품이 있음

> **[topst](https://topst.ai/tech/docs?page=f51000202299528793497cd1169c60c559dae1d3)**
>
> TOPST는 '시스템 개발과 교육을 위한 종합 개방 플랫폼(Total Open-Platform for System development and Training)'을 의미, 한국(국산) SoC를 활용한 SBC 제품을 판매. 대표 제품는 AP, MCU , NPU 를 장착한 SBC 제품이 있음

eMMC에 초기 OS가 없는 것으로 확인 되어, USB(FWDN) 모드로 부팅후 ubuntu-22.04-topst-weston\_desktop-v1.0.0.zip 이미지를 eMMC로 플래싱을 하고자 하는데요.

일단 에러가 떠서 진행이 안됩니다.

```auto
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

```auto
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 잘 잡힘.

```auto
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

```

---

<div class="post-metadata">

**Author:** ![kiyong.TOPST](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/kiyong.topst/32/420_2.png) [@kiyong.TOPST](https://community.topst.ai/u/kiyong.TOPST)\
**Post date:** [August 2, 2025, 10:40am UTC](https://community.topst.ai/t/ubuntu/589/2 "2025-08-02T10:40:08Z")

</div>

안녕하세요.

최근에 fwdn 의 업데이트가 있었는데 Ubuntu weston zip 파일에 업데이트가 안되어 있었네요.

github 소스를 repo sync 하시면 tools/fwdn\_d3 폴더에 Linux 용 fwdn 바이너리를 찾으실수 있습니다. 이것으로Ubuntu weston zip 파일 해제시 나오는 폴더 내의 fwdn 을 업데이트 하시고 다시 시도해봐 주세요.

주말이라 차주 월요일에 업데이트 예정입니다

더 궁금하신 사항은 댓글 주세요

고맙습니다

---

<div class="post-metadata">

**Author:** ![saenggeuri](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/saenggeuri/32/526_2.png) [@saenggeuri](https://community.topst.ai/u/saenggeuri)\
**Post date:** [August 3, 2025, 7:48am UTC](https://community.topst.ai/t/ubuntu/589/3 "2025-08-03T07:48:37Z")

</div>

Github URI가 여기 맞죠?

> <https://github.com/topst-development/tools/blob/develop/fwdn_d3/fwdn>

fwdn 바이너리를 바꾸고 실행 권한을 줬는데도, 에러 나용은 같습니다.

```auto
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.

```

평일에 살펴봐주시면 감사하겠습니다.

---

<div class="post-metadata">

**Author:** ![kiyong.TOPST](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/kiyong.topst/32/420_2.png) [@kiyong.TOPST](https://community.topst.ai/u/kiyong.TOPST)\
**Post date:** [August 3, 2025, 11:59pm UTC](https://community.topst.ai/t/ubuntu/589/4 "2025-08-03T23:59:04Z")

</div>

> [@saenggeuri](#):
>
> `[OpenPort:76] Failed to open device: LIBUSB_ERROR_ACCESS`

안녕하세요.

해당 내용을 보니, 장치는 정상적으로 찾았고 권한 문제로 보이는데요.

혹시 아래 페이지의 2.2.6 절에서 udev rules도 추가를 하셨을지요 ?

[TOPST](https://topst.ai/tech/docs?page=af0a7d8857e8d3caae5b683f39fcd9c745c302c1)

확인 부탁 드립니다.

고맙습니다.

---

<div class="post-metadata">

**Author:** ![saenggeuri](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/saenggeuri/32/526_2.png) [@saenggeuri](https://community.topst.ai/u/saenggeuri)\
**Post date:** [August 4, 2025, 12:52am UTC](https://community.topst.ai/t/ubuntu/589/5 "2025-08-04T00:52:30Z")

</div>

아뇨. 그쪽 문서대로 하지 않았습니다. fwdn실행하기 전에 2.2절 전체를 먼저 해야 하는 거죠?

---

<div class="post-metadata">

**Author:** ![kiyong.TOPST](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/kiyong.topst/32/420_2.png) [@kiyong.TOPST](https://community.topst.ai/u/kiyong.TOPST)\
**Post date:** [August 4, 2025, 1:05am UTC](https://community.topst.ai/t/ubuntu/589/6 "2025-08-04T01:05:31Z")

</div>

안녕하세요.

2.2.6 절에 있는 udev rules 만 설정해 주시면 될 것 같습니다.

Quick guide 쪽에 해당 내용이 추가되어야 하는 부분이네요.

확인 부탁 드립니다.

---

<div class="post-metadata">

**Author:** ![saenggeuri](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.topst.ai/saenggeuri/32/526_2.png) [@saenggeuri](https://community.topst.ai/u/saenggeuri)\
**Post date:** [August 4, 2025, 8:14am UTC](https://community.topst.ai/t/ubuntu/589/7 "2025-08-04T08:14:54Z")

</div>

오. 통과됐습니다.

부팅을 했더니 터미널, 폴더 같은 앱이 있는 화면으로 들어가네요.

```auto
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.

```
