Hi Fabio,
On Thu, Sep 8, 2016 at 4:05 AM, Fabio Estevam wrote:
> Hi John,
>
> On Wed, Aug 24, 2016 at 2:25 AM, John Tobias wrote:
>
>> I tried to following combinations below but, the return
>> SETUP(r.bRequestType, r.bRequest) doesn't match at all.
>>
>
Hi Marek,
On Tue, Aug 23, 2016 at 8:29 PM, Marek Vasut 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 wrote:
>>> On 08/24/2016 12:49 AM, Fabio Estevam wrote:
>>>> Adding Ma
Hi Marek,
On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut 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
>> wrote:
>>> When the host machine went to suspend
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 | USB_R
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 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
Hi Łukasz Majewski,
On Mon, Aug 15, 2016 at 6:17 AM, Lukasz Majewski 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 okay except when the
>>
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 th
ums 0 mmc 0
Signed-off-by: John Tobias
---
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
--- a/cmd/usb_mass_storage.c
+++ b/cmd
0 mmc 0'
>
> which exposed all SD|eMMC partitions.
>
> Now, when I run 'ums 0 mmc 0' I can only see the first partition.
>
> Could you add some code to preserve the legacy behavior?
>
> I mean all partitions should be exposed when one types:
>
> '
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
Hi Lukas,
On Fri, Apr 8, 2016 at 2:19 AM, Lukasz Majewski
wrote:
> Hi John,
>
> > 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.
> >
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
---
drivers/usb/gadget/g_dnl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
(ONLY) 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 wrote:
> On Thu, Nov 13, 2014 at 11:19 PM, 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 works
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 w
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 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 wrote:
>>
>>> Sorry, I
Hi Stefano,
On Thu, Nov 13, 2014 at 4:49 AM, Fabio Estevam wrote:
> On Thu, Nov 13, 2014 at 10:41 AM, Fabio Estevam wrote:
>> Hi John,
>>
>> On Thu, Nov 13, 2014 at 6:58 AM, Stefano Babic wrote:
>>
#define CONFIG_LOADADDR0x1200
+#ifndef CONFIG_SYS_TEXT_BAS
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
---
include/configs/mx6sabre_common.h | 2 ++
include/configs/mx6sabresd.h | 6 ++
2 files changed, 8 insertions(+)
diff --git a/include/configs
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use
mx6sabresd_spl_defconfig to compile it.
Signed-off-by: John Tobias
---
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
add a build configuration file for mx6sabresd with spl support
Signed-off-by: John Tobias
---
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/configs
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
---
board/freescale/mx6sabresd/mx6sabresd.c | 186 +++-
1 file changed, 184 insertions(+), 2 deletions(-)
diff --git a
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed
the related settings for DDR
Signed-off-by: John Tobias
---
board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++
1 file changed, 58 insertions(+)
create mode 100644 board/freescale/mx6sa
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
Hi Fabio,
Thanks for catching it.
Regards,
john
On Wed, Nov 12, 2014 at 1:14 PM, Fabio Estevam wrote:
> Hi John,
>
> On Wed, Nov 12, 2014 at 4:19 PM, Fabio Estevam wrote:
>> Hi John,
>>
>> On Wed, Nov 12, 2014 at 3:14 PM, John Tobias
>> wrote:
>>&
Hi Fabio,
Thanks for the info.
Regards,
john
On Wed, Nov 12, 2014 at 10:19 AM, Fabio Estevam wrote:
> Hi John,
>
> On Wed, Nov 12, 2014 at 3:14 PM, John Tobias wrote:
>> This patch is for SPL support for iMX6 SabreSD. The said
>> patches has been tested to work on SD
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
---
board/freescale/mx6sabresd/mx6sabresd.c | 186 +++-
1 file changed, 184
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
---
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/configs
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
---
include/configs/mx6sabre_common.h | 2 ++
include/configs/mx6sabresd.h | 6 ++
2 files changed, 8 insertions(+)
diff --git a/include/configs
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use
mx6sabresd_spl_defconfig to compile it.
Signed-off-by: John Tobias
---
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
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed
the related settings for DDR
Signed-off-by: John Tobias
---
board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++
1 file changed, 58 insertions(+)
create mode 100644 board/freescale/mx6sa
Hi Stefano,
That's fine.. I'll fix it.
Regards,
john
On Wed, Nov 12, 2014 at 2:13 AM, Stefano Babic 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
>>>&
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
---
drivers/mmc/mmc.c | 9 ++---
include/mmc.h | 3 +++
2
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
---
board/freescale/mx6sabresd/mx6sabresd.c | 187 +++-
1 file changed, 185
add a build configuration file for mx6sabresd with spl support
Signed-off-by: John Tobias
---
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/configs
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
---
include/configs/mx6sabre_common.h | 2 ++
include/configs/mx6sabresd.h | 6 ++
2 files changed, 8 insertions(+)
diff --git a/include
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use
mx6sabresd_spl_defconfig to compile it.
Signed-off-by: John Tobias
---
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
I'll go ahead and use the same address.
Regards,
john
On Tue, Nov 11, 2014 at 5:02 PM, Fabio Estevam wrote:
> On Tue, Nov 11, 2014 at 10:59 PM, Troy Kisky
> wrote:
>
>> iMX6SDL has 128KB OCRAM, 0x0090 - 0x0091
>> iMX6DQ has 256KB OCRAM, 0x0090 - 0x0093
>>
>> So, if we want 1 i
I think Gateworks is based on iMX6SDL.
On Tue, Nov 11, 2014 at 4:52 PM, Otavio Salvador
wrote:
> On Tue, Nov 11, 2014 at 10:15 PM, John Tobias
> wrote:
>> In iMX6DQ data sheet the stack address is 0x0093FFB8 (page 383).
>> While, in iMX6SDL datasheet (page 393) is 0x0091FFB8.
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
wrote:
> On Tue, Nov 11, 2014 at 8:50 PM, John Tobias wrote:
>> iMX6 SabreSD has a differ
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
---
include/configs/imx6_spl.h
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
---
drivers/mmc/mmc.c | 9 ++---
include/mmc.h | 3 +++
2
It's a trim version of mx6q_4x_mt41j128.cfg. It just removed
the related settings for DDR
Signed-off-by: John Tobias
---
board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 58 +++
1 file changed, 58 insertions(+)
create mode 100644 board/freescale/mx6sa
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
---
board/freescale/mx6sabresd/mx6sabresd.c | 187 +++-
1 file changed, 185
add the spl info in the header file.
It includes the stack address of iMX6Q which is 0x0093FFB8
Signed-off-by: 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
add SUPPORT_SPL feature for iMX6 SabreSD. It need to use
mx6sabresd_spl_defconfig to compile it.
Signed-off-by: John Tobias
---
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
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 for
add a build configuration file for mx6sabresd with spl support
Signed-off-by: John Tobias
---
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/configs
On Tue, Nov 11, 2014 at 12:44 AM, Stefano Babic 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 wrote:
>>> Hi John,
>>>
>>> On 08/11/2014 22:27, John T
Oh okay, I'll do it again.
Regards,
John
On Sun, Nov 9, 2014 at 4:32 PM, Fabio Estevam wrote:
> On Sun, Nov 9, 2014 at 10:27 PM, John Tobias wrote:
>> That's exactly that I am going to ask you. Because, some people in the
>> community doesn't need the SPL.
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 wrote:
> Hi John,
>
> On 09/11/2014 18:51, John Tobias wrote:
>> Update the Device Configuration Data file for iMX6SL for SPL
>> support.
>>
On Sat, Nov 8, 2014 at 4:22 PM, John Tobias 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/mx6sa
Hi Stefano,
On Sun, Nov 9, 2014 at 1:16 PM, Stefano Babic 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/freesc
Thanks for the info. I'll double check it again.
Regards,
john
On Sun, Nov 9, 2014 at 1:22 PM, Stefano Babic wrote:
> Hi John,
>
> On 08/11/2014 22:27, John Tobias wrote:
>> This file is the default DCD configuration file for SPL
>> ---
>> board/freescale/mx
Hi Stefano,
On Sun, Nov 9, 2014 at 1:24 PM, Stefano Babic 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 m
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 wrote:
> Hi John,
>
> On Sun, Nov 9, 2014 at 3:51 PM, John Tobias wrote:
>> add a macro define inclusion to compile the function.
>> iMX6SL doesn
Thanks for the info.
Regards,
John
On Sunday, November 9, 2014, Andreas Färber 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 Gui
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
@@
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 TARGET_MX6SLEVK
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
--- a/includ
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
in
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
b/board/freescale
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 in
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
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 b/arc
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
b/board/freesc
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
+++ b/conf
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 TARGET_MX6SAB
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 a/board/freescale/mx6sabresd/mx6sabresd_spl.cfg
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
+++ b/include/configs/mx6sabre
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 change
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 a/drivers/mm
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
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 wrote:
> Hello John,
>
> On 08-11-14 19:22, John Tobias wrote:
>>
>> This patch will enable t
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
+++ b/conf
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 TARGET_MX6SAB
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
b/board/freescale/mx6sabresd/m
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 a/board/freescale/mx6sabresd/mx6sabresd_spl.cfg
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 a/drivers/mmc/mmc
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 change
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
+++ b/include/configs/mx6sabre
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 mmc_legacy_init
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
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 wrote:
> On Fri, Nov 7, 2014 at 8:12 PM, John Tobias wrote:
>> This file will enable the support for SPL on iMX6 Sabrex families.
>> It tested on
/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
+ *
+ * Derived from EDM_CF_IMX6 code by TechNexion
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 a/board/freescale/mx6sabresd/mx6sabresd_spl.cfg
---
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
#include
+#i
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 44
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
--- a/include/configs/imx6_s
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
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
+++ b/con
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 TARGET_MX6SAB
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
--- a/board/freescal
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 wrote:
> Hi John,
>
> On Thu, Nov 6, 2014 at 12:54 AM, John Tobias wrote:
>> Hi Fabio,
>>
&g
07000.
Do you know how does it work?.
Regards,
john
On Wed, Nov 5, 2014 at 3:02 AM, Fabio Estevam wrote:
> Hi John,
>
> On Wed, Nov 5, 2014 at 12:58 AM, John Tobias wrote:
>> Hi All,
>>
>> I ported the SPL features of u-boot into iMX6 SabreSD. I was able to
>>
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 and
Hi Guys,
I got it working..
Regards,
john
On Fri, Oct 3, 2014 at 10:44 AM, John Tobias wrote:
> 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 w
1 - 100 of 115 matches
Mail list logo