* [U-Boot] [PATCH V2 0/3] i.MX6: mx6qsabrelite: allow use with Freescale 2.6.38 kernels
[not found] <119206>
@ 2012-03-04 20:51 ` Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 1/3] i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with Freescale kernels Eric Nelson
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-04 20:51 UTC (permalink / raw)
To: u-boot
This series of patches is needed to allow main-line U-Boot to be used
with Freescale's Linux 2.6.38 non-DT kernel releases.
These releases currently require at least the machine type and
revision atag entries and are configured to load boot scripts from
the ext3 filesystem.
V2 just simplifies patch 2/3 to use CONFIG_MACH_TYPE instead of
updating mach-types.h and filling things in during boot.
Three new declarations in the board-specific header and one
new routine in the board-specific file seem like a low cost
to add a "U" (Universal) to main-line U-Boot.
Eric Nelson (3):
i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with
Freescale kernels
i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE
i.MX6: mx6qsabrelite: add ext2 support
board/freescale/mx6qsabrelite/mx6qsabrelite.c | 7 +++++++
include/configs/mx6qsabrelite.h | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
In-Reply-To: http://lists.denx.de/pipermail/u-boot/2012-March/thread.html#119206
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH V2 1/3] i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with Freescale kernels
2012-03-04 20:51 ` [U-Boot] [PATCH V2 0/3] i.MX6: mx6qsabrelite: allow use with Freescale 2.6.38 kernels Eric Nelson
@ 2012-03-04 20:51 ` Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 3/3] i.MX6: mx6qsabrelite: add ext2 support Eric Nelson
2 siblings, 0 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-04 20:51 UTC (permalink / raw)
To: u-boot
---
board/freescale/mx6qsabrelite/mx6qsabrelite.c | 7 +++++++
include/configs/mx6qsabrelite.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
index db1bea9..590030b 100644
--- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
+++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
@@ -215,6 +215,13 @@ int board_mmc_init(bd_t *bis)
}
#endif
+#ifdef CONFIG_REVISION_TAG
+u32 get_board_rev(void)
+{
+ return 0x63000 ;
+}
+#endif
+
#ifdef CONFIG_MXC_SPI
iomux_v3_cfg_t ecspi1_pads[] = {
/* SS1 */
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 93000f0..85f6f7a 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -33,6 +33,7 @@
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
+#define CONFIG_REVISION_TAG
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
--
1.7.9
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE
2012-03-04 20:51 ` [U-Boot] [PATCH V2 0/3] i.MX6: mx6qsabrelite: allow use with Freescale 2.6.38 kernels Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 1/3] i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with Freescale kernels Eric Nelson
@ 2012-03-04 20:51 ` Eric Nelson
2012-03-13 0:25 ` Eric Nelson
2012-03-15 8:52 ` Stefano Babic
2012-03-04 20:51 ` [U-Boot] [PATCH V2 3/3] i.MX6: mx6qsabrelite: add ext2 support Eric Nelson
2 siblings, 2 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-04 20:51 UTC (permalink / raw)
To: u-boot
Allow non-dt kernels to boot
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
---
include/configs/mx6qsabrelite.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 85f6f7a..381b3a7 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -28,6 +28,8 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_MACH_TYPE 3769
+
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG
--
1.7.9
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH V2 3/3] i.MX6: mx6qsabrelite: add ext2 support
2012-03-04 20:51 ` [U-Boot] [PATCH V2 0/3] i.MX6: mx6qsabrelite: allow use with Freescale 2.6.38 kernels Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 1/3] i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with Freescale kernels Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE Eric Nelson
@ 2012-03-04 20:51 ` Eric Nelson
2 siblings, 0 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-04 20:51 UTC (permalink / raw)
To: u-boot
---
include/configs/mx6qsabrelite.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 381b3a7..8bc8a83 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -67,6 +67,7 @@
#define CONFIG_MMC
#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
+#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
--
1.7.9
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE
2012-03-04 20:51 ` [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE Eric Nelson
@ 2012-03-13 0:25 ` Eric Nelson
2012-03-15 8:52 ` Stefano Babic
1 sibling, 0 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-13 0:25 UTC (permalink / raw)
To: u-boot
On 03/04/2012 01:51 PM, Eric Nelson wrote:
> Allow non-dt kernels to boot
>
> Signed-off-by: Troy Kisky<troy.kisky@boundarydevices.com>
> ---
> include/configs/mx6qsabrelite.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
> index 85f6f7a..381b3a7 100644
> --- a/include/configs/mx6qsabrelite.h
> +++ b/include/configs/mx6qsabrelite.h
> @@ -28,6 +28,8 @@
> #define CONFIG_DISPLAY_CPUINFO
> #define CONFIG_DISPLAY_BOARDINFO
>
> +#define CONFIG_MACH_TYPE 3769
> +
> #include<asm/arch/imx-regs.h>
>
> #define CONFIG_CMDLINE_TAG
Any comment on this patch?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE
2012-03-04 20:51 ` [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE Eric Nelson
2012-03-13 0:25 ` Eric Nelson
@ 2012-03-15 8:52 ` Stefano Babic
1 sibling, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2012-03-15 8:52 UTC (permalink / raw)
To: u-boot
On 04/03/2012 21:51, Eric Nelson wrote:
> Allow non-dt kernels to boot
>
> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> ---
> include/configs/mx6qsabrelite.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
> index 85f6f7a..381b3a7 100644
> --- a/include/configs/mx6qsabrelite.h
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-15 8:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <119206>
2012-03-04 20:51 ` [U-Boot] [PATCH V2 0/3] i.MX6: mx6qsabrelite: allow use with Freescale 2.6.38 kernels Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 1/3] i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG to allow use with Freescale kernels Eric Nelson
2012-03-04 20:51 ` [U-Boot] [PATCH V2 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE Eric Nelson
2012-03-13 0:25 ` Eric Nelson
2012-03-15 8:52 ` Stefano Babic
2012-03-04 20:51 ` [U-Boot] [PATCH V2 3/3] i.MX6: mx6qsabrelite: add ext2 support Eric Nelson
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.