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
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,
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:
>
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 |
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
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
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
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
---
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 ++--
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
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
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
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
) 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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
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
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
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
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
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
:
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
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
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
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
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
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
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
+++
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
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
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
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
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
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
+++
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
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);
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
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
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
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
+++
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
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
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
+++
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
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
---
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
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
+++
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
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
---
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
---
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
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
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
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
.
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
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
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 - 100 of 114 matches
Mail list logo