Freeplay CM3 GBA clone Kit.
-
@Substring
Petite question, pour recompiler, vaut-il mieux d'effacer le contenu du build précédent ?Bonne idée de le lancer en ssh. Bon, il affiche rien pour le moment, mais me sort tout un tas de messages sophistiqués
# ./fbcp-ili9341 bcm_host_get_peripheral_address: 0x3f000000, bcm_host_get_peripheral_size: 16777216, bcm_host_get_sdram_address: 0x40000000 BCM core speed: current: 400000000hz, max turbo: 400000000hz. SPI CDIV: 8, SPI max frequency: 50000000hz Allocated DMA channel 5 Allocated DMA channel 1 Enabling DMA channels Tx:5 and Rx:1 DMA hardware register file is at ptr: 0x75b65000, using DMA TX channel: 5 and DMA RX channel: 1 DMA hardware TX channel register file is at ptr: 0x75b65500, DMA RX channel register file is at ptr: 0x75b65100 DMA RX channel 1 was assigned another peripheral map 17! DMA channel 0 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 1 has peripheral map 17 (is lite channel: 0, currently active: 1, current control block: (nil)) DMA channel 2 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 3 has peripheral map 5 (is lite channel: 0, currently active: 1, current control block: 0xfe538d80) DMA channel 4 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 5 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 6 has peripheral map 13 (is lite channel: 0, currently active: 1, current control block: (nil)) DMA channel 7 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 8 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 9 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 10 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 11 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 12 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 13 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 14 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA RX channel was assigned another peripheral map!
-
Ok, I also found this cmake option
"-DDMA_RX_CHANNEL=<num>: Specifies the DMA channel number to use for SPI receive commands. Change this if you find a DMA channel conflict."
What would you propose, Master ? -
Yes, we can. I used DMA channel 4 for RX, and the result
I will try to stretch a little the sides if possible, but already very nice
-
@dragu To recompile, the best is to
make clean
Regarding the values, the best is probably to ask Flavor
-
@Substring
I was more brutal using rm -r
But @Flavor dont use fbcp-ili9341, there is even no word about in the forum. Anyway, I am near the end with this one also. Pretty well working all this with standard Recalbox and just small addons. When I am finished with scaling here, there is just staying one point to close the thread. -
Vive la France, so I hope everybody recuperate for tomorrow....
Ok, concerning fbcp-ili9341, I am finished and adjust now the TFT screen to the viewport matching the physical window in the GBA shell. After 2 dozens of recompilations, and I have a version for all other people that will buy this kit. As you can see in the fotos, this fit. That they are round is fault of the lens.So this story also over.
Now only thing what stays is the software for the brightness controller of the display background.
-
@Substring
@ian57
But with the automatic starting I will need some help.
I tried first to put it in custom.sh to not meddle in the Recalbox system, my driver in
/recalbox/share/system/fbcp-ili9341/fbcp-ili9341
custom.sh :#!/bin/bash start() { /recalbox/share/system/fbcp-ili9341/fbcp-ili9341 & } stop() { } case "$1" in start) start ;; stop) stop ;; esac
after no effect, I added fbcp-ili4391 to /usr/bin/fbcp-ili9341 and replaced start line with ./fbcp-ili9341 &
again no result
After this I created S02fbcp-ili9341 inside /etc/init.d#!/bin/bash /recalbox/share/system/fbcp-ili9341/fbcp-ili9341 & esac exit $?
and also with ./fbcp-ili9341 &
Both fbcp-ili9341 have the flag 755Not working. What is my error ?
-
@dragu Make sur your binary is in /usr/bin + also make sure it has executable rights. Then simply create a /etc/init.d/S02ili9341
which should hold:#!/bin/bash #!/bin/bash start() { /usr/bin/fbcp-ili9341 & } stop() { } case "$1" in start) start ;; stop) stop ;; esac
You should use an absolute path to the file. Easy way to test it : in SSH, just run
/etc/init.d/S02ili9341 start
and tell us about the outputThe next good idea would be to daemonize the fbcp thing, but that's absolutely not mandatory
-
@Dragu S02fbcp-ili9341 seems to be e bit early to try to start fbcp... you should try S13 after S12populateshare
-
@Substring
@ian57
The script give me an error with ...... start/etc/init.d/S02fbcp-ili9341: line 10: syntax error near unexpected token `}'
line 10 is just the closing accolade for stop (because no content ?)
} stop() { }
-
@dragu ah yeah indeed. Just add a
echo -n ""
-
@Substring
@ian57
Yes, echo -n"" helped Starting in ssh was ok, but not as S02.... in /etc/init.d
So, I put the lines into custom.sh started automatic by S99custom. And it works just after the loading screen. So takes some time. Do you think it could be loaded before splash screen, or not possible ? -
@dragu as ian said, and i forgot about it : the usual fbcp is started rather late (somewhere in S13) most probably due to device setup time. So rename it to S13blabla
-
@Substring
@ian57
Ok, guys, thanks alot. S13... was the solution. So, I will not bother you anymore,till tomorrow
-
Bonjour étant extrêmement nul en anglais serait-il possible de savoir ou en est la possibilité de faire fonctionner un freeplay avec recalbox ?? Est ce ça mise en œuvre est compliqué et faut il que je me tourne vers retropie ???
-
-
@acris je sais même pas ce que c'est ce matos faut que je regarde / I don't even know what this stuff is: I have to look at it.