S32 Design Studio for ARM (Linux)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 Design Studio for ARM (Linux)

1,409 Views
gpol
Contributor I

Hi, we are evaluating S32 Design Studio for our development. I have some questions concerning the ARM version under Linux.

1. Is it possible to install S32 Design Studio under Linux without a root account? I tried, it ask for sudo. That's okay. But then fail with the following messages: shm_open: Permission denied. After running strace -f ./S32DS_ARM_Linux_v2.2.bin and looking for EACCES errors, I found that the installer or some of its process children try to access some of my Docker containers shared memory, for example:

statfs("/cache/docker/containers/74e61bc98bfff18d93e328d695f9b1f62ecc4a3e7ef1b38b6534372b1e01d129/mounts/shm", 0x7fff17fa9220) = -1 EACCES (Permission denied)

This could be a possible cause for the shm_open error. Now why would the installer or some of its children try to get access to my containers shared memory?

2. Installing as root works but is not ideal for security. Usually, we always prefer to package the software and install it with the distro package manager. For example, we use Code Compose Studio from Texas Instruments. Their installer allow us to install it as normal user and even allow for console install which makes it very easy to package and distribute in an entreprise environment. Is it possible to install the application in a console environment? The easiest way would be to drop InstallAnywhere and just give us a archive containing all the application. In a Linux environment, it is always ideal to maintain applications using the package manager. Letting the user (i.e. entreprise admin) do that job would work very well.

3. Is Processor Expert available under the Linux version? I can't seem to find it. If so, I don't understand why it's not there. Eclipse RCP platform is meant to be cross-platform and Processor Expert is based on it. It should be pretty trivial to add.

If you could do one thing to help users and admins, please give us an option without InstallAnywhere. That thing is garbage under Linux. Just give us an archive. People that can package an application for a specific environment (not the end-user) won't have any problem installing it/packaging it for its need. If you're feeling fancy, packaging the application in a Flatpak is probably the best option (works on any Linux distro), but requires more work.

I'm sorry if it transformed into some kind of a rant, deploying an application under Linux is very easy (easier than Windows honestly) and company keeps messing it up.

Thank you,

Gabriel

0 Kudos
Reply
1 Reply

1,272 Views
wangj-mcu-so
Contributor I

RTM3.0.0_SDK.png

S32 Design Studio for ARM 2.2 does not support linux, although NXP claims that it supports ubuntu 16.04, the result of my test is that it does not support it. S32 Design Studio for ARM v2.2, 2018R1, S32 Design Studio for S32 Platform v3.4 are very bad under ubuntu 16.04 /20.04.2.0, and cannot be used normally after installation. It lacks the necessary SDK, such as NXP RTM SDK 3.0.0, and these happen to be necessary things.

S32K14x-EVB-Q100
Tags (1)
0 Kudos
Reply