--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/61317cde-fb07-4c98-bc56-c968e58e7a10n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6203e02e-107b-4404-b952-0ef40ad12118n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAN%2B%3DRhG066CY6W8sC8M%3D2-fPbqEv8uTHJEShNiAU4_CgN2pJWw%40mail.gmail.com.
Very cool Mark.A couple of notes:1. It might be a good idea to put a note in there for the folks to back up their currently booted dts/dtb files before editing them.
Good idea, but this is a git repo, so I added the following: https://elinux.org/EBC_Exercise_17_Switching_a_GPIO_to_an_LED#Recovering_from_a_miss-edit
2. Under "Finding which device tree to edit" I believe there is a typo:Note: If you want to edit the source using cloud9 us the following trick ...Should be:Note: If you want to edit the source using cloud9 use the following trick ...
Fixed. Thanks.
3. When you run make, would it be best to just run it against the file that was edited rather than the whole folder?Maybe the build script is smart enough to figure this out.
You can do the individual file, but it more typing. I guess I'm lazy. And it still installs everything.
4. Under "Adding our LED" there is the following without explaining the why. Was this intentional?"How did I know to use gpio1 and 18?"
That was intentional to get my students to think a bit. Should I include the answer for the broader audience?
--
Hi Mark,Nice tutorial. Wish I'd had that quite some time ago, I had to pull all those pieces together myself.From having read a bunch of posts here, I have a few suggestions for your consideration.1. User needs to be in the gpio group. This isn't mentioned.
2. People often ignore parts of instructions. If your prompt included the current directory name, it would be slightly more obvious where each command is run.
3. It would be AMAZING if tutorials such as these included a description of what version of code this was developed/tested on. You could either mention the RCN release number or the kernel build, but it would be so great if this were a standard thing to mention. Consider how much things have changed with device trees over the past five (?) years. There's tons of now-wrong notes on how to do things. (I know you mention a kernel in the compilation section, I guess it would be nice to spell this out up top, i.e. "This tutorial is applicable to Beaglebone release xxx").
4. Not sure this comment is welcome, but a top level Tutorials page containing all the EBC## tutorials would be cool. I found the others by clicking on your ECE497 link, but that isn't exactly obvious (to me). Those look like some great materials that I hadn't come across before, for some reason.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/25d5f747-227b-4e2a-b988-f86e00311c0bn%40googlegroups.com.