Hello everyone.
I have been trying to perform this task for several days:
Target:
I want to set the SerDes protocol with the value 4555h according to the table shown in the document QorIQ LS1043A Reference Manual, Rev. 6, 07/2020 (Pag. 1916)
Problem:
To generate the boot I am using flex-builder, in particular flexbuild_lsdk1712. I saw from the documentation Layerscape Software Development Kit 17.12 Documentation, Rev. 0, 02/201 that it is possible to make the file firmware_ls1043ardb_uboot_sdboot.img with the following command: flex-builder -i mkfw -m ls1043ardb -b sd -B uboot.
I do this because I need to generate the boot from SD with U-Boot 2017 on it.
I have replace the old RCW with the new one in the file ls1043ardb_rcw_sd.cfg.
So inside the ls1043ardb_rcw_sd.cfg file there must be this:
#PBL preamble and RCW header
aa55aa55 01ee0100
# RCW
06100010 0a000000 00000000 00000000
45550002 80404012 60040000 c1002000
00000000 00000000 00000000 00038800
00000000 00001100 00000096 00000001unfortunately with this modification the boot from the sd does not start me.
Question:
The RCW is correct for performing SerDes protocol with the value 4555h ?
Change RCW using the following path in u-boot source folder in LSDK 1712:
/LSDK1712/flexbuild/packages/firmware/u-boot/board/freescale/ls1043ardb
Use the following command for building new image of u-boot:
flex-builder -c uboot -m ls1043ardb -b s
See the Section 33.1.1.2 of the LS1043a Reference Manual about RCW setting for SerDes: