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)
What have I done:
I performed a custom boot (with Flex-Builder) in which i changed the parameter value of SRDS_PRTCL_S1. The procedure I followed, for creating a custom boot from SD is well described and can be found in the following link:Procedure to disable CPU.
In order to change the Serdes protocol, In the file rcw_1600_sdboot.rcw, i changed the SRDS_PRTCL_S1 parameter with the following value SRDS_PRTCL_S1=17749. This is because the value 4555h in decimal corresponds to 17749 in decimal.
#include <../ls1043aqds/ls1043a.rcwi>
SYS_PLL_RAT=4
MEM_PLL_RAT=16
CGA_PLL1_RAT=16
CGA_PLL2_RAT=10
SRDS_PRTCL_S1=17749
FM1_MAC_RAT=1
SRDS_PLL_REF_CLK_SEL_S1=2
SRDS_DIV_PEX=1
DDR_FDBK_MULT=2
DDR_REFCLK_SEL=1
PBI_src=6
IFC_MODE=64
HWA_CGA_M1_CLK_SEL=6
DRAM_LAT=1
SYS_PLL_SPD=1
UART_BASE=7
IRQ_OUT=1
TVDD_VSEL=0
DVDD_VSEL=2
EVDD_VSEL=2
IIC2_EXT=0
SYSCLK_FREQ=600
HWA_CGA_M2_CLK_SEL=1
BOOT_HO=0
.pbi
write 0xee0094, 0x0000000e
.end
#include <../ls1043aqds/atf_address.rcw>
#include <../ls1043aqds/cci_barrier_disable.rcw>
#include <../ls1043aqds/a009929.rcw>
#include <../ls1043aqds/usb_phy_freq.rcw>
Problem:
If I generate the boot with the SerDes modified by me, the boot does not start (I don't see U-Boot), while if I leave the default value the boot starts normally and shows me U-Boot.
Question:
Why does this happen?
Because if I boot with the SerDes modified by me the board does not start, while with the default SerDes it starts quietly.
What's wrong?
Thank you very much for your availability.
Below you will find the link to download the file rcw_1600_sdboot.rcw and firmware_ls1043ardb_sdboot.img .img & rcw