Mfgtool image build

cancel
Showing results for 
Search instead for 
Did you mean: 

Mfgtool image build

428 Views
wangvictor
Contributor III

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 ?
0 Kudos
1 Reply

88 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos