All of lore.kernel.org
 help / color / mirror / Atom feed
* iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot
@ 2015-05-26 14:00 ansaris
  2015-05-27 18:49 ` Daiane Angolini
  0 siblings, 1 reply; 2+ messages in thread
From: ansaris @ 2015-05-26 14:00 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

Hi,

We are using imx6Q SabreSD platform for our development with 
Linux3.14.28_1.0.0-GA BSP.
But initially we used Linux 3.10.17_1.0.0-GA BSP.

The Linux3.14.28_1.0.0-GA BSP uses "U-Boot-2014.04" and the Linux 
3.10.17_1.0.0-GA BSP uses "U-Boot-2013.04" versions.

We have gone through below file in U-Boot-2014.04 and found that the 
"CONFIG_SYS_GENERIC_BOARD" macro is defined.
~/u-boot-imx/include/configs/mx6sabre_common.h

Because of the macro "CONFIG_SYS_GENERIC_BOARD" definition, the 
"board_init_f" and "board_init_r" functions are executed from the below 
files respectively.
~/u-boot-imx/common/board_f.c
~/u-boot-imx/common/board_r.c


But we have gone through below file in U-Boot-2013.04 and found that the 
"CONFIG_SYS_GENERIC_BOARD" macro is not defined.
~/u-boot-imx/include/configs/mx6qsabre_common.h
With U-Boot-2013.04, the "board_init_f" and "board_init_r" functions are 
executed from the below file
~/u-boot-imx/arch/arm/lib/board.c


 From U-Boot-2014.04, why the "board_init_f" and "board_init_r" 
functions are not executed from below file.
~/u-boot-imx/arch/arm/lib/board.c

Please suggest us.

Thanks and Regards,
Ansari

[-- Attachment #2: Type: text/html, Size: 1722 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot
  2015-05-26 14:00 iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot ansaris
@ 2015-05-27 18:49 ` Daiane Angolini
  0 siblings, 0 replies; 2+ messages in thread
From: Daiane Angolini @ 2015-05-27 18:49 UTC (permalink / raw)
  To: ansaris; +Cc: meta-freescale@yoctoproject.org

On Tue, May 26, 2015 at 11:00 AM, ansaris <ansaris@iwavesystems.com> wrote:
> Hi,
>
> We are using imx6Q SabreSD platform for our development with
> Linux3.14.28_1.0.0-GA BSP.
> But initially we used Linux 3.10.17_1.0.0-GA BSP.
>
> The Linux3.14.28_1.0.0-GA BSP uses "U-Boot-2014.04" and the Linux
> 3.10.17_1.0.0-GA BSP uses "U-Boot-2013.04" versions.
>

Maybe it would be better if you send this question to u-boot mailing list.

I don't know the answer, but if it was a quiz, I would guess it is
because of SPL.

Daiane

> We have gone through below file in U-Boot-2014.04 and found that the
> "CONFIG_SYS_GENERIC_BOARD" macro is defined.
> ~/u-boot-imx/include/configs/mx6sabre_common.h
>
> Because of the macro "CONFIG_SYS_GENERIC_BOARD" definition, the
> "board_init_f" and "board_init_r" functions are executed from the below
> files respectively.
> ~/u-boot-imx/common/board_f.c
> ~/u-boot-imx/common/board_r.c
>
>
> But we have gone through below file in U-Boot-2013.04 and found that the
> "CONFIG_SYS_GENERIC_BOARD" macro is not defined.
> ~/u-boot-imx/include/configs/mx6qsabre_common.h
> With U-Boot-2013.04, the "board_init_f" and "board_init_r" functions are
> executed from the below file
> ~/u-boot-imx/arch/arm/lib/board.c
>
>
> From U-Boot-2014.04, why the "board_init_f" and "board_init_r" functions are
> not executed from below file.
> ~/u-boot-imx/arch/arm/lib/board.c
>
> Please suggest us.
>
> Thanks and Regards,
> Ansari
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-27 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-26 14:00 iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot ansaris
2015-05-27 18:49 ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.