[meta-xilinx] no led on zedboard
Edward Vidal
vidal.develone at gmail.com
Mon Nov 30 16:22:31 PST 2015
Hi All,
I got the Leds working
Found a posting that I had made back in apr 2014 on zedboard.org
echo 0 > /sys/class/leds/ld7\:red/brightness
echo 1 > /sys/class/leds/ld7\:red/brightness
Thanks to
Mike Looijmans TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
He See the documentation, just google on "/sys/class/leds" for
directions.also provided a site for help on leds
meta-topic and poky also fixed sound ADAU1761
see the file which turns on the leds one at time starting with the MSB and
then turns them off.
https://github.com/develone/zedboard_yocto/blob/master/leds/scroll_leds
Next step will be to get vlc working to test hdmi with sound.
Thanks for all the help.
On Sat, Nov 28, 2015 at 7:26 PM, Philip Balister <philip at balister.org>
wrote:
> On 11/28/2015 07:35 PM, Peter Crosthwaite wrote:
> > On Sat, Nov 28, 2015 at 3:01 PM, Edward Vidal <vidal.develone at gmail.com>
> wrote:
> >> Hi Peter,
> >> Thanks for the quick reply. I have been working on Spartan 6 with
> >> StickIt-MB & XulA2-LX9 with RPi2B. I am new on the zedboard and have not
> >> used XSDB or XMD.
> >> Do these require JTAG? I do not have a working one.
> >>
> >
> > Yes they do. But sometimes you can use a program like devmem or
> > peekpoke (not sure if these exist by default in Yocto - Nathan will
> > know more) to directly bang on hardware registers from a Linux shell.
> > Both work using an mmap of /dev/mem which lets userspace do raw IO
> > access (root is required on the target system).
> >
>
> There is a recipe for devmem/devmem2 yo ucan add to your image.
>
> As always, consult the layer index:
>
> http://layers.openembedded.org/layerindex/recipe/1069/
>
> Philip
>
> >> With the Diligent kernel 3.6, I saw the Leds working.
> >>
> >> I am running on a Ubuntu 12.04 with Xilinx 14.6 and Vivado 2013.4 an my
> >> evaluation has expired. I can run xps, ise, vivado.
> >>
> >> Do you think I need to add to analog devices reference design?
> >> git://github.com/analogdevicesinc/fpgahdl_xilinx.git
> >> 3e6cfd4858635e49ea131da1bb4b7b6dd258280b version
> >>
> >
> > Don't know much about the hardware side of things unfortunately.
> >
> > Regards,
> > Peter
> >
> >>
> >> Regards
> >>
> >> On Sat, Nov 28, 2015 at 1:47 PM, Peter Crosthwaite
> >> <crosthwaitepeter at gmail.com> wrote:
> >>>
> >>> On Sat, Nov 28, 2015 at 11:08 AM, Edward Vidal <
> vidal.develone at gmail.com>
> >>> wrote:
> >>>> Hello all,
> >>>>
> >>>> Trying to turn on the leds on my zedboard.
> >>>> I created a module see the
> >>>>
> >>>> filehttps://
> github.com/develone/zedboard_yocto/blob/master/leds/myled_modules_notes.txt
> .
> >>>>
> >>>> I used analog device reference design and meta-topic.
> >>>>
> >>>> I can see load the module and I see items referencing the led in both
> >>>> /proc
> >>>> & /sys
> >>>> see the
> >>>> myled_modules_notes.txt.
> >>>>
> >>>> Any and all help is appreciated.
> >>>>
> >>>
> >>> Hi Edward,
> >>>
> >>> The doc you link looks to only cover the software side of it. The
> >>> other source of error is the hardware of which a number of issues
> >>> could cause your design to not work. Have you attached to the ARM
> >>> processor over XSDB or XMD to turn the LED on and off using register
> >>> accesses (mwr and mrd in XMD)? This can definitively validate that the
> >>> hardware works and the issue is indeed in the software stack.
> >>>
> >>> Regards,
> >>> Peter
> >>>
> >>>> Cheers,
> >>>>
> >>>>
> >>>> --
> >>>> _______________________________________________
> >>>> meta-xilinx mailing list
> >>>> meta-xilinx at yoctoproject.org
> >>>> https://lists.yoctoproject.org/listinfo/meta-xilinx
> >>>>
> >>
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20151130/2f70715c/attachment.html>
More information about the meta-xilinx
mailing list