Please provide content in a response to this thread once a week. You can just copy and paste from your weekly reports, but we shouldn’t need to go to another site to get this update.
Total 7 hours: Just read the book. 10:00-11:00, 15:00-18:00, 22:00-24:00
What I did today
Read the section called “Understanding and Leveraging the Device Tree” (Linux Device Driver Development Secound Edition)
Understand the basic stracture of device tree and device tree overlay
Basic flow for the adding device tree overlay to the kernel
How to handle SPI and I2C device addressing
Yesterday, I wrote that there were 25 pages left, but I had only read the device tree overlay section first and not the front page. Therefore, I am rereading from the beginning and there are 15 pages left.
What I should do next
I will finish the remaining 15 pages of the book I am reading now before I sleep.
Tomorrow, I will continue to investigate the nomal behaivor of Relay cape and try to work correctly on 5.10.
AI is having problems with not being able to SSH over Ethernet, but the 1.5mm pitch connector to connect the UART will arrive on Tuesday, so until then I will go ahead and build a device tree to make the RoboticsCape LEDs glow with AI.
At this point, I realized that I was also missing a connector to connect to Robotics Cape, so I ordered one. (ZH and SH cables)
Anyway, First, try to start Robotics Cape in the usual way.Toverlay the device tree, I read the device tree in the librobotcontrol repository with the Device Tree documentation in the Linux kernel.
Understanding the device tree overlay using “Linux Device Driver Development” book.
Ordered the missing connectors (ZH and SH cables needed for the debugging)
Using the Relay cape, I tested the flow of the device tree using BBB 4.19, BBB 5.10. (BBAI one is note tested yet because it needs more cables that have arrived today)
Start writing the robotics cape device tree for kernel BBB 5.10
Blocker
Nothing major, but overall it seems necessary to gain knowledge of the device tree.
I am working on it little by little, referring to kernel documentation, etc.
What to do next
(Continuing from last week)
Test my device drivers by pushing them to BeagleBoard-DeviceTrees
Start with the base device tree and test with each Cape (only relay and robotics yet)
@gpioblink side note, i’ve been testing a few things from our last GSOC, in v4.19.x-ti, so big merge happened this last week in v5.10.x → v5.19.x (bone) branch’s…
i’m boot testing this right now, will merge to “v5.10.x-ti” branch, so it’ll more closely align with v4.19.x-ti-overlays branch from last GSOC…
It looks massive, but it’s mostly a cleanup to use this macro…
I am testing Communication Cape and writing tutorial articles in order to publish pull requests.
What I did today
I was trying to figure out how to debug the communication cape for the article.
The RS-485 one is being looped back and proved correct by oscilloscope.
Using ADALM PLUTO
As for CAN, I’m about to buy a transceiver to try it out.
register, canvas
pullup register will break for i2c
CAN capes
disable I2C
Blocker
There are not enough peripherals for testing.
Acquisition of BBAI-64 is stalled.
Aug 30
What I am doing now
I am testing Communication Cape and writing tutorial articles in order to publish pull requests.
What I did today
I am currently able to see the signal using ADALM and have confirmed that RS-485 appears to have some output when characters are input to the dev device.
I am currently in the process of describing a tutorial on how to do this.
Incidentally, it was RS422, not RS485, that I had experience using. There is no big difference, though.
I have not started working on CAN yet and will continue to do so.
Aug 31
What I am doing now
I am testing Communication Cape and writing tutorial articles in order to publish pull requests.
What I did today
I’ ve gone through the RS-485 and am now continuing to check the CAN connections.
Blocker
ADALM2000 is not working well and we are currently trying to find the cause
Logic analyzer is selectable, but some functions such as oscilloscope are not selectable
It seems to be a power supply issue somehow, so I am trying to add an auxiliary power supply now.