On Tue, Aug 11, 2015 at 12:53 PM,  <[email protected]> wrote:
> I current have PRU code working on Linux 3.8.13-bone73, and now
> want to move to Linux 4.1.x
>
> Having troubles - here is what I have done so far:
>
> 1. apt-get install linux-image-4.1.4-ti-r9
>    (good, or should I use linux-image-4.1.4-bone15 ?)

That's good, it'll be best to stick with the 4.1.x-ti branch..

>
> 2. Add dtb=am335x-boneblack-overlay.dtb to uEnv.txt
>
> 3. Update dtc per https://github.com/beagleboard/bb.org-overlays
>
> 4. Rebuild my dt overlay:
>    dtc -O dtb -o bbb-k-pru-00A0.dtbo -b 0 -@ bbb-k-pru.dts
>    cp bbb-k-pru-00A0.dtbo /lib/firmware/
>
> 5. Loading the overlay with:
>    echo "bbb-k-pru" > /sys/devices/platform/bone_capemgr/slots
>
>    Which produces this:
>    [   43.410941] bone_capemgr bone_capemgr: part_number 'bbb-k-pru',
> version 'N/A'
>    [   43.421476] bone_capemgr bone_capemgr: slot #4: override
>    [   43.426969] bone_capemgr bone_capemgr: Using override eeprom data at
> slot 4
>    [   43.434081] bone_capemgr bone_capemgr: slot #4: 'Override Board
> Name,00A0,Override Manuf,bbb-k-pru'
>    [   43.458733] gpio-of-helper ocp:gpio_helper: ready
>    [   43.474759] bone_capemgr bone_capemgr: slot #4: dtbo
> 'bbb-k-pru-00A0.dtbo' loaded; overlay id #0
>    [   43.543242] pruss_uio 4a300000.pruss: No children
>
>
> Now Attempting to run my PRU app produces:
>    "Failed to open the PRU-ICSS, have you loaded the overlay?"
>
> But, lsmod shows uio_pruss loaded.
>
> Any ideas about what is wrong?
>
> (One thing I was wondering is if I need a new version of the libprussdrv
> which I link with for the PRU app.  If so, how/where would I get this?)

yeah, libprussdrv will need to be rebuilt..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to