How to make your own SD-bootable ROM/zh

From FriendlyELEC WiKi
Revision as of 09:08, 24 October 2019 by Wuweidong (Talk | contribs) (制作H5 平台的系统映像)

Jump to: navigation, search

English

1 制作RK3399平台的系统映像

请参考这个git仓库: https://github.com/friendlyarm/sd-fuse_rk3399

2 制作S5P4418平台的系统映像

请参考这个git仓库: https://github.com/friendlyarm/sd-fuse_s5p4418

Example:

mkdir test
cd test
git clone https://github.com/friendlyarm/sd-fuse_s5p4418
cd sd-fuse_s5p4418/
tar xzf /mnt/dvd/S5P4418/images-for-eflasher/friendlycore-images.tgz
tar xzf  /mnt/dvd/S5P4418/images-for-eflasher/emmc-flasher-images.tgz
tar xzf /mnt/dvd/S5P4418/rootfs/rootfs-friendlycore-20190718.tgz 
sed "s/\${BOARD}/XXYYZZ/g" friendlycore/rootfs/etc/rc.local -i
./build-rootfs-img.sh friendlycore/rootfs friendlycore/rootfs.img 
./mk-emmc-image.sh friendlycore
dd if=out/s5p4418-eflasher-friendlycore-20190730.img of=/dev/sdX bs=32M


上例中两个关键的命令:
./build-rootfs-img.sh friendlycore/rootfs friendlycore/rootfs.img
将 friendlycore/rootfs 目录制作成 rootfs.img

./mk-emmc-image.sh friendlycore
将friendlycore目录下的系统制作为 eflaher固件,会生成 out/s5p4418-eflasher-friendlycore-20190730.img,直接 dd 到卡里即可

3 制作S5P6818平台的系统映像

请参考这个git仓库: https://github.com/friendlyarm/sd-fuse_s5p6818

4 制作H3 平台的系统映像

请参考这个git仓库: https://github.com/friendlyarm/sd-fuse_h3

5 制作H5 平台的系统映像

请参考这个git仓库: https://github.com/friendlyarm/sd-fuse_h5