-
Notifications
You must be signed in to change notification settings - Fork 43
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
raspberry pi 2 crashe after runing printipi #91
Comments
That log information puts the error between lines 412-414 here (because the next log statement should occur inside of Is it just the program crashing? Or is it bringing down the entire system, and you have to reboot the Raspberry Pi? If it's the latter, you likely have some other program that's using the same DMA channel & you could try using a different one here. You can try every integer between 0-15, but 8-15 have reduced performance, and you run a chance of disk corruption if you happen to choose the same channel that the SD card uses so make sure you don't have anything important on there (or do your research to figure out which channels are 'safe' first). If it's just printipi that's crashing, then make sure you're running it as a privileged user (e.g.
It's entirely possible that the Pi 2 has its peripherals (like DMA) mapped to different memory addresses, or that newer kernels restrict userland programs from directly accessing those. Worst case, you can disable DMA entirely by deleting line 71 here:
but that will result in slower movements with more jitter. |
Digging through the archives, it looks like you aren't the first to have issues using the Pi 2: https://groups.google.com/forum/#!topic/printipi/V-WXhf2tpDE So I'd say that chances are pretty good that some portion of the DMA interface has changed between Pi 1 and Pi 2. |
hello make clean |
https://github.com/hzeller/rpi-gpio-dma-demo/blob/master/gpio-dma-test.c |
Thanks for the reference. By the way,
|
i disable it but it still don't work :/ |
this is the out put |
Hi all. Is there any progress to run printipi on Raspberry PI 2 and 3?
|
Hi Maxim, If you can find the manual for the new Broadcom processor in the Pi2/3, you
|
And this example: P.S.
P.P.P.S.
And hang. |
richardghirst/PiBits@96014c8 (in ServoBlaster) might be another reference for GPIO changes for the Pi 2. |
FWIW, there's some more info regarding the dma-example linked 2 posts up, which works on Pi 1 but not later versions: Wallacoloo/Raspberry-Pi-DMA-Example#1 It's likely that the bus address of L2 cache has changed between the Pi 1 and other versions, and not just the peripheral addresses. In the Pi 1, L2 cache is at I don't know if this means that L2 cache was moved to |
raspberry crashe after run printipi
this is the output
[INFO] Printipi: built for machine: 'rpi::firepickdelta'
[INFO] Filesystem root: /
[INFO] platforms::rpi::UnwrappedHardwareScheduler::initSrcAndControlBlocks: #dma blocks: 196608, #src blocks: 65536
The text was updated successfully, but these errors were encountered: