Skip to content

Booting Discovery Kit from SD card and applying device tree overlays #461

Discussion options

You must be logged in to vote

No problem :) Ok cool I'm glad thats working! In our current device tree we haven't enabled the GPIOs yet (it will be done in a future release) but they are connected in the reference design. The easiest way to enable and control them is using a device tree overlay.

I have attached a sample to do this: gpio_overlay_src.zip. You'll need to extract the zip file, GitHub doesn't let me share the source directly. You should get 'gpio_overlay_src.dtso'

I used SCP to transfer this to my kit over ethernet. If you do this you can use the following steps to apply it:

  1. Generate the overlay using dtc gpio_overlay_src.dtso -o gpio_overlay_src.dtbo - there might be some warnings, thats ok
  2. Create a dire…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hughbreslin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #460 on June 11, 2024 08:03.