[U-Boot] [PATCH v2 7/8] imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support

Stefano Babic sbabic at denx.de
Mon Jun 29 10:19:47 CEST 2015


Hi Peng,

On 29/06/2015 10:06, Peng Fan wrote:

>> There is an important goal: having a single U-Boot image running on
>> boards that can have different (pin compatible) SOCs. We get this
>> managing the different layout of the IOMUXC, that was maybe the most
>> difficult part - why do we go back when we can't ?
> 
> Get you.
> I saw the code in gw_ventana.c to detect the DTB at runtime.
> To imx6q/qp/dl sabreauto board, there is no place to store info such as
> ventana_board_info. But this is a good point that gw_ventana use the way
> to do runtime check, which can make one image goal for pin compatible SOCs.

Right - and this will be appreciate by sabreauto customers, who should
not deal with several U-Boot images. And maybe asking why board is not
booting after installing the wrong one.

> To the i.mx6qp board patch, I can use this way to remove the
> DTB related #ifdefs, use the way that gw_ventana uses. Will split the current
> patch into two, one to refacotr the current code to use runtime DTB detect,
> the second one is to add i.mx6qp support.

It looks like a nice plan ;-).

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list