📜 ⬆️ ⬇️

Virtuilarks arrived!

Continuing the theme controller "Virt2real", or simply - Virturilka

So, the first serious (according to our standards) circulation of the pieces of iron was successfully passed by us at the plant and the official customs clearance in Russia. The reject rate of the main circuit boards was over zero and amounted to 0.5%. Very well, we expected at the worst 5-6 percent of the marriage. By the way, there is an idea to give one BarsMonster defective piece of iron to the opening of the probe (if it becomes interested, by itself).

At customs, two of the three boxes were subjected to a total check, and as a result, neatly folded bags with boards turned into a chaotic pile. The bags are dense, so there was no damage (we tested it on arrival, or rather, at the moment we are finishing testing).
')

In general, the glands are already in our hands, now the most interesting begins






First we want to apologize to the people who ordered it for the delay. In addition to industrial and technical problems, it was necessary to solve financial issues. Negotiations with investors did not produce results, I had to rely on your help and your strength. The money collected on pre-orders covered only half of the amount needed for circulation, so more funds were required. Half of the team took non-sick loans, the second half of the team harnessed to the most difficult (but expensive and prepaid) side project. But in the end we got out - collected the necessary funds. But without your support, we would not have done it, so the project turned out to be a crowdfunding project.

Then everything went almost according to plan. The plant expressed its time (turn, time for production). After acceptance, delivery of all the iron to Russia to customs, and then to us "to the warehouse" followed.



Now we are preparing to send the ordered pieces of iron (by courier, by self-delivery, mail, etc).

Bonus Boards



We promised free bonus boards when collecting pre-orders. The leader in the "Wishlist" was the power board (motorshild, in the terminology of Arduina), in the second place - the composite video input board.

We have not done the bonus cards yet, since all the forces were thrown on the main set (without Virturielka, bonus boards are not needed by anyone). But with these boards everything is much simpler - we found production in Russia, where they can be assembled. Dates are much lower than in China. Those who pre-ordered Virturilka bonus cards will go by separate parcel / courier, delivery from us. For everyone else - as usual, the fees in our online store .

About packaging



For the packaging of glands, paper boxes were purchased, foam inserts were cut. Everything is pretty decent and compact turned out.





In general, the complete set looks like this



About boxes



Initially, we were not going to make boxes for Virtualullocs, since we planned to use them only in driving / flying devices. But it turned out that there are a lot of other applications, but they need a case, a box. We were contacted by a representative of a company that manufactures and sells ready-made enclosures for different controllers and offered to produce boxes for Virturilka. We liked the test samples, so we recommend.

Store address by boxes - www.zigo.am/products/virt2real-enclosures/

The current version of the box is only suitable for the main board, without the Wi-Fi module, because when the model was being made there was no Wi-Fi available. The module itself is sticking out, but the box requires modification with a file (cut the hole for the antenna). The second version of the boxes in view of the Wi-Fi module board will be soon.







Software plugging, nid help



TI for its processors periodically lays out the so-called PSP - Platform Support Package. This is a set of software components for the operation of boards based on their processors, for example, used in our DM365 family of DaVinci. As part of the PSP there is a proven Linux, a set of modules for hardware acceleration of codecs and so on. But all the official PSPs are based on a rather old kernel, 2.6.32 (and a little fresher 2.6.37). All DSP modules and GStreamer plugins are sharpened for use only with the 2.6.32 kernel, and version 2.6.37 is no longer supported, since the concept of organizing the embedded video subsystem, which was called the Media Application Framework, has changed there. Therefore, GStreamer does not know how to work with new type video sources. But besides the PSP, TI also puts out a package of software called DVSDK. It includes DSP modules, as well as a bunch of examples of source codes for working with encoding and video transmission, but not a word about GStreamer. But nevertheless it is much more convenient to interact with the GTR, so we didn’t have a choice - we need to cut everything that is possible, if only it would work with the new core (accordingly, with the new video subsystem).

Since this task alone draws on a rather non-sickly project, it was decided to make a feint with the ears - to port the old subsystem to a new core, which was successfully done. Now the camera is already seen as an ordinary v4l2 device, the ezmer is cheering on the stream it gives. But there was one nuance with one of the DSP modules (cmem.ko). The module is ridiculously simple, but does the basic work of translating memory addresses necessary for the correct operation of hardware acceleration. Here on this module now and densely sat down. It definitely will win, but everything depends on time.

By the way, it is quite possible that we will end up with the only firmware (and the only SDK) with a new kernel but with a video subsystem suitable for working with video by the classical method - through GStreamer.

As a result, I will summarize - now in our current (but not yet completely committed) SDK everything works, except for the camera. More precisely, the camera also works, but without hardware acceleration, and this is the most delicious.

Therefore, there are several scenarios:

Option 1.

Post the firmware on the basis of the old, officially supported, kernel 2.6.32.
Pros - everything works, including video capture. Cons - the old kernel, with all the consequences, some of the necessary drivers are quite old and work crookedly on the old kernel. A dead option, in short - without potential development, so that we did not even touch it. If you lay it out - you need to finish it urgently.

Option 2.

Wait for the DSP module to be completed and then upload the firmware.
Pros - it works. Cons - a man bought a piece of metal, but can not flash and play with it. The worst option, so it does not even consider

Option 3.

Post the current firmware as it is.
Pros - everything works except DSP. Cons - DSP does not work.

We are inclined to the third option, as the most appropriate to all, so that is exactly what we will do.

Now the most interesting for Linux programmers. If someone reading this opus has experience working with the video subsystem of the Linux kernel (it’s the nuclear part of video capture from digital cameras) and you want to participate in the development - weeks in lichku. We will provide iron, this is no problem, we have a lot of them now available :-) It is quite possible that we missed something and everything is much simpler than it seems, but judging by the discussions on TI forum, the situation is exactly as we think and I wrote a little higher.

Conclusion



I will write the conclusion on my own behalf. Since I had the very first samples of Virturilka in my hands, I used it in all projects. Some projects can not be published, so I keep quiet about them. From public - Wheelbarrow Bond , Tank Battles , tank T-90 . And also a bunch of small things like guided carts, claws, boats, etc. Hands did not reach to test on the quadcopter, we plan this in the near future. For me, Virtuirlka turned out to be very convenient for such items.

And now we very much hope that Virturile and for you (and not just for Gol, approx. Gol) will be a convenient tool for the quick realization of your ideas. We are very worried and worried about our offspring. We are afraid, but we are waiting for comments and feedback. Both positive and negative (where do without them).

Thanks again! The moral support of Habrayusers and Habragosti helped us a lot all this time.



Related Links:

The official site virt2real.ru
The official online store http://shop.virt2real.ru/ (formerly Mikrogonki.ru)
Official Wiki (in the process of filling) wiki.virt2real.ru
Official Twitter https://twitter.com/virt2real
Unofficial blog http://www.g0l.ru/blog/262

Source: https://habr.com/ru/post/191740/


All Articles