Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Android] Modifying Kernel Command Line on Android12.0

19

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
19

【Android】 Modifying Kernel Command Line on Android12.0

Posted at 12/6/2022 02:08:14      View:1523 | Replies:1        Print      Only Author   [Copy Link] 1#
  • Type: Self-Compiled Firmware
  • SDK Package Name: Android12.0 (Linux v5.10)
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: No modifications
  • Log: dmesg-cmdline.zip
Problem description and steps to reproduce:
Hello everyone!

I would like to modify kernel command line (i.e. parameter) on ROC-RK3588S-PC running Android12.0 (Linux v5.10).
I have tried adding CONFIG_CMDLINE in its config file, but it unfortunately doesn't work

Could anyone give me some directions on how I should modify the command line? (perhaps thorugh bootloader?)
FYI, I have self-compiled Android12.0 SDK provided by Firefly without making any modifications.

Any help would be appreciated!

dmesg-cmdline.zip

537 Bytes, Down times: 3

Reply

Use props Report

206

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
206
Posted at 12/6/2022 15:22:41        Only Author  2#
If you want to add the content of command line, you could try to add it here

./kernel-5.10/arch/arm64/boot/dts/rockchip/rk3588-android.dtsi
chosen: chosen {
                bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0";
};





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