imx6s boot emmc0 or emmc1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6s boot emmc0 or emmc1

跳至解决方案
784 次查看
huangpeter
Contributor II

问题1:imx6s 能否挂载两个emmc,通过boot  i/o 设置分别启动。比如从第一个emmc0 启动 u-boot0(放在emmc0)或者 从第二个emmc1 启动u-boot1(放在emmc1)。

问题2:能否改烧写工具mfgtools同时更新两个emmc0~1内的 u-boot kernel rootfs.tar.gz文件。

问题3:mfgtools 工具在烧写系统的时候mkscard.sh 脚本添加扩展系统分区命令的时候会报错。Mfgtools-Rel-4.0.0_IMX6DL_20180313_4.1.15

  

dd if=/dev/zero of=${node} bs=1024 count=1

sfdisk --force -uM ${node} << EOF
${BOOT_ROM_SIZE},${SYSTEM_ROM_SIZE},0c
${system_rom_start},${SYSTEM2_ROM_SIZE},0c
${system_rom2_start},${SYSTEM_FILE_SIZE},83
${system_file_start},,E (报错)
,${SYSTEM_FILE2_SIZE},83
EOF

0 项奖励
回复
1 解答
691 次查看
jimmychan
NXP TechSupport
NXP TechSupport

1) Yes, you can.

2) Yes, you can.

3) You can manually test the command in fdisk first. Then write the same sequence to the script.

在原帖中查看解决方案

0 项奖励
回复
1 回复
692 次查看
jimmychan
NXP TechSupport
NXP TechSupport

1) Yes, you can.

2) Yes, you can.

3) You can manually test the command in fdisk first. Then write the same sequence to the script.

0 项奖励
回复