Firefly Open Source Community

Title: How to change the kernel command line? [Print This Page]

Author: crashoverride    Time: 7/3/2017 03:15
Title: How to change the kernel command line?
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.
Author: isle    Time: 7/3/2017 09:52
extra your full image :
http://wiki.t-firefly.com/index. ... en#Extract_Firmware
Author: bzhao    Time: 4/2/2022 13:21
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




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1