Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-28 Thread Hugh Frater
Good to hear that it is working for you... It's detecting PRUs for me now 
when booting off the SD card - I just need to get them to start my code and 
setup /de/rpmsg_31 properly... another hurdle but I'm sure I will overcome.

On Sunday, 26 May 2019 23:33:37 UTC+1, jonre...@gmail.com wrote:
>
> Okay I managed to get everything working too. I had to do the following 
> steps:
>
> 1. reset eMMC
> sudo /opt/scripts/tools/developers/update_bootloader.sh 
>
> 2. flash new image provided above
>
> 3. After that the model from /opt/scripts/tools/version.sh was wrong for 
> me. I'm using a BBBW but model field had just regular beaglebone black in 
> it. This prevent wifi (via connman) from working. I followed another post 
> about this (
> https://groups.google.com/forum/#!topic/beagleboard/_ydry5HYVNQ) which 
> suggested to reset  eeprom:
>
> GND TP1 then run as root: 
>
> dd 
> if=/opt/scripts/device/bone/bbbw-eeprom.dump 
> of=/sys/devices/platform/ocp/44e0b000.i2c/i2c-0/0-0050/eeprom 
>
> reboot.
>
> Everything works fine now!
>
> Thanks Robert and Hugh
>
> On Saturday, May 25, 2019 at 2:37:07 PM UTC-7, Hugh Frater wrote:
>>
>> Robert, is it ok to use this image in production or should I use the 
>> current stretch IOT image and flash the eMMC to overwrite this old 
>> bootloader?
>>
>> On Saturday, 25 May 2019 20:55:58 UTC+1, RobertCNelson wrote:
>>>
>>> > This is what I think is relevant from my uBoot console: 
>>> > 
>>> > U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26) 
>>> > Trying to boot from MMC2 
>>> > U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), 
>>> Build: jenkins- 
>>> > github_Bootloader-Builder-532 
>>>
>>> There you go!! Would you please give me a dd copy of the first 100Mb 
>>> of the eMMC partition.. Such that i can use it to update the 
>>> version.sh script, to detect this bad version... 
>>>
>>> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d8785b07-088a-41de-81eb-159ddf7dec5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-26 Thread jonreal731
Okay I managed to get everything working too. I had to do the following 
steps:

1. reset eMMC
sudo /opt/scripts/tools/developers/update_bootloader.sh 

2. flash new image provided above

3. After that the model from /opt/scripts/tools/version.sh was wrong for 
me. I'm using a BBBW but model field had just regular beaglebone black in 
it. This prevent wifi (via connman) from working. I followed another post 
about this 
(https://groups.google.com/forum/#!topic/beagleboard/_ydry5HYVNQ) which 
suggested to reset  eeprom:

GND TP1 then run as root: 

dd 
if=/opt/scripts/device/bone/bbbw-eeprom.dump 
of=/sys/devices/platform/ocp/44e0b000.i2c/i2c-0/0-0050/eeprom 

reboot.

Everything works fine now!

Thanks Robert and Hugh

On Saturday, May 25, 2019 at 2:37:07 PM UTC-7, Hugh Frater wrote:
>
> Robert, is it ok to use this image in production or should I use the 
> current stretch IOT image and flash the eMMC to overwrite this old 
> bootloader?
>
> On Saturday, 25 May 2019 20:55:58 UTC+1, RobertCNelson wrote:
>>
>> > This is what I think is relevant from my uBoot console: 
>> > 
>> > U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26) 
>> > Trying to boot from MMC2 
>> > U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), Build: 
>> jenkins- 
>> > github_Bootloader-Builder-532 
>>
>> There you go!! Would you please give me a dd copy of the first 100Mb 
>> of the eMMC partition.. Such that i can use it to update the 
>> version.sh script, to detect this bad version... 
>>
>> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1d518f39-61eb-4847-9f90-1ff28261a6fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-25 Thread Hugh Frater
Robert, is it ok to use this image in production or should I use the 
current stretch IOT image and flash the eMMC to overwrite this old 
bootloader?

On Saturday, 25 May 2019 20:55:58 UTC+1, RobertCNelson wrote:
>
> > This is what I think is relevant from my uBoot console: 
> > 
> > U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26) 
> > Trying to boot from MMC2 
> > U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), Build: 
> jenkins- 
> > github_Bootloader-Builder-532 
>
> There you go!! Would you please give me a dd copy of the first 100Mb 
> of the eMMC partition.. Such that i can use it to update the 
> version.sh script, to detect this bad version... 
>
> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1790a173-01bf-4ac7-871b-da6ffd19c3e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-25 Thread Hugh Frater
Damn... accidentally overwritten uBoot on the eMMC... I thought the flasher 
wouldn't touch that. Apologies Robert.

However, it was obviously a uBoot on eMMC problem as with a freshly flashed 
eMMC the overlay loads properly. I'll try booting from SD card now and see 
if that works too,. In our application we use a bunch of the eMMC pins for 
other hardware so we're forced to use an SD card.

