Hi,
Using dfu-util i was able to flash bootloader(tiboot3.bin -> sysfw.itb -> tispl.bin -> u-boot.img)
but couldn't able to flash rootfs. Could you please tell me how.
Thanks in advance.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Using dfu-util i was able to flash bootloader(tiboot3.bin -> sysfw.itb -> tispl.bin -> u-boot.img)
but couldn't able to flash rootfs. Could you please tell me how.
Thanks in advance.
Hi Sankar,
As per the offline discussion you were not able to get the rootfs under "dfu util -l".
I tried to boot in dfu boot mode and set the dfu_alt_info to dfu_alt_info_emmc. I was able to see the rootfs interface.
Can you elaborate on the problem here?
Regards,
Karan
i am able to flash rootfs in emmc using dfu. we can close this ticket, thanks.
Hi Sankar,
Thanks for the update.
For the forums benefit please post the steps for the same, I will close the thread post that.
Regards,
Karan
Flashing images to eMMC using DFU:
come to u-boot command shell and execute following command
U-Boot # setenv dfu_alt_info ${dfu_alt_info_mmc}
U-Boot # dfu 0 mmc 0
From host PC DFU will be detected and execute following command
$ sudo dfu-util -l
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to sourceforge.net/.../
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=6, name="sysfw.itb.raw", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=5, name="u-env.raw", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=4, name="u-boot.img.raw", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=3, name="tispl.bin.raw", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=2, name="tiboot3.bin.raw", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=1, name="rootfs", serial="0000000000000072"
Found DFU: [0451:6163] ver=0224, devnum=75, cfg=1, intf=0, path="1-1", alt=0, name="rawemmc", serial="0000000000000072"
Flash the image to eMMC using DFU
$ sudo dfu-util -c 1 -i 0 -a 2 -D tiboot3.bin
$ sudo dfu-util -c 1 -i 0 -a 6 -D sysfw.itb
$ sudo dfu-util -c 1 -i 0 -a 3 -D tispl.bin
$ sudo dfu-util -c 1 -i 0 -a 4 -D u-boot.img
$ sudo dfu-util -c 1 -i 0 -a 1 -D rootfs.ext4
We have good info on software-dl.ti.com/.../Foundational_Components_U-Boot.html
Refer Section 3.1.1.6.3