Difference between revisions of "EBC Exercise 30 PRU via remoteproc and RPMsg"

From eLinux.org
Jump to: navigation, search
(Initial page)
 
m (Added HDMI disable)
Line 7: Line 7:
  
 
== Disable the HDMI ==
 
== Disable the HDMI ==
 +
The PRUs have direct access to many pins that are also used by the HDMI.  Check to see if the HDMI has been disabled.
 +
 +
bone$ '''config-pin -q P8_45'''
 +
P8_45 pinmux file not found!
 +
cape-universala overlay not found
 +
run "config-pin overlay cape-universala" to load the cape
 +
If you get the message above, you need to disable your HDMI.  Do it by editing '''/boot/uEnv.txt''' and uncommenting the following b yremoving
 +
the '''#''' in front of the '''dtb''' line:
 +
 +
##BeagleBone Black: HDMI (Audio/Video) disabled:
 +
dtb=am335x-boneblack-emmc-overlay.dtb
 +
Then reboot and try again.
 +
 +
bone$ '''config-pin -q P8_45'''
 +
config-pin -q P8_45
 +
P8_45 Mode: default Direction: in Value: 0
 +
Good the HDMI is now disabled.  Later we'll use '''config-pin''' to set pins to the PRU.
 +
  
  

Revision as of 08:35, 11 July 2016

thumb‎ Embedded Linux Class by Mark A. Yoder


Here's how to setup a Bone to play with the PRUs. I'm running with

bone$ uname -a

Disable the HDMI

The PRUs have direct access to many pins that are also used by the HDMI. Check to see if the HDMI has been disabled.

bone$ config-pin -q P8_45
P8_45 pinmux file not found!
cape-universala overlay not found
run "config-pin overlay cape-universala" to load the cape

If you get the message above, you need to disable your HDMI. Do it by editing /boot/uEnv.txt and uncommenting the following b yremoving the # in front of the dtb line:

##BeagleBone Black: HDMI (Audio/Video) disabled:
dtb=am335x-boneblack-emmc-overlay.dtb

Then reboot and try again.

bone$ config-pin -q P8_45
config-pin -q P8_45
P8_45 Mode: default Direction: in Value: 0

Good the HDMI is now disabled. Later we'll use config-pin to set pins to the PRU.


Kernel 3.8

3.8 Kernel

This is the kernel used for the Fall 2013 class.

Follow these instructions

host$ cd Downloads
host$ wget http://www.rose-hulman.edu/~yoder/Beagle/BeagleBone_Rev_A6A_Production_08_14_2012.7z
host$ wget http://www.rose-hulman.edu/~yoder/Beagle/BeagleBone_Rev_A6A_Production_08_14_2012.md5


  1. Download and install Ubuntu's Win32DiskImager (also known as the win32-image-writer).
  2. Download and install 7-zip compression software. (Or use winRAR)
  3. Decompress ETC2012.img.bz2 image file using 7-zip (or winRAR).
  4. Insert >=4GB SD card into the reader/writer.
  5. Start the Win32DiskImager.
  6. Select ETC2012.img and correct SD card location.
  7. Click on Write.

After the image writing is done (this will take some 10 minutes), eject the SD card.




thumb‎ Embedded Linux Class by Mark A. Yoder