NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set kernel boot parametes?

Solved!
Go to solution

Hi, I want to set a kernel parameter (mem), for testing reasons. (I want to limit the physical memory avaliable)

 

I know the general procedure for normal Linux Distros, but I havent been able to get the NI Linux to take my kernel parametes.

 

 

---------------------------------------------------

Projektingenieur
Restbust, Simulations and HiL development
Custom Device Developer
0 Kudos
Message 1 of 3
(1,883 Views)
Solution
Accepted by ypi

On 64-bit x86 targets you can add additional kernel parameters by editing the otherbootargs variable in /boot/runmode/bootimage.cfg.

 

On ARM/Zynq based targets (e.g. cRIO-906x) you can add additional parameters by setting the othbootargs variable using fw_setenv othbootargs ...

0 Kudos
Message 2 of 3
(1,852 Views)

Thanks 🙂 that worked

---------------------------------------------------

Projektingenieur
Restbust, Simulations and HiL development
Custom Device Developer
0 Kudos
Message 3 of 3
(1,821 Views)