板子使用的是imx6-saberSD
按照mfgtool下的文档Manufacturing Tool V2 Linux or Android Firmware Development Guide V2
来编译mfgtool使用的kernel
一开始是直接使用的imx6_updater_defconfig来生成uimage的,但是编译的时候出现了错误:
undefined reference to `switch_dev_register'
我很奇怪,为什么这里会出现这样的错误??官方给的配置文件一般都能正常编译通过的才对啊
随即我使能了switch class driver模块,uimage就成功编译了,然后将其放在mfgtool目录OS Firmware下
然后使用mfgtool重新下载os,但是此时出现了错误
mfgtool卡在了access boot partition 1
console信息:
UTP: executing "dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16"
16+0 records in
16+0 records out
8192 bytes (8.0KB) copied, 0.003240 seconds, 2.4MB/s
UTP: sending Success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16.
utp_poll: pass returned.
UTP: received command '$ echo 1 >mmc0: DO NOT switch the partitions that used to be
accessed in OS layer HERE. please following the
/sys/devices/platform/sdhci-esdh guidance of Documentation/mmc/mmc-dev-parts.txt.
c-imx.3/mmc_host/mmc0/mmc0:0001/boot_config'
UTP: executing "echo 1 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config"
sh: write error: Invalid argument
UTP: sending Non-success to kernel for command $ echo 1 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config.
utp_poll: exit with status 256 |