AnsweredAssumed Answered

Mfgtool image build

Question asked by victor Wang on Jul 25, 2018
Latest reply on Sep 28, 2018 by jimmychan

Hi Community,

 

I'm working on i.MX6 DL sabresd and building Android 6 with android-6.0.1_r22 source code.

 

According to my hardware design, It has no PMIC on it.

 

I assume that I should not only modify the driver in source code but also build a new Mfgtool for my platform that do not have PMIC.

 

In my other Mfgtool that using on the platform which has PMIC will do burning with ucl2.xml

And below is what it does in the beginning.

<UCL>

<CFG>
<STATE name="BootStrap" dev="MX6D" vid="15A2" pid="0061"/>
<STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/>
<STATE name="Updater" dev="MSC" vid="066F" pid="37FF"/>
</CFG>
<LIST name="eMMC-Android" desc="Choose eMMC as media">
<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/u-boot-imx6q%plus%%board%_sd.imx" ifdev="MX6Q">Loading U-boot</CMD>
<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/u-boot-imx6dl%plus%%board%_sd.imx" ifdev="MX6D">Loading U-boot</CMD>

<CMD state="BootStrap" type="load" file="firmware/zImage" address="0x12000000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q MX6D">Loading Kernel.</CMD>


<CMD state="BootStrap" type="load" file="firmware/%initramfs%" address="0x12C00000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q MX6D">Loading Initramfs.</CMD>

<CMD state="BootStrap" type="load" file="firmware/zImage-imx6q-%board%%ldo%.dtb" address="0x18000000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6Q">Loading device tree.</CMD>
<CMD state="BootStrap" type="load" file="firmware/zImage-imx6dl-%board%%ldo%.dtb" address="0x18000000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6D">Loading device tree.</CMD>

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

Question:

  1. Did I need to build another image for Mfgtool? For example: firmware/u-boot-imx6dl%plus%%board%_sd.imx 、firmware/zImage 、 firmware/%initramfs% and firmware/zImage-imx6dl-%board%%ldo%.dtb.
  2. If yes where can I build it and how can I build it ?

Outcomes