Hello Igor,
Thanks for your quick response.
I have tried dump-clocks.sh from the above link and output as below.
root@imx8mqevk:~# ./dump-clocks.sh | grep dram
dram_pll1_ref_sel --- 000000a2 1 1 25000000
dram_pll1_ref_div --- 00000025 1 1 25000000
dram_pll1 --- 00000041 1 1 2000000000
dram_pll2 --- 00000041 1 1 800000000
dram_pll1_out_div --- 00000025 1 1 66666667
dram_pll2_div --- 00000025 1 1 800000000
dram_pll1_out --- 000000a2 1 1 2000000000
dram_pll2_out --- 000000a2 1 1 800000000
dram_pll_out --- 00000024 1 1 800000000
dram_alt_src --- 000010a0 0 0 250000000
dram_core_clk --- 000010a0 1 1 800000000
dram_apb_src --- 000010a0 1 1 800000000
dram_alt_cg --- 00001024 0 0 250000000
dram_apb_cg --- 00001024 1 1 800000000
dram_alt_pre_div --- 00001025 0 0 250000000
dram_apb_pre_div --- 00001020 1 1 200000000
dram_alt_div --- 00001025 0 0 250000000
dram_apb_div --- 00001025 1 1 200000000
dram_alt_root --- 00000024 0 0 62500000
From, that output I am not able to verify LPDDR4 actual operating frequency.
1) There is another way to do the same?
2) Can you provide the information for iMX8MQ EVK board's LPDDR4 by default working on which operating frequency?
As I have updated RPA for 800 MHz frequency and generated ddr_init.c & ddrphy_train.c files which are replaced with existing one in u-boot and created new sd card image. But, by using that new sd card image EVK board doesn't boot-up and stuck after u-boot as below logs.
U-Boot SPL 2017.03-imx_v2017.03_4.9.51_imx8m_ga+g2537522 (Mar 19 2019 - 19:26:13)
PMIC: PFUZE100 ID=0x10
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC2
3) So, the procedure I have followed to change LPDDR4 operating frequency is correct? or I have done a mistake?
It is very helpful if you provide more information on these queries.
Best regards,
Nirmal