SuperIC社区_

标题: 9380 烧写mboot到空片后升级问题 [打印本页]

作者: icezhou    时间: 2017-2-14 14:07
标题: 9380 烧写mboot到空片后升级问题
        目前测试到一个问题,对应9380的EMMC空片或者mmc erase命令后的EMMC,烧写对应的MBOOT文件后,执行custar进行u盘升级,会出现下面的错误导致u盘升级退出,重启后进行U盘升级依旧会报这个错误。>> mmc erase.p misc
** Bad Signature on 0:3: expected 0x5840, got 0x0000ERR:invalid parameter, please check partiton name![ERROR] do_ustar:486: Error> cmd: mmc erase.p misc Fail !![ERROR] do_custar:604: Upgrade Application error!
       通过对比mstar提供的公版升级文件发现我们的升级文件没有将images\lollipop\ponkan\scripts下的set_partition中的命令包含进去,导致空片的时候没有创建对应分区,所以擦写不成功。
      执行make_usb_upgrade.sh脚本发现在Full Upgrade?选择Y就会包含set_partition,但是选择N就不会包含set_partition。
      检查make_usb_upgrade.sh脚本代码发现选择N走else流程时没有将set_partition添加到脚本里面,所以修改添加了下面红色的3行代码,保存选择N的时候也将set_partition添加进脚本。
fullUpgrade=$1    if [ "$fullUpgrade" == "Y" ]  || [ "$fullUpgrade" == "y" ] ; then        mainScript=$(grep -Ev "^$|#|%" $AUTO_UPDATE_SCRIPT)    else        #confirm each image is upgrade or not.        mainScript=""        tmp2=""        #pad set_partition to usb script        tmpScript=$(grep "set_partition" $AUTO_UPDATE_SCRIPT)        mainScript=$mainScript$tmpScript$tmp2        tmpScript=$(grep "^mstar" $AUTO_UPDATE_SCRIPT | grep "\[\[")        for mainContent in $tmpScript        do            imageName=$(echo $mainContent | awk '{print $2}' | cut -d '/' -f 2)            read -p "Upgrade $imageName? (y/N)" temp            if [ "$temp" == "Y" ] || [ "$temp" == "y" ]; then                mainScript=$mainScript$mainContent$tmp2            fi        done        #pad set_config to usb script        tmpScript=$(grep "set_config" $AUTO_UPDATE_SCRIPT)        mainScript=$mainScript$tmpScript    fi

作者: sara    时间: 2017-2-17 14:48
谢谢分享
作者: tjiely    时间: 2017-3-12 13:03
烧录9380的MBOOT需要哪个版本的ISP工具
作者: lailiuming    时间: 2017-3-13 11:50

作者: halleyhuang    时间: 2017-3-13 11:57
tjiely 发表于 2017-3-12 13:03
烧录9380的MBOOT需要哪个版本的ISP工具

烧录EMMC应该不是ISP TOOL,有mstar专门的Programer,要看具体配置了
作者: icezhou    时间: 2017-3-13 13:57
关于9380烧录请查看帖子“MSO9380烧录 mboot的方法”
作者: tjiely    时间: 2017-3-25 00:15
能提供下相关的工具和文件不

作者: qixingzhige    时间: 2017-3-28 16:25
谢谢分享
作者: Extimos    时间: 2019-3-18 19:32

作者: Extimos    时间: 2019-3-18 19:33

作者: zjhdasem    时间: 2022-5-19 17:56
需要用最新的isp
作者: Glendamom    时间: 2022-6-3 15:06
标题: -
It agree, this brilliant idea is necessary just by the way
作者: Glendamom    时间: 2022-6-4 06:18
标题: -
I am sorry, it does not approach me. There are other variants?
作者: Glendamom    时间: 2022-6-22 17:26
标题: -
Remarkable question




欢迎光临 SuperIC社区_ (/) Powered by Discuz! X3.3