All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
@ 2014-08-04 15:45 Alexandre Belloni
  2014-08-04 16:04 ` Cooper Jr., Franklin
  2014-08-04 16:38 ` Tom Rini
  0 siblings, 2 replies; 7+ messages in thread
From: Alexandre Belloni @ 2014-08-04 15:45 UTC (permalink / raw)
  To: meta-ti

Using the am335x_boneblack configuration for u-boot allows to save the
environment to the emmc. Else, it is not possible to save the
environment at all.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 conf/machine/beaglebone.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index 8a83a1aeb569..0b4dce3ad647 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -11,4 +11,4 @@ IMAGE_FSTYPES += "tar.gz"
 
 SERIAL_CONSOLE = "115200 ttyO0"
 
-UBOOT_MACHINE = "am335x_evm_config"
+UBOOT_MACHINE = "am335x_boneblack"
-- 
1.9.1



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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 15:45 [PATCH] beaglebone: use the am335x_boneblack u-boot configuration Alexandre Belloni
@ 2014-08-04 16:04 ` Cooper Jr., Franklin
  2014-08-04 16:08   ` Gary Thomas
  2014-08-04 16:20   ` Alexandre Belloni
  2014-08-04 16:38 ` Tom Rini
  1 sibling, 2 replies; 7+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-04 16:04 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: meta-ti

How does this config work on the Beaglebone white?

> On Aug 4, 2014, at 10:46 AM, "Alexandre Belloni" <alexandre.belloni@free-electrons.com> wrote:
> 
> Using the am335x_boneblack configuration for u-boot allows to save the
> environment to the emmc. Else, it is not possible to save the
> environment at all.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> conf/machine/beaglebone.conf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> index 8a83a1aeb569..0b4dce3ad647 100644
> --- a/conf/machine/beaglebone.conf
> +++ b/conf/machine/beaglebone.conf
> @@ -11,4 +11,4 @@ IMAGE_FSTYPES += "tar.gz"
> 
> SERIAL_CONSOLE = "115200 ttyO0"
> 
> -UBOOT_MACHINE = "am335x_evm_config"
> +UBOOT_MACHINE = "am335x_boneblack"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 16:04 ` Cooper Jr., Franklin
@ 2014-08-04 16:08   ` Gary Thomas
  2014-08-04 16:20   ` Alexandre Belloni
  1 sibling, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2014-08-04 16:08 UTC (permalink / raw)
  To: meta-ti

On 2014-08-04 10:04, Cooper Jr., Franklin wrote:
> How does this config work on the Beaglebone white?
>
>> On Aug 4, 2014, at 10:46 AM, "Alexandre Belloni" <alexandre.belloni@free-electrons.com> wrote:
>>
>> Using the am335x_boneblack configuration for u-boot allows to save the
>> environment to the emmc. Else, it is not possible to save the
>> environment at all.
>>
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> ---
>> conf/machine/beaglebone.conf | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
>> index 8a83a1aeb569..0b4dce3ad647 100644
>> --- a/conf/machine/beaglebone.conf
>> +++ b/conf/machine/beaglebone.conf
>> @@ -11,4 +11,4 @@ IMAGE_FSTYPES += "tar.gz"
>>
>> SERIAL_CONSOLE = "115200 ttyO0"
>>
>> -UBOOT_MACHINE = "am335x_evm_config"
>> +UBOOT_MACHINE = "am335x_boneblack"
>> --

Perhaps it would be better to let this assignment be soft, i.e.
   UBOOT_MACHINE ?= "am335x_boneblack"

That way, either choice would be possible.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 16:04 ` Cooper Jr., Franklin
  2014-08-04 16:08   ` Gary Thomas
@ 2014-08-04 16:20   ` Alexandre Belloni
  1 sibling, 0 replies; 7+ messages in thread
From: Alexandre Belloni @ 2014-08-04 16:20 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-ti

Hi,

On 04/08/2014 at 16:04:04 +0000, Cooper Jr., Franklin wrote :
> How does this config work on the Beaglebone white?
> 

I didn't test but I don't think it will change anything has it doesn't
have any NAND or emmc and the only change is that the am335x_boneblack
uses emmc to save the environment instead of trying (and failing) to
save to NAND.

