Skip to content

ZCU 104 - Cannot see nor configure LEDs on Buildroot #419

Description

@pcotret

I've followed this tutorial for a ZCU104 board.
According to the HOWTO, I was hoping to play with the 4 LEDs available on the board.

However, I cannot see LEDs in my Buildroot prompt:

root@buildroot:~# ls /sys/class/
bdi           graphics      mem           pps           tty
block         hwmon         misc          ptp           vc
devlink       i2c-adapter   mmc_host      pwm           vtconsole
drm           i2c-dev       mtd           spi_master
fpga_manager  input         net           spidev

LEDs are implemented in the Verilog design (I checked that to be sure).

LEDs are also visible in the device tree:

            leds: gpio@f0002800 {
                compatible = "litex,gpio";
                reg = <0xf0002800 0x4>;
                gpio-controller;
                #gpio-cells = <2>;
                litex,direction = "out";
                status = "disabled";
            };

Is the status=disabled important if I want to play with the LEDs?
How would I modify that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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