All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] udoo_neo fix distro boot support
@ 2017-02-14 13:10 Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console Peter Robinson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Robinson @ 2017-02-14 13:10 UTC (permalink / raw)
  To: u-boot

Hi Breno, Francesco and Stefano,

The following three patches fix the generic distro boot support for me on the udoo Neo (Full edition tested).
I think all three patches are pretty straight forward and self explanatory. Would be good to get them into 2017.03 GA.

Thanks,
Peter

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

* [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console
  2017-02-14 13:10 [U-Boot] udoo_neo fix distro boot support Peter Robinson
@ 2017-02-14 13:10 ` Peter Robinson
       [not found]   ` <CAOMZO5A7vUx-uGeB9Zn2mrYY0XPaFPGC=2cV9QChUNVAUgpsyQ@mail.gmail.com>
  2017-02-19 16:01   ` Stefano Babic
  2017-02-14 13:10 ` [U-Boot] [PATCH 2/3] mx6sx: udoo_neo: use different load address for ramdisk Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 3/3] mx6sx: udoo_neo: Enable distro boot options in config Peter Robinson
  2 siblings, 2 replies; 6+ messages in thread
From: Peter Robinson @ 2017-02-14 13:10 UTC (permalink / raw)
  To: u-boot

Standard boot processes including distro boot generally expect the
default console to be defined.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 include/configs/udoo_neo.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 23a3685..5b46272e 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -30,6 +30,7 @@
 /* Linux only */
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
+	"console=ttymxc0,115200\0" \
 	"fdt_high=0xffffffff\0" \
 	"initrd_high=0xffffffff\0" \
 	"fdtfile=undefined\0" \
-- 
2.9.3

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

* [U-Boot] [PATCH 2/3] mx6sx: udoo_neo: use different load address for ramdisk
  2017-02-14 13:10 [U-Boot] udoo_neo fix distro boot support Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console Peter Robinson
@ 2017-02-14 13:10 ` Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 3/3] mx6sx: udoo_neo: Enable distro boot options in config Peter Robinson
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Robinson @ 2017-02-14 13:10 UTC (permalink / raw)
  To: u-boot

The fdt_addr and ramdisk_addr_r are currently both defined to
0x83000000 and that's not going to work well for anyone. Move
the ramdisk_addr_r to 0x84000000.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 include/configs/udoo_neo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 5b46272e..1d737cc 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -52,7 +52,7 @@
 			"echo WARNING: Could not determine dtb to use; fi\0" \
 	"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
 	"pxefile_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
-	"ramdisk_addr_r=0x83000000\0" \
+	"ramdisk_addr_r=0x84000000\0" \
 	"scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
 	BOOTENV
 
-- 
2.9.3

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

* [U-Boot] [PATCH 3/3] mx6sx: udoo_neo: Enable distro boot options in config
  2017-02-14 13:10 [U-Boot] udoo_neo fix distro boot support Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console Peter Robinson
  2017-02-14 13:10 ` [U-Boot] [PATCH 2/3] mx6sx: udoo_neo: use different load address for ramdisk Peter Robinson
@ 2017-02-14 13:10 ` Peter Robinson
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Robinson @ 2017-02-14 13:10 UTC (permalink / raw)
  To: u-boot

The include/configs/udoo_neo.h already includes the distro defaults
include files so it seems the board was missed in the move to the
config file, whether that in initial commit or conversion, so
enable the option now and remove duplicated settings.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 configs/udoo_neo_defconfig | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/configs/udoo_neo_defconfig b/configs/udoo_neo_defconfig
index f9b1337..aa2f59d 100644
--- a/configs/udoo_neo_defconfig
+++ b/configs/udoo_neo_defconfig
@@ -13,22 +13,13 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
+CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
-CONFIG_CMD_PART=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_DHCP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
-CONFIG_CMD_FAT=y
-CONFIG_CMD_FS_GENERIC=y
-CONFIG_ISO_PARTITION=y
-CONFIG_EFI_PARTITION=y
 CONFIG_OF_LIBFDT=y
-- 
2.9.3

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

* [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console
       [not found]   ` <CAOMZO5A7vUx-uGeB9Zn2mrYY0XPaFPGC=2cV9QChUNVAUgpsyQ@mail.gmail.com>
@ 2017-02-15 12:51     ` Breno Matheus Lima
  0 siblings, 0 replies; 6+ messages in thread
From: Breno Matheus Lima @ 2017-02-15 12:51 UTC (permalink / raw)
  To: u-boot

Hi Peter,

2017-02-14 11:10 GMT-02:00  Peter Robinson <pbrobinson@gmail.com>:
> From: Peter Robinson <pbrobinson@gmail.com>
> Date: Tue, Feb 14, 2017 at 11:10 AM
> Subject: [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console
> To: Breno Lima <breno.lima@nxp.com>, Francesco Montefoschi
> <francesco.montefoschi@udoo.org>, Stefano Babic <sbabic@denx.de>,
> u-boot at lists.denx.de
>
>
> Standard boot processes including distro boot generally expect the
> default console to be defined.
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

For the entire series:

Tested-by: Breno Lima <breno.lima@nxp.com>

Thanks
Best Regards,
-- 
Breno Matheus Lima

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

* [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console
  2017-02-14 13:10 ` [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console Peter Robinson
       [not found]   ` <CAOMZO5A7vUx-uGeB9Zn2mrYY0XPaFPGC=2cV9QChUNVAUgpsyQ@mail.gmail.com>
@ 2017-02-19 16:01   ` Stefano Babic
  1 sibling, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2017-02-19 16:01 UTC (permalink / raw)
  To: u-boot

On 14/02/2017 14:10, Peter Robinson wrote:
> Standard boot processes including distro boot generally expect the
> default console to be defined.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  include/configs/udoo_neo.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
> index 23a3685..5b46272e 100644
> --- a/include/configs/udoo_neo.h
> +++ b/include/configs/udoo_neo.h
> @@ -30,6 +30,7 @@
>  /* Linux only */
>  #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>  #define CONFIG_EXTRA_ENV_SETTINGS \
> +	"console=ttymxc0,115200\0" \
>  	"fdt_high=0xffffffff\0" \
>  	"initrd_high=0xffffffff\0" \
>  	"fdtfile=undefined\0" \
> 

Whole set applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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] 6+ messages in thread

end of thread, other threads:[~2017-02-19 16:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 13:10 [U-Boot] udoo_neo fix distro boot support Peter Robinson
2017-02-14 13:10 ` [U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console Peter Robinson
     [not found]   ` <CAOMZO5A7vUx-uGeB9Zn2mrYY0XPaFPGC=2cV9QChUNVAUgpsyQ@mail.gmail.com>
2017-02-15 12:51     ` Breno Matheus Lima
2017-02-19 16:01   ` Stefano Babic
2017-02-14 13:10 ` [U-Boot] [PATCH 2/3] mx6sx: udoo_neo: use different load address for ramdisk Peter Robinson
2017-02-14 13:10 ` [U-Boot] [PATCH 3/3] mx6sx: udoo_neo: Enable distro boot options in config Peter Robinson

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.