Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-09-08 Thread John Tobias
Hi Fabio, On Thu, Sep 8, 2016 at 4:05 AM, Fabio Estevam <feste...@gmail.com> wrote: > Hi John, > > On Wed, Aug 24, 2016 at 2:25 AM, John Tobias <john.tobias...@gmail.com> wrote: > >> I tried to following combinations below but, the return >> SETUP(r.bRequestTy

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread John Tobias
Hi Marek, On Tue, Aug 23, 2016 at 8:29 PM, Marek Vasut <ma...@denx.de> wrote: > On 08/24/2016 03:30 AM, John Tobias wrote: >> Hi Marek, > > Hi, > >> On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut <ma...@denx.de> wrote: >>> On 08/24/2016 12:49 AM,

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread John Tobias
Hi Marek, On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut <ma...@denx.de> wrote: > On 08/24/2016 12:49 AM, Fabio Estevam wrote: >> Adding Marek on Cc > > Thanks > >> On Mon, Aug 22, 2016 at 4:38 PM, John Tobias <john.tobias...@gmail.com> >> wrote: >

[U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-22 Thread John Tobias
When the host machine went to suspend mode and then wake it up, it send a USB_REQ_GET_STATUS. The existing case condition below, never become true and it causes the host machine to reset the connection. Once, it reset you will see an error "Disk Not Ejected Properly". case SETUP(USB_DIR_IN |

Re: [U-Boot] UMS - maintain connection

2016-08-17 Thread John Tobias
Hi Łukasz Majewski, I got it working. I may submit a fix soon. Regards, John On Mon, Aug 15, 2016 at 6:17 AM, Lukasz Majewski <l.majew...@majess.pl> wrote: > Hi John Tobias, > >> Hello All, >> >> I am using ums (USB Mass Storage) in u-boot to expose the storag

Re: [U-Boot] UMS - maintain connection

2016-08-15 Thread John Tobias
Hi Łukasz Majewski, On Mon, Aug 15, 2016 at 6:17 AM, Lukasz Majewski <l.majew...@majess.pl> wrote: > Hi John Tobias, > >> Hello All, >> >> I am using ums (USB Mass Storage) in u-boot to expose the storage of >> my device into my host machine. Everything works

[U-Boot] UMS - maintain connection

2016-08-14 Thread John Tobias
Hello All, I am using ums (USB Mass Storage) in u-boot to expose the storage of my device into my host machine. Everything works okay except when the host machine wakeup from the sleep - my device got disconnect from host after it received an resume signal. I tried the g_mass_storage driver in

[U-Boot] [PATCH v3] usb: ums - expose selected partition/s

2016-04-13 Thread John Tobias
ums 0 mmc 0 Signed-off-by: John Tobias <john.tobias...@gmail.com> --- cmd/usb_mass_storage.c | 39 +-- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index 14eed98..ac53a73 100644 ---

Re: [U-Boot] [PATCH] usb: ums - expose selected partition/s v2

2016-04-13 Thread John Tobias
0' or 'ums 0 mmc 0' or 'ums 0 mmc 0.0' > > > > > > 3. To expose multiple partititions on several devices > > ums 0 mmc 0:1,1:6 > > > > Signed-off-by: John Tobias <john.tobias...@gmail.com> > > --- > > cmd/usb_mass_storage.c | 32 ++--

[U-Boot] [PATCH] usb: ums - expose selected partition/s v2

2016-04-11 Thread John Tobias
By applying this patch, it will give us some flexibility to expose a selected partition/s. e.g: 1. To expose several partitions ums 0 mmc 0:1,0:6 2. To expose the all partitions ums 0 mmc 0:0 3. To expose multiple partititions on several devices ums 0 mmc 0:1,1:6 Signed-off-by: John Tobias

[U-Boot] [PATCH] usb: ums - expose selected partition/s

2016-04-08 Thread John Tobias
By applying this patch, it will give us some flexibility to expose a selected partition/s. e.g: 1. To expose several partitions ums 0 mmc 0:1,0:6 2. To expose the all partitions ums 0 mmc 0:0 3. To expose multiple partititions on several devices ums 0 mmc 0:1,1:6 Signed-off-by: John Tobias

Re: [U-Boot] [PATCH] USB: g_dnl: Change device class

2016-04-08 Thread John Tobias
ms support. > > > > Signed-off-by: John Tobias <john.tobias...@gmail.com> > > --- > > drivers/usb/gadget/g_dnl.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c &g

[U-Boot] [PATCH] USB: g_dnl: Change device class

2016-04-07 Thread John Tobias
The USB Mass Storage (ums) works in Windows, Linux and OS X (EL Capitan). But, not in OS X (Yosemite). By applying the said patch, it extends the ums support. Signed-off-by: John Tobias <john.tobias...@gmail.com> --- drivers/usb/gadget/g_dnl.c | 4 ++-- 1 file changed, 2 insertions

Re: [U-Boot] iMX6 DDR Calibration Value

2014-11-14 Thread John Tobias
) stress test again on different board (with different DDR). Once it passed, the value that the stress tester generated could use as a default value of those registers. Regards, John Tobias On Fri, Nov 14, 2014 at 10:44 AM, Fabio Estevam feste...@gmail.com wrote: On Thu, Nov 13, 2014 at 11:19 PM, John

Re: [U-Boot] [PATCH v7 4/5] imx6: add spl in the header file

2014-11-13 Thread John Tobias
Hi Stefano, On Thu, Nov 13, 2014 at 4:49 AM, Fabio Estevam feste...@gmail.com wrote: On Thu, Nov 13, 2014 at 10:41 AM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Thu, Nov 13, 2014 at 6:58 AM, Stefano Babic sba...@denx.de wrote: #define CONFIG_LOADADDR

Re: [U-Boot] [PATCH v7 4/5] imx6: add spl in the header file

2014-11-13 Thread John Tobias
Hi Fabio, Stefano, Thanks for reviewing my work and for accepting it. Regards, John On Thu, Nov 13, 2014 at 6:42 AM, Stefano Babic sba...@denx.de wrote: Hi Fabio, John, On 13/11/2014 15:39, Fabio Estevam wrote: Hi Stefano, On Thu, Nov 13, 2014 at 10:49 AM, Fabio Estevam

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread John Tobias
Hi Fabio, I think it's part of mkimage/Makefile. I tried to use board/freescale/mx6sabresd/dummy.cfg and the content was BOOT_FROM sd It compiles. I guess you need to modify the Makefile in order to get rid the .cfg file for SPL. Regards, john On Thu, Nov 13, 2014 at 2:30 PM, Fabio Estevam

[U-Boot] iMX6 DDR Calibration Value

2014-11-13 Thread John Tobias
Hi Fabio / Stefano, May be you could help me to get some answer regarding with calibrations value for DDR. I have a 4 custom boards based on iMX6SL (2) Micron DDR and (2) Samsung DDR. The boards has exact DDR footprints (like density, bus width and so on). In fact the uboot that I am using

Re: [U-Boot] [PATCH v3 7/8] imx6: SPL support for iMX6 SabreSD

2014-11-12 Thread John Tobias
Hi Stefano, That's fine.. I'll fix it. Regards, john On Wed, Nov 12, 2014 at 2:13 AM, Stefano Babic sba...@denx.de wrote: Hi John, On 11/11/2014 18:15, John Tobias wrote: You add a new entry point here (spl_board_mmc_init), but why cannot you do this in the functions already supplied

[U-Boot] [PATCH v6 3/5] kconfig: imx6: add SUPPORT_SPL

2014-11-12 Thread John Tobias
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use mx6sabresd_spl_defconfig to compile it. Signed-off-by: John Tobias john.tobias...@gmail.com --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644

[U-Boot] [PATCH v6 2/5] imx6: add data configuration file for SPL

2014-11-12 Thread John Tobias
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed the related settings for DDR Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 board/freescale

[U-Boot] [PATCH v6 4/5] imx6: add spl in the header file

2014-11-12 Thread John Tobias
add the spl info in the header file. Also, added a macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias john.tobias...@gmail.com --- include/configs/mx6sabre_common.h | 2 ++ include/configs/mx6sabresd.h | 6 ++ 2 files changed, 8 insertions(+) diff

[U-Boot] [PATCH v6 0/5] iMX6 SabreSD SPL Support

2014-11-12 Thread John Tobias
Add a macro #ifndef for CONFIG_SYS_TEXT_BASE to avoid compilation warning. Changes (v6): Use board_mmc_init for spl mmc initialization instead of adding spl_board_mmc_init function John Tobias (5): imx6: add spl config for mx6sabresd imx6: add data configuration file for SPL kconfig: imx6

[U-Boot] [PATCH v6 1/5] imx6: add spl config for mx6sabresd

2014-11-12 Thread John Tobias
add a build configuration file for mx6sabresd with spl support Signed-off-by: John Tobias john.tobias...@gmail.com --- configs/mx6sabresd_spl_defconfig | 5 + 1 file changed, 5 insertions(+) create mode 100644 configs/mx6sabresd_spl_defconfig diff --git a/configs/mx6sabresd_spl_defconfig b

[U-Boot] [PATCH v6 5/5] imx6: SPL support for iMX6 SabreSD

2014-11-12 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. It uses mx6dq_dram_iocfg and mx6_dram_cfg for ddr configuration. Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd.c | 186

Re: [U-Boot] [PATCH v6 0/5] iMX6 SabreSD SPL Support

2014-11-12 Thread John Tobias
Hi Fabio, Thanks for the info. Regards, john On Wed, Nov 12, 2014 at 10:19 AM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Wed, Nov 12, 2014 at 3:14 PM, John Tobias john.tobias...@gmail.com wrote: This patch is for SPL support for iMX6 SabreSD. The said patches has been tested

Re: [U-Boot] [PATCH v6 0/5] iMX6 SabreSD SPL Support

2014-11-12 Thread John Tobias
Hi Fabio, Thanks for catching it. Regards, john On Wed, Nov 12, 2014 at 1:14 PM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Wed, Nov 12, 2014 at 4:19 PM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Wed, Nov 12, 2014 at 3:14 PM, John Tobias john.tobias...@gmail.com

[U-Boot] [PATCH v7 2/5] imx6: add data configuration file for SPL

2014-11-12 Thread John Tobias
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed the related settings for DDR Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 board/freescale

[U-Boot] [PATCH v7 0/5] iMX6 SabreSD SPL Support

2014-11-12 Thread John Tobias
a correct 1 GiB. John Tobias (5): imx6: add spl config for mx6sabresd imx6: add data configuration file for SPL kconfig: imx6: add SUPPORT_SPL imx6: add spl in the header file imx6: SPL support for iMX6 SabreSD arch/arm/Kconfig | 1 + board/freescale

[U-Boot] [PATCH v7 1/5] imx6: add spl config for mx6sabresd

2014-11-12 Thread John Tobias
add a build configuration file for mx6sabresd with spl support Signed-off-by: John Tobias john.tobias...@gmail.com --- configs/mx6sabresd_spl_defconfig | 5 + 1 file changed, 5 insertions(+) create mode 100644 configs/mx6sabresd_spl_defconfig diff --git a/configs/mx6sabresd_spl_defconfig b

[U-Boot] [PATCH v7 5/5] imx6: SPL support for iMX6 SabreSD

2014-11-12 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port (Switch 1 or 2 of SW6) Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd.c | 186 +++- 1 file changed, 184 insertions(+), 2

[U-Boot] [PATCH v7 3/5] kconfig: imx6: add SUPPORT_SPL

2014-11-12 Thread John Tobias
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use mx6sabresd_spl_defconfig to compile it. Signed-off-by: John Tobias john.tobias...@gmail.com --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644

[U-Boot] [PATCH v7 4/5] imx6: add spl in the header file

2014-11-12 Thread John Tobias
add the spl info in the header file. Also, added a macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias john.tobias...@gmail.com --- include/configs/mx6sabre_common.h | 2 ++ include/configs/mx6sabresd.h | 6 ++ 2 files changed, 8 insertions(+) diff

Re: [U-Boot] [PATCH v3 7/8] imx6: SPL support for iMX6 SabreSD

2014-11-11 Thread John Tobias
On Tue, Nov 11, 2014 at 12:44 AM, Stefano Babic sba...@denx.de wrote: Hi John, On 10/11/2014 01:23, John Tobias wrote: Hi Stefano, On Sun, Nov 9, 2014 at 1:16 PM, Stefano Babic sba...@denx.de wrote: Hi John, On 08/11/2014 22:27, John Tobias wrote: This patch will enable the support

[U-Boot] [PATCH v4 1/7] imx6: add spl config for mx6sabresd

2014-11-11 Thread John Tobias
add a build configuration file for mx6sabresd with spl support Signed-off-by: John Tobias john.tobias...@gmail.com --- configs/mx6sabresd_spl_defconfig | 5 + 1 file changed, 5 insertions(+) create mode 100644 configs/mx6sabresd_spl_defconfig diff --git a/configs/mx6sabresd_spl_defconfig b

[U-Boot] [PATCH v4 2/7] kconfig: imx6: add SUPPORT_SPL

2014-11-11 Thread John Tobias
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use mx6sabresd_spl_defconfig to compile it. Signed-off-by: John Tobias john.tobias...@gmail.com --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644

[U-Boot] [PATCH v4 0/7] iMX6 SabreSD SPL Support

2014-11-11 Thread John Tobias
file to enable SPL (mx6sabresd_spl_defconfig). Mapped DCD data to mx6_mmdc_calibration, mx6dq_iomux_grp_regs, mx6dq_iomux_ddr_regs and mx6_ddr3_cfg data structures. Read 11 and 12 bits of BOOT_CFG register to actually determine the active mmc port. John Tobias (7): imx6: add spl config

[U-Boot] [PATCH v4 4/7] imx6: add spl in the header file

2014-11-11 Thread John Tobias
add the spl info in the header file. It includes the stack address of iMX6Q which is 0x0093FFB8 Signed-off-by: John Tobias john.tobias...@gmail.com --- include/configs/mx6sabresd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6sabresd.h b/include/configs

[U-Boot] [PATCH v4 7/7] imx6: add data configuration file for SPL

2014-11-11 Thread John Tobias
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed the related settings for DDR Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 board/freescale

[U-Boot] [PATCH v4 6/7] imx6: SPL support for iMX6 SabreSD

2014-11-11 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. It uses mx6dq_dram_iocfg and mx6_dram_cfg for ddr configuration. Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd.c | 187

[U-Boot] [PATCH v4 3/7] mmc: imx6: call spl_board_mmc_init

2014-11-11 Thread John Tobias
the bootstrap to see which mmc port is active and configure it. Then, it pass the configuration to fsl_esdhc_initialize for initialization. Finally, the spl_mmc_load_image could load and run the u-boot.img Signed-off-by: John Tobias john.tobias...@gmail.com --- drivers/mmc/mmc.c | 9 ++--- include

[U-Boot] [PATCH v4 5/7] imx6: add some flexibility for defining macros

2014-11-11 Thread John Tobias
iMX6 SabreSD has a different stack address (0x0093FFB8) compare to the default stack address defined in the file. The CONFIG_SYS_TEXT_BASE is defined in mx6sabre_common.h. It is better to add the #ifndef to avoid compilation warnings. Signed-off-by: John Tobias john.tobias...@gmail.com

Re: [U-Boot] [PATCH v4 5/7] imx6: add some flexibility for defining macros

2014-11-11 Thread John Tobias
Hi Otavio, In iMX6DQ data sheet the stack address is 0x0093FFB8 (page 383). While, in iMX6SDL datasheet (page 393) is 0x0091FFB8. Regards, john On Tue, Nov 11, 2014 at 3:58 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Nov 11, 2014 at 8:50 PM, John Tobias john.tobias

Re: [U-Boot] [PATCH v4 5/7] imx6: add some flexibility for defining macros

2014-11-11 Thread John Tobias
I think Gateworks is based on iMX6SDL. On Tue, Nov 11, 2014 at 4:52 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Nov 11, 2014 at 10:15 PM, John Tobias john.tobias...@gmail.com wrote: In iMX6DQ data sheet the stack address is 0x0093FFB8 (page 383). While, in iMX6SDL datasheet

Re: [U-Boot] [PATCH v4 5/7] imx6: add some flexibility for defining macros

2014-11-11 Thread John Tobias
I'll go ahead and use the same address. Regards, john On Tue, Nov 11, 2014 at 5:02 PM, Fabio Estevam feste...@gmail.com wrote: On Tue, Nov 11, 2014 at 10:59 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: iMX6SDL has 128KB OCRAM, 0x0090 - 0x0091 iMX6DQ has 256KB OCRAM,

[U-Boot] [PATCH v5 1/5] kconfig: imx6: add SUPPORT_SPL

2014-11-11 Thread John Tobias
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use mx6sabresd_spl_defconfig to compile it. Signed-off-by: John Tobias john.tobias...@gmail.com --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644

[U-Boot] [PATCH v5 2/5] imx6: add spl in the header file

2014-11-11 Thread John Tobias
add the spl info in the header file. Also, added the macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias john.tobias...@gmail.com --- include/configs/mx6sabre_common.h | 2 ++ include/configs/mx6sabresd.h | 6 ++ 2 files changed, 8 insertions

[U-Boot] [PATCH v5 0/5] iMX6 SabreSD SPL Support

2014-11-11 Thread John Tobias
Add a macro #ifndef for CONFIG_SYS_TEXT_BASE to avoid compilation warning. John Tobias (5): kconfig: imx6: add SUPPORT_SPL imx6: add spl in the header file imx6: add spl config for mx6sabresd mmc: imx6: call spl_board_mmc_init imx6: SPL support for iMX6 SabreSD arch/arm/Kconfig

[U-Boot] [PATCH v5 4/5] mmc: imx6: call spl_board_mmc_init

2014-11-11 Thread John Tobias
the bootstrap to see which mmc port is active and configure it. Then, it pass the configuration to fsl_esdhc_initialize for initialization. Finally, the spl_mmc_load_image could load and run the u-boot.img Signed-off-by: John Tobias john.tobias...@gmail.com --- drivers/mmc/mmc.c | 9

[U-Boot] [PATCH v5 5/5] imx6: SPL support for iMX6 SabreSD

2014-11-11 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. It uses mx6dq_dram_iocfg and mx6_dram_cfg for ddr configuration. Signed-off-by: John Tobias john.tobias...@gmail.com --- board/freescale/mx6sabresd/mx6sabresd.c | 187

[U-Boot] [PATCH v5 3/5] imx6: add spl config for mx6sabresd

2014-11-11 Thread John Tobias
add a build configuration file for mx6sabresd with spl support Signed-off-by: John Tobias john.tobias...@gmail.com --- configs/mx6sabresd_spl_defconfig | 5 + 1 file changed, 5 insertions(+) create mode 100644 configs/mx6sabresd_spl_defconfig diff --git a/configs/mx6sabresd_spl_defconfig b

[U-Boot] [PATCH 1/7] imx6: add macro define inclusion

2014-11-09 Thread John Tobias
add a macro define inclusion to compile the function. iMX6SL doesn't have an MMDC_P1_BASE_ADDR in the header. It will break the build if the SPL features is enabled for iMX6SL. --- arch/arm/cpu/armv7/mx6/ddr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/ddr.c

[U-Boot] [PATCH 0/7] *** iMX6SL-evk SPL Support ***

2014-11-09 Thread John Tobias
dd if=SPL of=/dev/xxx bs=1K seek=1; sync sudo dd if=u-boot.img of=/dev/xxx bs=1K seek=69 John Tobias (7): imx6: add macro define inclusion imx6sl: update DCD configuration file imx6sl: add spl on board configuration imx6: add additional flexibility for defining macros imx6sl: add spl

[U-Boot] [PATCH 3/7] imx6sl: add spl on board configuration

2014-11-09 Thread John Tobias
add spl on build configuration for iMX6SL --- configs/mx6slevk_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/mx6slevk_defconfig b/configs/mx6slevk_defconfig index fb8c4de..dfdf54f 100644 --- a/configs/mx6slevk_defconfig +++ b/configs/mx6slevk_defconfig

[U-Boot] [PATCH 2/7] imx6sl: update DCD configuration file

2014-11-09 Thread John Tobias
Update the Device Configuration Data file for iMX6SL for SPL support. --- board/freescale/mx6slevk/imximage.cfg | 78 ++- 1 file changed, 4 insertions(+), 74 deletions(-) diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg

[U-Boot] [PATCH 6/7] imx6sl: add SPL support for iMX6SL-evk

2014-11-09 Thread John Tobias
This patch support the SPL features for iMX6SL. It tested to boot on SD1, SD2 and SD3 mmc ports. --- board/freescale/mx6slevk/mx6slevk.c | 168 +++- 1 file changed, 167 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx6slevk/mx6slevk.c

[U-Boot] [PATCH 4/7] imx6: add additional flexibility for defining macros

2014-11-09 Thread John Tobias
iMX6SL has a different address value for the following: CONFIG_SPL_BSS_START_ADDR CONFIG_SYS_SPL_MALLOC_START --- include/configs/imx6_spl.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h index 4ff37b3..61233c4 100644 ---

[U-Boot] [PATCH 7/7] kconfig: imx6sl: add add SUPPORT_SPL

2014-11-09 Thread John Tobias
enable SUPPORT_SPL by default for iMX6SL-evk --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ab0d284..40a3604 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -614,6 +614,7 @@ config TARGET_MX6SABRESD config

[U-Boot] [PATCH 5/7] imx6sl: add spl in include header file

2014-11-09 Thread John Tobias
add the SPL macros in include header file for iMX6SL --- include/configs/mx6slevk.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 4fcaf51..afbb81d 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h

Re: [U-Boot] [PATCH 0/7] *** iMX6SL-evk SPL Support ***

2014-11-09 Thread John Tobias
Thanks for the info. Regards, John On Sunday, November 9, 2014, Andreas Färber afaer...@suse.de wrote: Hi, Please drop *** from the cover letter template git-format-patch generates. :) Cheers, Andreas -- SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer

Re: [U-Boot] [PATCH 1/7] imx6: add macro define inclusion

2014-11-09 Thread John Tobias
Hi Fabio, I didn't notice that one... Thanks for the info. Regards, john On Sun, Nov 9, 2014 at 3:26 PM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Sun, Nov 9, 2014 at 3:51 PM, John Tobias john.tobias...@gmail.com wrote: add a macro define inclusion to compile the function

Re: [U-Boot] [PATCH v3 4/8] imx6: add some flexibility for defining macros

2014-11-09 Thread John Tobias
Hi Stefano, On Sun, Nov 9, 2014 at 1:24 PM, Stefano Babic sba...@denx.de wrote: On 08/11/2014 22:27, John Tobias wrote: iMX6 SabreSD has different stack address compare to the default stack address defined on the file. The CONFIG_SYS_TEXT_BASE is defined in mx6sabre_common.h which is same

Re: [U-Boot] [PATCH v3 6/8] imx6: add data configuration file for SPL

2014-11-09 Thread John Tobias
Thanks for the info. I'll double check it again. Regards, john On Sun, Nov 9, 2014 at 1:22 PM, Stefano Babic sba...@denx.de wrote: Hi John, On 08/11/2014 22:27, John Tobias wrote: This file is the default DCD configuration file for SPL --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg

Re: [U-Boot] [PATCH v3 7/8] imx6: SPL support for iMX6 SabreSD

2014-11-09 Thread John Tobias
Hi Stefano, On Sun, Nov 9, 2014 at 1:16 PM, Stefano Babic sba...@denx.de wrote: Hi John, On 08/11/2014 22:27, John Tobias wrote: This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. --- board/freescale/mx6sabresd/mx6sabresd.c | 211

Re: [U-Boot] [PATCH v2 3/8] imx6: add spl on board configuration

2014-11-09 Thread John Tobias
: On Sat, Nov 8, 2014 at 4:22 PM, John Tobias john.tobias...@gmail.com wrote: add the spl on build configuration of iMX6 SabreSD --- include/configs/mx6sabresd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 938030d

Re: [U-Boot] [PATCH 2/7] imx6sl: update DCD configuration file

2014-11-09 Thread John Tobias
My mistake, I should use what's in the mx6q_4x_mt41j128.cfg. Regards, john On Sun, Nov 9, 2014 at 1:31 PM, Stefano Babic sba...@denx.de wrote: Hi John, On 09/11/2014 18:51, John Tobias wrote: Update the Device Configuration Data file for iMX6SL for SPL support. --- board/freescale

Re: [U-Boot] [PATCH v2 3/8] imx6: add spl on board configuration

2014-11-09 Thread John Tobias
Oh okay, I'll do it again. Regards, John On Sun, Nov 9, 2014 at 4:32 PM, Fabio Estevam feste...@gmail.com wrote: On Sun, Nov 9, 2014 at 10:27 PM, John Tobias john.tobias...@gmail.com wrote: That's exactly that I am going to ask you. Because, some people in the community doesn't need the SPL

Re: [U-Boot] [PATCH 8/8] imx: SPL support for iMX6 SabreSD

2014-11-08 Thread John Tobias
Thanks for the info. I got a 2nd revision and will send it later. Regards, john On Sat, Nov 8, 2014 at 5:13 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Fri, Nov 7, 2014 at 8:12 PM, John Tobias john.tobias...@gmail.com wrote: This file will enable the support for SPL on iMX6 Sabrex

[U-Boot] [PATCH v2 0/8] *** iMX6 SabreSD SPL Support ***

2014-11-08 Thread John Tobias
if=SPL of=/dev/xxx bs=1K seek=1; sync sudo dd if=u-boot.img of=/dev/xxx bs=1K seek=69 Changes: Merged the SPL support into the main board file Remove the compilation warmings John Tobias (8): mmc: add spl_board_mmc_init mmc: imx6: call spl_board_mmc_init imx6: add spl on board configuration

[U-Boot] [PATCH v2 1/8] mmc: add spl_board_mmc_init

2014-11-08 Thread John Tobias
To avoid compilation warning it need to define it in the header file. --- include/mmc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/mmc.h b/include/mmc.h index d74a190..1d48bba 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -388,7 +388,9 @@ int

[U-Boot] [PATCH v2 3/8] imx6: add spl on board configuration

2014-11-08 Thread John Tobias
add the spl on build configuration of iMX6 SabreSD --- include/configs/mx6sabresd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 938030d..4d2e54a 100644 --- a/include/configs/mx6sabresd.h +++

[U-Boot] [PATCH v2 2/8] mmc: imx6: call spl_board_mmc_init

2014-11-08 Thread John Tobias
Add to call spl_board_mmc_init when CONFIG_SPL_MMC_SUPPORT is defined, by default the mmc_initialize function will call board_mmc_init. But, the said function is not link to the spl image. --- drivers/mmc/mmc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 4/8] imx6: add some flexibility for defining macros

