Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to change the kernel command line?

83

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
83

How to change the kernel command line?

Posted at 7/3/2017 03:15:54      View:4771 | Replies:2        Print      Only Author   [Copy Link] 1#
Currently, using the Ubuntu image, the kernel command line is:

  1. [    0.000000] Kernel command line: console=ttyFIQ0 root=/dev/mmcblk1p6 rw rootwait mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00008000@0x00006000(resource),0x0000A000@0x0000E000(kernel),0x00002000@0x00018000(backup),-@0x0001A000(boot) storagemedia=emmc uboot_logo=0x02000000@0x7dc00000 loader.timestamp=2017-04-25_15:10:21
Copy the code


How do I make changes to this?  There does not appear to be a "parameters" partition.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 7/3/2017 09:52:23        Only Author  2#
Reply

Use props Report

141

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
141
Posted at 4/2/2022 13:21:01        Only Author  3#
Under rv1126 Linux, in kernel DTS, I change like this:  
       chosen {
-               bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 ro root=PARTLABEL=rootfs rootfstype=ext4 rootwait overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 cgroup_enable=memory swapaccount=1 snd_aloop.index=7";
+               bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 ro root=PARTLABEL=rootfs rootfstype=ext4 rootwait overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 cgroup_enable=memory swapaccount=1 snd_aloop.index=7 loglevel=8";
        };

the logleve=8 is available after bootting, but it sound it does not works as expected
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list