> > On Aug 4, 2014, at 10:46 AM, "Alexandre Belloni" <alexandre.belloni@free-electrons.com> wrote:
> > 
> > Using the am335x_boneblack configuration for u-boot allows to save the
> > environment to the emmc. Else, it is not possible to save the
> > environment at all.
> > 
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> > ---
> > conf/machine/beaglebone.conf | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> > index 8a83a1aeb569..0b4dce3ad647 100644
> > --- a/conf/machine/beaglebone.conf
> > +++ b/conf/machine/beaglebone.conf
> > @@ -11,4 +11,4 @@ IMAGE_FSTYPES += "tar.gz"
> > 
> > SERIAL_CONSOLE = "115200 ttyO0"
> > 
> > -UBOOT_MACHINE = "am335x_evm_config"
> > +UBOOT_MACHINE = "am335x_boneblack"
> > -- 
> > 1.9.1
> > 
> > -- 
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 15:45 [PATCH] beaglebone: use the am335x_boneblack u-boot configuration Alexandre Belloni
  2014-08-04 16:04 ` Cooper Jr., Franklin
@ 2014-08-04 16:38 ` Tom Rini
  2014-08-04 16:53   ` Alexandre Belloni
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Rini @ 2014-08-04 16:38 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: meta-ti

On Mon, Aug 04, 2014 at 05:45:50PM +0200, Alexandre Belloni wrote:

> Using the am335x_boneblack configuration for u-boot allows to save the
> environment to the emmc. Else, it is not possible to save the
> environment at all.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

There's two ways to go about improving the out of box experience.  One
of which would be to switch "beaglebone" to am335x_boneblack config
which will switch env saving to eMMC and leave BBW just as unable to
have persisent env (outside of uEnv.txt) as today.  Another would be to
bring in http://patchwork.ozlabs.org/patch/375824/ (which will be merged
to mainline) and
https://git.ti.com/ti-u-boot/ti-u-boot/commit/b8fce957880e6c4194614260f70be4e7f2c9f469
(which will not, we'll instead get env location migrated to Kconfig
choices and leave it to the user to pick where they want things to be)
which puts everything in a binary file on the FAT partition of the SD
card which is also pretty frequently available.

Either one is honestly a fine improvement.

-- 
Tom


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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 16:38 ` Tom Rini
@ 2014-08-04 16:53   ` Alexandre Belloni
  2014-08-04 16:57     ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Alexandre Belloni @ 2014-08-04 16:53 UTC (permalink / raw)
  To: Tom Rini; +Cc: meta-ti

Hi,

On 04/08/2014 at 12:38:55 -0400, Tom Rini wrote :
> On Mon, Aug 04, 2014 at 05:45:50PM +0200, Alexandre Belloni wrote:
> 
> > Using the am335x_boneblack configuration for u-boot allows to save the
> > environment to the emmc. Else, it is not possible to save the
> > environment at all.
> > 
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> 
> There's two ways to go about improving the out of box experience.  One
> of which would be to switch "beaglebone" to am335x_boneblack config
> which will switch env saving to eMMC and leave BBW just as unable to
> have persisent env (outside of uEnv.txt) as today.  Another would be to
> bring in http://patchwork.ozlabs.org/patch/375824/ (which will be merged
> to mainline) and
> https://git.ti.com/ti-u-boot/ti-u-boot/commit/b8fce957880e6c4194614260f70be4e7f2c9f469
> (which will not, we'll instead get env location migrated to Kconfig
> choices and leave it to the user to pick where they want things to be)
> which puts everything in a binary file on the FAT partition of the SD
> card which is also pretty frequently available.

Do you have a branch with both patches applied? Or maybe it is simpler
to wait for the first one to hit mainline and upgrade the u-boot recipe
at that time.

I'm a bit concerned that the second patch will actually change the
behaviour of the am335x_evm config, switching from reading the env in
nand to that file in the first FAT partition. Do you want to change
that?


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


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

* Re: [PATCH] beaglebone: use the am335x_boneblack u-boot configuration
  2014-08-04 16:53   ` Alexandre Belloni
@ 2014-08-04 16:57     ` Tom Rini
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2014-08-04 16:57 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: meta-ti

On 08/04/2014 12:53 PM, Alexandre Belloni wrote:
> Hi,
> 
> On 04/08/2014 at 12:38:55 -0400, Tom Rini wrote :
>> On Mon, Aug 04, 2014 at 05:45:50PM +0200, Alexandre Belloni wrote:
>>
>>> Using the am335x_boneblack configuration for u-boot allows to save the
>>> environment to the emmc. Else, it is not possible to save the
>>> environment at all.
>>>
>>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>>
>> There's two ways to go about improving the out of box experience.  One
>> of which would be to switch "beaglebone" to am335x_boneblack config
>> which will switch env saving to eMMC and leave BBW just as unable to
>> have persisent env (outside of uEnv.txt) as today.  Another would be to
>> bring in http://patchwork.ozlabs.org/patch/375824/ (which will be merged
>> to mainline) and
>> https://git.ti.com/ti-u-boot/ti-u-boot/commit/b8fce957880e6c4194614260f70be4e7f2c9f469
>> (which will not, we'll instead get env location migrated to Kconfig
>> choices and leave it to the user to pick where they want things to be)
>> which puts everything in a binary file on the FAT partition of the SD
>> card which is also pretty frequently available.
> 
> Do you have a branch with both patches applied? Or maybe it is simpler
> to wait for the first one to hit mainline and upgrade the u-boot recipe
> at that time.
> 
> I'm a bit concerned that the second patch will actually change the
> behaviour of the am335x_evm config, switching from reading the env in
> nand to that file in the first FAT partition. Do you want to change
> that?

In terms of general out of box experience, yes, I wanted to change
everyone over.  Of all the boards am335x_evm supports (GP EVM, IDK EVM,
EVM SK, BBW, BBB) only GP EVM and maybe IDK EVM (not seen one myself)
have NAND normally.  All of them have SD card support 'tho.

-- 
Tom


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

end of thread, other threads:[~2014-08-04 16:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 15:45 [PATCH] beaglebone: use the am335x_boneblack u-boot configuration Alexandre Belloni
2014-08-04 16:04 ` Cooper Jr., Franklin
2014-08-04 16:08   ` Gary Thomas
2014-08-04 16:20   ` Alexandre Belloni
2014-08-04 16:38 ` Tom Rini
2014-08-04 16:53   ` Alexandre Belloni
2014-08-04 16:57     ` Tom Rini

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.