2014-11-08 Thread John Tobias
iMX6 SabreSD has different stack address compare to the default stack address defined on the file. The CONFIG_SYS_TEXT_BASE is defined in mx6sabre_common.h which is same address defined on file. At the same time to avoid compilation warnings. --- include/configs/imx6_spl.h | 4 1 file

[U-Boot] [PATCH v2 8/8] kconfig: imx6: add SUPPORT_SPL

2014-11-08 Thread John Tobias
add SUPPORT_SPL for iMX6 SabreSD by default --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -609,6 +609,7 @@ config TARGET_MX6QSABREAUTO config

[U-Boot] [PATCH v2 6/8] imx6: SPL support for iMX6 SabreSD

2014-11-08 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. --- board/freescale/mx6sabresd/mx6sabresd.c | 216 1 file changed, 216 insertions(+) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c

[U-Boot] [PATCH v2 7/8] imx6: add data configuration file for SPL

2014-11-08 Thread John Tobias
This file is the default DCD configuration file for SPL --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 board/freescale/mx6sabresd/mx6sabresd_spl.cfg diff --git

[U-Boot] [PATCH v2 5/8] imx6: add spl on board configuration

2014-11-08 Thread John Tobias
add the spl on build configuration of iMX6 SabreSD --- configs/mx6qsabresd_defconfig | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/mx6qsabresd_defconfig b/configs/mx6qsabresd_defconfig index 67c1b77..14c80cc 100644 --- a/configs/mx6qsabresd_defconfig +++

