Hello *,
I have a IMX53 board, with a bootloader, kernel etc that can start form SDCARD.
Now I would like to use MFGTOOL, but trying the u-boot/kernel inside the pacakges (1.6.2.42), i get some error, and on my UART1 don't see anything.
I I would simply load u-boot on ram and execute it, this code is right?
<LIST name="NAND2" desc="NAND: U-Boot, Linux, ROOTFS">
<CMD type="boot" body="BootStrap" file ="u-boot-noh.bin" >Read from DDR script from U-Boot to init DDR Memory.</CMD>
<CMD type="jump" > Jumping to OS image. </CMD>
</LIST>
Tipically I write on SD card the u-boot.bin with:
dd if=u-boot.bin of=/dev/SDCARDDEV bs=512 skip=2 seek=2
now for generating the u-boot-noh.bin (used in MFGTOOL), I do:
dd if=u-boot.bin of=u-boot-noh.bin bs=512 skip=2
If i use it on SDCARD I see the console on UART1, using in MFGTOOL I don't see anything on UART1.
What I need to do for starting a simple u-boot.bin from USB?
Regards
Hi Cristian
for MFG Tool file should be with ivt header, but without offset,
one can try next option:
<LIST name="MX53LOCO-SD" desc="Choose SD as media">
<!--
The method to enter serial download mode on MX53 LOCO boards:
Don't insert Micro SD card firstly. Press Power key to power on the board.
After MFG tool finds USB-device, insert Micro SD card
-->
<CMD type="find" body="BootStrap" timeout="60"/>
<CMD type="init" body="Memory" file ="MX53_DDR.xml" />
<CMD type="load" file="u-boot-noh.bin" address="0x......." loadSection="OTH" setSection="APP" HasFlashHeader="TRUE" >Loading RAM kernel.</CMD>
<CMD type="jump" >Jumping to RAM kernel.</CMD>
</LIST>
change address "0x......." to value used for loading uboot in your board and change MX53_DDR.xml
(it is for QuickStart board) with board ddr init sequence. Put modified fies and MX53_DDR.xml to folder
Mfgtools..\Profiles\MX53 Linux Update\OS Firmware
Best regards
igor
Hi Cristian,
Maybe you can use the procedure I wrote for the imx6sl warp board:
Regards,
Fabio Estevam
Hi Fabio Estevam
I followed your > Provide instructions on how to upgrade U-boot in the eMMC. steps want to upgrade my warp board.
But, when I following below steps
> +Then U-boot should start and its messages will appear in the console program.
> + > +Use the default environment variables:
>+ >
+=> env default -f -a >
+=> save
It comes out
=> save Saving Environment to MMC... MMC Device 1 not found No MMC card found
And I following below steps
+Run the DFU command:
+=> dfu 0 mmc 0
It comes out
=> dfu 0 mmc 0 Unknown command 'dfu' - try 'help'
Please help me to resolve it.
Thanks
Nex Chang