Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:configurations:user-config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
products:sbc:vim4:configurations:user-config [2022/08/11 00:03]
nick [Add User Configuration]
products:sbc:vim4:configurations:user-config [2022/08/11 03:56]
hyphop [How-to customize linux kernel bootargs]
Line 1: Line 1:
-====== VIM4 User Config ======+====== VIM4 kernel bootargs user config ======
  
 ===== Introduction ===== ===== Introduction =====
  
-This page mainly introduces add user bootargs under Ubuntu.+This page mainly introduces how-to user can customize linux kernel bootargs under Ubuntu.
  
-===== Add User Configuration =====+===== How-to customize linux kernel bootargs =====
  
 You can edit file ''/boot/uEnv.txt'' to add the user bootargs. You can edit file ''/boot/uEnv.txt'' to add the user bootargs.
Line 25: Line 25:
 You can append your bootargs to node ''boot_user_args=''. You can append your bootargs to node ''boot_user_args=''.
  
-e.g. Add bootargs ''cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0'', the node ''boot_user_args='' should be as below:+e.g. Add bootargs ''cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0'', the variable ''boot_user_args='' should be as below:
  
 ```shell ```shell
Line 39: Line 39:
 Save the file and reboot to take effect. Save the file and reboot to take effect.
 </WRAP> </WRAP>
 +
 +===== How-to check linux kernel bootargs =====
 +
 +After reboot system, we can check current linux kernel bootargs
 +
 +```shell
 +$ cat /proc/cmdline
 +```
  
Last modified: 2022/09/28 08:45 by nick