Re: [U-Boot] [PATCH v2 6/8] imx6: SPL support for iMX6 SabreSD

2014-11-08 Thread John Tobias
Hi Jeroen, Thanks for the info. and you are correct. I have version 3 already... Will send the v3 in a moment... Regards, john On Sat, Nov 8, 2014 at 1:18 PM, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello John, On 08-11-14 19:22, John Tobias wrote: This patch will enable the support

[U-Boot] [PATCH v3 1/8] mmc: add spl_board_mmc_init

2014-11-08 Thread John Tobias
To avoid compilation warning it need to define it in the header file. --- include/mmc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/mmc.h b/include/mmc.h index d74a190..37119b8 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -388,6 +388,9 @@ int mmc_legacy_init(int verbose);

[U-Boot] [PATCH v3 0/8] *** iMX6 SabreSD SPL Support ***

2014-11-08 Thread John Tobias
if=SPL of=/dev/xxx bs=1K seek=1; sync sudo dd if=u-boot.img of=/dev/xxx bs=1K seek=69 Changes (v2): Merged the SPL support into the main board file Remove the compilation warmings Changes (v3): Removed sp and gd Use imx_ddr_size to set the ram_size John Tobias (8): mmc: add spl_board_mmc_init

[U-Boot] [PATCH v3 2/8] mmc: imx6: call spl_board_mmc_init

