Hi Thomas, Thanks for the tips. I have been working on making a build system and debian packages for fb_prussdrv and libpruiio, etc.
First of all, I patched the original pru assembler with your changes, whereby I exchanged your '-y' switch to a '-f' switch, because '-y' suggest something like 'assume yes' and -f was not used. I forked the beagleboard/am335x_pru_package <https://github.com/beagleboard/am335x_pru_package> for this: https://github.com/l4m4re/am335x_pru_package And I sent a pull request to the beagleboard package, which has been accepted and merged. According to Jason, it will take a while before the patch will be included in the upstream beaglebone debian repository, but it should become available at some point. The new version number for pasm with the freebasic output patch is 0.87. Secondly, I setup my own debian repository, which includes both freebasic as well as the pru packages: http://beagle.tuks.nl/ Thirdly, I have been working on a generic build system for a/o C(++), pasm, overlay files and freebasic, LaMake, with which I can now build the fb_prussdrv package and build a debian package, although it is still a bit rough around the edges. I am now working on building the libpruio package, with the goal of also making a debian package for that. At this moment, only the "config" directory builds. "make install DESTDIR=/tmp/test PREFIX=/usr" works for that, which builds&installs the overlay binary. LaMake, fb_prussdrv as well as libpruio can be found at my giithub repository: https://github.com/l4m4re If anyone wishes to play around with these, you will have to make a symlink from your git copy of LaMake to /usr/local/include for gmake to be able to find LaMake. I will continue working on building&packaging libpruio and when I'm finished, I will release debian packages on my repository for all three. Best regards, Arend. On Monday, May 16, 2016 at 7:42:36 PM UTC+2, TJF wrote: > > Hi Arend, > > thanks for the detailed installation guide/protokol. It's looking good. > Full sure, it'll help BBG users to adapt the code. And all BBx users find > information on how to fix the ADC sampling rate limitation. > > Two notes: > > 1. You need not disable UART2 for BBG. Instead you can disable > libpruio control for pin P9_22 in file *dts_universal.bas* by adding a > line > > M(P9_22) = "" '' right below the PIN_DEL(...) lines. > in order to release this pin from the libpruio overlay. Also, you can free > the HDMI pins by removing the line > PIN_DEL(HDMI_Pins) > Adapt before running the command fbc -w all dts_universal.bas. > > 2. > > You described a manual installation of the FreeBASIC compiler. Meanwhile I > made a Debian package, which is less painful to install/uninstall, since it > gets handled by the package manager. See description pages in (en) > <http://www.freebasic.net/forum/viewtopic.php?f=5&t=23355> and (de) > <https://www.freebasic-portal.de/downloads/fb-on-arm/debian-package-fbc-1-01-357.html> > and this download link > <https://www.freebasic-portal.de/dlfiles/625/freebasic_1.01.0debian7_armhf.deb>. > > > Thanks for sharing your experience! > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/922d7d27-999a-446c-b39f-84e83fc86bf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
