I'm trying to upload signed uboot to closed device with uuu tool:
mx6_usb_work.conf:
/home/adrian/workspace/yocto-master/build/tmp/deploy/images/imx6dl/cst/u-boot/u-boot.imx:dcd
/home/adrian/workspace/yocto-master/build/tmp/deploy/images/imx6dl/cst/u-boot/u-boot-signed.imx:clear_dcd,jump header
But I still receive failed :
config file </opt/distro/3.0/sysroots/x86_64-sdk-linux/etc/imx-loader.d//mx6_usb_work.conf>
parse /opt/distro/3.0/sysroots/x86_64-sdk-linux/etc/imx-loader.d//mx6_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0061
Interface 0 claimed
HAB security state: production mode (0x12343412)
== work item
filename /home/adrian/workspace/yocto-master/build/tmp/deploy/images/imx6dl/cst/u-boot/u-boot.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 0
jump_addr 0x00000000
== end work item
loading DCD table @0x910000
<<<792, 792 bytes>>>
succeeded (security 0x12343412, status 0x128a8a12)
clear dcd_ptr=0x11ffb02c
HAB security state: production mode (0x12343412)
== work item
filename /home/adrian/workspace/yocto-master/build/tmp/deploy/images/imx6dl/cst/u-boot/u-boot-signed-pad.imx
load_size 0 bytes
load_addr 0x00000000
dcd 0
clear_dcd 1
plug 0
jump_mode 3
jump_addr 0x00000000
== end work item
clear dcd_ptr=0x11ffb02c
loading binary file(/home/adrian/workspace/yocto-master/build/tmp/deploy/images/imx6dl/cst/u-boot/u-boot-signed-pad.imx) to 11ffb000, skip=0, fsize=54000 type=aa
<<<344064, 344064 bytes>>>
succeeded (security 0x12343412, status 0x88888888)
jumping to 0x11ffb000
failed (security 0x12343412, status 0x3318c000)
I found in uuu documentation that for Imx6dl it's required to remove DCD address:
So because of that I added clear_dcd,jump header in mx6_usb_work.conf, I also tried manually remove the address from signed image but nothing changes.
Update:
Is it normal that dcd address is removed at all? I thought that the script removes this address only for signing but then it save it again. When I'm reading memory with jtag I can see that address is removed:
My image