public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes
@ 2012-09-19 22:28 Otavio Salvador
  2012-09-19 22:28 ` [U-Boot] [PATCH v2 2/3] mx6qsabrelite: " Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-09-19 22:28 UTC (permalink / raw)
  To: u-boot

OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2:
- no changes

 include/configs/mx53loco.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 8cbaf08..fcd6b44 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -120,8 +120,8 @@
 	"script=boot.scr\0" \
 	"uimage=uImage\0" \
 	"mmcdev=0\0" \
-	"mmcpart=2\0" \
-	"mmcroot=/dev/mmcblk0p3 rw\0" \
+	"mmcpart=1\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \
 	"mmcrootfstype=ext3 rootwait\0" \
 	"mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \
 		"root=${mmcroot} " \
-- 
1.7.10.4

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

* [U-Boot] [PATCH v2 2/3] mx6qsabrelite: Change default environment to cope with OE changes
  2012-09-19 22:28 [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes Otavio Salvador
@ 2012-09-19 22:28 ` Otavio Salvador
  2012-09-19 22:28 ` [U-Boot] [PATCH v2 3/3] mx6qsabresd: " Otavio Salvador
  2012-09-20  8:51 ` [U-Boot] [PATCH v2 1/3] mx53loco: " Stefano Babic
  2 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-09-19 22:28 UTC (permalink / raw)
  To: u-boot

OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2:
- add initrd and fdt info back

 include/configs/mx6qsabrelite.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 72d0154..b6c5773 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -145,8 +145,8 @@
 	"fdt_high=0xffffffff\0"	  \
 	"initrd_high=0xffffffff\0" \
        "mmcdev=0\0" \
-       "mmcpart=2\0" \
-       "mmcroot=/dev/mmcblk0p3 rootwait rw\0" \
+       "mmcpart=1\0" \
+       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
 	       "root=${mmcroot}\0" \
        "loadbootscript=" \
-- 
1.7.10.4

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

* [U-Boot] [PATCH v2 3/3] mx6qsabresd: Change default environment to cope with OE changes
  2012-09-19 22:28 [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes Otavio Salvador
  2012-09-19 22:28 ` [U-Boot] [PATCH v2 2/3] mx6qsabrelite: " Otavio Salvador
@ 2012-09-19 22:28 ` Otavio Salvador
  2012-09-20  8:51 ` [U-Boot] [PATCH v2 1/3] mx53loco: " Stefano Babic
  2 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-09-19 22:28 UTC (permalink / raw)
  To: u-boot

OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2:
- add initrd and fdt info back

 include/configs/mx6qsabresd.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
index 448ce28..beb948f 100644
--- a/include/configs/mx6qsabresd.h
+++ b/include/configs/mx6qsabresd.h
@@ -77,8 +77,8 @@
 	"fdt_high=0xffffffff\0"	  \
 	"initrd_high=0xffffffff\0" \
 	"mmcdev=0\0" \
-	"mmcpart=2\0" \
-	"mmcroot=/dev/mmcblk0p3 rootwait rw\0" \
+	"mmcpart=1\0" \
+	"mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=${mmcroot}\0" \
 	"loadbootscript=" \
-- 
1.7.10.4

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

* [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes
  2012-09-19 22:28 [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes Otavio Salvador
  2012-09-19 22:28 ` [U-Boot] [PATCH v2 2/3] mx6qsabrelite: " Otavio Salvador
  2012-09-19 22:28 ` [U-Boot] [PATCH v2 3/3] mx6qsabresd: " Otavio Salvador
@ 2012-09-20  8:51 ` Stefano Babic
  2012-09-21 13:04   ` Otavio Salvador
  2 siblings, 1 reply; 5+ messages in thread
From: Stefano Babic @ 2012-09-20  8:51 UTC (permalink / raw)
  To: u-boot

On 20/09/2012 00:28, Otavio Salvador wrote:
> OpenEmbedded has change partitioning layout of generated image so it
> does not raise warnings during the boot regarding unkown partition
> being used for U-Boot.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> Changes in v2:
> - no changes
> 
>  include/configs/mx53loco.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index 8cbaf08..fcd6b44 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -120,8 +120,8 @@
>  	"script=boot.scr\0" \
>  	"uimage=uImage\0" \
>  	"mmcdev=0\0" \
> -	"mmcpart=2\0" \
> -	"mmcroot=/dev/mmcblk0p3 rw\0" \
> +	"mmcpart=1\0" \
> +	"mmcroot=/dev/mmcblk0p2 rw\0" \
>  	"mmcrootfstype=ext3 rootwait\0" \
>  	"mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \
>  		"root=${mmcroot} " \

I have no problem with these series, but anyway u-boot is not strictly
bound to OpenEmbedded.

Maybe you want to add CMD_SETEXPR to compute the partition number ?

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
=====================================================================

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

* [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes
  2012-09-20  8:51 ` [U-Boot] [PATCH v2 1/3] mx53loco: " Stefano Babic
@ 2012-09-21 13:04   ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-09-21 13:04 UTC (permalink / raw)
  To: u-boot

On Thu, Sep 20, 2012 at 5:51 AM, Stefano Babic <sbabic@denx.de> wrote:
> On 20/09/2012 00:28, Otavio Salvador wrote:
>> OpenEmbedded has change partitioning layout of generated image so it
>> does not raise warnings during the boot regarding unkown partition
>> being used for U-Boot.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>> Changes in v2:
>> - no changes
>>
>>  include/configs/mx53loco.h |    4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
>> index 8cbaf08..fcd6b44 100644
>> --- a/include/configs/mx53loco.h
>> +++ b/include/configs/mx53loco.h
>> @@ -120,8 +120,8 @@
>>       "script=boot.scr\0" \
>>       "uimage=uImage\0" \
>>       "mmcdev=0\0" \
>> -     "mmcpart=2\0" \
>> -     "mmcroot=/dev/mmcblk0p3 rw\0" \
>> +     "mmcpart=1\0" \
>> +     "mmcroot=/dev/mmcblk0p2 rw\0" \
>>       "mmcrootfstype=ext3 rootwait\0" \
>>       "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \
>>               "root=${mmcroot} " \
>
> I have no problem with these series, but anyway u-boot is not strictly
> bound to OpenEmbedded.
>
> Maybe you want to add CMD_SETEXPR to compute the partition number ?

It might be done but I think it will be confusing if user needs to change it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

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

end of thread, other threads:[~2012-09-21 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 22:28 [U-Boot] [PATCH v2 1/3] mx53loco: Change default environment to cope with OE changes Otavio Salvador
2012-09-19 22:28 ` [U-Boot] [PATCH v2 2/3] mx6qsabrelite: " Otavio Salvador
2012-09-19 22:28 ` [U-Boot] [PATCH v2 3/3] mx6qsabresd: " Otavio Salvador
2012-09-20  8:51 ` [U-Boot] [PATCH v2 1/3] mx53loco: " Stefano Babic
2012-09-21 13:04   ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox