Hi Yuri,
Thanks for your prompt response.
Unfortunately, it still can't work after I used same offset address that in the "ucl2.xml" file to program the "u-boot.imx".
************
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk%mmc%boot0 bs=512 seek=2">write U-Boot to sd card</CMD>
************
I pasted steps that I carried out as below, you can see the date of the u-boot is still same.
Could you please help to check it?? Thanks.
====================================================
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+ga57b13b (May 10 2017 - 05:47:44 -0500)
CPU: Freescale i.MX6DL rev1.1 at 792MHz
CPU: Commercial temperature grade (0C to 95C) at 47C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc2(part 0) is current device
Net: FEC [PRIME]
Warning: FEC MAC addresses don't match:
Address in SROM is 00:04:9f:02:68:a8
Address in environment is 00:01:02:03:04:05
Normal Boot
Hit any key to stop autoboot: 0
=> dhcp
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 43
*** Unhandled DHCP Option in OFFER/ACK: 43
DHCP client bound to address 172.26.130.149 (11 ms)
*** Warning: no boot file name; using 'AC1A8295.img'
Using FEC device
TFTP from server 172.26.130.105; our IP address is 172.26.130.149
Filename 'AC1A8295.img'.
Load address: 0x12000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
=> <INTERRUPT>
=>
=> tftpboot ${loadaddr} u-boot.imx
Using FEC device
TFTP from server 172.26.130.105; our IP address is 172.26.130.149
Filename 'u-boot.imx'.
Load address: 0x12000000
Loading: #################################################################
#############################
961.9 KiB/s
done
Bytes transferred = 478208 (74c00 hex)
=> <INTERRUPT>
=>
=> mmc list
FSL_SDHC: 0
FSL_SDHC: 1
FSL_SDHC: 2 (eMMC)
=> <INTERRUPT>
=>
=> mmc dev 2:0
switch to partitions #0, OK
mmc2(part 0) is current device
=> <INTERRUPT>
=>
=> mmc write ${loadaddr} 0x2 0x3A6
MMC write: dev # 2, block # 2, count 934 ... 934 blocks written: OK
=> <INTERRUPT>
=>
=>
=>
=>
=>
=>
=>
=>
=> reset
resetting ...
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+ga57b13b (May 10 2017 - 05:47:44 -0500)
CPU: Freescale i.MX6DL rev1.1 at 792MHz
CPU: Commercial temperature grade (0C to 95C) at 48C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc2(part 0) is current device
Net: FEC [PRIME]
Warning: FEC MAC addresses don't match:
Address in SROM is 00:04:9f:02:68:a8
Address in environment is 00:01:02:03:04:05
Normal Boot
Hit any key to stop autoboot: 0
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=>
====================================================
Regards,
Chris.