RatOS Install with klipper

Hi, I've rebuilt my printer using all new parts and had some initial issues when trying to flash the main board with RatOS V2. Initially the octopus v1.1 board was not detected and an auto firmware flash was detecting the board as an octopus pro 446. I'm past that stage now and the board is being correctly detected but remains unresponsive. This is a standard Rat Rig VC kit with rpi 4.
No description
No description
29 Replies
miklschmidt
miklschmidt•2y ago
Please try this:
rm -f ~/klipper/klippy/chelper/c_helpers.so
sudo systemctl restart klipper
rm -f ~/klipper/klippy/chelper/c_helpers.so
sudo systemctl restart klipper
Then wait 5-10 minutes and try going through the configurator again.
inland-turquoise
inland-turquoiseOP•2y ago
Thanks. I ran the command and then waited 20 minutes. I reran the configurator and selected auto flashing. Unfortunately, receiving the same error about board being detected but is unresponsive
miklschmidt
miklschmidt•2y ago
Do you know how to use SCP? Like WinSCP? If so i'd like to see /var/log/ratos-configurator.log
inland-turquoise
inland-turquoiseOP•2y ago
Here you go. And thanks for taking the time to look at this.
miklschmidt
miklschmidt•2y ago
I've seen this before ( https://discord.com/channels/582187371529764864/1130384241272832100/1130428033522745405 ), but i'm still unable to reproduce it. It's very strange. Can you try this:
sudo apt-get update
sudo apt-get install --reinstall build-essential
sudo apt-get update
sudo apt-get install --reinstall build-essential
And then run the configurator again (you can skip the wifi part) if it still doesn't work, show me the output of find /usr/ -name "*cc1*"
inland-turquoise
inland-turquoiseOP•2y ago
Tried the commands but same unresponsive outcome. The output is: /usr/share/man/man3/timespecclear.3bsd.gz
miklschmidt
miklschmidt•2y ago
cc1 not ccl
inland-turquoise
inland-turquoiseOP•2y ago
Oops sorry. Give me a couple of minutes
pi@ratos:/usr $ find /usr/ -name "*cc1*"
/usr/share/terminfo/x/xterm+pcc1
/usr/share/doc/avr-libc/avr-libc-user-manual/dir_eed8f1d749f716b40e52eb2f4ccc114 2.html
/usr/share/doc/avr-libc/avr-libc-user-manual-xml/dir_eed8f1d749f716b40e52eb2f4cc c1142.xml
/usr/share/doc/libcc1-0
/usr/lib/libcc1.so.0.0.0
/usr/lib/gcc/arm-none-eabi/8.3.1/cc1
/usr/lib/gcc/arm-none-eabi/8.3.1/cc1plus
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so.0
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.la
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so
/usr/lib/gcc/arm-linux-gnueabihf/10/cc1
/usr/lib/gcc/arm-linux-gnueabihf/10/libcc1.so
/usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so
/usr/lib/gcc/avr/5.4.0/cc1
/usr/lib/gcc/avr/5.4.0/cc1plus
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so.0
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.la
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so
/usr/lib/libcc1.so
/usr/lib/libcc1.so.0
/usr/lib/arm-linux-gnueabihf/libcc1.so.0.0.0
/usr/lib/arm-linux-gnueabihf/libcc1.so.0
/usr/lib/libcc1.la
/usr/lib/debug/.build-id/ac/24d09573ac4b8d5987190d274d9128cc1aeb38.debug
/usr/lib/debug/.build-id/97/fca3e5a4e23a7a9dc3429293fe5f810dcc1cd6.debug
pi@ratos:/usr $ find /usr/ -name "*cc1*"
/usr/share/terminfo/x/xterm+pcc1
/usr/share/doc/avr-libc/avr-libc-user-manual/dir_eed8f1d749f716b40e52eb2f4ccc114 2.html
/usr/share/doc/avr-libc/avr-libc-user-manual-xml/dir_eed8f1d749f716b40e52eb2f4cc c1142.xml
/usr/share/doc/libcc1-0
/usr/lib/libcc1.so.0.0.0
/usr/lib/gcc/arm-none-eabi/8.3.1/cc1
/usr/lib/gcc/arm-none-eabi/8.3.1/cc1plus
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so.0
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.la
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/arm-none-eabi/8.3.1/plugin/libcc1plugin.so
/usr/lib/gcc/arm-linux-gnueabihf/10/cc1
/usr/lib/gcc/arm-linux-gnueabihf/10/libcc1.so
/usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/arm-linux-gnueabihf/10/plugin/libcc1plugin.so
/usr/lib/gcc/avr/5.4.0/cc1
/usr/lib/gcc/avr/5.4.0/cc1plus
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so.0
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.la
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/avr/5.4.0/plugin/libcc1plugin.so
/usr/lib/libcc1.so
/usr/lib/libcc1.so.0
/usr/lib/arm-linux-gnueabihf/libcc1.so.0.0.0
/usr/lib/arm-linux-gnueabihf/libcc1.so.0
/usr/lib/libcc1.la
/usr/lib/debug/.build-id/ac/24d09573ac4b8d5987190d274d9128cc1aeb38.debug
/usr/lib/debug/.build-id/97/fca3e5a4e23a7a9dc3429293fe5f810dcc1cd6.debug
miklschmidt
miklschmidt•2y ago
So it is there.. That error makes zero sense to me then. My system looks exactly the same and i don't get that compilation error
inland-turquoise
inland-turquoiseOP•2y ago
could it be something that I'm doing incorrectly?
miklschmidt
miklschmidt•2y ago
Anyway, i think you should be able to ignore it and just move on to mainsail Currently i don't know.
inland-turquoise
inland-turquoiseOP•2y ago
klipper doesn't seem to be installed if I look at the webUI
miklschmidt
miklschmidt•2y ago
screenshot?
inland-turquoise
inland-turquoiseOP•2y ago
No description
inland-turquoise
inland-turquoiseOP•2y ago
also, will i need to flash the toolboard separately? wasn't able to cover it with the configurator
miklschmidt
miklschmidt•2y ago
This is all as it should be Follow the installation instructions 🙂 You can skip over the controlboard part and flash your toolboard in the configurator http://ratos.local/configure?step=2 should take you straight to it
inland-turquoise
inland-turquoiseOP•2y ago
Thanks. I'll get on this immediately
miklschmidt
miklschmidt•2y ago
If it throws the same error, ignore it. It connects, but the version checking script fails to compile for unknown reasons.
inland-turquoise
inland-turquoiseOP•2y ago
Neither seems to work
No description
No description
miklschmidt
miklschmidt•2y ago
This error is because your thermistor isn't installed. So it's working 🙂 However there's one thing i'd like you to do, which might give me a clue as to the error in the configurator. Can you show me the output of:
ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
miklschmidt
miklschmidt•2y ago
Brand new install (2.0.2 32-bit), brand new pi4:
No description
miklschmidt
miklschmidt•2y ago
I don't get it.
inland-turquoise
inland-turquoiseOP•2y ago
Not sure if this is progress 🙂
No description
inland-turquoise
inland-turquoiseOP•2y ago
pi@ratos:~ $ ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
-rwxr-xr-x 1 root root 18907872 Jan 21 2021 /usr/lib/gcc/arm-linux-gnueabihf/10/cc1
-rwxr-xr-x 1 root root 20449832 Jan 21 2021 /usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
pi@ratos:~ $ ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
-rwxr-xr-x 1 root root 18907872 Jan 21 2021 /usr/lib/gcc/arm-linux-gnueabihf/10/cc1
-rwxr-xr-x 1 root root 20449832 Jan 21 2021 /usr/lib/gcc/arm-linux-gnueabihf/10/cc1plus
inland-turquoise
inland-turquoiseOP•2y ago
miklschmidt
miklschmidt•2y ago
FIRMWARE_RESTART should fix it This all looks correct. 😒 Thanks anyway
inland-turquoise
inland-turquoiseOP•2y ago
unfortunately it didn't. it went back to the ADC out of range error. And my thermistor is installed.
miklschmidt
miklschmidt•2y ago
Then you should probably measure that thermistor. This is a wiring / electronics issue so i'd recommend #fix-my-printer for that. RatOS is running.
inland-turquoise
inland-turquoiseOP•2y ago
thank you
Want results from more Discord servers?
Add your server