-
Notifications
You must be signed in to change notification settings - Fork 200
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
Image-builder produces stable 2.0 image #166
Comments
@RespawnDespair it’s looking good! Only a few more todo items left! How is it going? I can probably help do some testing soon. I was just curious, and I am not second guessing you, why the choice of Raspian for the buildroot? Was it just to make it easier to get buildroot working? I believe Rodizio was hoping for some flavor of Linux. I am just trying to understand the pros and cons. |
It's looking good now, as i said on my repository, i had some difficulties with the OSD. These seem to be fixed now. I'll put a new image up sometime today or tomorrow. |
@pilotnbr1 about buildroot, I guess it must be easiest to build on the same platform where you going to use the image thus raspbian. Building on Ubuntu or other Linux probably needs all the to make the build working. |
@pilotnbr1 @bortek I use Raspbian LITE, and then add all the components we need for the system to work. This leaves some extra's we don't need, but less than when using normal Raspbian. I choose this route because the entire system depends heavily on some things raspbian-specific. |
That makes sense. Are you using yocto? Just curious.. ;) And all this is an image that does not support the pi3b+ yet? |
No yocto, that would mean first recreating raspbian and then adding on top. Maybe in the future 😄 And no, i need to create the kernel8 image in the buildscript to support the 64 bit Pi3B+. Which i will do once all bugs are sorted. Also i don't have a 3B+ for testing so i would have to rely on others to do that for me. |
@RespawnDespair Jelle thanks for the effort! Also thanks for making it easy to follow your progress on your repo, very organized! |
@pilotnbr1 : I have already build many times the image using @RespawnDespair script. It works perfectly with Ubuntu 18.04 following the instructions of his github. |
I had one issue with the raspbian lite image. Also, it's hard to restart the build if it fails. That will just take some tweaking. If I can offer a suggestion write a last step completed message to a file, and use a restart flag. If restart, get last step and start at the next one. |
I think I need a new image. I am having many problems with the scripts. These may already be fixed so I'm waiting on a new image to test and then I can create issues. |
If we don't already have one I can build a Mavlink 2.0 library. |
@RespawnDespair is making hard work with his script to make the new 1.6 working. Many things had been fixed now, but I can't have video/telemetry with CSL300 (rt5572) on the airPi. Could anyone confirm that ? Could you try with other boards ? |
@Yes21 I was unable to get the ground side to boot with respawndespairs latest highly experimental image with pi3b+. |
@ALL Also read the new Readme. He will release a new test image a.s.a.p. I am building myself the new image ... |
Awesome work! Can't wait to test :-)
Von meinem iPhone gesendet
… Am 30.10.2018 um 18:51 schrieb Yes21 ***@***.***>:
@ALL
@RespawnDespair did make big progresses :
mavlink2
rtl8812au
RPI 3 B+
He will release a new test image a.s.a.p.
I am building myself the new image ...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@Yes21 Please use the |
@RespawnDespair
|
Okay, very good, please let me know the results! |
Ok, will tell you. |
It takes nearly two hours for a full run on my Hyper-V (don't have a dedicated Ubuntu machine yet). |
Nice work! Wish I could try.. I have a brand new 3b+ at home but i am travelling next 3 weeks :/ |
I'm getting a Pi3B+ myself so i'm not relying on others to test. |
Yes, I understand now why you did "cut" the script into small feet. |
@RespawnDespair : the work/build.log is also a great thing !!! |
It does how the amount of time each step took nicely. |
@Yes21 Be aware that i haven't implemented the last step. It does not copy the image to the deploy folder. |
I just had a blue screen for "wireshark". I answered "Yes", and then an error message :
Can't select "Ok". I'm blocked ! I will try to restart from "stages/03-Packages/00-run-chroot.sh" which is the last step from the log. |
And yes, the interrupt problem should be fixed, but that might be a little outside our possibilities. |
Alright Jelle, I will be happy to send you the code this evening. Currently I am at work and don't have access to it. Can I mail it somewhere? Cheers! |
Just attach it to a post here (drag the file), that way i will have reference. |
just noticed there is a new Raspbian version 2018-11-13 http://downloads.raspberrypi.org/raspbian/release_notes.txt |
@RespawnDespair : Jelle, here you go... Don't laugh at me: It is very simple. After all I check the analogue channels (Ch0-5) for invalid values (PWM==1000 which cannot be reached with the sticks and results from reading the empty joystick registers when the interrupt conflict occurs. This results in a raw value of =-32767 read from the joystick which is then mapped to PWM 1000 by the joytsick routine). It is a very crude mitigation but it works just nicely. Cheers! |
Hello, It would be nice that builder use latest raspbian stretch image, so I can test with new Pi 3A+. |
Doesn't it work with raspbian_lite-2018-10-11 ? |
Yes you're right, I thought it could be a problem but it's booting anyway. |
The new Pi3A+ should work like the Pi3B+ ... |
Yes that's what I thought too but for some reason I couldn't get it to boot with an image which was working on 3B+ so I need to make some tests again to understand what's going on. |
Image from builder is booting and working on Pi 3A+. Strange thing is image from Lelik (russian forum) which is a modified 1.6 RC6 is working with Pi 3B+, and not working with Pi 3A+ (no boot). |
I digged a bit deeper regarding the strange USB problems (Interrupt?) with Raspberry Pi. There are not many people arround using several high bandwidth USB devices all in parallel on the RPi. But the problem is very well known among bitcoin miners. Those people tend to plug a high number of ASIC miners via USB to their mining plattform and soon found that the Broadcom SOC has some serious USB problems when it comes to handling multiple USB devices: Problems are said to get very obvious with about 8 parallel USB devices:
Seems like we are pretty much working on the limit of what the RPi platform is capable of in terms of USB. |
Yes, the Pi USB system has it's fair share of issues. Guess why I always said to not upgrade the kernel or firmware or change kernel or cmdline.txt settings without a good reason ... Problem is, it's not a "full" USB implementation, as the SoC the Pi is using was once intended for some mobile phone which don't need several parallel devices etc. Some things are implemented in software, both inside the rpi firmware and the linux kernel. Back in 2012 (the time of the above linked bitcoin thread) it was way worse though, since then, a lot of stuff has been completely re-written and improved (there are lots of threads and posts about usb issues on the Raspberry forum and Github issues pages). The other problem (only affecting Atheros cards though) is that endpoint problem described here (which results in the 3 card limitation and the higher jitter the packets experience on their way from card to userspace): https://github.com/qca/open-ath9k-htc-firmware/wiki/usb-related-issues. Regarding the Pi3A+: It's not strange that an image that supports the 3B+ doesn't support the 3A+, it's a different model. The 3A+ is supported since Raspbian 2018-10-09, see the changelog here: https://downloads.raspberrypi.org/raspbian/release_notes.txt I have also tested the Pi3A+ with my own image (based on 1.6.RC6) with Kernel 4.14.79 and firmware from Raspbian 2018-11-13. Doesn't work correctly, after maybe 5-10 minutes it starts producing badblocks, the OSD freezes, the image freezes, sometimes the screen turns completely black comes back, totally erratic behaviour. Not sure what the cause is, did not connect via Ethernet yet to look at kernel logs etc. |
If you want to build an image with the latest kernel, you only need to modify the "config" file :
|
Hello, yes I found that too, thanks. I'm building a test image with latest kernel to test. |
So the wife is out of town for over a week and I have time off. What would be most helpful to you guys? Testing of the new image builder? Analysis of bad/lost blocks? Implement MSPv2? I’ll attempt just about anything (and probably fail) so put me to work! Have a new pi 3b+ and 3a+ ... only some 722s and 36nha . Rpi touchscreen |
Hello, A good thing to work on should be fixing the broken atheros driver, I think. You'll easily see this testing Awus036NHA. But of course there are many other things to do. Thanks and enjoy the time off :) |
@pilotnbr1 Many thanks for your proposal :-)) I would say that an interesting thing would be to make RC work with more chipsets than only AR9271. Perhaps with CSL300 (RT5572), AWUS036AC/H (RTL8812au) and AWUS1900 (RTL8814au). I know you haven't any of these cards, but I could help you getting one of them, ... if you are interested in that subject ? But if you are "free" for the next week, take also time to walk in the town, or in forests ... |
Yes maybe I’ll order one or a couple of those cards.. |
If you won't find any of those activities attractive you could spend some time on testing new image builder. :) I wonder how is it going with @RespawnDespair |
Has anyone had a problem with rtl88xx debug mb messages in the syslog (dmesg). There are some messages enabled I think by accident. I found at least one place with only: #ifdef RTW_CONFIG_DEBUG Y or N doesnt matter. This is only in 5.3.4. It took a while to get rid of the messages, so if it's an issue I can make respawn a patch to fix the driver source if air crack does t. |
@careyer did good work noting the correlation between usb devices and dropped rc packets. Glancing at @careyer rc code modification I have concerns with how it will behave in failsafe. Will it just continue to detect “corrupt” signals and thus repeat the last known good signal (3 inputs in agreement)? I would just feel better about it with some failsafe testing.. I know this is probably low on the list but just wanted to throw this out there. |
Hi Luke,
This is my very last message before WiFi runs out. Failsafe is tested with this code. It depends on either of the two things:
a) joystick disconnect - will be detected immediately regardless of the mitigation
b) no RC packets arrive at FC for a certain time - this is also independent from the mitigation fix because it will allways send packets: either regular or mitigated frames. If you run out off range packets get lost in the air and hence the FC will trigger failsafe.
Regarding b) first I just discarded invalid frames at the transmitter which could lead to a situation where too many got discarded and failsafe would be triggered because FC had to wait for new packets to arrive. Hence I decided to introduce the mitigation strategy. 1) Send last good analogue stick position (IRQ problem)
2) make sure BUTTONS stay at least consistent over 3 cycles (Jitter+ IRQ)
Have a good time.
Von meinem iPhone gesendet
… Am 25.11.2018 um 01:12 schrieb Luke ***@***.***>:
@careyer did good work noting the correlation between usb devices and dropped rc packets.
Glancing at @careyer rc code modification I have concerns with how it will behave in failsafe. Will it just continue to detect “corrupt” signals and thus repeat the last known good signal (3 inputs in agreement)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
After reading more about the issues with USB and too many devices it doesn't seem like there will be a fix any time soon If you really need that many devices what about a PCI adapter for the pi? I'm 95% sure there is such a thing available and should be faster than USB as well. My laptop has a half size ath9k pci card that seems to work well in monitor mode. An adapter might be expensive though. It is worth thinking about. |
RespawnDespair wrote:
New issue has been opened here: RespawnDespair/wifibroadcast-image-builder#93 Thus closing this one. |
Hi Fellas, I am looking for a stable Ez-wifibroascast 2.0 image. Any help would be appreciated. |
Fix all the known problems in the image builder so we have a stable and usable 1.6 image.
https://github.com/RespawnDespair/wifibroadcast-image-builder/projects/1
The text was updated successfully, but these errors were encountered: