You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm researching how to transplant openil to raspberrypi,and use sja1105-tool in it .For my purpose,I do the following steps:
1.Cross-compile openil on Ubuntu, and add sja1105-tool module to openil system by "make menuconfig" to compile it into embedded system.
2.Write the openil image to SD card,insert it into raspberrypi, power it up.
3.In openil system,I inputted command "sja1105-tool status general",but it report an error of /usr/bin/sja1105-tool:line1:syntax error:unexpected ")" as the picture bellow.
After several days searching in Internet but could find a solution ,I's sincerely hoping you could give me some advice,thank you very much!
The text was updated successfully, but these errors were encountered:
Hi Jiajing,
To me it sounds like an issue where sja1105-tool is compiled for a different architecture, or libc, than the system you're running on. That is strange given that you said you are compiling sja1105-tool from OpenIL. Can you compare the output of file /bin/busybox with file /usr/bin/sja1105-tool and provide the output of those 2 commands? You might need to add the file program to OpenIL by running make file and then make again to rebuild the SD card image.
Please also be aware that for sja1105-tool to work, you need bindings for spidev driver in the Raspberry Pi, as well as point sja1105-tool to that spidev node. You appear to not be at that stage yet, so this is just FYI.
I'm researching how to transplant openil to raspberrypi,and use sja1105-tool in it .For my purpose,I do the following steps:
1.Cross-compile openil on Ubuntu, and add sja1105-tool module to openil system by "make menuconfig" to compile it into embedded system.
2.Write the openil image to SD card,insert it into raspberrypi, power it up.
3.In openil system,I inputted command "sja1105-tool status general",but it report an error of /usr/bin/sja1105-tool:line1:syntax error:unexpected ")" as the picture bellow.
After several days searching in Internet but could find a solution ,I's sincerely hoping you could give me some advice,thank you very much!
The text was updated successfully, but these errors were encountered: