mfg烧写uboot问题

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

mfg烧写uboot问题

Jump to solution
1,804 Views
chenli_2016
Contributor II

各位飞思卡尔的工程师:

     你们好!

     

     我这边在使用android5.1版本的mfg烧写工具烧写镜像文件之后,使用android4.3版本的mfg烧写工具烧写之前旧版本的镜像文件时uboot没法烧写进去。

     android5.1版本的mfg烧写工具烧写的uboot是2015版本的,在使用android4.3版本的mfg烧写工具烧写2009版本的uboot,烧写成功后启动的还是2015的uboot,导致无法正确引导内核

     请问如何在烧写了2015版本的uboot之后,如何烧写旧版本的2009 版uboot

Tags (1)
0 Kudos
Reply
1 Solution
1,611 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi li chen,

你这里按照原来的方法和步骤就是可以的,应该不会出现什么问题。你这里内核无法启动,是不是你u-boot中的boot command没有设置正确。你检查一下。有问题我们再沟通。

Have a nice day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
3 Replies
1,612 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi li chen,

你这里按照原来的方法和步骤就是可以的,应该不会出现什么问题。你这里内核无法启动,是不是你u-boot中的boot command没有设置正确。你检查一下。有问题我们再沟通。

Have a nice day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,611 Views
chenli_2016
Contributor II

谢谢Dan

已经搞定了,修改了ucl2.xml文件

修改前:

<CMD state="Updater" type="push" body="$ echo 1 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config">access boot partition 1</CMD>

<CMD state="Updater" type="push" body="send" file="files/android/u-boot-6q.bin">Sending U-Boot</CMD>

<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>

<CMD state="Updater" type="push" body="$ echo 8 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config">access user partition and enable boot partion 1 to boot</CMD>

修改后:

<CMD state="Updater" type="push" body="$ echo 0 > /sys/block/mmcblk0boot0/force_ro">access boot partition 1</CMD>

<CMD state="Updater" type="push" body="send" file="files/android/u-boot.bin">Sending U-Boot</CMD>

<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0boot0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>

<CMD state="Updater" type="push" body="$ echo 8 > /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config">access user partition and enable boot partion 1 to boot</CMD>

以上两个步骤做完,用修改过的mfg重新烧写android 4.3版本,启动的uboot

变回2009版本,并且可以正确引导系统启动

0 Kudos
Reply
1,611 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi chen,

I am very glad your problem solved:smileyhappy:. If you have new questions you can create new threads in our community.

Have a nice day

Dan

0 Kudos
Reply