Skip to content

PermissionError: [Errno 13] Permission denied: '/sys/kernel/config/device-tree/overlays/pynq/dtbo' #9

@zzzhhh2025

Description

@zzzhhh2025

Environment:

  • Kria KR260
  • Ubuntu 22.04 Desktop

I installed PYNQ DPU according to instructions in Section 3 "Install PYNQ DPU" of this tutorial with board changed to KR260 in line 38 of install_update_kr260_to_vitisai35.sh. But after reboot and login, I got the following errors:

Traceback (most recent call last):
  File "/usr/local/share/pynq-venv/pynq-dts/insert_dtbo.py", line 30, in <module>
    db.insert()
  File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/devicetree.py", line 101, in insert
    with open(os.path.join(self.sysfs_dir, 'dtbo'),
PermissionError: [Errno 13] Permission denied: '/sys/kernel/config/device-tree/overlays/pynq/dtbo'
Traceback (most recent call last):
  File "/usr/local/share/pynq-venv/pynq-dts/insert_dtbo.py", line 30, in <module>
    db.insert()
  File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/devicetree.py", line 97, in insert
    os.makedirs(self.sysfs_dir, exist_ok=True)
  File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/sys/kernel/config/device-tree/overlays/pynq'

What is the matter and how to fix it?

Due to the long size, terminal log of the installation is saved in a file and attached below.

termlog.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions