[meta-xilinx] no led on zedboard

Philip Balister philip at balister.org
Sat Nov 28 18:26:05 PST 2015


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
>>>>
>>
>>



More information about the meta-xilinx mailing list