Skip to contentSkip to conversation

i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

PATCH New Jason Liu 4 participants 9 messages Dec 13, 2011 – Dec 16, 2011 Arm i.MX and Layerscape

lore
Share & tools
lore

Jason Liu

author
#0 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Add the initial support for Freescale i.MX6Q Sabre Lite board

---
V2: change the default script to let linaro image boot, and also
change the default env to dev 0, which is normal SD slot, not the Micro-SD slot

---
 MAINTAINERS                                   |    1 +
 board/freescale/mx6qsabrelite/Makefile        |   42 ++++++
 board/freescale/mx6qsabrelite/imximage.cfg    |  170 +++++++++++++++++++++++++
 board/freescale/mx6qsabrelite/mx6qsabrelite.c |  150 ++++++++++++++++++++++
 boards.cfg                                    |    1 +
 include/configs/mx6qsabrelite.h               |  162 +++++++++++++++++++++++
 6 files changed, 526 insertions(+), 0 deletions(-)
MAINTAINERS +1 -0
index 52d86bd..8a4060f 100644
@@ -569,6 +569,7 @@ Jason Liu <[email protected]>
 	mx53evk         i.MX53
 	mx53loco        i.MX53
 	mx6qarm2	i.MX6Q
+	mx6qsabrelite	i.MX6Q
 
 Enric Balletbo i Serra <[email protected]>
 
board/freescale/mx6qsabrelite/Makefile new file +42 -0

42 lines not on this page · raw message

board/freescale/mx6qsabrelite/imximage.cfg new file +170 -0

170 lines not on this page · raw message

board/freescale/mx6qsabrelite/mx6qsabrelite.c new file +150 -0

150 lines not on this page · raw message

boards.cfg +1 -0
index f50ec57..cd6585f 100644
@@ -178,6 +178,7 @@ mx53loco                     arm         armv7       mx53loco            freesca
 mx53smd                      arm         armv7       mx53smd             freescale      mx5		mx53smd:IMX_CONFIG=board/freescale/mx53smd/imximage.cfg
 vision2                      arm         armv7       vision2             ttcontrol      mx5		vision2:IMX_CONFIG=board/ttcontrol/vision2/imximage_hynix.cfg
 mx6qarm2                     arm         armv7       mx6qarm2            freescale      mx6		mx6qarm2:IMX_CONFIG=board/freescale/mx6qarm2/imximage.cfg
+mx6qsabrelite                arm         armv7       mx6qsabrelite       freescale      mx6		mx6qsabrelite:IMX_CONFIG=board/freescale/mx6qsabrelite/imximage.cfg
 cm_t35                       arm         armv7       cm_t35              -              omap3
 omap3_overo                  arm         armv7       overo               -              omap3
 omap3_pandora                arm         armv7       pandora             -              omap3
include/configs/mx6qsabrelite.h new file +162 -0

162 lines not on this page · raw message

Signature · 1 line
1.7.4.1
reviewer
#1 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Jason/Dirk,

Quoted 9 lines · Jason Liu

Add the initial support for Freescale i.MX6Q Sabre Lite board

---
V2: change the default script to let linaro image boot, and also ? ?change the default env to dev 0, which is normal SD slot, not ? ?the Micro-SD slot

This is what I get on my sabrelite:

U-Boot 2011.12-rc1-00004-g06e42c6-dirty (Dec 13 2011 - 12:58:29)

CPU:   Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1

(and then U-boot prompt never shows up).

The FSL version of U-boot boots fine on my board,

Regards,

Fabio Estevam

#2 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Quoted 17 lines · Fabio Estevam

Jason/Dirk,

Quoted 9 lines · Jason Liu

Add the initial support for Freescale i.MX6Q Sabre Lite board

---
V2: change the default script to let linaro image boot, and also
change the default env to dev 0, which is normal SD slot, not the Micro-SD slot

This is what I get on my sabrelite:

U-Boot 2011.12-rc1-00004-g06e42c6-dirty (Dec 13 2011 - 12:58:29)

Quoted 8 lines
CPU:   Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1

(and then U-boot prompt never shows up).

I think to remember that this might happen if you have some issues with the SD card. At least this was my wild guess the last time I saw something like this ;)

Anyway, I will send you a binary for test which works for me in a private mail.

Best regards

Dirk

reviewer
#3 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Quoted 12 lines · Dirk Behme
Quoted 10 lines

U-Boot 2011.12-rc1-00004-g06e42c6-dirty (Dec 13 2011 - 12:58:29)

CPU: ? Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM: ?1 GiB
WARNING: Caches not enabled
MMC: ? FSL_ESDHC: 0, FSL_ESDHC: 1

