Help with NXP S32G-VNP-RDB2

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

Help with NXP S32G-VNP-RDB2

236 Views
lengoyeko
Contributor I

I'm fairly new to Embedded Linux (I'm pretty clueless about it), and I have an NXP S32G-VPN-RDB2 board. With this board I have to collect some information within the board periodically (like CPU usage,RAM usage etc) and store it in a text file, i also have to run this as a background service. I had already wrote a script to do these tasks. The booting of the board was successful and the script ran fine too,but inorder to make the script into a service I used systemd in my linux PC,but in the board's Linux (Auto Linux BSP 39.0) systemd does not exist, nither does the apt command,systemctl or bashrc exist. I'm really confused on what to do and how to make this script into a service. I read somwhere that yocto can be used to customize the linux in the board but I'm very clueless and idk where to start. Please help :')

0 Kudos
Reply
1 Reply

150 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @lengoyeko 

Thanks for your post.

May I know if it is possible for you to work with a more recent BSP version like BSP42 or insist using BSP39 as mentioned? 

I just had done a quick test on the BSP42(since it is ready for test) based on RDB3, and suggest implementing your service based on systemd, my test seems working fine on this release.

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2371154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHelp%20with%20NXP%20S32G-VNP-RDB2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2371154%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20fairly%20new%20to%20Embedded%20Linux%20(I'm%20pretty%20clueless%20about%20it)%2C%20and%20I%20have%20an%20NXP%20S32G-VPN-RDB2%20board.%20With%20this%20board%20I%20have%20to%20collect%20some%20information%20within%20the%20board%20periodically%20(like%20CPU%20usage%2CRAM%20usage%20etc)%20and%20store%20it%20in%20a%20text%20file%2C%20i%20also%20have%20to%20run%20this%20as%20a%20background%20service.%20I%20had%20already%20wrote%20a%20script%20to%20do%20these%20tasks.%20The%20booting%20of%20the%20board%20was%20successful%20and%20the%20script%20ran%20fine%20too%2Cbut%20inorder%20to%20make%20the%20script%20into%20a%20service%20I%20used%20systemd%20in%20my%20linux%20PC%2Cbut%20in%20the%20board's%20Linux%20(Auto%20Linux%20BSP%2039.0)%20systemd%20does%20not%20exist%2C%20nither%20does%20the%20apt%20command%2Csystemctl%20or%20bashrc%20exist.%20I'm%20really%20confused%20on%20what%20to%20do%20and%20how%20to%20make%20this%20script%20into%20a%20service.%20I%20read%20somwhere%20that%20yocto%20can%20be%20used%20to%20customize%20the%20linux%20in%20the%20board%20but%20I'm%20very%20clueless%20and%20idk%20where%20to%20start.%20Please%20help%20%3A')%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2371849%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20with%20NXP%20S32G-VNP-RDB2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2371849%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263145%22%20target%3D%22_blank%22%3E%40lengoyeko%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3EMay%20I%20know%20if%20it%20is%20possible%20for%20you%20to%20work%20with%20a%20more%20recent%20BSP%20version%20like%20BSP42%20or%20insist%20using%20BSP39%20as%20mentioned%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20just%20had%20done%20a%20quick%20test%20on%20the%20BSP42(since%20it%20is%20ready%20for%20test)%20based%20on%20RDB3%2C%20and%20suggest%20implementing%20your%20service%20based%20on%20systemd%2C%20my%20test%20seems%20working%20fine%20on%20this%20release.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E