i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
PATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
From: Dirk Behme <[email protected]>
Add the initial support for Freescale i.MX6Q Sabre Lite board
--- 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 | 158 +++++++++++++++++++++++ 6 files changed, 522 insertions(+), 0 deletions(-)
MAINTAINERS +1 -0
@@ -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
@@ -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 +158 -0
158 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Fabio Estevam
reviewerPATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
board/freescale/mx6qsabrelite/imximage.cfg
Quoted 6 lines · Jason Liu
board/freescale/mx6qsabrelite/imximage.cfg new file +6
-0+IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM ? ? ?sd
This board does not boot from sd, only from SPI NOR.
Could you please let me know how it was tested?
It would be nice to add a README that tells how to flash the SPI NOR.
Regards,
Fabio Estevam
PATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
Quoted 11 lines · Fabio Estevam
board/freescale/mx6qsabrelite/imximage.cfg line 34
Quoted 6 lines · Jason Liu
board/freescale/mx6qsabrelite/imximage.cfg new file +6
-0+IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM sdThis board does not boot from sd, only from SPI NOR.
Quoted 1 line
Could you please let me know how it was tested?
There is a 'workaround/patch' available from Freescale which switches the board to SD boot. It's a small program written to the SPI NOR replacing the U-Boot in SPI NOR, which then itself jumps back to the SD boot routines. From user point of view the boards boots from SD then. With a small, invisible indirection via the SPI NOR.
Best regards
Dirk
Fabio Estevam
reviewerPATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
Quoted 14 lines · Dirk Behme
Quoted 13 lines · Fabio Estevam
board/freescale/mx6qsabrelite/imximage.cfg
Quoted 6 lines · Jason Liu
board/freescale/mx6qsabrelite/imximage.cfg new file +6
-0+IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM ? ? ?sdThis board does not boot from sd, only from SPI NOR.
Quoted 8 lines
Quoted 1 line
Could you please let me know how it was tested?
There is a 'workaround/patch' available from Freescale which switches the board to SD boot. It's a small program written to the SPI NOR replacing the U-Boot in SPI NOR, which then itself jumps back to the SD boot routines. From user point of view the boards boots from SD then. With a small, invisible indirection via the SPI NOR.
I would be glad to test the mx6sabrelite U-boot patch if you can provide me the FSL workaround/patch that replaces SPI NOR with SD boot.
Thanks,
Fabio Estevam
PATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
In reply to Dirk BehmeQuoted 12 lines · Dirk Behme
Quoted 11 lines · Fabio Estevam
board/freescale/mx6qsabrelite/imximage.cfg line 34
Quoted 6 lines · Jason Liu
board/freescale/mx6qsabrelite/imximage.cfg new file +6
-0+IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM sdThis board does not boot from sd, only from SPI NOR.
Quoted 2 lines
Quoted 1 line
Could you please let me know how it was tested?
Hi Dirk,
Quoted 4 lines
There is a 'workaround/patch' available from Freescale which switches the board to SD boot. It's a small program written to the SPI NOR replacing the U-Boot in SPI NOR, which then itself jumps back to the SD boot routines. From user point of view the boards boots from SD then.
But if I really understand, the board boots always from SPI NOR, in other words the SPI NOR cannot be empty, as it can be if the board boots drirectly from SD.
Quoted 1 line
With a small, invisible indirection via the SPI NOR.
Then we need a document / README, as remarked by Fabio, to describe this process.
Best regards,
Stefano Babic
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-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
Quoted 16 lines · Stefano Babic
Quoted 11 lines · Dirk Behme
Quoted 10 lines · Fabio Estevam
board/freescale/mx6qsabrelite/imximage.cfg line 34
Quoted 6 lines · Jason Liu
board/freescale/mx6qsabrelite/imximage.cfg new file +6
-0+IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM sdThis board does not boot from sd, only from SPI NOR.
Quoted 1 line
Quoted 1 line
Could you please let me know how it was tested?
Hi Dirk,
Quoted 8 lines
Quoted 4 lines
There is a 'workaround/patch' available from Freescale which switches the board to SD boot. It's a small program written to the SPI NOR replacing the U-Boot in SPI NOR, which then itself jumps back to the SD boot routines. From user point of view the boards boots from SD then.
But if I really understand, the board boots always from SPI NOR, in other words the SPI NOR cannot be empty, as it can be if the board boots drirectly from SD.
Yes, this is correct. The ~20 line workaround is executed first in the SPI NOR and then jumps back to the SD boot routines. Hopefully there will be updated/modified boards in the future were the boot mode is configurable, again.
Quoted 4 lines
Quoted 1 line
With a small, invisible indirection via the SPI NOR.
Then we need a document / README, as remarked by Fabio, to describe this process.
Fabio: Do you think you could provide such a readme after your tests?
Many thanks
Dirk
Fabio Estevam
reviewerPATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
Quoted 4 lines · Dirk Behme
Yes, this is correct. The ~20 line workaround is executed first in the SPI NOR and then jumps back to the SD boot routines. Hopefully there will be updated/modified boards in the future were the boot mode is configurable, again.
Yes, updated boards will allow booting from SD card directly.
...
Quoted 2 lines
Fabio: Do you think you could provide such a readme after your tests?
Or maybe we can wait for the new boards to become available.
Let me discuss this option internally.
Regards,
Fabio Estevam
PATCH 1/1 i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board
In reply to Jason LiuQuoted 3 lines · Jason Liu
From: Dirk Behme <[email protected]>
Add the initial support for Freescale i.MX6Q Sabre Lite board
Please note that this patch relies on the basic i.mx6q core support introduced with the patch series
http://lists.denx.de/pipermail/u-boot/2011-November/111163.html
So it would be nice if this patch could be handled together with the above patch series as proposed in
http://lists.denx.de/pipermail/u-boot/2011-December/111881.html
Many thanks
Dirk