How to embed u-boot-2015.04 for imx6q

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

How to embed u-boot-2015.04 for imx6q

1,208 Views
fulinux
Contributor IV

hello,

i want to embed u-boot-2015.04 for  imx6q, our board runs ok with L3.0.35_4.1.0_130816 u-boot-2009.08。

what should i do?

The following is right?

i add "#define CONFIG_SPL" in include/configs/mx6sabresd.h,then

make mx6qsabresd_defconfig

or

make mx6sabresd_spl_defconfig

and how to download?

i modified E:\Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER_pinao\Profiles\MX6Q Linux Update\OS Firmware\ucl2.xml:

<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/tasco/u-boot-spl.bin">Sending U-Boot-Spl</CMD>

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

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

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

it's doesn't work, can you help me?

Labels (2)
0 Kudos
6 Replies

611 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chen

first please run ddr test for new board (or reuse values

from working dcd header for u-boot-2009.08)

and enter new values to *.cfg file in uboot/../board/freescale/mx6sabresd.

Then rebuild uboot, I think it is not necessary to define CONFIG_SPL.

For programming Use MFG Tools for approprieate BSP, for example

Programmers (Flash, etc.) (9)

IMX6_L3.14.52_MFG_TOOL (REV L3.14.52_1.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

611 Views
fulinux
Contributor IV

uboot-imx.git - Freescale i.MX u-boot Tree Dose this u-boot version for imx6q need spl or not?

0 Kudos

611 Views
igorpadykov
NXP Employee
NXP Employee

spl usage is optional.

0 Kudos

611 Views
fulinux
Contributor IV

without spl u-boot-2015.04 can copy itself to sdram, our board like public board, because of we do nothing with u-boot-2009.08, u-boot-2009.08 do works ok.

so what should i do for u-boot-2015.04

0 Kudos

611 Views
fulinux
Contributor IV

ps:

u-boot-2009.08:

make mx6q_sabresd_config

u-boot-2015.04:

make mx6sabresd_spl_defconfig

right ?

tks.

0 Kudos

611 Views
fulinux
Contributor IV

Hi,

    Thank you for your reply!

    how to run ddr test, it's a tool? where to download? and how can i get dcd header from u-boot-2009.08?

0 Kudos