udoo_neo fix distro boot support
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
PATCH 1/3 mx6sx: udoo_neo: Define the default serial console
Standard boot processes including distro boot generally expect the default console to be defined.
--- include/configs/udoo_neo.h | 1 + 1 file changed, 1 insertion(+)
include/configs/udoo_neo.h +1 -0
@@ -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" \
Signature · 1 line
2.9.3
A message that is not in the archive (sent off-list or not yet received): CAOMZO5A7vUx-uGeB9Zn2mrYY0XPaFPGC=2cV9QChUNVAUgpsyQ@mail.gmail.com
PATCH 1/3 mx6sx: udoo_neo: Define the default serial console
Hi Peter,
2017-02-14 11:10 GMT-02:00 Peter Robinson <[email protected]>:
Quoted 8 lines
From: Peter Robinson <[email protected]>
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 <[email protected]>, Francesco Montefoschi <[email protected]>, Stefano Babic <[email protected]>, u-boot at lists.denx.de
Quoted 4 lines
Standard boot processes including distro boot generally expect the default console to be defined.
Signed-off-by Peter Robinson <[email protected]>
For the entire series:
Thanks
Best Regards,
Signature · 1 line
Breno Matheus Lima
PATCH 1/3 mx6sx: udoo_neo: Define the default serial console
In reply to Peter RobinsonQuoted 14 lines · Peter Robinson
Standard boot processes including distro boot generally expect the default console to be defined.
Signed-off-by Peter Robinson <[email protected]>--- include/configs/udoo_neo.h | 1 + 1 file changed, 1 insertion(+)include/configs/udoo_neo.h +0
-0
include/configs/udoo_neo.h line 36
Quoted 7 lines
include/configs/udoo_neo.h +1
-0@@ -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
Signature · 8 lines
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 =====================================================================
PATCH 2/3 mx6sx: udoo_neo: use different load address for ramdisk
In reply to Peter RobinsonThe 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.
--- include/configs/udoo_neo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/udoo_neo.h +1 -1
@@ -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
Signature · 1 line
2.9.3
PATCH 3/3 mx6sx: udoo_neo: Enable distro boot options in config
In reply to Peter RobinsonThe 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.
--- configs/udoo_neo_defconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
configs/udoo_neo_defconfig +1 -10
@@ -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
Signature · 1 line
2.9.3