Difference between revisions of "Template:RockchipMiscCustome/zh"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(No difference)

Revision as of 05:29, 14 September 2022

1 更改内核命令行参数

1.1 eMMC启动

步骤如下:
先做一张eflahser的烧写卡 (使用rk3xxxx-eflasher-开头的固件文件),
将烧写卡插入电脑,进入sd卡的OS相关目录,编辑文件parameter.txt, 这是个文本文件,里面有命令行参数,
然后再用烧写卡启动,把系统烧写进 eMMC。

1.2 SD启动

要修改SD卡启动时的命令行参数, 需要重新打包SD卡镜像文件, 可以使用我们提供的sd-fuse脚本来辅助打包,
这里以rk3568为例, 其他CPU也有相应的sd-fuse仓库, 将rk3568字样替换成其他cpu型号即可:

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 # 编辑命令行参数
./mk-sd-image.sh debian-buster-desktop-arm64  # 重新打包sd映象文件