On 19-05-23 09:59:05, Tom Rini wrote:
> On Thu, May 23, 2019 at 10:49:11AM -0300, Fabio Estevam wrote:
> > Hi Peng,
> >
> > On Tue, May 21, 2019 at 10:38 PM Peng Fan wrote:
> >
> > > > I will send a v2 removing CONFIG_SPL_DM.
> > >
> > > So what is the real direction moving to use SPL driver, no
When running mkimage with "-f auto", the loadable property
needs to be set in order to allow SPL FIT support to boot.
Signed-off-by: Abel Vesa
---
tools/fit_image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 4b62635..3b867e0 10
If FIT_IMAGE_TINY is enabled, spl_fit_image_get_os returns -ENOTSUPP.
In this case, we should default to IH_OS_U_BOOT not to IH_OS_INVALID.
Signed-off-by: Abel Vesa
---
Changes since v1:
* added the #if FIT_IMAGE_TINY as suggested by Mark Vasut
common/spl/spl_fit.c | 4
1 file changed
When running mkimage with "-f auto", the loadable property
needs to be set in order to allow SPL FIT support to boot.
Signed-off-by: Abel Vesa
---
tools/fit_image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 4b62635..3b867e0 10
If FIT_IMAGE_TINY is enabled, spl_fit_image_get_os returns -ENOTSUPP.
In this case, we should default to IH_OS_U_BOOT not to IH_OS_INVALID.
Signed-off-by: Abel Vesa
---
common/spl/spl_fit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index
On 19-03-10 13:02:28, Marek Vasut wrote:
> On 3/10/19 12:42 PM, Abel Vesa wrote:
> > If CONFIG_SPL_OS_BOOT and FIT_IMAGE_TINY are enabled,
> > the os will not be set to anything and therefore will
> > remain as IH_OS_INVALID. What's needed here is to
> > have IH
ied, so we allow firmware
as a fallback.
Signed-off-by: Abel Vesa
Tested-by: Fabio Estevam
---
Changes since v1:
* added braces to get rid of the build warning
common/spl/spl_fit.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/common/spl/spl_fit.c b/common/spl
ied, so we allow firmware
as a fallback.
Signed-off-by: Abel Vesa
---
common/spl/spl_fit.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index db43626..d5aa792 100644
--- a/common/spl/spl_fit.c
+++ b/common/spl/spl_fit.c
On 19-02-16 10:23:10, Stefano Babic wrote:
> Hi Abel,
>
> On 01/02/19 17:40, Abel Vesa wrote:
> > There is not really reducing codesize here since there is only
> > a call. The function is always built in if CONFIG_$(SPL_TPL_)FIT is set.
> > Plus, there
On 19-02-04 08:19:23, Tom Rini wrote:
> On Mon, Feb 04, 2019 at 09:03:43AM -0200, Fabio Estevam wrote:
> > On Mon, Feb 4, 2019 at 7:55 AM Abel Vesa wrote:
> >
> > > If the SPL size (without the dtb appended) is larger then yes, the build
> > > fails.
> > &
On 19-02-04 08:19:23, Tom Rini wrote:
> On Mon, Feb 04, 2019 at 09:03:43AM -0200, Fabio Estevam wrote:
> > On Mon, Feb 4, 2019 at 7:55 AM Abel Vesa wrote:
> >
> > > If the SPL size (without the dtb appended) is larger then yes, the build
> > > fails.
> > &
On 19-02-02 07:50:28, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Feb 1, 2019 at 2:43 PM Abel Vesa wrote:
> >
> > The third version is here:
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2019-January
On 19-02-01 15:13:32, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Feb 1, 2019 at 2:43 PM Abel Vesa wrote:
> >
> > The third version is here:
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2019-January
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
then if CONFIG_SPL_OS_BOOT was also
defined, the spl_image->os was left set to 0 which in turn
was skipping the fdt appending resulting in boot-up failure.
Fixes: 337bbb6297775e spl: fit: add SPL_FIT_IMAGE_TINY config to reduce
code-size
Signed-off-by: Abel Vesa
---
common/spl/spl_fit.c
With DM and FIT enabled in SPL, there is an sram overflow. By disabling
CONFIG_SPL_DOS_PARTITION, CONFIG_SPL_EXT_SUPPORT and
CONFIG_SPL_EFI_PARTITION, we get to keep the 'one binary to fit all'
for imx6[q|qp|dl] on sabresd since the final SPL image is now under 64KB.
Signed-off-by:
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 3b37766..bb466fe
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
Acked-by: Peng Fan
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 4b40dfe..e8fd9b4 100644
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
e short story here is that spl_image->os was
remaining set to 0. (see first patch in the series for details)
Abel Vesa (20):
common: spl_fit: Fix the spl_fit_image_get_os for FIT_IMAGE_TINY
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
usb: ehci-mx6: Make regulator DM_REGULATO
On 19-01-31 09:41:11, Tom Rini wrote:
> On Thu, Jan 31, 2019 at 12:59:19PM +0000, Abel Vesa wrote:
> > On 19-01-30 13:58:19, Tom Rini wrote:
> > > On Wed, Jan 30, 2019 at 01:39:50PM +, Abel Vesa wrote:
> > >
> > > > The second version is here:
> &g
On 19-01-30 13:58:19, Tom Rini wrote:
> On Wed, Jan 30, 2019 at 01:39:50PM +0000, Abel Vesa wrote:
>
> > The second version is here:
> > https://lists.denx.de/pipermail/u-boot/2019-January/356557.html
> >
> > Changes since v2:
> > * Removed the unecessary
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/README | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/freescale
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
With DM and FIT enabled in SPL, there is an sram overflow.
By disabling CONFIG_SPL_DOS_PARTITION and CONFIG_SPL_EFI_PARTITION,
we get to keep the 'one binary to fit all' for imx6[q|qp|dl]
on sabresd since the final SPL image is now under 64KB.
Signed-off-by: Abel Vesa
--
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/README | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/freescale
Add simple its in order to allow SPL to boot u-boot proper
via FIT table.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
arch/arm/mach-imx/mx6/fit_spl.its | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
Acked-by: Peng Fan
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 31e8153..34fb9d04
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 1f4c5c5..b26e764 100644
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
The second version is here:
https://lists.denx.de/pipermail/u-boot/2019-January/356557.html
Changes since v2:
* Removed the unecessary SYS_MALLOC_F_LEN from both defocnfig
* Fixed the copyright for all the *u-boot.dtsi files
Abel Vesa (22):
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
On 19-01-29 13:29:04, Peng Fan wrote:
> Hi Abel,
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:31
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel Ve
On 19-01-29 12:03:35, Tom Rini wrote:
> On Tue, Jan 29, 2019 at 11:30:47AM +0000, Abel Vesa wrote:
> > This allows us to keep the basic dts[i] files up-to-date with
> > the ones in kernel, but at the same time allowing the u-boot
> > to add its own properties to the existing n
On 19-01-29 13:33:54, Peng Fan wrote:
> Hi Abel,
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:31
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel V
On 19-01-29 13:43:49, Peng Fan wrote:
>
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:35
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel Vesa
&
With DM and FIT enabled in SPL, there is an sram overflow.
By disabling CONFIG_SPL_DOS_PARTITION and CONFIG_SPL_EFI_PARTITION,
we get to keep the 'one binary to fit all' for imx6[q|qp|dl]
on sabresd since the final SPL image is now under 64KB.
Signed-off-by: Abel Vesa
--
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 4f3a619..14adf65 100644
--- a/configs
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/README | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/freescale
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 4a9739c..e1b4b2f 100644
--- a/configs
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/README | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/freescale
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board/freescale/mx6sabreauto
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Add simple its in order to allow SPL to boot u-boot proper
via FIT table.
Signed-off-by: Abel Vesa
---
arch/arm/mach-imx/mx6/fit_spl.its | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
diff --git a/arch/arm
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts | 18 +
arch/arm/dts
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale/mx6sabreauto
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d..9483947 100644
--- a
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
* dropped support for EFI and DOS partition to decrease SPL size on
sabresd
Abel Vesa (22):
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
usb: ehci-mx6: Make regulator DM_REGULATOR dependent
configs: imx6sabreauto: Add DM_MMC support
configs: imx6sabreauto: Add DM_USB support
mmc
On 19-01-18 10:30:24, Tom Rini wrote:
> On Fri, Jan 18, 2019 at 03:26:42PM +0000, Abel Vesa wrote:
> > On 19-01-18 13:16:07, Fabio Estevam wrote:
> > > Hi Abel,
> > >
> > > On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote:
> > >
> > > &
On 19-01-18 10:03:14, Tom Rini wrote:
> On Fri, Jan 18, 2019 at 02:53:15PM +0000, Abel Vesa wrote:
>
> > Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
> > makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
> > Everything tha
On 19-01-18 13:16:07, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote:
>
> > +CONFIG_OF_CONTROL=y
> > +CONFIG_SPL_OF_CONTROL=y
> > +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
>
> Does this mean that only
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
Add imx6dl-sabreauto dts support from Linux.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/imx6dl-sabreauto.dts | 17 +
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/imx6dl-sabreauto.dts
diff --git a
Add imx6dl-sabresd dts support from Linux.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/imx6dl-sabresd.dts | 17 +
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/imx6dl-sabresd.dts
diff --git a/arch/arm
Add imx6q-sabreauto dts support from Linux.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile| 3 ++-
arch/arm/dts/imx6q-sabreauto.dts | 25 +
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/imx6q-sabreauto.dts
diff --git
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board/freescale/mx6sabreauto
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index bcd6ff0..a4d051a 100644
--- a/configs
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 9451bbd..7fbfddb 100644
--- a/configs
Add imx6q-sabresd dts support from Linux.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/imx6q-sabresd.dts | 25 +
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/imx6q-sabresd.dts
diff --git a/arch
Add imx6qdl-sabreauto dtsi support from Linux.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6qdl-sabreauto.dtsi | 634
1 file changed, 634 insertions(+)
create mode 100644 arch/arm/dts/imx6qdl-sabreauto.dtsi
diff --git a/arch/arm/dts/imx6qdl-sabreauto.dtsi
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
1 - 100 of 140 matches
Mail list logo