[U-Boot] [PATCH] pico-imx7: Disable video support
Michael Nazzareno Trimarchi
michael at amarulasolutions.com
Mon Mar 25 17:00:23 UTC 2019
Hi
On Mon, Mar 25, 2019 at 5:56 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Michael,
>
> On Mon, Mar 25, 2019 at 1:51 PM Michael Nazzareno Trimarchi
> <michael at amarulasolutions.com> 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 SPL
>
> Then we get in the terminal:
>
> SDP: initialize...
> SDP: handle requests...
>
> $ sudo ./imx_usb u-boot.img
>
> Then the boot completes:
>
> Downloading file of size 527088 to 0x877fffc0... done
> Jumping to header at 0x877fffc0
> Header Tag is not an IMX image
>
> 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 PICOSOM
> I2C: ready
> DRAM: 512 MiB
>
> (Hangs here)
Check if you go out from here
static int reserve_video(void)
{
#ifdef CONFIG_DM_VIDEO
ulong addr;
int ret;
addr = gd->relocaddr;
ret = video_reserve(&addr);
if (ret)
return ret;
gd->relocaddr = addr;
#elif defined(CONFIG_LCD)
# ifdef CONFIG_FB_ADDR
gd->fb_base = CONFIG_FB_ADDR;
# else
/* reserve memory for LCD display (always full pages) */
gd->relocaddr = lcd_setmem(gd->relocaddr);
gd->fb_base = gd->relocaddr;
# endif /* CONFIG_FB_ADDR */
#elif defined(CONFIG_VIDEO) && \
(!defined(CONFIG_PPC)) && \
!defined(CONFIG_ARM) && !defined(CONFIG_X86) && \
!defined(CONFIG_M68K)
/* reserve memory for video display (always full pages) */
gd->relocaddr = video_setmem(gd->relocaddr);
gd->fb_base = gd->relocaddr;
#endif
return 0;
}
Michael
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
More information about the U-Boot
mailing list