Difference between revisions of "Template:RockchipMiscCustome"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
Line 1: Line 1:
===Configuring kernel command line parameters===
+
==Configuring kernel command line parameters==
====eMMC Boot====
+
===eMMC Boot===
 
Here are the steps:<br />
 
Here are the steps:<br />
 
Make an eflahser bootable SD card (use the firmware file starting with rk3xxxx-eflasher-), <br />
 
Make an eflahser bootable SD card (use the firmware file starting with rk3xxxx-eflasher-), <br />
 
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,<br />
 
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,<br />
 
Then boot from the SD card and burn the system to the eMMC.
 
Then boot from the SD card and burn the system to the eMMC.
====SD Boot====
+
===SD Boot===
 
To modify the command line parameters of the SD card, you need to repackage the SD card image file, <br />
 
To modify the command line parameters of the SD card, you need to repackage the SD card image file, <br />
 
you can use the sd-fuse script we provide to assist packaging, here take rk3568 as an example, <br />
 
you can use the sd-fuse script we provide to assist packaging, here take rk3568 as an example, <br />

Revision as of 06:26, 11 April 2023

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