The XEA board has following hard constraints regarding size of binaries:
- u-boot.sb < 48 KiB
- u-boot.img < 448 KiB
Added values are supposed to avoid exceeding size of binaries during
future u-boot development.
Signed-off-by: Lukasz Majewski
---
(no changes since v1)
c
' environment variable will be used to point
correct configuration from the Linux FIT file.
Additionally, as now XEA has its second HW revision - this information is
printed when u-boot proper starts.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
Remove "inline" from get_som_rev(
configuration chosen).
Signed-off-by: Lukasz Majewski
---
(no changes since v1)
board/liebherr/xea/spl_xea.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index 551ed6fbae..4068a2ad49 100644
--- a/board
XEA is not supporting and using I2S codec, so there is no need to
configure pins for it.
Signed-off-by: Lukasz Majewski
---
(no changes since v1)
board/liebherr/xea/spl_xea.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
:
Remove "inline" from get_som_rev() function definition
Squash with 'config: xea: Enable late board initialization to set revision
variable'
Update commit message
Squash with 'arm: xea: Print information about XEA's SoM HW revision'
Lukasz Majewski (4):
arm: spl: xea: Remove I2S pins con
The XEA board has following hard constraints regarding size of binaries:
- u-boot.sb < 48 KiB
- u-boot.img < 448 KiB
Added values are supposed to avoid exceeding size of binaries during
future u-boot development.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 3 +++
As now XEA has its second HW revision - this information is printed
when u-boot proper starts.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c
index 90a1e03077
The 'board_som_rev' environment variable will be used to point correct
configuration from the Linux FIT file.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 12
configs/imx28_xea_defconfig| 1 +
configs/imx28_xea_sb_defconfig | 1 +
3 files changed, 14
configuration chosen).
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index 71194db235..6cf8f8390e 100644
--- a/board/liebherr/xea/spl_xea.c
+++ b
in it.
It was necessary to handle reading GPIOs values solely in u-boot proper
as one configuration (i.e. 'single binary' - imx28_xea_sb_defconfig)
is not using SPL framework.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 11 +++
board/liebherr/xea/xea.c | 29
XEA is not supporting and using I2S codec, so there is no need to
configure pins for it.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index df354cac64
This patch series is a preparatory patch for supporting
different versions of XEA board HW (until problem with
Linux kernel support for multiple revisions is resorted).
Moreover, limits for u-boot.sb and u-boot.img has been set
to avoid binary sizes exceeding in the future.
Lukasz Majewski (6
Hi Tom,
> On Thu, Mar 28, 2024 at 01:55:22PM +0100, Lukasz Majewski wrote:
> > Hi Tom,
> >
> > > On Thu, Mar 28, 2024 at 10:20:49AM +0100, Lukasz Majewski wrote:
> > > > Dear Community,
> > > >
> > > > I'd like to share with yo
Hi Tom,
> On Thu, Mar 28, 2024 at 10:20:49AM +0100, Lukasz Majewski wrote:
> > Dear Community,
> >
> > I'd like to share with you some thoughts about growth of u-boot's
> > binary size for SPL and u-boot proper.
> >
> > Board: XEA
> > SoC : imx287
Hi Fabio,
> Hi Lukasz,
>
> On Thu, Mar 28, 2024 at 6:20 AM Lukasz Majewski wrote:
> >
> > Dear Community,
> >
> > I'd like to share with you some thoughts about growth of u-boot's
> > binary size for SPL and u-boot proper.
> >
> > Board
Hi Marek,
> On 3/28/24 10:20 AM, Lukasz Majewski wrote:
> > Dear Community,
> >
> > I'd like to share with you some thoughts about growth of u-boot's
> > binary size for SPL and u-boot proper.
> >
> > Board: XEA
> > SoC : imx287 (still in active
it be possible to take more concern about
the binary size growth?
Maybe CI could catch patches, which enable by default some features and
the size is unintentionally increased?
I'm open for any feedback and thoughts on "stopping" the binary size
increase.
Best regards,
Lukasz Majewski
Hi Fabio,
> Hi Lukasz,
>
> On Mon, Mar 25, 2024 at 5:48 AM Lukasz Majewski wrote:
>
> > The case here is that I'm modifying the *-u-boot.dts{i} files only.
> > In
>
> The diff below shows that you are creating imx28-xea-1.dts and
> imx28-xea-2.dts fo
Hi Fabio,
> Hi Lukasz,
>
> On Mon, Mar 25, 2024 at 5:48 AM Lukasz Majewski wrote:
>
> > The case here is that I'm modifying the *-u-boot.dts{i} files only.
> > In
>
> The diff below shows that you are creating imx28-xea-1.dts and
> imx28-xea-2.dts fo
Hi Fabio,
> Hi Lukasz,
>
> On Fri, Mar 22, 2024 at 8:43 AM Lukasz Majewski wrote:
>
> > arch/arm/dts/Makefile | 3 +-
> > arch/arm/dts/imx28-xea-1-u-boot.dtsi | 11
> > arch/arm/dts/imx28-xea-1.dts | 8 +++
In the scenario of recovery, the FitImage is used to boot the system.
This patch provides support for deciding which dtb configuration shall
be used.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board
As now XEA has its second HW revision - this information is printed
when u-boot proper starts.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c
index 5bac614153
The 'board_som_rev' environment variable will be used to point correct
configuration from the Linux FIT file.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 12
configs/imx28_xea_defconfig| 1 +
configs/imx28_xea_sb_defconfig | 1 +
3 files changed, 14
After this change u-boot proper is able to support two HW revisions of the
XEA board.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig| 2 ++
configs/imx28_xea_sb_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/imx28_xea_defconfig b/configs
configuration chosen).
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index 71194db235..6cf8f8390e 100644
--- a/board/liebherr/xea/spl_xea.c
+++ b
For SPL and u-boot proper, the difference between revsions boils
down only to the GPIO pin for PHY reset.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/Makefile| 3 ++-
arch/arm/dts/imx28-xea-2-u-boot.dtsi | 11 +++
arch/arm/dts/imx28-xea-2.dts | 8
location (0xE000 - 2).
This board also uses falcon boot for production setup, so the proper
dtb is flashed during production (also based on GPIO values describing
HW ID).
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 15 +++
1 file changed, 15 insertions(+)
diff --git
The comment in u-boot specific adjustment to XEA DTS is not valid anymore.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-1-u-boot.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/imx28-xea-1-u-boot.dtsi
b/arch/arm/dts/imx28-xea-1-u-boot.dtsi
index
.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-1-u-boot.dtsi | 4
arch/arm/dts/imx28-xea-u-boot.dtsi | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx28-xea-1-u-boot.dtsi
b/arch/arm/dts/imx28-xea-1-u-boot.dtsi
index 4b2b21eeae..2903be2089
The former imx28-xea.dts file has been renamed to imx28-xea.dtsi, which
is included to new imx28-xea-1.dts file.
This is a preparatory work to add support for multiple versions of XEA
boards to u-boot.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/Makefile | 2
in it.
It was necessary to handle reading GPIOs values solely in u-boot proper
as one configuration (i.e. 'single binary' - imx28_xea_sb_defconfig)
is not using SPL framework.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 11 +++
board/liebherr/xea/xea.c | 29
XEA is not supporting and using I2S codec, so there is no need to
configure pins for it.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/spl_xea.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c
index df354cac64
to functionality not supported in u-boot), hence
there is no need to update them from Linux upstream DTS.
Lukasz Majewski (12):
arm: spl: xea: Remove I2S pins configuration from early initialization
arm: xea: Add support for reading SoM (CPU) and base board HW revision
arm: xea: Rename imx28
Gustschin
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- None
board/liebherr/xea/boot_img_scr.h | 27 ++
board/liebherr/xea/xea.c | 85 +++
2 files changed, 112 insertions(+)
create mode 100644 board/liebherr/xea/boot_img_scr.h
diff --git a/board
The boot0/1 feature uses simple CRC8 to check (in SPL) if
SPI-NOR content is not corrupted, hence the need to enable
it.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- None
configs/imx28_xea_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx28_xea_defconfig b
The default set of environment variables from CFG_EXTRA_ENV_SETTINGS
has been moved to a separate file - board/liebherr/xea/xea.env
Adjustments done:
- fitImage support
- SPI-NOR layout re-organization
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Remove customer's default IP settings
probe' without any extra parameters given)
has been adjusted.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_sb_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/imx28_xea_sb_defconfig b/configs/imx28_xea_sb_defconfig
index 0b3259866e..9872d35c1b
Hi Fabio,
> Hi Fabio,
>
> > On Thu, Jan 11, 2024 at 8:16 AM Fabio Estevam
> > wrote:
> > >
> > > Hi Lukasz,
> > >
> > > On Thu, Jan 11, 2024 at 8:06 AM Lukasz Majewski
> > > wrote:
> > > > +serverip=10.
Hi Fabio,
> On Thu, Jan 11, 2024 at 8:16 AM Fabio Estevam
> wrote:
> >
> > Hi Lukasz,
> >
> > On Thu, Jan 11, 2024 at 8:06 AM Lukasz Majewski
> > wrote:
> > > +serverip=10.8.217.79
> > > +nfs_serverip=10.8.218.113
> > &
Hi Fabio,
> Hi Lukasz,
>
> On Thu, Jan 11, 2024 at 8:06 AM Lukasz Majewski wrote:
>
> > +serverip=10.8.217.79
> > +nfs_serverip=10.8.218.113
> > +gatewayip=10.8.209.250
>
> These IP addresses should not be hardcoded here.
>
> They were not prese
Gustschin
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- Move XEA's env adjustments to xea.env file (from include/configs/xea.h)
board/liebherr/xea/boot_img_scr.h | 27 ++
board/liebherr/xea/xea.c | 85 +++
2 files changed, 112 insertions(+)
create
The boot0/1 feature uses simple CRC8 to check (in SPL) if
SPI-NOR content is not corrupted, hence the need to enable
it.
Signed-off-by: Lukasz Majewski
---
(no changes since v1)
configs/imx28_xea_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx28_xea_defconfig b
The default set of environment variables from CFG_EXTRA_ENV_SETTINGS
has been moved to a separate file - board/liebherr/xea/xea.env
Adjustments done:
- fitImage support
- SPI-NOR layout re-organization
Signed-off-by: Lukasz Majewski
---
(no changes since v1)
board/liebherr/xea/xea.env | 141
Hi Tom,
> On Wed, Jan 10, 2024 at 03:48:47PM +0100, Lukasz Majewski wrote:
>
> > As the XEA now supports fitImage, the default envs shall reflect
> > this as well.
> >
> > Moreover, some SPI-NOR layout re-organization has took place.
> >
Gustschin
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/boot_img_scr.h | 27 ++
board/liebherr/xea/xea.c | 85 +++
2 files changed, 112 insertions(+)
create mode 100644 board/liebherr/xea/boot_img_scr.h
diff --git a/board/liebherr/xea
The boot0/1 feature uses simple CRC8 to check (in SPL) if
SPI-NOR content is not corrupted, hence the need to enable
it.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig
As the XEA now supports fitImage, the default envs shall reflect this
as well.
Moreover, some SPI-NOR layout re-organization has took place.
Signed-off-by: Lukasz Majewski
---
include/configs/xea.h | 45 ---
1 file changed, 25 insertions(+), 20
Hi Marek,
> On Wed, Nov 22, 2023 at 04:38:41PM +0100, Lukasz Majewski wrote:
> > Hi Marek,
> >
> > > Driver does not currently initialize the smi_addr field, but
> > > instead keeps the default value. This leads to issues on systems
> > > with di
Unfortunately, those were not pulled...
Maybe you would find fix for your issue, or prepare new version of it?
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-814
by: Marek Vasut
> ---
> Cc: Lukasz Majewski
> Cc: Mattijs Korpershoek
> Cc: Tom Rini
> ---
> doc/usage/dfu.rst | 5 +
> drivers/dfu/dfu_mmc.c | 10 ++
> 2 files changed, 15 insertions(+)
>
> diff --git a/doc/usage/dfu.rst b/doc/usage/df
On Thu, 19 Oct 2023 09:40:37 +0200
Mattijs Korpershoek wrote:
> Hi Lukasz, Marek,
>
> On mer., oct. 18, 2023 at 12:52, Lukasz Majewski
> wrote:
>
> > Hi Mattijs,
> >
> >> From discussions with Marek at Kernel Recipes, it seems that the
> &g
interested in keeping
> that functional as well.
>
> Note that I have no previous (open-source) maintainer experience so I
> will do my best to learn.
>
Thanks for willing to help with maintaining the code. If you need any
help - then just ask :-)
Acked-by: Lukasz Majewski
ch/20230703163340.101490-2-c...@londelec.com/
Isn't this already addressed with:
https://source.denx.de/u-boot/u-boot/-/commit/79230640cb4fb780e2be9bb9a47b31976b18cac4
Please also look into the recent patches for imx287 (xea board for
reference):
tig -- arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
At le
ff-by: Marek Vasut
> ---
> Cc: "NXP i.MX U-Boot Team"
> Cc: Fabio Estevam
> Cc: Lukasz Majewski
> Cc: Stefano Babic
> ---
> arch/arm/cpu/arm926ejs/mxs/mxs.c | 3 +++
> arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 4
> 2 files changed, 7 insertions(+)
by: Marek Vasut
> ---
> Cc: "NXP i.MX U-Boot Team"
> Cc: Fabio Estevam
> Cc: Lukasz Majewski
> Cc: Stefano Babic
> ---
> arch/arm/include/asm/arch-mxs/regs-base.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/include/asm/arch
On the XEA (imx287) system the FAT file system is not used neither in
SPL nor u-boot proper.
Hence, to save ~6KiB of u-boot.img size - it has been disabled.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs
The XEA system (imx287 based) is not using support for EXTLINUX and VBE.
As those configuration options have been enabled by default with modern
Kconfig it is safe to explicitly disable them.
After that change the u-boot.img size has been reduced by ~16 KiB.
Signed-off-by: Lukasz Majewski
y_linreg)
> > powered_by_linreg = cfg->powered_by_linreg();
> > +#endif
> >
> > if (adjust_up && cfg->bo_irq) {
> > if (powered_by_linreg) {
> > @@ -1269,7 +1274,9 @@ void mxs_power_init(void)
> > POWER_CTRL_VBUS_VAL
mmon for all mv88e6xxx devices.
Links:
[1] -
https://patchwork.ozlabs.org/project/uboot/cover/20221130174251.82087-1-thar...@gateworks.com/
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lu...@denx.de
pgp0yjSCKGb8L.pgp
Description: OpenPGP digital signature
Hi Marek,
> On 6/1/23 12:00, Lukasz Majewski wrote:
> > Some devices, when configured in bootstrap to 'no cpu' mode require
> > PHY manual reset to get them operational and responding to reading
> > their ID registers.
> >
> > Without this step - the PHYLIB pr
Hi Marek,
> On 6/1/23 12:00, Lukasz Majewski wrote:
> > After this change PHY ports are able to pass packets between them
> > (and also to CPU port).
> >
> > The Kconfig variable - CONFIG_MV88E61XX_PHY_PORTS - is used to get
> > the PHY ports of th
The mv88e6020 is accessed in a direct way (i.e. with direct read and
write to mdio bus). The only necessary indirection is required when
accessing its PHY registers.
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
---
drivers/net/phy/mv88e61xx.c | 15 ++-
1 file changed
The mv88e61xx driver need to be adjusted to handle situation when
switch MDIO addresses are switched by offset (0x10 in this case).
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
---
drivers/net/phy/mv88e61xx.c | 25 ++---
1 file changed, 18 insertions(+), 7
Data1 (0x71) of Scratch and Misc register is read
to check if 'no_cpu' and 'addr4' bits were set.
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
---
drivers/net/phy/mv88e61xx.c | 63 +++--
1 file changed, 61 insertions(+), 2 deletions(-)
diff --git
After this change PHY ports are able to pass packets between them (and
also to CPU port).
The Kconfig variable - CONFIG_MV88E61XX_PHY_PORTS - is used to get the
PHY ports of the switch and generate proper mask.
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
---
drivers/net/phy
Those automatically created structures can have random value.
However, mv88e61xx driver assumes that those are zeroed.
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
---
drivers/net/phy/mv88e61xx.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/phy/mv88e61xx.c b
Some Marvell switch devices are dual chip ones, like mv88e6020, which
use direct MDIO addressing to access its ports' registers. Such approach
allows connecting two such devices in a single MDIO bus with simple
addressing scheme.
Signed-off-by: Lukasz Majewski
Reviewed-by: Ramon Fried
.
Lukasz Majewski (6):
net: mv88e61xx: Add support for checking addressing mode
net: mv88e61xx: Configure PHY ports to also pass packets between them
net: mv88e61xx: Clear temporary structs before using them in
get_phy_id()
net: mv88e61xx: Directly access the switch chip
net
The single binary version of u-boot for XEA board is used to debrick and
factory programming.
The produced u-boot.sb is a single file, which allows having fully
operational u-boot prompt loaded with imx287 ROM.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_sb_defconfig | 2 ++
1 file
When DM_SERIAL is enabled on mxs (i.e. imx28) platform, the console
early initialization must be postponed until the driver model is
correctly setup.
Signed-off-by: Lukasz Majewski
---
arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
The XEA board now supports the DM_SERIAL feature in u-boot.
The SPL is using the SPL_OF_PLATDATA - i.e. NOT SPL_DM_SERIAL to
reduce the overall size of the SPL binary.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
The CONFIG_PL011 used by all other ARCH_MX28 based boards is not
supporting DM_SERIAL. Instead, other define - namely CONFIG_PL01X_SERIAL
shall be used by boards supporting DM_SERIAL.
Signed-off-by: Lukasz Majewski
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-imx/mxs/Kconfig | 1
The in-spl enabled DM serial console requires the board setup to be
able to parse SPL_OF_PLATDATA based serial driver (pl01x) for the
imx28 based XEA board.
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/liebherr/xea/xea.c
returns true infinitely. As a result, for example in _serial_flush()
DM serial function we are locked in endless while().
The fix here is to test explicitly if the TX FIFO is empty.
Signed-off-by: Lukasz Majewski
---
drivers/serial/serial_pl01x.c | 2 +-
1 file changed, 1 insertion(+), 1
Before this change, building this driver for SPL with enabled SPL_DM_SERIAL
was problematic, as '-Wunused-const-variable=' warning was visible.
Now, the code is only considered when u-boot proper is build.
Signed-off-by: Lukasz Majewski
---
drivers/serial/serial_pl01x.c | 2 +-
1 file changed
This commit prepares the pl01x serial driver to be used with
SPL_OF_PLATDATA enabled.
Signed-off-by: Lukasz Majewski
---
drivers/serial/serial_pl01x.c | 12
include/dm/platform_data/serial_pl01x.h | 4
2 files changed, 16 insertions(+)
diff --git a/drivers/serial
with error and the board hangs in a very early stage
of u-boot proper boot process.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi
b/arch/arm/dts/imx28-xea-u-boot.dtsi
index 52fec31fbb
The imx287 SoC doesn't support common clock framework (CCF), so the
'clocks' property is removed to avoid early (i.e. in SPL) errors when
SPL_OF_PLATDATA is used.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm
in
the SPL (as the size of SPL is crucial). In this case one cannot extract
the type of IP block from .data field (corresponding to compatible) and
it must be explicitly read at probe from dtoc generated, u-boot specific
property.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 1
After enabling DM_SERIAL for XEA board, the same serial shall be used
in the SPL (with SPL_OF_PLATDATA support).
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi
b/arch/arm/dts
This code fixes following WARNING:
DTOCspl/dts/dt-plat.c
fsl_imx28_clkctrl: WARNING: the driver fsl_imx28_clkctrl was not found in the
driver list
As imx28 doesn't yet support common clock framework, this prevents from
DTOC warnings during SPL build.
Signed-off-by: Lukasz Majewski
probe' without any extra parameters given)
has been adjusted.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig
index 06dd6b1f0e..4a217b1f91 100644
.
In u-boot it is handled with 'mac0' node, whereas Linux uses dedicated
switch DTS node.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi
b/arch/arm/dts/imx28-xea-u
After the re-sync with Linux Kernel's DTS
(SHA1: 7d08ddd09b75e7a3c103cc0d0d3ed700287f268e), the XEA's
descripion has nodes and properties, which are NOT utilized
in the u-boot.
To avoid confusion - those are deleted.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-xea-u-boot.dtsi | 16
/_build/results?buildId=44=results
Applied on top of u-boot/master branch
SHA1: 6e1852ca2c418e2536ead4b51c4d84a59926b3f1
Lukasz Majewski (16):
dts: xea: Delete not used in u-boot DTS nodes
dts: xea: Provide missing FEC required properties (mac0 and
reg_fec_3v3)
defconfig: xea: Change
Hi Marek,
> On 5/9/23 17:04, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 5/9/23 16:46, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>>> On 5/9/23 16:32, Lukasz Majewski wrote:
> >&
Hi Marek,
> On 5/9/23 16:46, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 5/9/23 16:32, Lukasz Majewski wrote:
> >>> This option sets the current limit for 5V source to zero, so all
> >>> the PMU outputs are pr
Hi Marek,
> On 5/9/23 16:32, Lukasz Majewski wrote:
> > This option sets the current limit for 5V source to zero, so all
> > the PMU outputs are primarily powered from battery source
> > (DCDC_BAT).
> >
> > This option may be set on systems, where the 5V is NOT s
This patch adjusts XEA's PMU setup as this board is supposed to be
mainly powered from DCDC_BATT source.
Moreover, in this HW design the VDD_4P2 is not used as well.
Signed-off-by: Lukasz Majewski
---
configs/imx28_xea_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs
This commit provides function, which when debugging
output is enabled dumps the IMX28 PMU registers.
Signed-off-by: Lukasz Majewski
---
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 24 +
1 file changed, 24 insertions(+)
diff --git a/arch/arm/cpu/arm926ejs/mxs
VDD5V), as more efficient and stable source for
industrial applications.
Signed-off-by: Lukasz Majewski
---
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 3 ++-
arch/arm/mach-imx/mxs/Kconfig | 7 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu
This new Kconfig option allows disabling the in-PMU battery charging
block. This may be required when DCDC_BAT source is powered not from
battery, but from already regulated, good quality source.
Signed-off-by: Lukasz Majewski
---
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 7 +++
arch
to fixed and regulated 4.2V source (so the
"battery" is not present).
Signed-off-by: Lukasz Majewski
---
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 4
arch/arm/mach-imx/mxs/Kconfig | 8
2 files changed, 12 insertions(+)
diff --git a/arch/arm/cpu/arm
t is enabled in U-Boot proper, but not in SPL.
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Lukasz Majewski
> ---
> drivers/usb/gadget/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
cify which parts of dts shall be included to
the in-TPL DTS? Or is it just using full-blown DTS support ins TPL?
I'm using cutting-edge mainline u-boot - SHA1:
6a11fdf0536e02ac9cd4a3da0535a271c694715f
Thanks in advance for any help.
Best regards,
Lukasz Majewski
--
DENX Software Engineering
ug crashes on subsequent calls to malloc()/free().
>
> Signed-off-by: Niel Fourie
> Cc: Ramon Fried
> Cc: Marek Vasut
> Cc: Lukasz Majewski
> ---
> net/eth-uclass.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/eth-uclass.c b/net/eth-ucla
t_internal_data {
> int dev_num;
> };
>
> -#define DFU_NAME_SIZE32
> +#define DFU_NAME_SIZE CONFIG_DFU_NAME_MAX_SIZE
> #ifndef DFU_DEFAULT_POLL_TIMEOUT
> #define DFU_DEFAULT_POLL_TIMEOUT 0
> #endif
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
-
> > + if (rate == 0)
>
> !rate || IS_ERR_VALUE(rate)
>
> > + rate = imx_get_uartclk();
> >
> > - _mxc_serial_setbrg(plat->reg, clk, baudrate,
> > plat->use_dte);
> > + _mxc_serial_setbrg(plat->reg, rate, baudrate,
> &g
As this board now supports DM_I2C, it is safe for it to also use the
DM converted PMIC tps65217 driver.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- Move the Kconfig definition for PMIC to patch, which adds support for DM
configs/am335x_boneblack_vboot_defconfig | 3 +++
configs
-by: Lukasz Majewski
---
(no changes since v1)
drivers/power/pmic/pmic_tps65217.c | 82 ++
1 file changed, 82 insertions(+)
diff --git a/drivers/power/pmic/pmic_tps65217.c
b/drivers/power/pmic/pmic_tps65217.c
index c7f532df4d..ccbf223593 100644
--- a/drivers/power/pmic
1 - 100 of 4007 matches
Mail list logo