From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giulio Benetti Date: Wed, 7 Apr 2021 21:16:32 +0200 Subject: imxrt1020 EVK u-boot doesn't run. In-Reply-To: <11ABEB28-2277-4969-AAD7-006B00B0FA48@benettiengineering.com> References: <11ABEB28-2277-4969-AAD7-006B00B0FA48@benettiengineering.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Nicolas, This patchset includes the fix for i.MXRT1020: https://patchwork.ozlabs.org/project/uboot/list/?series=237909 Best regards -- Giulio Benetti Benetti Engineering sas On 4/5/21 5:07 PM, Giulio Benetti wrote: > Hi Nicolas, > >> Il giorno 5 apr 2021, alle ore 16:34, Nicol?s Muratore ha scritto: >> >> ? >> Hi Giulio, hope this email finds you well, many thanks for your support. >> >> After the modification that you proposed, the result was the following: >> >> >> yes it's the same message. > > Ok, well, > >> >> Please let me know when you have finished the timer driver. >> > > I need some time, I?ve created other patches but > there is still something to be fixed. I?m close but > I need some other time. I?m going to send patches > soon. > >> Many thanks. > > You?re welcome > > Best regards > Giulio > >> >>> El dom, 4 abr 2021 a las 15:51, Giulio Benetti () escribi?: >>> Hi Nicolas, >>> >>> On 4/4/21 7:56 PM, Giulio Benetti wrote: >>>>>> Would you have any idea what is going on? >>>> >>>> I've just entered debugging and two things came out: >>>> 1) in board/freescale/imxrt-1020-evk/imxrt1020-evk.c when calling >>>> spl_dram_init() there is some printf() inside that gets called, but that >>>> happens before calling preloader_console_init() that set serial up, so >>>> this is the reason why there is no output at all. >>> >>> Can you please try to apply this patch [1] to check if uart starts to >>> work and giving you this message [2]? >>> >>> [1]: >>> https://patchwork.ozlabs.org/project/uboot/patch/20210404182135.1243077-1-giulio.benetti at benettiengineering.com/ >>> [2]: ``` >>> U-Boot SPL 2021.04-rc5-00518-ga0da06d2f8-dirty (Apr 04 2021 - 19:49:47 >>> +0200) >>> Could not initialize timer (err -19) >>> ``` >>> >>> Thank you >>> -- >>> Giulio Benetti >>> Benetti Engineering sas >>> >>>> 2) I've completely ignored(wrongly) having a timer and at that time >>>> u-boot allowed it getting a tick-count always at 0, so every delay >>>> called return immediatly with 0. This is not possible anymore and I need >>>> to finish writing gpt-timer driver I was writing. >>>> >>>> So please let me finish that gpt-driver timer and I'll send patches to >>>> fix imxrt1020/50-evk. >>>> >>>>>> I really appreciate your help, sorry to bother you, but I'm breaking my >>>>>> mind thinking why this doesn't run on my EVK. >>>>>> >>>>>> Many thanks. >>>> >>>> Best regards >>>> and happy easter! :-) >>>> >>>