Re: [beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread William Hermans
You should not have to upgrade the device tree compiler( dtc ). As each
kernel version, as provided with the latest images have the proper device
tree compiler. However, assuming, running Wheezy, then upgrading to a newer
kernel( 3.8.x to 4.x ) the device tree compiler would have to be upgraded
at this time. But it is also worth nothing that it's not only easier, but
better to just download and burn a new image at this time. As there can be
multiple problems when upgrading from a 3.8.x kernel, to 4.x on older
Wheezy images.

On Wed, Dec 14, 2016 at 11:33 AM, TJF  wrote:

> @Greg:
>
> Sorry, I didn't answer your question.
>
> Am Mittwoch, 14. Dezember 2016 19:14:34 UTC+1 schrieb Greg:
>>
>> TJF, so what is the best way to update the dtc?
>>
> ...
>>
> An apt-get install ...?
>>
>
> sudo apt-get install device-tree-compiler
>
>  Regards
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/fc982f79-df4b-437f-9950-504360f54c5a%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpxmzPmmwccTvZ%3D7YCrB%2BbkuYKVLQwtJ%3Ddx6JEpR0eZfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread TJF
@Greg:

Sorry, I didn't answer your question.

Am Mittwoch, 14. Dezember 2016 19:14:34 UTC+1 schrieb Greg:
>
> TJF, so what is the best way to update the dtc?
>
...
>
An apt-get install ...?
>

sudo apt-get install device-tree-compiler

 Regards

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/fc982f79-df4b-437f-9950-504360f54c5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread TJF
Am Mittwoch, 14. Dezember 2016 19:14:34 UTC+1 schrieb Greg:
>
> TJF, so what is the best way to update the dtc?
>

The new version should come with your update. Just re-compile your source 
on the new kernel installation:

sudo dtc -@ -I dts -O dtb   -o /lib/firmware/NAME_OF_YOUR_SOURCE.dtbo  /
PATH_TO_YOUR_SOURCE/NAME_OF_YOUR_SOURCE.dts

Regards

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ebff364a-2713-4c33-9353-bc56c8202596%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread Greg
TJF, so what is the best way to update the dtc?

I've used this in the past:

https://github.com/RobertCNelson/bb.org-overlays

More specifically the script:

dtc-overlay.sh

However, I'm not sure this is the appropriate method in this case.
If not, what is?  An apt-get install ...?

Greg


On Wednesday, December 14, 2016 at 11:40:03 AM UTC-5, TJF wrote:
>
> Hi Damon!
>
> Kernel 3.8.13-bone79 is uio_pruss only (no remoteproc).
>
> Am Mittwoch, 14. Dezember 2016 04:37:47 UTC+1 schrieb Damon Kelly:
>>
>> -bash: /sbin/reboot: Input/output error
>>
>
> You executed the reboot command and the binary /sbin/reboot couldn't 
> access some hardware (perhaps a CPU ball). Obviously the device tree mixes 
> up some configurations.
>
> First, try to re-compile your device tree source. There were changes in 
> the device tree compiler around that version, so use the dtc version of 
> the new kernel! If this doesn't help, then post your source here.
>
> Regards
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0e5b164b-7cfe-4693-a39e-ac79232da228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread TJF
Hi Damon!

Kernel 3.8.13-bone79 is uio_pruss only (no remoteproc).

Am Mittwoch, 14. Dezember 2016 04:37:47 UTC+1 schrieb Damon Kelly:
>
> -bash: /sbin/reboot: Input/output error
>

You executed the reboot command and the binary /sbin/reboot couldn't access 
some hardware (perhaps a CPU ball). Obviously the device tree mixes up some 
configurations.

First, try to re-compile your device tree source. There were changes in the 
device tree compiler around that version, so use the dtc version of the new 
kernel! If this doesn't help, then post your source here.

Regards

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/24f29e5b-69d3-435b-899e-e9e971096458%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Loading PRU overlay causes BBB to lock

2016-12-14 Thread Greg
A couple of commands in a shell might help you get going:

lsmod

The above command will tell you which kernel modules are loaded.  If you 
are using PRU, you probably want to have one or more related modules.
Run this before you add the overlay.  Do you know if you are using the 
RemoteProc or UIO framework?

Also the command

dmesg

You probably want to use

dmesg | less

and with the above you can use the letter f (page forward) b (page 
backward) and q for quit, as this log file is quite long.

dmesg will show you the kernel log which will possibly help.  Assuming you 
can look at it at all after loading the overlay!

I'm not sure if the 3.8 version distributions require a change to the 
Device Tree to get a particular PRU framework.
The newest version 8 Debian definitely do.

You need to provide more details for sure.  What is it you were doing 
before which worked?

Greg

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cdffbe3d-5dc0-4cbc-83bf-30b66317d491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.