mx53loco: Change default environment to cope with OE changes
PATCH v2 1/3 mx53loco: Change default environment to cope with OE changes
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.
---
Changes in v2:
- no changes
include/configs/mx53loco.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/mx53loco.h +2 -2
@@ -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} " \
Signature · 1 line
1.7.10.4
PATCH v2 2/3 mx6qsabrelite: Change default environment to cope with OE changes
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.
---
Changes in v2:
- add initrd and fdt info back
include/configs/mx6qsabrelite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/mx6qsabrelite.h +2 -2
@@ -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=" \
Signature · 1 line
1.7.10.4
PATCH v2 3/3 mx6qsabresd: Change default environment to cope with OE changes
In reply to Otavio SalvadorOpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot.
---
Changes in v2:
- add initrd and fdt info back
include/configs/mx6qsabresd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/mx6qsabresd.h +2 -2
@@ -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=" \
Signature · 1 line
1.7.10.4
PATCH v2 1/3 mx53loco: Change default environment to cope with OE changes
In reply to Otavio SalvadorQuoted 17 lines · Otavio Salvador
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 <[email protected]>---
Changes in v2:
- no changesinclude/configs/mx53loco.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/configs/mx53loco.h +0
-0
include/configs/mx53loco.h line 127
Quoted 10 lines
include/configs/mx53loco.h +2
-2@@ -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
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH v2 1/3 mx53loco: Change default environment to cope with OE changes
Quoted 32 lines · Stefano Babic
Quoted 17 lines · Otavio Salvador
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 <[email protected]>---
Changes in v2:
- no changesinclude/configs/mx53loco.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/configs/mx53loco.h +0
-0include/configs/mx53loco.h line 127
Quoted 10 lines
include/configs/mx53loco.h +2
-2@@ -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.
Quoted 1 line
Maybe you want to add
CMD_SETEXPRto compute the partition number ?
It might be done but I think it will be confusing if user needs to change it.
Signature · 3 lines
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