2014-11-08 Thread John Tobias
Add to call spl_board_mmc_init when CONFIG_SPL_MMC_SUPPORT is defined, by default the mmc_initialize function will call board_mmc_init. But, the said function is not link to the spl image. --- drivers/mmc/mmc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v3 4/8] imx6: add some flexibility for defining macros

2014-11-08 Thread John Tobias
iMX6 SabreSD has different stack address compare to the default stack address defined on the file. The CONFIG_SYS_TEXT_BASE is defined in mx6sabre_common.h which is same address defined on file. At the same time to avoid compilation warnings. --- include/configs/imx6_spl.h | 4 1 file

[U-Boot] [PATCH v3 3/8] imx6: add spl on include header file

2014-11-08 Thread John Tobias
add the spl on include header file of iMX6 SabreSD --- include/configs/mx6sabresd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 938030d..4d2e54a 100644 --- a/include/configs/mx6sabresd.h +++

[U-Boot] [PATCH v3 8/8] kconfig: imx6: add SUPPORT_SPL

2014-11-08 Thread John Tobias
add SUPPORT_SPL for iMX6 SabreSD by default --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22eb2d5..ab0d284 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -609,6 +609,7 @@ config TARGET_MX6QSABREAUTO config

[U-Boot] [PATCH v3 6/8] imx6: add data configuration file for SPL

