Questions tagged [device-tree]
A data structure for describing hardware. passed in boot time to kernel
141 questions
0 votes
0 answers
44 views
More efficient way to experiment with display settings in Yocto
Having mostly used Yocto to get stuff done, rather than learning it proper, I figure I'm coming at the task of configuring display settings all wrong. I have a custom board with a STM32MP157 and a ...
2 votes
0 answers
153 views
How to force Linux to load a custom device tree instead of the built-in DTB?
I'm trying to bring up a WWAN modem on a Dell Latitude 7455 laptop running Linux. The modem is connected via PCIe domain 0005, but that PCIe controller is currently disabled in the default device tree....
0 votes
0 answers
56 views
BUG: Bad page state in process swapper pfn:801bd while booting linux (5.15.68, arm64)
I'm tyring to boot linux on an SoC (arm64 based) and seeing trap in early stage. Here is the boot message. Booting Linux on physical CPU 0x0000000002 [0x411fd401] Linux version 5.15.68 (etri@AB21-T07) ...
3 votes
1 answer
250 views
Why can the Linux device tree compiler not resolve this label for an alias?
Problem I am trying to add a Linux device tree alias for a network adapter, so U-Boot can assign a static MAC address to it. However, when compiling the kernel, it fails at the adjusted device tree ...
0 votes
0 answers
71 views
DTS parameters for USB3 in Xilinx ZynqMP
When setting USB3 in device tree, I've seen in dts of reference boards (for example DTS for zcu102-RevA) different parameters for setting PHY. there are two parameters in dts for USB: phys = <&...
1 vote
0 answers
51 views
Adding MCP23017 to device-tree and accessing ICs connected to expander
I try access multiple ICs via I2C over the MCP23017 I/O Expander for a custom embedded board. I know ICs I2C adresses. How should I add the MCP23017 to the device-tree? I think I need to add the ICs ...
0 votes
0 answers
27 views
Failed to use pinctrl/pinmux in port multiplexing
I am working on an embedded Linux system (kernel-5.10.24), and now I want to setup a UART port (with RXD/TXD/RTS/CTS) from 2 GPIO groups. The DTS is setting as follows, &pinctrl { uart0_pin: ...
1 vote
0 answers
307 views
How to define GPIO pin as PPS source device
I'm using Linux in an embedded environment. I want to use a particular GPIO pin as a PPS source to be used with gpsd. I think the pin is configured correctly because I can see high/low transitions ...
0 votes
1 answer
130 views
Are onboard hubs detected as USB root hubs or external devices?
I have connected an onboard hub to my microprocessor. The onboard hub is USB2514B and the microprocessor is a STM32MP1. I can specify the the connection to the onboard hub by using OHCI (Open Host ...
1 vote
1 answer
68 views
I2S clock provider mode not supported - How to enable?
Introduktion: I having a HDMI PHY SII9022A. I want to enable audio on that PHY. Requriments: I need to create a proper device tree for the SII9022A. https://www.kernel.org/doc/Documentation/devicetree/...
0 votes
0 answers
89 views
Chaining I2S with alsa
For one of the projects that I’m following for my job I’m supposed to define the device tree of a custom embedded board. The problem is that the audio stream for the board is structured as follows: ...
0 votes
0 answers
123 views
What is the best location to store binary overlays that are applied at runtime?
Binary overlays that are applied while booting would probably best be stored in /boot/overlays or similar. However, what is the best location for binary device-tree overlay files that are intended to ...
3 votes
0 answers
600 views
How do we configure musb-hdrc driver?
I would like to use a USB gadget device (phone) as a host via configfs. After setting up configfs, no gadget is being set up on the host peripheral (phone). The init script executes with the following ...
0 votes
2 answers
412 views
uboot kernel and dtb calculation
What is the method to calculate these parameters in uboot ? : bootm_low=0 bootm_size=7ff00000 fdt_addr_r=0x40000000 fdt_high=0x100000 fdt_size_r=0x400000 fdtcontroladdr=7bc971c0 kernel_addr_r=...
0 votes
1 answer
449 views
unable to boot kernel on A53 (devicetree?)
I am trying to boot a Linux kernel on an A53 cpu (inside a ZU5 from xilinx). I have two hard. The first is a custom PCB with a ZU5. The second is the ZCU102 SDK with the zu9eg. Here the boot log : [ ...