-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for BeagleBone AI #668
Conversation
…her 16 or 32 bit slots (was 1221974f..f43f7587 and removed trailing whitespaces)
…changed depending on whether running in DSP or TDM mode. Works with 2 channels in either case, not with more channels. (cherry pick of commits 7101946d and 8468cfd0)
… this stage. (cherry picked from commit c2a0a40bfa96f258430b9d16612a771201a2acd5, with an edit (removing commented out lines in core/board_detect.cpp)
…rong order and one of them is noise. Input is not working yet. (cherry picked from commit c85656fc9cf8a454df8313cd641a5676c6c1b945)
…ppears to work. (cherry picked from commit 2998ded21ed39f65f57aa005c070eb13ededff45)
…inputs. Audio input now appears to work for multichannel. May also address an issue with spurious levels on the WCLK line. (cherry picked from commit 5d36b099ae19abdb68ee3152e8663e91365a44bc)
(cherry picked from commit 2b09584e01c9b88e7467ed111f2e251d81ff61b4)
…c. Also added register read ability to I2c_Codec. (cherry picked from commit e3378d1d9b417f3476e5085a7f22157cf68778b9)
… it shouldn't work according to the datasheet, and isn't 100% reliable. (cherry picked from commit 1efa3434c2dac4acb89013e4f0db94d3f9aeb1f3)
…able if the signal quality issue can be sorted (cherry picked from commit ba6900ab9e74023a4a0bc36d4029a5ae9f5d50b6)
(cherry picked from commit 1281de7fff79929756c071d2972b6966036bdc48)
…g input still does not work on this code. (cherry picked from commit 2dda62b8baeab0cd1b8dfe376addd54252766d54)
(cherry picked from commit d1eb9acdf87d8b7c8f0320a390efbd37dd6bc0d1)
(cherry picked from commit 9b6962954789569ce1326d9c7d924a0dd446cf1d)
…presence of components in a BelaHw. Accordingly refactored/simplified codebase
…OR_INVALID_INIT as critical
…JMP_TO as it is more accurate (also covers CTAG cases)
(or as much as it works on dev: at 2 analog channels audio is corrupted)
… to ensure proper initialisation
…ly in CustomMakefileTop.in
…ional change. Co-authored-by: Giulio Moro <giuliomoro@yahoo.it>
…efault) Co-authored-by: Giulio Moro <giuliomoro@yahoo.it>
…building PRU firmware for rproc These files are taken from https://github.com/beagleboard/cloud9-examples@eed6500 Co-authored-by: Giulio Moro <giuliomoro@yahoo.it>
… Doesn't yet build rproc firmware. Co-authored-by: Giulio Moro <giuliomoro@yahoo.it>
…c/Uio/board. Removed dependency on libprussdrv and PruBinary.o when not using UIO
… GPIO4 and GPIO6 in the PRU code. More pins are on GPIO3 and GPIO5 and require significant extra work on the PRU side
…pped with respect to BBB)
Verified no changes in the built pru file
Verified that the built pru file remains unchanged.
…ual, this is only honoured by pru_rtaudio_irq.p)
Cool! Will assembled units be coming with the BeagleBone AI? |
@znmeb There are still some major limitations to using BELA on the BBAI, to name a few:
So, at the current stage, the only option is to manually update to the xenomai patched kernel x4.19 using one of the on-board scripts, and then one can source compile BELA using some basic instructions that I have provided on my blog. |
Thanks! I'm not in any great hurry - I have two Belas running just fine without hitting any hardware limits. I can wait for assembled units. |
@DhruvaG2000 thanks for this, please make a new PR against the |
This PR aims to add support for the BeagleBone AI running
Linux beaglebone 4.19.94-ti-xenomai-r64
NOTE The necessary BELA Cape overlay for BeagleBone AI can be found here: BBAI-BELA-00A1.dts
Feature List:
libprussdrv
on the Am335x.