2014-11-08 Thread John Tobias
This file is the default DCD configuration file for SPL --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 board/freescale/mx6sabresd/mx6sabresd_spl.cfg diff --git

[U-Boot] [PATCH v3 5/8] imx6: add spl on board configuration

2014-11-08 Thread John Tobias
add the spl on build configuration of iMX6 SabreSD --- configs/mx6qsabresd_defconfig | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/mx6qsabresd_defconfig b/configs/mx6qsabresd_defconfig index 67c1b77..14c80cc 100644 --- a/configs/mx6qsabresd_defconfig +++

[U-Boot] [PATCH v3 7/8] imx6: SPL support for iMX6 SabreSD

2014-11-08 Thread John Tobias
This patch will enable the support for SPL on iMX6 SabreSD. It tested on SD2 and SD3 mmc port. --- board/freescale/mx6sabresd/mx6sabresd.c | 211 +++- 1 file changed, 209 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c

[U-Boot] [PATCH 2/8] imx: add file in makefile

2014-11-07 Thread John Tobias
mx6sabresd_spl is the support file to enable SPL in iMX6 SabreSD --- board/freescale/mx6sabresd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx6sabresd/Makefile b/board/freescale/mx6sabresd/Makefile index cfca2ef..b8d0297 100644 ---

[U-Boot] [PATCH 1/8] kconfig: add SUPPORT_SPL