(and then U-boot prompt never shows up).

Quoted 6 lines

I think to remember that this might happen if you have some issues with the SD card. At least this was my wild guess the last time I saw something like this ;)

Anyway, I will send you a binary for test which works for me in a private mail.

Thanks. Your binary works fine and it is based on 2009.09.

Have you tried booting sabrelite on the latest origin/master code?

Viele Danke,

Fabio Estevam

#4 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Quoted 13 lines · Fabio Estevam
Quoted 11 lines · Dirk Behme
Quoted 10 lines

U-Boot 2011.12-rc1-00004-g06e42c6-dirty (Dec 13 2011 - 12:58:29)

CPU:   Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1

(and then U-boot prompt never shows up).

Quoted 8 lines
Quoted 6 lines

I think to remember that this might happen if you have some issues with the SD card. At least this was my wild guess the last time I saw something like this ;)

Anyway, I will send you a binary for test which works for me in a private mail.

Thanks. Your binary works fine and it is based on 2009.09.

Looking at the binary I sent you it has

U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33)

?

Best regards

Dirk

reviewer
#5 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Quoted 4 lines · Dirk Behme

Looking at the binary I sent you it has

U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33)

Sorry, I made a typo.

2011.09 works fine for me, but 2011.12-rc1 does not boot my sabrelite.

Tried booting two boards (mx28 and mx6qsabrelite) using the latest origin/master tree,
and both of them failed. Ok, both are not in mainline yet, so I will try a mx53 board next.

If your sabrelite boots on the latest master tree, please let me know.

Thanks,

Fabio Estevam

#6 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

Quoted 9 lines · Fabio Estevam
Quoted 4 lines · Dirk Behme

Looking at the binary I sent you it has

U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33)

Sorry, I made a typo.

Quoted 8 lines

2011.09 works fine for me, but 2011.12-rc1 does not boot my sabrelite.

Tried booting two boards (mx28 and mx6qsabrelite) using the latest origin/master tree,
and both of them failed. Ok, both are not in mainline yet, so I will try a mx53 board next.

If your sabrelite boots on the latest master tree, please let me know.

My version I sent you is based on mainline commit

c90a4dd79cb17abb46689f27ff9f1c971362d6e2
post/post.c: Use lldiv for 64-bit divisions

which is ~2 days old. So you might try that, and if it boots, might have a look to git bisect.

Best regards

Dirk

#7 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam
Quoted 4 lines · Dirk Behme

Looking at the binary I sent you it has

U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33)

Sorry, I made a typo.

Quoted 8 lines

2011.09 works fine for me, but 2011.12-rc1 does not boot my sabrelite.

Tried booting two boards (mx28 and mx6qsabrelite) using the latest origin/master tree,
and both of them failed. Ok, both are not in mainline yet, so I will try a mx53 board next.

If your sabrelite boots on the latest master tree, please let me know.

After rebasing Jason's patches to latest git head:

U-Boot 2011.12-rc1-00010-g0626de4-dirty (Dec 14 2011 - 11:34:10)

CPU:   Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   FSL_SDHC: 0, FSL_SDHC: 1

*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

mmc0 is current device

** Unable to use mmc 0:2 for fatload **

** Unable to use mmc 0:2 for fatload ** Booting from net ...
Unknown command 'dhcp' - try 'help' Wrong Image Format for bootm command
ERROR: can't get kernel image! MX6QSABRELITE U-Boot >

Best regards

Dirk

#8 lore raw

PATCH v2 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

In reply to Fabio Estevam
Quoted 24 lines · Fabio Estevam

Jason/Dirk,

Quoted 9 lines · Jason Liu

Add the initial support for Freescale i.MX6Q Sabre Lite board

---
V2: change the default script to let linaro image boot, and also ? ?change the default env to dev 0, which is normal SD slot, not ? ?the Micro-SD slot

This is what I get on my sabrelite:

U-Boot 2011.12-rc1-00004-g06e42c6-dirty (Dec 13 2011 - 12:58:29)

CPU:   Freescale i.MX61 family rev1.0 at 792 MHz
Reset cause: unknown reset
Board: MX6Q-Sabre Lite
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1
Quoted 4 lines

(and then U-boot prompt never shows up).

The FSL version of U-boot boots fine on my board,

I got the same problem on arm2 board, and just figured it out. The cause seems a little absurd to me. The following patch got missed from the beginning when the imx6q series got applied.

[PATCH V3 4/5] i.mx: fsl_esdhc: add the i.mx6q support

Applying the patch solves the problem for me.

Signature · 2 lines
Regards,
Shawn