Skip to main content

Posts

Showing posts with the label Yocto

Thought 64: Thing-A-Day 5: Yocto and Excavator

Yocto is currently building as Dunfell. We will know more later on how well this works. Excavator switch from relays to H-bridge L298N is working so much better. The relays were getting back powered and stuck on after an abrupt stop or turn. The H-Bridge has fixed this issue. Now we need to fix the rest up the rest of the excavator. Vitory on dunfell building. Now to put this on a SD card and test it out.

Thought 62: Thing-A-Day 3: Yocto Continued + Excavator Update

There is still a bug with getting yocto to work with Docker for Windows. One issue might be related to the underlaying Ubuntu version being 20.04. There is some evidense that file names play a role in preventing it from running successfully. If the latest clean and rebuild fails we will rebuild the Docker using 18.04 as the base and spin it back up. Looking at Docker Hub there are several Yocto Dockers, but none with instructions on how they work or even what version of ubuntu they use, in short they all look like crap-shoots. With that in might I will publish my version when this work and add some documentation on how it works. In the meantime there has been a need to update the Excavator project as there was an issue with the relays getting stuck open cause the wheels to constantly spin. The upgrade will be switching to using a H-Bridge for the main motors. Hopefully with some good thoughts we'll make progress today.

Thought 61: Thing-A-Day 2: Yocto Continued

Currently Yocto is still compiling. Partially due to the issues that needed to be resolved in the setup to get to building with a little luck today we will test out the image produced, provide some results below, and then get started on the next task which will be to get a SWUpdate working with the image. So fingers crossed here that we get everything up and running. Decided this was not going to resolve well. Rebuilding the Docker and the build. Fingers crossed, this takes about 8 hours or so to build, so we may end up having to switch to something else to try. On the plus side this is progress the Docker appears to start and work on the first try now. This means that the docker can continue to be evolved into something more complex. It also likely means we are missing something from the docker for building out yocto, might have to download an image from docker hub to get past this issue. While this might be a downspin on getting an image going for "The House of Clo...

Thought 59: House of Cloud Pi: Part 3

Continuing on the House of Cload Pi. This though is about the software and how to get it setup and going at least for getting things staged YOCTO Being familair with Yocto from other projects, this seems like a good place to start. It means dropping the ease of Raspbian Lite, but adds the customization and flexibility we are going to need to make this work. So, first Task is to get a basic image for a pi3 or pi zero w and then we can work from there. We will be following this toturial to get started at getting a basic setup for a PI. We should be able to add recipes and modify from there. Yocto can also be configured to create cross platform SDK's which will be useful in early development. SWUpdate After getting a basic image down we should attempt to get some level of updating system in place for the pi in the field. We are not going to be able to simple remove/replace and SDCard easily if there is a pi stuck some where in a wall or too high, so having a method of up...