2014-11-07 Thread John Tobias
add SUPPORT_SPL for iMX6 SabreSD by default --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bd774d4..6eafc20 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -609,6 +609,7 @@ config TARGET_MX6QSABREAUTO config

[U-Boot] [PATCH 3/8] imx6: add spl on board configuration

2014-11-07 Thread John Tobias
add the spl on build configuration of iMX6 SabreSD --- configs/mx6qsabresd_defconfig | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/mx6qsabresd_defconfig b/configs/mx6qsabresd_defconfig index 67c1b77..b7b26df 100644 --- a/configs/mx6qsabresd_defconfig +++

[U-Boot] [PATCH 0/8] *** iMX6 SabreSD SPL Support ***

2014-11-07 Thread John Tobias
if=SPL of=/dev/xxx bs=1K seek=1; sync sudo dd if=u-boot.img of=/dev/xxx bs=1K seek=69 John Tobias (8): kconfig: add SUPPORT_SPL imx: add file in makefile imx6: add spl on board configuration imx6: add flexibility for defining stack address mmc: imx: add spl_board_mmc_init mx6: add SPL

[U-Boot] [PATCH 4/8] imx6: add flexibility for defining stack address

2014-11-07 Thread John Tobias
iMX6 SabreSD has different stack address compare to the default stack address defined on the file. --- include/configs/imx6_spl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h index 308e520..003dfe7 100644 ---

