hello,
i am working on custom imx7dl board based on imx7 dual sabre board,
my custom board's
debug UART(UART1), SD card interface(SD1) are same so i flashed SD card with u-boot code of reference board but i can't see any logs in the UART terminal.
also i checked PMIC(PF3000) all the required voltages are going in to the SOC, and i probed CLK lines of SD interface i cant see any signal on this line.
kindly help me.
Any assistance with this issue would be much appreciated.
Hi Flaby
for new board it is necessary to run ddr test
i.MX6/7 DDR Stress Test Tool V3.00
and update uboot *.cfg file with new ddr calibration coefficients
mx7dsabresd\freescale\board - uboot-imx - i.MX U-Boot
Use Porting Guide from Linux documentation below for software changes
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov
thank you for your reply
i followed porting guide but i have not done DDR calibration, but if i am not wrong without DDR also some code will run in internal SRAM of soc and we will get some prints on UART right..?
because my boards debug UART(UART1), SD card interface(SD1) are exactly same as imx7d reference board so i compiled and flashed u-boot code in the SD card but i am not getting any logs in the UART.
Hi Flaby
> if i am not wrong without DDR also some code will run in internal SRAM of soc
>and we will get some prints on UART right..?
unfortunately not.
Best regards
igor
Hi igorpadykov,
thank you for your reply,
we got to know that DDR controller is initialized by DCD table from board.cfg file,we went through .cfg file to know about clock configuration of DDR, but we could not find any such configuration,
please help us to know how ddr clock for imx7 is configured..? or if it is configured by boot code from the internal boot ROM how we will get to know at which frequency ddr is running at..?
Thanks and Regards,
Flaby
Hi Flaby
for new questions please create new thread.
Best regards
igor
Hi igorpadykov
thank you for your reply,
if so can we modify existing u-boot code to get some print in early stage of booting ..?
or
if above is not possible can we toggle some led to verify u-boot is running at-least in internal SRAM..?
can you suggest us right place to do all these things so that we can verify that ROM boot-code is able to read image from SD card?
Thanks and Regards,
Flaby
Hi Flaby
you should modify uboot so it will fit to internal OCRAM
Best regards
igor
Hi igorpadykov
thank you for your reply,
Flaby
Hi Flaby
this relates to general uboot relocation questions and one can find answers on web
linux kernel - Understand U-Boot memory footprint - Stack Overflow
or post on uboot mail list U-Boot Info Page
Best regards
igor