Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-26 Thread Fabio Estevam
Hi Michael, On Tue, Mar 26, 2019 at 5:21 AM Michael Nazzareno Trimarchi wrote: > > Not sure why setting GPIO1_6 is causing the board to hang. > > Maybe you drain to much power ;) Yes, that was the issue. This issue can be avoided by powering the board via an externally powered USB hub. The

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-26 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 25, 2019 at 11:12 PM Fabio Estevam wrote: > > Hi Michael, > > On Mon, Mar 25, 2019 at 1:56 PM Fabio Estevam wrote: > > > U-Boot 2019.04-rc4-00047-gcfb3e102c4 (Mar 23 2019 - 10:45:10 -0300) > > > > CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) > > CPU: Commercial

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Fabio Estevam
Hi Michael, On Mon, Mar 25, 2019 at 1:56 PM Fabio Estevam wrote: > U-Boot 2019.04-rc4-00047-gcfb3e102c4 (Mar 23 2019 - 10:45:10 -0300) > > CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) > CPU: Commercial temperature grade (0C to 95C) at 40C > Reset cause: POR > Board: i.MX7D

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 25, 2019 at 5:56 PM Fabio Estevam wrote: > > Hi Michael, > > On Mon, Mar 25, 2019 at 1:51 PM Michael Nazzareno Trimarchi > wrote: > > > Let me summarize ;). Do you have any reset from the tool? does it > > sends everything > > using usb? Does SPL log appear and the stop? > > Here

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Fabio Estevam
Hi Michael, On Mon, Mar 25, 2019 at 1:51 PM Michael Nazzareno Trimarchi wrote: > Let me summarize ;). Do you have any reset from the tool? does it > sends everything > using usb? Does SPL log appear and the stop? Here is the way to send SPL and u-boot.img via imx usb loader: $ sudo ./imx_usb

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 25, 2019 at 5:48 PM Fabio Estevam wrote: > > Hi Michael, > > On Mon, Mar 25, 2019 at 1:38 PM Michael Nazzareno Trimarchi > wrote: > > > + /* Perform DDR DRAM calibration */ > > + udelay(100); > > + mmdc_do_write_level_calibration(_sysinfo); > > +

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Fabio Estevam
Hi Michael, On Mon, Mar 25, 2019 at 1:38 PM Michael Nazzareno Trimarchi wrote: > + /* Perform DDR DRAM calibration */ > + udelay(100); > + mmdc_do_write_level_calibration(_sysinfo); > + mmdc_do_dqs_calibration(_sysinfo); Thanks for the suggestion, but this is i.MX6

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 25, 2019 at 5:37 PM Fabio Estevam wrote: > > Hi Michael, > > On Mon, Mar 25, 2019 at 1:29 PM Michael Nazzareno Trimarchi > wrote: > > > Can you use ddr calibration instead of fixed value? Does this happen before > > migration to DT > > Yes, this happens before migration to DM. >

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Fabio Estevam
Hi Michael, On Mon, Mar 25, 2019 at 1:29 PM Michael Nazzareno Trimarchi wrote: > Can you use ddr calibration instead of fixed value? Does this happen before > migration to DT Yes, this happens before migration to DM. I am not sure how I can use DDR calibration instead of fixed value. Would

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 25, 2019 at 4:25 PM Fabio Estevam wrote: > > Hi Michael, > > On Sat, Mar 23, 2019 at 7:19 PM Michael Nazzareno Trimarchi > wrote: > > > Are you sure about memory calibration? > > I couldn't spot an issue with regards to memory initialization. > > The interesting thing is that the

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-25 Thread Fabio Estevam
Hi Michael, On Sat, Mar 23, 2019 at 7:19 PM Michael Nazzareno Trimarchi wrote: > Are you sure about memory calibration? I couldn't spot an issue with regards to memory initialization. The interesting thing is that the hang does not happen when booting from eMMC. I can only see it when booting

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-23 Thread Michael Nazzareno Trimarchi
Hi On Sat., 23 Mar. 2019, 11:16 pm Joris OFFOUGA, wrote: > Le sam. 23 mars 2019 à 14:53, Fabio Estevam a écrit : > > > Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") loading U-Boot > > via USB download mode causes the following hang: > > > > SDP: initialize... > > SDP: handle

Re: [U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-23 Thread Joris OFFOUGA
Le sam. 23 mars 2019 à 14:53, Fabio Estevam a écrit : > Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") loading U-Boot > via USB download mode causes the following hang: > > SDP: initialize... > SDP: handle requests... > Downloading file of size 527088 to 0x877fffc0... done > Jumping

[U-Boot] [PATCH] pico-imx7: Disable video support

2019-03-23 Thread Fabio Estevam
Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") loading U-Boot via USB download mode causes the following hang: SDP: initialize... SDP: handle requests... Downloading file of size 527088 to 0x877fffc0... done Jumping to header at 0x877fffc0 Header Tag is not an IMX image U-Boot