[U-Boot] [PATCH 5/8] mmc: imx: add spl_board_mmc_init

2014-11-07 Thread John Tobias
When CONFIG_SPL_MMC_SUPPORT is defined, by default the mmc_initialize function will call board_mmc_init. But, the said function is not link to the spl image. --- drivers/mmc/mmc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index

[U-Boot] [PATCH 6/8] mx6: add SPL support in the header

2014-11-07 Thread John Tobias
--- include/configs/mx6sabresd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 938030d..4d2e54a 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -12,6 +12,13 @@ #include

[U-Boot] [PATCH 8/8] imx: SPL support for iMX6 SabreSD

2014-11-07 Thread John Tobias
a/board/freescale/mx6sabresd/mx6sabresd_spl.c b/board/freescale/mx6sabresd/mx6sabresd_spl.c new file mode 100644 index 000..1d9ec6e --- /dev/null +++ b/board/freescale/mx6sabresd/mx6sabresd_spl.c @@ -0,0 +1,277 @@ +/* + * Author: John Tobias john.tobias...@gmail.com + * + * Derived from

[U-Boot] [PATCH 7/8] imx: add configuration file for SPL

2014-11-07 Thread John Tobias
This file is the default DCD configuration file for SPL --- board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 board/freescale/mx6sabresd/mx6sabresd_spl.cfg diff --git

Re: [U-Boot] SPL (Secondary Program Loader) on iMX6SL

2014-11-06 Thread John Tobias
Hi Fabio, Thanks for the info. I will try to send some patch or file for iMX6 SabreSD and for iMX6SL-evk later today. Regards, john On Thu, Nov 6, 2014 at 4:43 AM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Thu, Nov 6, 2014 at 12:54 AM, John Tobias john.tobias...@gmail.com wrote

Re: [U-Boot] SPL (Secondary Program Loader) on iMX6SL

2014-11-05 Thread John Tobias
. Do you know how does it work?. Regards, john On Wed, Nov 5, 2014 at 3:02 AM, Fabio Estevam feste...@gmail.com wrote: Hi John, On Wed, Nov 5, 2014 at 12:58 AM, John Tobias john.tobias...@gmail.com wrote: Hi All, I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load

[U-Boot] SPL (Secondary Program Loader) on iMX6SL

2014-11-04 Thread John Tobias
Hi All, I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load the SPL image and configure the DDR correctly. Then, I ported it again on iMX6SL-evk, unfortunately, I did not get any data on my serial port window. I played with some different values for CCM_CCGR0 - CCM_CCGR6

[U-Boot] Seeing only 256MB of RAM

2014-10-03 Thread John Tobias
Hi All, I have an iMX6SL custom board with two 512 MB (CS0 and CS1) of DDR3. The two DDR are working fine and the kernel could see it 1GB. I need to disable the CS1 to work my device with 512MB at the same time to see the performance of my system. I used the MX6SL_MMDC_DDR3_register programming

  1   2   >