Skip to content
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

IOT2050 WITH NODE RED VERSION 3 AND NODE JS VERSION - PROBLEM WITH READING GPIO PINS #512

Open
aviranp opened this issue Dec 14, 2023 · 3 comments

Comments

@aviranp
Copy link

aviranp commented Dec 14, 2023

Hello ,

I have IOT2050 FS:05 WITH NODE RED VERSION 3 AND NODE JS VERSION 20.7 .
WORKS FINE BUT WHEN I AM TRYING TO READ GPIO PINOUT USING NODE RED INTEL GPIO NODE.

I HAVE A A LOTS OF PROBLEMS ;

  1. I CANT INSTALL IT.
  2. THE NODE ONLY SUPPORT NODE JS VERSION 12. WHEN NODE RED 3 NEED MINIMUM 16.X VERSION OF NODE JS....

IF I CANT READ THE PINS I CANT WRITE ANY PROGRAM UNLESS I AM USING SIEMENS PLC. ( WORKED FINE) .
ANY CLUE ??

THANKS

@jan-kiszka
Copy link
Collaborator

Compile the image from the master branch (or use the output of a recent CI run), and you will get Debian 12 with NodeJS 18 with a working GPIO node.

Installing your own NodeJS version into a custom image implies that you have to take care of recompiling mraa, the foundation of node-red-node-intel-gpio, for that NodeJS yourself. Possible but not a beginner's task.

@aviranp
Copy link
Author

aviranp commented Dec 31, 2023

Hey again,

I want to compile the image but as I understood there is still a problem with the ethernet cards that they are not recognized by the Debian system? was it fixed?

thanks,
aviran

Dec 12 13:24:01 iot2050-debian kernel : OF /bus@100000/pcie@5600000: phandle pcie-mode@4070 needs 1, found 0
Dec 12 13:24:01 iot2050-debian kernel : OF /bus@100000/pcie@5600000: phandle pcie-mode@4070 needs 1, found 0
Dec 12 13:24:01 iot2050-debian kernel : keystone-pcie 5600000.pcie: Phy link never came up

@jan-kiszka
Copy link
Collaborator

Ethernet on PG1 needs some patches here, PG2, M.2 etc are fine already. For PG1, we are waiting for more feedback on https://lore.kernel.org/netdev/[email protected]/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants