On Wed, Apr 17, 2024 at 06:39:02AM -0700, Katu Txakur wrote:
> Hi,
> 
> I've built a, Yocto scarthgap, core-image-minimal for the 
> machine=beaglebone. When I booted what it's defined as gpio0 in the device 
> tree, it becomes /dev/gpiochip3. The rest are in order.
> This also happened using the beaglebone-yocto machine.
> This also happened using the beaglebone-yocto machine in Yocto kirkstone 
> branch.

man udev

| udev supplies the system software with device events, manages permissions 
| of device nodes and may create additional symlinks in the /dev/ directory, 
| or renames network interfaces. The kernel usually just assigns unpredictable 
| device names based on the order of discovery. Meaningful symlinks or network 
| device names provide a way to reliably identify devices based on their 
| properties or current configuration. 

You can check which bus, device or address a specific dev node corresponds to:

udevadm info /dev/gpiochip3

More details are in the corresponding entries of the virtual /sys filesystem.

-- 
Denys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17590): 
https://lists.yoctoproject.org/g/meta-ti/message/17590
Mute This Topic: https://lists.yoctoproject.org/mt/105577205/21656
Group Owner: meta-ti+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to