Re: [yocto] Allow choose of U-Boot config for machine

2019-07-02 Thread JH
Thank you very much Gabriele, appreciate it.

On 7/2/19, Gabriele Zampieri  wrote:
> Since UBOOT_CONFIG is a standard property, I suggest you to read the
> following links:
>
>-
>
> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-UBOOT_CONFIG
>-
>
> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-UBOOT_MACHINE
>
> Please not that the links I provided refers to the latest documentation,
> you should check the docs for your YP version.
>
> About testing, I have no idea about how to test uboot without the target
> board. If you are planning to use a commercial solution which is supported
> by Yocto, you should be safe enough for now.
>
> Gabriele
>
> Il giorno mar 2 lug 2019 alle ore 09:40 JH  ha
> scritto:
>
>> Thanks Gabriele, you are right, it did not work in command line but it
>> did not complain after UBOOT_CONFIG = "nand" to local.conf, how can I
>> am sure it is built to boot from nand? I don't have a board to try
>> yet.
>>
>> Thank you very much.
>>
>> Kind regards,
>>
>> - jh
>>
>>
>> On 7/2/19, Gabriele Zampieri  wrote:
>> > Hi,
>> >
>> > you must use double quotes around nand, so:
>> > UBOOT_CONFIG = "nand"
>> >
>> > However I cannot guarantee this line will be the solution, I usually
>> > use
>> a
>> > customized uboot.
>> >
>> > Gabriele
>> >
>> > Il giorno mar 2 lug 2019 alle ore 04:07 JH  ha
>> > scritto:
>> >
>> >> Hi,
>> >>
>> >> The imx6ullevk.conf defined sdcard for booting on imx6 EVK:
>> >>
>> >> imx6ullevk.conf
>> >>
>> >> UBOOT_CONFIG ??= "sd"
>> >> UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
>> >> UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
>> >>
>> >> I need to change it for a customized board referenced from imx6 EVK
>> >> but booting from NAND, there are some blogs said it can be done to add
>> >> UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
>> >> not work:
>> >>
>> >> ERROR: Unable to start bitbake server (None)
>> >> --- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
>> >> ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'
>> >>
>> >> What should be a proper process to overwrite imx6ullevk.conf
>> >> UBOOT_CONFIG from sdcard to nand?
>> >>
>> >> Thank you.
>> >>
>> >> Kind regards,
>> >>
>> >> - JH
>> >> --
>> >> ___
>> >> yocto mailing list
>> >> yocto@yoctoproject.org
>> >> https://lists.yoctoproject.org/listinfo/yocto
>> >>
>> >
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Allow choose of U-Boot config for machine

2019-07-02 Thread Gabriele Zampieri
Since UBOOT_CONFIG is a standard property, I suggest you to read the
following links:

   -
   
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-UBOOT_CONFIG
   -
   
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-UBOOT_MACHINE

Please not that the links I provided refers to the latest documentation,
you should check the docs for your YP version.

About testing, I have no idea about how to test uboot without the target
board. If you are planning to use a commercial solution which is supported
by Yocto, you should be safe enough for now.

Gabriele

Il giorno mar 2 lug 2019 alle ore 09:40 JH  ha
scritto:

> Thanks Gabriele, you are right, it did not work in command line but it
> did not complain after UBOOT_CONFIG = "nand" to local.conf, how can I
> am sure it is built to boot from nand? I don't have a board to try
> yet.
>
> Thank you very much.
>
> Kind regards,
>
> - jh
>
>
> On 7/2/19, Gabriele Zampieri  wrote:
> > Hi,
> >
> > you must use double quotes around nand, so:
> > UBOOT_CONFIG = "nand"
> >
> > However I cannot guarantee this line will be the solution, I usually use
> a
> > customized uboot.
> >
> > Gabriele
> >
> > Il giorno mar 2 lug 2019 alle ore 04:07 JH  ha
> > scritto:
> >
> >> Hi,
> >>
> >> The imx6ullevk.conf defined sdcard for booting on imx6 EVK:
> >>
> >> imx6ullevk.conf
> >>
> >> UBOOT_CONFIG ??= "sd"
> >> UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
> >> UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
> >>
> >> I need to change it for a customized board referenced from imx6 EVK
> >> but booting from NAND, there are some blogs said it can be done to add
> >> UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
> >> not work:
> >>
> >> ERROR: Unable to start bitbake server (None)
> >> --- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
> >> ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'
> >>
> >> What should be a proper process to overwrite imx6ullevk.conf
> >> UBOOT_CONFIG from sdcard to nand?
> >>
> >> Thank you.
> >>
> >> Kind regards,
> >>
> >> - JH
> >> --
> >> ___
> >> yocto mailing list
> >> yocto@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/yocto
> >>
> >
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Allow choose of U-Boot config for machine

2019-07-02 Thread JH
Thanks Gabriele, you are right, it did not work in command line but it
did not complain after UBOOT_CONFIG = "nand" to local.conf, how can I
am sure it is built to boot from nand? I don't have a board to try
yet.

Thank you very much.

Kind regards,

- jh


On 7/2/19, Gabriele Zampieri  wrote:
> Hi,
>
> you must use double quotes around nand, so:
> UBOOT_CONFIG = "nand"
>
> However I cannot guarantee this line will be the solution, I usually use a
> customized uboot.
>
> Gabriele
>
> Il giorno mar 2 lug 2019 alle ore 04:07 JH  ha
> scritto:
>
>> Hi,
>>
>> The imx6ullevk.conf defined sdcard for booting on imx6 EVK:
>>
>> imx6ullevk.conf
>>
>> UBOOT_CONFIG ??= "sd"
>> UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
>> UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
>>
>> I need to change it for a customized board referenced from imx6 EVK
>> but booting from NAND, there are some blogs said it can be done to add
>> UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
>> not work:
>>
>> ERROR: Unable to start bitbake server (None)
>> --- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
>> ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'
>>
>> What should be a proper process to overwrite imx6ullevk.conf
>> UBOOT_CONFIG from sdcard to nand?
>>
>> Thank you.
>>
>> Kind regards,
>>
>> - JH
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Allow choose of U-Boot config for machine

2019-07-01 Thread Gabriele Zampieri
Hi,

you must use double quotes around nand, so:
UBOOT_CONFIG = "nand"

However I cannot guarantee this line will be the solution, I usually use a
customized uboot.

Gabriele

Il giorno mar 2 lug 2019 alle ore 04:07 JH  ha
scritto:

> Hi,
>
> The imx6ullevk.conf defined sdcard for booting on imx6 EVK:
>
> imx6ullevk.conf
>
> UBOOT_CONFIG ??= "sd"
> UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
> UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
>
> I need to change it for a customized board referenced from imx6 EVK
> but booting from NAND, there are some blogs said it can be done to add
> UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
> not work:
>
> ERROR: Unable to start bitbake server (None)
> --- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
> ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'
>
> What should be a proper process to overwrite imx6ullevk.conf
> UBOOT_CONFIG from sdcard to nand?
>
> Thank you.
>
> Kind regards,
>
> - JH
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Allow choose of U-Boot config for machine

2019-07-01 Thread JH
Hi,

The imx6ullevk.conf defined sdcard for booting on imx6 EVK:

imx6ullevk.conf

UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"

I need to change it for a customized board referenced from imx6 EVK
but booting from NAND, there are some blogs said it can be done to add
UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
not work:

ERROR: Unable to start bitbake server (None)
--- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'

What should be a proper process to overwrite imx6ullevk.conf
UBOOT_CONFIG from sdcard to nand?

Thank you.

Kind regards,

- JH
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto