RPi4 Mesa install: No 7C81 board found
29 May 2023 16:30 #272435
by Stef
Replied by Stef on topic RPi4 Mesa install: No 7C81 board found
Today I did a completely new Debian install of the Bookworm daily built, following the document made by rodw:
github.com/rodw-au/linuxcnc/blob/rodw-ge...etting-linuxcnc.adoc
This detailed explanation was very helpful!
After this I manually installed both geany and mesaflash.
I then edited the file "raspi-extra-cmdline" by adding "dtparam=spi=on" (see screenshot below).
I was hoping that this fresh install would solve my problems, but unfortunately I still have the same error...
Although I am happy to hear that 7C81s are shipped with 5ABOBx3 firmware, maybe I don't need to do anything with mesaflesh.
But if I skip that step, how could I check the connection between the RPi and the 7C81?
github.com/rodw-au/linuxcnc/blob/rodw-ge...etting-linuxcnc.adoc
This detailed explanation was very helpful!
After this I manually installed both geany and mesaflash.
I then edited the file "raspi-extra-cmdline" by adding "dtparam=spi=on" (see screenshot below).
I was hoping that this fresh install would solve my problems, but unfortunately I still have the same error...
Although I am happy to hear that 7C81s are shipped with 5ABOBx3 firmware, maybe I don't need to do anything with mesaflesh.
But if I skip that step, how could I check the connection between the RPi and the 7C81?
Attachments:
Please Log in or Create an account to join the conversation.
29 May 2023 16:47 - 29 May 2023 16:48 #272436
by PCW
Replied by PCW on topic RPi4 Mesa install: No 7C81 board found
Is it possible that debian has a different SPI device name?
( does ls /dev | grep spi show anything? )
To test the driver, try
halcmd -kf
halcmd: loadrt hostmot2
halcmd: loadrt hm2_rpspi
( does ls /dev | grep spi show anything? )
To test the driver, try
halcmd -kf
halcmd: loadrt hostmot2
halcmd: loadrt hm2_rpspi
Last edit: 29 May 2023 16:48 by PCW.
Please Log in or Create an account to join the conversation.
29 May 2023 18:11 - 29 May 2023 18:12 #272446
by Stef
Replied by Stef on topic RPi4 Mesa install: No 7C81 board found
Thank you for the quick reply!
Please find below a screenshot with the commands that I executed.
Did not show anything.
This showed "halcmd: "
I typed "loadrt hostmot2" behind that, which seems to give a valid output.
But when I typed "hm2_rpspi" behind the next "halcmd: " it didn't recognize this command.
Please find below a screenshot with the commands that I executed.
ls /dev | grep
halcmd -kf
I typed "loadrt hostmot2" behind that, which seems to give a valid output.
But when I typed "hm2_rpspi" behind the next "halcmd: " it didn't recognize this command.
Attachments:
Last edit: 29 May 2023 18:12 by Stef.
Please Log in or Create an account to join the conversation.
29 May 2023 18:21 - 29 May 2023 18:22 #272448
by Stef
Unfortunately I am not using raspi-os indeed, because as far as I know the "LinuxCNC 2.8.1 Raspberry Pi OS based on Debian 10 Buster" (which is on the LinuxCNC frontpage) is incompatible with RPi's that have been sold over the past two years...
Replied by Stef on topic RPi4 Mesa install: No 7C81 board found
ohhh you are using debian instead of raspi-os. that would explain why things arent working. I do not think you can change things with a config file like with rpi-os or use raspi-config, as debian is not using the dbts. I also dont think the hm2_rpspi driver works with debian bookworm anyways
Unfortunately I am not using raspi-os indeed, because as far as I know the "LinuxCNC 2.8.1 Raspberry Pi OS based on Debian 10 Buster" (which is on the LinuxCNC frontpage) is incompatible with RPi's that have been sold over the past two years...
Last edit: 29 May 2023 18:22 by Stef.
Please Log in or Create an account to join the conversation.
29 May 2023 18:39 - 29 May 2023 18:40 #272449
by Aciera
Replied by Aciera on topic RPi4 Mesa install: No 7C81 board found
sorry, never mind
Last edit: 29 May 2023 18:40 by Aciera.
Please Log in or Create an account to join the conversation.
29 May 2023 19:44 #272454
by PCW
Replied by PCW on topic RPi4 Mesa install: No 7C81 board found
You left the loadrt out, it should be:
halcmd: loadrt hm2_rpspi
halcmd: loadrt hm2_rpspi
Please Log in or Create an account to join the conversation.
29 May 2023 23:41 #272463
by cakeslob
Replied by cakeslob on topic RPi4 Mesa install: No 7C81 board found
I was going off what was said in this git issue about rpi debian
github.com/LinuxCNC/linuxcnc/issues/2349
github.com/LinuxCNC/linuxcnc/issues/2349
Please Log in or Create an account to join the conversation.
29 May 2023 23:49 #272465
by PCW
Replied by PCW on topic RPi4 Mesa install: No 7C81 board found
In that thread Sebastian reported that bookworm worked with hm2_rpspi
(but mesaflash did not because the spi device was missing) so it may be OK
(but mesaflash did not because the spi device was missing) so it may be OK
Please Log in or Create an account to join the conversation.
30 May 2023 14:50 #272499
by Stef
I did a new try, and after that another one (without rebooting in between), see below. I noticed that the output is different so I pasted both screenshots:
Replied by Stef on topic RPi4 Mesa install: No 7C81 board found
Ah, I see I made a mistake over there. However the output of the first and second command don't list anything related to spi, so I think that is already strange?You left the loadrt out, it should be:
halcmd: loadrt hm2_rpspi
I did a new try, and after that another one (without rebooting in between), see below. I noticed that the output is different so I pasted both screenshots:
Attachments:
Please Log in or Create an account to join the conversation.
30 May 2023 15:12 #272500
by PCW
Replied by PCW on topic RPi4 Mesa install: No 7C81 board found
OK so it does look like you cannot run hm2_rpspi on that kernel
(nor could you run mesaflash or the spidev driver since the spi device driver
is missing)
The "fail to rmmod" error would be simple to fix in the hm2_rpspi source
so it would work with debian systems but overall I look like debian is a lost cause
on the RPI because its missing so much peripheral support
(nor could you run mesaflash or the spidev driver since the spi device driver
is missing)
The "fail to rmmod" error would be simple to fix in the hm2_rpspi source
so it would work with debian systems but overall I look like debian is a lost cause
on the RPI because its missing so much peripheral support
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds