+LTS/SOPINE Clusterboard, U-Boot, PL7 LED

U-Boot has a board-specific method with signature

void show_boot_progress(int val);

Various stages of U-Boot SPL and full U-Boot call this method with a known int to signal the current boot stage.

I would like to activate PL7 on the SOPINE clusterboard which has an LED attached on certain checkpoints in booting.

My question is, does anyone have experience with low-level GPIO registers/memory and knows how to achieve this? We can't use syntactic sugar like the following

gpio_direction_output(PL7_GPIO, 1);
gpio_set_value(PL7_GPIO, 1);

because the GPIO and DM (driver model) systems are not initialized at power-on yet (and I encounter an infinite loop deep in U-Boot trying to enumerate non-initialized hardware).

I understand the pin number for PL7 is 359 from ([L - A] * 32) + 7.

A solution using one of

writel(...); or

would be a probable goal. Any ideas?

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb SystemLED *ON* on boot ecolezen 4 3,916 06-11-2017, 05:45 PM
Last Post: ecolezen

Forum Jump:

Users browsing this thread: 1 Guest(s)