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:02]
nick
products:sbc:vim4:configurations:user-config [2022/08/11 03:55]
hyphop
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 23: Line 23:
 ``` ```
  
-You can append your bootargs to node ''boot_user_args='', please make sure the bootargs are spilt with space.+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 node ''boot_user_args='' should be as below:
Line 30: Line 30:
 boot_user_args=cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0 boot_user_args=cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0
 ``` ```
 +
 +<WRAP important >
 +Please make sure the bootargs are spilt with space and don't add quotation marks.
 +</WRAP>
 +
  
 <WRAP info > <WRAP info >
 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