LinuxCNC + Orange Pi (allwincnc)
05 May 2021 10:09 #207943
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Driver docs are done - h3cnc.github.io/docs.html
Please Log in or Create an account to join the conversation.
07 May 2021 13:08 - 07 May 2021 13:10 #208213
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi (allwincnc)
One more renaming
Project page - allwincnc.github.io/
Sources - github.com/allwincnc/
All SoCs now together again. Installer will ask for your SoC before installation. RT kernel and LinuxCNC 2.8.1 for the H5/H6 (arm64) are available now. But firmware for the H5/H6 is disabled (WIP).
Project page - allwincnc.github.io/
Sources - github.com/allwincnc/
All SoCs now together again. Installer will ask for your SoC before installation. RT kernel and LinuxCNC 2.8.1 for the H5/H6 (arm64) are available now. But firmware for the H5/H6 is disabled (WIP).
Last edit: 07 May 2021 13:10 by MX_Master.
Please Log in or Create an account to join the conversation.
14 May 2021 17:58 #208831
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi (allwincnc)
H6 support is coming.. Already tested H6 ARISC core with standard 24 MHz clock. All GPIO related things works fine. Need some time to find out some ARISC registers related settings.
H5 support is coming too. Already tested H5 ARISC core with 300MHz clock.
H5 support is coming too. Already tested H5 ARISC core with 300MHz clock.
The following user(s) said Thank You: Bari, tommylight
Please Log in or Create an account to join the conversation.
15 May 2021 06:26 #208892
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi (allwincnc)
Finally got paypal account approved.
If you really like this project, donate a few cents to support the development
allwincnc.github.io/donate.html
PS thanks to the tjtr33 for the support via Western Union
If you really like this project, donate a few cents to support the development
allwincnc.github.io/donate.html
PS thanks to the tjtr33 for the support via Western Union
Please Log in or Create an account to join the conversation.
20 May 2021 12:52 #209645
by tjtr33
Replied by tjtr33 on topic LinuxCNC + Orange Pi (allwincnc)
Hi MXMaster.
My OPi+2e died and i am too blind to replace the 3.3vreg.
I ordered 2 new ones and just had the order cancleled ( they have no stock)
What model is useful and available?
Thx TomP
( I think some H5 or 6 with 2G+ dram, i think
My OPi+2e died and i am too blind to replace the 3.3vreg.
I ordered 2 new ones and just had the order cancleled ( they have no stock)
What model is useful and available?
Thx TomP
( I think some H5 or 6 with 2G+ dram, i think
Please Log in or Create an account to join the conversation.
20 May 2021 13:09 #209647
by Cncninja
Replied by Cncninja on topic LinuxCNC + Orange Pi (allwincnc)
This is my problem, anything with a H3 is discontinued and they want a fortune for or less than a g of ram.. I would love to give this a try but H3 boards are MIA.. I know work has been moving on to the H5/H6 but if you could recommend a good board to move forward with?
Please Log in or Create an account to join the conversation.
20 May 2021 14:16 #209651
by tjtr33
Replied by tjtr33 on topic LinuxCNC + Orange Pi (allwincnc)
20may2021
Tosay I found 50 OPi+2e and 100 OPi 3 2G at Shenzhen Xunlong Software CO.,Limited
Thru Aliexpress
www.aliexpress.com/store/group/Allwinner...pHead_12427654.1_0_1
I bought 1 Opi+2e from them and an Opi3 2G locally ( I am in Thailand)
There is a Kickstarter for an H3 board but a year old and missing its target.
I got the +2e ror sentimental reasons ( heavy on the mental)
I got the H6 as a hope for the future
There's a lot of H3 settop boxes, but I dont think you'll find a nice 40pin header.
Most of my recent purchases of H3 and LP1768 boards
have been cancelled by sellers
They advertize but have no stock
and are too 'inscrutable' to deliver a starightforward answer.
HTH
tomp
Tosay I found 50 OPi+2e and 100 OPi 3 2G at Shenzhen Xunlong Software CO.,Limited
Thru Aliexpress
www.aliexpress.com/store/group/Allwinner...pHead_12427654.1_0_1
I bought 1 Opi+2e from them and an Opi3 2G locally ( I am in Thailand)
There is a Kickstarter for an H3 board but a year old and missing its target.
I got the +2e ror sentimental reasons ( heavy on the mental)
I got the H6 as a hope for the future
There's a lot of H3 settop boxes, but I dont think you'll find a nice 40pin header.
Most of my recent purchases of H3 and LP1768 boards
have been cancelled by sellers
They advertize but have no stock
and are too 'inscrutable' to deliver a starightforward answer.
HTH
tomp
Please Log in or Create an account to join the conversation.
20 May 2021 17:50 #209672
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi (allwincnc)
H5/H6 support is WIP.
Chips deficit is global
Chips deficit is global
Please Log in or Create an account to join the conversation.
04 Jun 2021 16:04 - 04 Jun 2021 18:38 #211166
by mwidlok
Replied by mwidlok on topic LinuxCNC + Orange Pi (allwincnc)
Hello,
First of all many thanks to MX_Master for this project. I already have it installed on orangePi H3 board with 1GB RAM, and it drives steppers flawlessly. Back to the questions: What is the status of "encoder" module for H3?
I've tried to set it up (without real machine, using function generator as input) and instantly got following error:
HAL: ERROR: pin_new(arisc.encoder.0.A-all-edges) called with already-initialized memory
HAL: ERROR: pin_new(arisc.encoder.0.A-all-edges) called with already-initialized memory
Quick check of the code pointed me to "arisc.c" from github, line 521 & 522, 529 & 530:Is that correct? Shouldn't it rather be:
I will try to check it myself, but I need to prepare devel environment on orangePi to compile linuxcnc & drivers and H3 is slow.
PS.
Compiled the module and found another problem (line 917):That caused instant rtapi error with signal 11, definitely it should be:Now linuxcnc works, however it does not read spindle speed or position (both values are 0). Either my hal config is wrong or encoder module is not ready yet. Please point me to the right direction.
Thanks, Michael Widlok.
First of all many thanks to MX_Master for this project. I already have it installed on orangePi H3 board with 1GB RAM, and it drives steppers flawlessly. Back to the questions: What is the status of "encoder" module for H3?
I've tried to set it up (without real machine, using function generator as input) and instantly got following error:
HAL: ERROR: pin_new(arisc.encoder.0.A-all-edges) called with already-initialized memory
HAL: ERROR: pin_new(arisc.encoder.0.A-all-edges) called with already-initialized memory
Quick check of the code pointed me to "arisc.c" from github, line 521 & 522, 529 & 530:
EXPORT_PIN(HAL_IN,a_inv,"A-invert", 0);
EXPORT_PIN(HAL_IN,a_inv,"A-all-edges", 0);
EXPORT_PIN(HAL_IN,a_inv,"A-invert", 0);
EXPORT_PIN(HAL_IN,a_all,"A-all-edges", 0);
I will try to check it myself, but I need to prepare devel environment on orangePi to compile linuxcnc & drivers and H3 is slow.
PS.
Compiled the module and found another problem (line 917):
for (ch = pwm_ch_cnt; ch--; )
for (ch = enc_ch_cnt; ch--; )
Thanks, Michael Widlok.
Last edit: 04 Jun 2021 18:38 by mwidlok.
Please Log in or Create an account to join the conversation.
05 Jun 2021 00:21 - 05 Jun 2021 00:39 #211185
by Doogie
Replied by Doogie on topic LinuxCNC + Orange Pi (allwincnc)
Did you guys see the Recore project which uses an Allwinner A64? I just learned about it and found out that the Allwinner A64 has an onboard micro controller, an AR100(OpenRISC) cpu which the Recore people put Klipper on for doing stepgen. Klipper is only for 3D printers though. If we got Remora onto that AR100/OpenRISC processor then LinuxCNC is your uncle for everything from CNC, 3D printers and laser cutters. Welp, Scott Alford just reminded me that MBed is only for ARM chips and Remora is built on MBedOS so porting it to the OpenRISC/AR100 wouldn't be an easy task. Darn, the versatility of full LinuxCNC on Remora(or Mesa) is the bomb.
The BananaPi and Pine64 use the Allwinner A64 chip and then there's the $150 Recore board with motor drivers and stuff for motor control.
The BananaPi and Pine64 use the Allwinner A64 chip and then there's the $150 Recore board with motor drivers and stuff for motor control.
Last edit: 05 Jun 2021 00:39 by Doogie.
The following user(s) said Thank You: Bari
Please Log in or Create an account to join the conversation.
Time to create page: 0.256 seconds