Template:RockchipMiscCustome

From FriendlyELEC WiKi
Revision as of 05:29, 14 September 2022 by Tzs (Talk | contribs) (updated by API)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 Configuring kernel command line parameters

1.1 eMMC Boot

Here are the steps:
Make an eflahser bootable SD card (use the firmware file starting with rk3xxxx-eflasher-),
Insert the SD card into your computer, go to the SD card's OS-related directory, and edit the file parameter.txt, which is a text file containing command-line parameters,
Then boot from the SD card and burn the system to the eMMC.

1.2 SD Boot

To modify the command line parameters of the SD card, you need to repackage the SD card image file,
you can use the sd-fuse script we provide to assist packaging, here take rk3568 as an example,
other CPUs also have the corresponding sd-fuse repository, replace the word rk3568 with other cpu models:

git clone https://github.com/friendlyarm/sd-fuse_rk3568.git
cd sd-fuse_rk3568
wget --no-proxy http://112.124.9.243/dvdfiles/RK3568/images-for-eflasher/debian-buster-desktop-arm64-images.tgz
tar xvzf debian-buster-desktop-arm64-images.tgz
vim debian-buster-desktop-arm64/parameter.txt # Edit command-line parameters
./mk-sd-image.sh debian-buster-desktop-arm64  # Repackage sd image file