On Saturday, 25 May 2019 21:39:23 UTC+1, Hugh Frater wrote:
>
> I will get that sorted and put it on my dropbox. I've got to flash eMMC 
> with the sd card contents then reboot with another sd card in the USB-A 
> port - I'm working from home and don't have any cables other than a 232r on 
> the debug header and a 5v power brick.
>
> Give me half an hour...
>
> On Saturday, 25 May 2019 20:55:58 UTC+1, RobertCNelson wrote:
>>
>> > This is what I think is relevant from my uBoot console: 
>> > 
>> > U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26) 
>> > Trying to boot from MMC2 
>> > U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), Build: 
>> jenkins- 
>> > github_Bootloader-Builder-532 
>>
>> There you go!! Would you please give me a dd copy of the first 100Mb 
>> of the eMMC partition.. Such that i can use it to update the 
>> version.sh script, to detect this bad version... 
>>
>> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0a8d4ce6-c7e6-4375-8e14-6eb0adff1658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-25 Thread Hugh Frater
I will get that sorted and put it on my dropbox. I've got to flash eMMC 
with the sd card contents then reboot with another sd card in the USB-A 
port - I'm working from home and don't have any cables other than a 232r on 
the debug header and a 5v power brick.

Give me half an hour...

On Saturday, 25 May 2019 20:55:58 UTC+1, RobertCNelson wrote:
>
> > This is what I think is relevant from my uBoot console: 
> > 
> > U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26) 
> > Trying to boot from MMC2 
> > U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), Build: 
> jenkins- 
> > github_Bootloader-Builder-532 
>
> There you go!! Would you please give me a dd copy of the first 100Mb 
> of the eMMC partition.. Such that i can use it to update the 
> version.sh script, to detect this bad version... 
>
> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/57799b04-591c-41b9-ae46-4950798af29e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-25 Thread Robert Nelson
> This is what I think is relevant from my uBoot console:
>
> U-Boot SPL 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26)
> Trying to boot from MMC2
> U-Boot 2017.03-2-gd12b1519b4 (Mar 14 2017 - 10:28:26 -0500), Build: 
> jenkins-
> github_Bootloader-Builder-532

There you go!! Would you please give me a dd copy of the first 100Mb
of the eMMC partition.. Such that i can use it to update the
version.sh script, to detect this bad version...

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


[beagleboard] Re: Trouble enabling pru-rproc uBoot overlay

2019-05-25 Thread Hugh Frater
Flashing your test image to a fresh SD card leaves me with the same 
behaviour as before Robert. My uEnv.txt follows:

debian@beaglebone:~$ cat /boot/uEnv.txt
 
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
 


uname_r=4.14.108-ti-r104

#uuid=  

#dtb=  
 


###U-Boot Overlays###  
 
###Documentation: 
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Ov
erlays  

###Master Enable

enable_uboot_overlays=1
 
###
 
###Overide capes with eeprom

#uboot_overlay_addr0=/lib/firmware/.dtbo
 
#uboot_overlay_addr1=/lib/firmware/.dtbo
 
#uboot_overlay_addr2=/lib/firmware/.dtbo
 
#uboot_overlay_addr3=/lib/firmware/.dtbo
 
###
 
###Additional custom capes  

#uboot_overlay_addr4=/lib/firmware/.dtbo
 
#uboot_overlay_addr5=/lib/firmware/.dtbo
 
#uboot_overlay_addr6=/lib/firmware/.dtbo
 
#uboot_overlay_addr7=/lib/firmware/.dtbo
 
###
 
###Custom Cape  

#dtb_overlay=/lib/firmware/.dtbo
 
###
 
###Disable auto loading of virtual capes (emmc/video/wireless/adc)  

disable_uboot_overlay_emmc=1

disable_uboot_overlay_video=1  
 
disable_uboot_overlay_audio=1  
 
disable_uboot_overlay_wireless=1

disable_uboot_overlay_adc=1
 
###
 
###PRUSS OPTIONS

###pru_rproc (4.4.x-ti kernel)  

#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo  

###pru_rproc (4.14.x-ti kernel)
 
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo  

###pru_rproc (4.19.x-ti kernel)
 
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
 
###pru_uio (4.4.x-ti, 4.14.x-ti, 4.19.x-ti & mainline/bone kernel)  

#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo  
 
###
 
###Cape Universal Enable

enable_uboot_cape_universal=1  
 
###
 
###Debug: disable uboot autoload of Cape

#disable_uboot_overlay_addr0=1  

#disable_uboot_overlay_addr1=1  

#disable_uboot_overlay_addr2=1  

#disable_uboot_overlay_addr3=1  

###
 
###U-Boot fdt tweaks... (6 = 384KB)
 
#uboot_fdt_buffer=0x6  
 
###U-Boot Overlays###  
 


cmdline=coherent_pool=1M net.ifnames=0 quiet cape_universal=enable  



#In the event of edid