AnsweredAssumed Answered

Issues about downloading U-Boot.imx on MX6DL

Question asked by tony.l.cai on Jul 19, 2015
Latest reply on Jul 21, 2015 by jimmychan

Hi, all

     In our customized board, we used the  uboot.bin in android 4.2 and it could work. and now,we porting Android 5.0, referring to the android users guide.pdf, that it was required to download the uboot.imx, but it didnt work(no uart log was printed) by the same ucl2.xml config, So we need to change the config? and ucl2.xml is following:


<LIST name="Android-SabreSD-eMMC" desc="Choose eMMC as media">

    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6dl-sabresd.bin" >Loading U-boot</CMD>

    <CMD state="BootStrap" type="load" file="hh_em07_mfg/uImage" address="0x10800000"

        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>

    <CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"

        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Initramfs.</CMD>

    <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>



  <CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16">clean up u-boot parameter</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.imx">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 1 > /sys/block/mmcblk0boot0/force_ro"> re-enable read-only access</CMD>



  <CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>



so help, 3Q~