match = mx5_usb_ids,
> .ofdata_to_platdata = ehci_usb_ofdata_to_platdata,
> + .bind = ehci_usb_bind,
> .probe = ehci_usb_probe,
> .remove = ehci_deregister,
> .ops= _usb_ops,
Tested-by: Lukasz Majewski
Tested on HSC|DDC i.MX53 board (usb start
Hi Marek,
> On 6/24/19 12:26 PM, Lukasz Majewski wrote:
> > On Mon, 24 Jun 2019 12:06:28 +0200
> > Marek Vasut wrote:
> >
> >> On 6/24/19 8:33 AM, Peng Fan wrote:
> >>> Hi Marek,
> >>>
> >>>> Subject: Re: [PATCH] usb
n dts, introducing
> > xx-u-boot.dtsi for such case.
>
> What good would that make if you can obtain the PHY address from the
> DT, without the need for arbitrary error-prone indexes? The indexes
> are remnants from when there was no DM or from the DM conversion, so
> we should re
On Wed, 19 Jun 2019 17:05:15 +0200
Marek Vasut wrote:
> On 6/19/19 4:53 PM, Lukasz Majewski wrote:
> > On Wed, 19 Jun 2019 16:32:57 +0200
> > Marek Vasut wrote:
> >
> >> On 6/19/19 4:19 PM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>>
s/ext4/ext4_journal.h
> +++ b/fs/ext4/ext4_journal.h
> @@ -17,6 +17,8 @@
> #ifndef __EXT4_JRNL__
> #define __EXT4_JRNL__
>
> +#define EXT4_FEATURE_COMPAT_HAS_JOURNAL 0x0004
> +
> #define EXT2_JOURNAL_INO 8 /* Journal inode */
> #define EX
lude
> #define SECTOR_SIZE 0x200
> +#define LOG2_SECTOR_SIZE 9
>
> /* Magic value used to identify an ext2 filesystem. */
> #define EXT2_MAGIC 0xEF53
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DE
return ret;
> +
> + return 0;
> +}
> +
> +static int ds3231_probe(struct udevice *dev)
> +{
> + i2c_set_chip_flags(dev, DM_I2C_CHIP_RD_ADDRESS |
> + DM_I2C_CHIP_WR_ADDRESS);
> +
> + return 0;
> +}
> +
> +static const struct r
; +}
> +
> +static int ds3231_probe(struct udevice *dev)
> +{
> + i2c_set_chip_flags(dev, DM_I2C_CHIP_RD_ADDRESS |
> + DM_I2C_CHIP_WR_ADDRESS);
> +
> + return 0;
> +}
> +
> +static const struct rtc_ops ds3231_rtc_ops = {
> + .get = ds3231
This patch converts mxs_spi driver to support DM/DTS.
Signed-off-by: Lukasz Majewski
Reviewed-by: Marek Vasut
---
Changes in v6: None
Changes in v5:
- Set more appropriate tags ("spi: mxs:")
Changes in v4:
- Adjust the driver to support i.MX23 (add compatible, adjust clk code)
This patch copies from the Linux kernel stable (tag v5.1.11)
SHA1: 17bb763e7eaf i.MX28 related device tree files.
Signed-off-by: Lukasz Majewski
Reviewed-by: Marek Vasut
---
Changes in v6: None
Changes in v5:
- Add 12 digit SHA1 ID for tag v5.1.11
Changes in v4:
- Add 12 digit SHA1 ID for tag
'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
Reviewed-by: Marek Vasut
---
Changes in v6: None
Changes in v5:
- Set more appropriate tags ("pinctrl: mxs:")
- Use the clrsetbits_le32() in mxs_pinctrl_r
Those properties are U-Boot specific as the mxs gpio Linux driver (up to
version v5.1.11) is not supporting them.
Signed-off-by: Lukasz Majewski
---
Changes in v6:
- Provide correct values for gpio-ranges
Changes in v5:
- Use "ARM: dts: imx: tags"
Changes in v4:
- New file
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
Reviewed-by: Marek Vasut
---
Changes in v6: None
Changes in v5:
- Set more appropriate tags (net: fec:)
Changes
This patch adds support for DM/DTS in the mxs_gpio.c driver.
Information regarding per gpio controller pin number is passed via DTS.
Signed-off-by: Lukasz Majewski
Reviewed-by: Marek Vasut
---
Changes in v6: None
Changes in v5:
- Update tags ("gpio: mxs")
Changes in v4:
- Use B
ropriate tags
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO
- New patch (conversion of mxs_spi.c to DM_SPI)
Lukasz Majewski (6):
ARM: dts: imx: Copy imx28 device tree related files from Linux kernel
(v5.1.11)
net: fec: Enable support for i.MX28 DM
> Thanks for your support.
> Regards
> Claudio
> -Ursprüngliche Nachricht-
> Von: Lukasz Majewski
> Gesendet: Mittwoch, 19. Juni 2019 10:00
> An: clau...@databyte.ch
> Cc: u-boot@lists.denx.de
> Betreff: Re: [U-Boot] imx6: [PATCH] Add support for new board
On Wed, 19 Jun 2019 16:32:57 +0200
Marek Vasut wrote:
> On 6/19/19 4:19 PM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/19/19 2:27 PM, Lukasz Majewski wrote:
> >>> Those properties are U-Boot specific as the mxs gpio Linux driver
> >>>
Hi Marek,
> On 6/19/19 2:27 PM, Lukasz Majewski wrote:
> > Those properties are U-Boot specific as the mxs gpio Linux driver
> > (up to version v5.1.11) is not supporting them.
> >
> > Signed-off-by: Lukasz Majewski
>
> [...]
>
> > + {
> > +
This patch converts mxs_spi driver to support DM/DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Set more appropriate tags ("spi: mxs:")
Changes in v4:
- Adjust the driver to support i.MX23 (add compatible, adjust clk code)
- Use BIT() macro where applicable
Changes in
'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Set more appropriate tags ("pinctrl: mxs:")
- Use the clrsetbits_le32() in mxs_pinctrl_rmwl() function - now moved to
pinctrl-mxs.h
Those properties are U-Boot specific as the mxs gpio Linux driver (up to
version v5.1.11) is not supporting them.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Use "ARM: dts: imx: tags"
Changes in v4:
- New file - imx28-u-boot.dtsi
Changes in v3: None
Changes in v2: None
ar
This patch adds support for DM/DTS in the mxs_gpio.c driver.
Information regarding per gpio controller pin number is passed via DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Update tags ("gpio: mxs")
Changes in v4:
- Use BIT() macro instead of 1 << offset
- Use
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Set more appropriate tags (net: fec:)
Changes in v4:
- Sort the entries for compatibles
This patch copies from the Linux kernel stable (tag v5.1.11)
SHA1: 17bb763e7eaf i.MX28 related device tree files.
Signed-off-by: Lukasz Majewski
---
Changes in v5:
- Add 12 digit SHA1 ID for tag v5.1.11
Changes in v4:
- Add 12 digit SHA1 ID for tag v5.1.9
Changes in v3:
- Update tag to 5.1.9
support i.MX23 (add compatible, adjust clk code)
- Use BIT() macro where applicable
Changes in v3:
- Update tag to 5.1.9
- Set more apropriate tags
- Set more appropriate tags
- Set more appropriate tags
- Set more appropriate tags
- Set more appropriate tags
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(
priv->sdhc_clk = gd->arch.sdhc_clk;
> -#endif
> if (priv->sdhc_clk <= 0) {
> dev_err(dev, "Unable to get clk for %s\n",
> dev->name); return -EINVAL;
> diff --git a/include/fsl_esdhc_imx.h b/include/fsl_esdhc_imx.h
> ind
ect.
No, You shouldn't be sorry or feel any inconvenience. This is the role
of the community to help you to get your board into the mainline.
Please do not afraid to ask. :-)
>
> Regards
> Claudio
>
> -----Ursprüngliche Nachricht-
> Von: Lukasz Majewski
> Gesendet: Montag,
Hi Marek,
> On 6/19/19 12:01 AM, Lukasz Majewski wrote:
> > This patch converts mxs_spi driver to support DM/DTS.
> >
> > Signed-off-by: Lukasz Majewski
>
> Tags should be "spi: mxs:" .
>
> btw can you drop the non-DM part of the driver altogether
Hi Marek,
> On 6/19/19 12:01 AM, Lukasz Majewski wrote:
> > The code responsible for setting proper values in the MUX registers
> > (in the mxs_pinctrl_set_state()) has been ported from Linux kernel
> > - SHA1: 17bb763e7eaf tag v5.1.11 from linux-stable.
>
> May
This patch converts mxs_spi driver to support DM/DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Adjust the driver to support i.MX23 (add compatible, adjust clk code)
- Use BIT() macro where applicable
Changes in v3:
- Set more appropriate tags
Changes in v2:
- New patch (conversion
This patch adds support for DM/DTS in the mxs_gpio.c driver.
Information regarding per gpio controller pin number is passed via DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Use BIT() macro instead of 1 << offset
- Use devfdt_get_addr to get gpio number
- Use gpio-ranges pr
This patch copies from the Linux kernel (tag v5.1.9) SHA1: 2df16141a2c4
i.MX28 related device tree files.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Add 12 digit SHA1 ID for tag v5.1.9
Changes in v3:
- Update tag to 5.1.9
- Set more apropriate tags
Changes in v2: None
arch/arm/dts
'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Use Linux kernel code to setup pins instead of Barebox
- Add soc specific data and compatible for i.MX23 and i.MX28
- Use devm_kfree() to release
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Sort the entries for compatibles and Kconfig
Changes in v3:
- Set more apropriate tags
Those properties are U-Boot specific as the mxs gpio Linux driver (up to
version v5.1.11) is not supporting them.
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- New file - imx28-u-boot.dtsi
Changes in v3: None
Changes in v2: None
arch/arm/dts/imx28-u-boot.dtsi | 28
licable
Changes in v3:
- Update tag to 5.1.9
- Set more apropriate tags
- Set more apropriate tags
- Set more apropriate tags
- Set more apropriate tags
- Set more appropriate tags
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO
- New patch (conversion o
without any notice in the versioning (inside the
protocol).
>
> Thanks!
>
> [1]
> http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/fastboot/fb_getvar.c;h=4268628f5ef0210507c5d23f2e4209b2afc07029;hb=refs/heads/master#l84
> [2]
> https://android.googlesource.com/pl
Hi Marek,
> On 6/18/19 8:57 AM, Lukasz Majewski wrote:
>
> [...]
>
> > To have a consensus regarding the gpio-ranges and mxs_gpio - here is
> > my proposition:
> >
> > 1. I can provide "gpio-ranges" properties to imx28-u-boot.dtsi
> >
&g
} uboot ${filesize}
> > > > > +
> > > > > +NAND write: device 0 offset 0x20, size 0x8fd26
> > > > > + 589094 bytes written: OK
> > > > > +icorem6qdl>
> > > >
> > > > Would it be possible to provide nandbcb sho
stop signal is generated after this API call), then call
> dm_i2c_read to read the register data.
>
> Signed-off-by: Chuanhua Han
Reviewed-by: Lukasz Majewski
> ---
> Changes in v4:
> - Replace DM_I2C_CHIP_RD_NO_I2C_SETUP_OFFSET with
> DM_I2C_CHIP_ADDR_STOP.
>
> Chan
using generic flag and can be reused by other ICs with
similar issues.
Let's wait for Heiko's opinion.
Reviewed-by: Lukasz Majewski
>
> Signed-off-by: Biwen Li
> Signed-off-by: Chuanhua Han
> ---
> Changes in v4:
> - Replace DM_I2C_CHIP_RD_NO_I2C_SETUP_OFFSET wit
>
> If we consider kobs-ng in linux it prints fcb content when we write
> some image so it means fcb is already populated at that time.
>
> > It would present the FCB/DBBT structure. Do you think it is
> > needed/feasible ?
>
> Not sure if is it needed or not
>
Hi Marek,
> On 6/17/19 3:01 PM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/17/19 10:37 AM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>>
> >>>> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> >>>>
Hi Marek,
> On 6/17/19 3:41 PM, Lukasz Majewski wrote:
> > On Mon, 17 Jun 2019 15:23:55 +0200
> > Marek Vasut wrote:
> >
> >> On 6/17/19 2:27 PM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>>
> >>>
On Mon, 17 Jun 2019 15:23:55 +0200
Marek Vasut wrote:
> On 6/17/19 2:27 PM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/17/19 8:49 AM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>>
> >>>> On 6/16/19 12:34 AM, Lukasz
Hi Marek,
> On 6/17/19 10:37 AM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> >>> This commit
> >>
> >> This is not a commit, it's a change. It only becomes a commit when
> >&
Hi Marek,
> On 6/17/19 8:49 AM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> >>> This commit converts mxs_spi driver to support DM/DTS.
> >>>
> >>> Signed-off-by: Lukasz Ma
+ str r1, [r0, #0x01C]
> +
> + ldr r1, =0x15208038
> + str r1, [r0, #0x01C]
> +
> + ldr r1, =0x04008048
> + str r1, [r0, #0x01C]
> +
> +
> + ldr r1, =0x7800
> + str r1, [r0, #0x020]
> + ldr r1, =0x0117
> + str r1, [r0, #
Hi Marek,
> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> > This commit
>
> This is not a commit, it's a change. It only becomes a commit when
> applied.
>
> > adds support for DM in the mxs_gpio.c driver when DM_GPIO
> > is enabled in Kconfig.
>
> Bu
Hi Marek,
> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> > The code responsible for setting proper values in the MUX registers
> > (in the mxs_pinctrl_set_state()) has been ported from Barebox
> > project (branch: master, SHA1:
> > eb3b0f7414cd8102844dd16b1c789e44
Hi Chuanhua,
> > -Original Message-
> > From: Lukasz Majewski
> > Sent: 2019年6月4日 16:19
> > To: Chuanhua Han
> > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li
> > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag
> > that no
Hi Marek,
> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> > The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
> > One only needs to add proper compatible and dependency on FEC_MXC
> > in the Kconfig.
> >
> > Signed-off-by: Lukasz Majewsk
Hi Marek,
> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> > This commit copies from the Linux kernel (tag v5.1.9) i.MX28 related
> > device tree files.
>
> Please use commit hash (first 12 characters of the SHA-1 ID, see [1]),
> that's a unique identifier. Tag name is
Hi Marek,
> On 6/16/19 12:34 AM, Lukasz Majewski wrote:
> > This commit converts mxs_spi driver to support DM/DTS.
> >
> > Signed-off-by: Lukasz Majewski
>
> Is the non-DM part needed for anything ?
Do you mean the non-DM part of the mxs_gpio driver? Yes, it is u
nodes as subnodes,
it was necessary to use 'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Set more apropriate tags
Changes in v2: None
drivers/pinctrl/nxp/Kconfig | 10 ++
This commit adds support for DM in the mxs_gpio.c driver when DM_GPIO
is enabled in Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Set more apropriate tags
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO
arch/arm/include/asm/arch-mxs
This commit converts mxs_spi driver to support DM/DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Set more apropriate tags
Changes in v2:
- New patch (conversion of mxs_spi.c to DM_SPI)
drivers/spi/mxs_spi.c | 393 +++---
1 file changed
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Set more apropriate tags
Changes in v2: None
drivers/net/Kconfig | 2 +-
drivers/net
This commit copies from the Linux kernel (tag v5.1.9) i.MX28 related
device tree files.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Update tag to 5.1.9
- Set more apropriate tags
Changes in v2: None
arch/arm/dts/imx28-pinfunc.h | 506
arch/arm/dts/imx28.dtsi
IO) instead of plain #ifdef CONFIG_DM_GPIO
- New patch (conversion of mxs_spi.c to DM_SPI)
Lukasz Majewski (5):
ARM: dts: imx: Copy imx28 device tree related files from Linux kernel
(v5.1.9)
ARM: imx: net: Enable support for i.MX28 DM_ETH in the fec_mxc.c
driver
ARM: dm: mxs: gpio: Add su
ers/fastboot/fb_getvar.c
> @@ -174,8 +174,8 @@ static void getvar_platform(char *var_parameter,
> char *response)
> static void getvar_current_slot(char *var_parameter, char *response)
> {
> - /* A/B not implemented, for now always return _a */
> - fastboot_okay(&
On Fri, 14 Jun 2019 12:49:10 +0200
Marek Vasut wrote:
> On 6/14/19 12:41 PM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 6/14/19 8:49 AM, Lukasz Majewski wrote:
> >>> This commit copies from the Linux kernel (tag v5.1.2) i.
Hi Marek,
> On 6/14/19 8:49 AM, Lukasz Majewski wrote:
> > This commit copies from the Linux kernel (tag v5.1.2) i.MX28
> > related device tree files.
> >
>
> Linux 5.1.9 is already out,
I will check if there are any differences and update.
> commit hash is
${filesize}
> +
> +NAND write: device 0 offset 0x20, size 0x8fd26
> + 589094 bytes written: OK
> +icorem6qdl>
Would it be possible to provide nandbcb show command (I guess that I
can dump it with plain nand read)?
It would present the FCB/DBBT structure. Do y
,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lu...@denx.de
pgpqICR38RvYb.pgp
Description: OpenPGP digital signature
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v2: None
drivers/net/Kconfig | 2 +-
drivers/net/fec_mxc.c | 1 +
2 files changed, 2
This commit adds support for DM in the mxs_gpio.c driver when DM_GPIO
is enabled in Kconfig.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO
arch/arm/include/asm/arch-mxs/gpio.h | 28 +++
drivers/gpio
This commit converts mxs_spi driver to support DM/DTS.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- New patch (conversion of mxs_spi.c to DM_SPI)
drivers/spi/mxs_spi.c | 393 +++---
1 file changed, 310 insertions(+), 83 deletions(-)
diff
nodes as subnodes,
it was necessary to use 'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
---
Changes in v2: None
drivers/pinctrl/nxp/Kconfig | 10 +++
drivers/pinctrl/nxp/Makefile | 1
This commit copies from the Linux kernel (tag v5.1.2) i.MX28 related device
tree files.
Signed-off-by: Lukasz Majewski
---
Changes in v2: None
arch/arm/dts/imx28-pinfunc.h | 506
arch/arm/dts/imx28.dtsi | 1330 ++
arch/arm/dts/mxs
s on SPI-NOR memory.
Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/545476866
Applied on top of u-boot/master branch
SHA1: c2ea87883ef309570c8903e6de4b8b78685d73d0
Changes in v2:
- Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO
- New patch (conversion of m
On Thu, 13 Jun 2019 07:47:19 +0200
Lukasz Majewski wrote:
> Hi Sam,
>
> > Hi Tom,
> >
> > We have broken fastboot right now... Can we please apply this
> > series, so that it appears in v2019.07?
>
> I'm running Travis-CI on this series, and send PR to Ma
> + }
> > + strcat(part_name_wslot, "_a");
> > +
> > + /* Check if this partition exists */
> > + r = getvar_get_part_info(part_name_wslot, response, NULL);
> > + if (r >= 0) {
> > fastboot_okay("
ists */
> + r = getvar_get_part_info(part_name_wslot, response, NULL);
> + if (r >= 0) {
> fastboot_okay("yes", response);
> - else
> - fastboot_okay("no", response);
> + return;
> + }
e;
> -#endif
> -#if CONFIG_IS_ENABLED(FASTBOOT_FLASH_NAND)
> - struct part_info *part_info;
> -
> - r = fastboot_nand_get_part_info(part_name, _info,
> response);
> - if (r >= 0)
> - size = part_info->size;
> -#endif
> + r = getvar_get_part_info(part_name
rt_info: Pointer to returned part_info pointer
> * @response: Pointer to fastboot response buffer
> */
> -int fastboot_nand_get_part_info(char *part_name, struct part_info
> **part_info,
> - char *response);
> +int fastboot_nand_get_part_info(const char
probe(struct udevice *dev)
> +{
> + i2c_set_chip_flags(dev, DM_I2C_CHIP_RD_ADDRESS |
> + DM_I2C_CHIP_WR_ADDRESS);
> +
> + return 0;
> +}
> +
> +static const struct rtc_ops ds3231_rtc_ops = {
> + .get = ds3231_rtc_get,
> + .set = ds3231_rtc_s
The board I'm testing with is Intel Edison. I think no need to
> > tell that nothing has been changed except the base (I'm rebased my
> > stuff on top of latest and greatest U-Boot releases).
>
> v2019.07-rc1 is NOT affected!
>
> The time difference with DFU:
> -rc1: real0m1.114
@@
> #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
>
> /* Watchdog */
> -#define CONFIG_WATCHDOG_TIMEOUT_MSECS 3 /* 30s */
>
> #define CONFIG_SYS_MEMTEST_START 0x8000
> #define CONFIG_SYS_MEMTEST_END
> (CONFIG_SYS_MEMTEST_START + SZ_256M) diff --git a/include/wdt.h
> b/in
;
> Student Telekommunikation Netzwerke und Sicherheit
>
> Klasse T-3b
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang
ing the VID / PID
> he managed to get it to work.
>
> Lukasz, please confirm.
I can confirm that I made it working on v2019-rc3 (on display5) after
adjusting VID/PID with NXP's 'uuu' utility to recovery i.MX6Q board.
>
> Thanks
Best regards,
Lukasz Majewski
--
DENX Soft
nfigure CPUs state.
> Kind regards,
>
> Mels
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirche
This commit adds support for DM in the mxs_gpio.c driver when DM_GPIO
is enabled in Kconfig.
Signed-off-by: Lukasz Majewski
---
arch/arm/include/asm/arch-mxs/gpio.h | 28 +++
drivers/gpio/mxs_gpio.c | 149 +++
2 files changed, 177 insertions
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled.
One only needs to add proper compatible and dependency on FEC_MXC in the
Kconfig.
Signed-off-by: Lukasz Majewski
---
drivers/net/Kconfig | 2 +-
drivers/net/fec_mxc.c | 1 +
2 files changed, 2 insertions(+), 1 deletion
nodes as subnodes,
it was necessary to use 'dm_scan_fdt_dev()' (as a .bind method) to also
make them 'visible' by the DM's "gpio_mxs" driver.
Signed-off-by: Lukasz Majewski
---
drivers/pinctrl/nxp/Kconfig | 10 +++
drivers/pinctrl/nxp/Makefile | 1 +
drivers/pinctrl/n
This commit copies from the Linux kernel (tag v5.1.2) i.MX28 related device
tree files.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx28-pinfunc.h | 506
arch/arm/dts/imx28.dtsi | 1330 ++
arch/arm/dts/mxs-pinfunc.h | 31
-dfu/builds/543773376
Applied on top of u-boot/master branch
SHA1: dbbb1c43f26cb28b64df80b72fffbaf2801e8a30
Lukasz Majewski (4):
DTS: imx28: Copy imx28 device tree related files from Linux kernel
(v5.1.2)
imx: net: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver
DM: mxs: gpio: A
I do prefer 3 months cycle. IMHO with 3 months cycle, we do have a time
to fix things and adding new code is done in merge window.
> After the last release while I did get some
> feedback, the overall balance is still in the 3 month bucket.
>
> I'm planning on doing -rc5 on June 24th
indicating
> > necessary for U-boot's DM changes.
> > If needed the code can be extended to support the "set" part of the
> > clock management.
> > Signed-off-by: Lukasz Majewski
>
> Applied to u-boot-imx, master, thanks !
Thanks for pulling this code
Hi Marek,
> On 6/10/19 2:15 PM, Lukasz Majewski wrote:
> > On Mon, 10 Jun 2019 14:09:30 +0200
> > Marek Vasut wrote:
> >
> >> On 6/10/19 8:16 AM, Lukasz Majewski wrote:
> >>> Dear Marek,
> >>>
> >>> The following c
Hi Adam,
> On Sun, Jun 9, 2019 at 3:55 PM Lukasz Majewski wrote:
> >
> > This file setups UART5 based serial to be used as pre-relocation
> > console in the U-Boot proper.
> >
> > On purpose pinux configuration is omitted here as it has been
> > already don
On Mon, 10 Jun 2019 14:09:30 +0200
Marek Vasut wrote:
> On 6/10/19 8:16 AM, Lukasz Majewski wrote:
> > Dear Marek,
> >
> > The following changes since commit
> > 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b:
> >
> > spl: Correct SPL_SIZE_LIMIT Kconfi
fails
cmd/usb_gadget_sdp.c | 11 ---
common/spl/spl_dfu.c | 2 +-
common/spl/spl_sdp.c | 6 +-
3 files changed, 14 insertions(+), 5 deletions(-)
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office
t; >
> > The early malloc memory is necessary for handling parsing and setup
> > of e.g. serial port device (and all its ancestors in DT tree).
> >
> > Signed-off-by: Lukasz Majewski
> > ---
> >
> > configs/display5_defconfig | 3 +++
> > 1 file cha
reg = <1>;
> - remote-endpoint =
> <_in>;
> - };
> + ssi3: ssi@63fe8000 {
> + #sound-dai-cells = <0>;
> + compatible = "fsl,imx53-ssi",
> &q
PU: write -f /srv/tftp/u-boot-dtb.img -addr 0x1000
SDPU: jump -addr 0x1000
SDPU: done
EOF
sudo ./uuu/uuu display5_recovery.lst
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx6q-display5-u-boot.dtsi | 5 +
arch/arm/mach-imx/mx6/Kconfig | 5 +
board/liebherr/display5
from provided DTS description.
Signed-off-by: Lukasz Majewski
---
board/liebherr/display5/display5.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/board/liebherr/display5/display5.c
b/board/liebherr/display5/display5.c
index d8383170d2..410d5bc782 100644
--- a/board/liebherr
This file setups UART5 based serial to be used as pre-relocation
console in the U-Boot proper.
On purpose pinux configuration is omitted here as it has been already
done in SPL. For early pre-relocation code we only need the serial
device from DTS.
Signed-off-by: Lukasz Majewski
---
arch/arm
This UART is not used in U-Boot, so there is no need to initialize it.
Signed-off-by: Lukasz Majewski
---
board/liebherr/display5/common.c | 13 -
board/liebherr/display5/common.h | 1 -
board/liebherr/display5/display5.c | 2 --
3 files changed, 16 deletions(-)
diff --git
.
This commit fixes this check and allows proper SPI NOR flash operation in
SPL.
Signed-off-by: Lukasz Majewski
---
board/liebherr/display5/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/liebherr/display5/common.c b/board/liebherr/display5/common.c
index 4e
701 - 800 of 4008 matches
Mail list logo