imx6s boot emmc0 or emmc1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6s boot emmc0 or emmc1

Jump to solution
569 Views
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 Kudos
1 Solution
476 Views
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.

View solution in original post

0 Kudos
1 Reply
477 Views
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 Kudos