Those automatically created structures can have random value.
However, mv88e61xx driver assumes that those are zeroed.
Signed-off-by: Lukasz Majewski
---
drivers/net/phy/mv88e61xx.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy
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
---
drivers/net/phy/mv88e61xx.c | 15 ++-
1 file changed, 10 insertions(+), 5
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
---
drivers/net/phy/mv88e61xx.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a
of CONFIG Data1 (0x71) of Scratch and Misc register is read
to check if 'no_cpu' and 'addr4' bits were set.
Signed-off-by: Lukasz Majewski
---
drivers/net/phy/mv88e61xx.c | 63 +++--
1 file changed, 61 insertions(+), 2 deletions(-)
gt; + list_for_each_entry(dfu, &dfu_list, list) {
> > + if (dfu->data.sf.dev == dev)
> > + dfu->data.sf.dev = NULL;
> > + }
> > + spi_flash_free(dev);
> > + }
> > }
> >
> > static s
Hi Mark,
> > Date: Tue, 28 Apr 2020 06:24:10 +0200
> > From: Lukasz Majewski
>
> Hi Lukasz,
>
> > Hi Mark,
> >
> > > The fix in commit b7adcdd073c0 has the side-effect that the
> > > regulator will be disabled when requesting the relevan
This change updates the MTD partition layout on SPI-NOR memory for display5
board.
Signed-off-by: Lukasz Majewski
---
configs/display5_defconfig | 2 +-
configs/display5_factory_defconfig | 2 +-
include/configs/display5.h | 7 ---
3 files changed, 6 insertions(+), 5
gt; - debug("%s(clk=%p)\n", __func__, clk);
> + debug("%s(clk=%p \"%s\")\n", __func__, clk, clk->dev->name);
> if (!clk_valid(clk))
> return 0;
> ops = clk_dev_ops(clk->dev);
> @@ -584,7 +586,7 @@ int clk_disable(
]).
Links:
[1] - https://forum.doozan.com/read.php?3,35295,35295#msg-35295
[2] -
https://www.dropbox.com/s/nrkrd1no63viuu8/uboot-bodhi-2016.05-timeoutTD.patch?dl=0
Signed-off-by: Lukasz Majewski
[Unfortunately, the original patch [2] did not contain S-o-B from the original
author - "rayvt
ng - no error - pendrive [1]
With the pendrive [2] I do observe that very often it is not recognized at all.
Even more strange - there is a difference in the reliability of being recognized
between identical pendrives (used one vs. just unboxed one).
Lukasz Majewski (5):
Revert "usb: ehci-hcd: K
ks:
[1] - https://forum.doozan.com/read.php?3,35295,35295#msg-35295
[2] -
https://www.dropbox.com/s/nrkrd1no63viuu8/uboot-bodhi-2016.05-timeoutTD.patch?dl=0
Signed-off-by: Lukasz Majewski
[Unfortunately, the original patch [2] did not contain S-o-B from the original
author - "rayvt"]
---
pbox.com/s/nrkrd1no63viuu8/uboot-bodhi-2016.05-timeoutTD.patch?dl=0
Signed-off-by: Lukasz Majewski
[Unfortunately, the original patch [2] did not contain S-o-B from the original
author - "rayvt"]
---
common/usb.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/c
This reverts commit 02b0e1a36c5bc20174299312556ec4e266872bd6.
Signed-off-by: Lukasz Majewski
---
drivers/usb/host/ehci-hcd.c | 51 ++---
1 file changed, 30 insertions(+), 21 deletions(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
g-35295
[2] -
https://www.dropbox.com/s/nrkrd1no63viuu8/uboot-bodhi-2016.05-timeoutTD.patch?dl=0
Signed-off-by: Lukasz Majewski
[Unfortunately, the original patch [2] did not contain S-o-B from the original
author - "rayvt"]
---
drivers/usb/host/ehci-hcd.c | 27 ++-
Hi Marek,
> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> > This reverts commit 02b0e1a36c5bc20174299312556ec4e266872bd6.
> >
> > Signed-off-by: Lukasz Majewski
>
> This patch lacks any and all explanation why this is being reverted.
> The patch you are reve
Hi Marek,
> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> > This change brings support for handling XACTERR error during DATA
> > phase of USB BBB (bulk) transmission.
> >
> > The fix is to clear stall'ed endpoint and reset recovery on the USB
> > mass st
Hi Marek,
> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> > This change provides some extra time for some slow (or degraded)
> > USB devices to become fully operational.
> >
> > This code is the port to newest U-Boot of the fix from - "rayvt"
> >
Hi Marek,
> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> > This code adds check if QT_TOKEN_STATUS_XACTERR error occurred.
> > When it is detected the token is reconfigured and transmission is
> > retried.
> >
> > This code is the port to newest U-Boot of th
Hi Marek,
> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> [...]
> > diff --git a/common/usb_storage.c b/common/usb_storage.c
> > index 92e1e54d1c..3c2324fa1a 100644
> > --- a/common/usb_storage.c
> > +++ b/common/usb_storage.c
> > @@ -729,6 +729,7 @@ stat
Hi Marek,
> On 3/23/20 7:57 AM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> >>> This reverts commit 02b0e1a36c5bc20174299312556ec4e266872bd6.
> >>>
> >>> Signed-off-
Hi Marek,
> On 3/23/20 8:53 AM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> >> [...]
> >>> diff --git a/common/usb_storage.c b/common/usb_storage.c
> >>> index 92e1e54d1c..3c
Hi Marek,
> On 3/23/20 8:18 AM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> >>> This code adds check if QT_TOKEN_STATUS_XACTERR error occurred.
> >>> When it is detected the toke
Hi Marek,
> On 3/23/20 8:00 AM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 3/22/20 2:00 PM, Lukasz Majewski wrote:
> >>> This change brings support for handling XACTERR error during DATA
> >>> phase of USB BBB (bulk) transmission.
>
Hi Tom,
> On Sun, Mar 22, 2020 at 02:00:26PM +0100, Lukasz Majewski wrote:
>
> > This patch set is rather a request for testing (and a starting
> > point for the discussion), as it may improve the robustness of USB
> > with some pendrives - and yes sacrifice some perform
Hi Marek,
> On 3/23/20 1:41 PM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On 3/23/20 7:57 AM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>>> On 3/22/20 2:00 PM, Lukasz Majewsk
Hi Marek,
> On 3/24/20 8:06 AM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> [...]
>
> >>>> You should probably figure out why this doesn't work first and
> >>>> then add fixes on top.
> >>>
> >>
;> total_blocks += chunk_data_sz /
> >> sparse_header->blk_sz; free(fill_buf);
> >> break;
> >> @@ -253,7 +253,7 @@ int write_sparse_image(struct sparse_storage
> >> *info, debug("Wrote %d blocks, expected to write %d
Hi Joe, Tom,
> On Wed, Mar 17, 2021 at 4:14 PM Lukasz Majewski wrote:
> >
> > 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 devic
to set these
> configs in defconfig files than in config header files as they are a
> part of the source code.
>
> Add Kconfig symbols, and update the defconfigs by using
> tools/moveconfig.py script.
Acked-by: Lukasz Majewski
>
> Suggested-by: Pratyush Yadav
> Signed-o
; - dfu->max_buf_size = has_pages ? mtd->erasesize : 0;
> >> + dfu->max_buf_size = mtd->erasesize;
> >>
> >>st = strsep(&s, " ");
> >>if (!strcmp(st, "raw")) {
> >>
> > Reviewed-by: Patrice Chot
Those members are not used anymore as ones from gpio_dev_priv
structure (when DM_GPIO support is enabled) are used instead.
Signed-off-by: Lukasz Majewski
---
drivers/gpio/pcf8575_gpio.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio
functions have been removed as now we also sent 8 bit data.
Signed-off-by: Lukasz Majewski
---
drivers/gpio/pcf8575_gpio.c | 40 ++---
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio/pcf8575_gpio.
posite("ecspi3", imx8mm_ecspi3_sels,
> base + 0xc180)); +
> + clk_dm(IMX8MM_CLK_ECSPI1_ROOT,
> +imx_clk_gate4("ecspi1_root_clk", "ecspi1", base +
> 0x4070, 0));
> + clk_dm(IMX8MM_CLK_ECSPI2_ROOT,
> +imx_clk_gate4
rivers/clk/kendryte/Kconfig
> delete mode 100644 drivers/clk/kendryte/Makefile
> delete mode 100644 drivers/clk/kendryte/bypass.c
> delete mode 100644 drivers/clk/kendryte/clk.c
> delete mode 100644 drivers/clk/kendryte/pll.c
> delete mode 100644 include/kendryte/bypass.h
> delete mode 100644 include/kendryte/clk.h
>
Best regards,
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
pgpmpgvmM8CuY.pgp
Description: OpenPGP digital signature
h | 123 ++
> > > drivers/usb/gadget/usbstring.c | 74 +-
> > > include/linux/usb/composite.h | 71 ++
> > > include/linux/usb/gadget.h | 9 +
> > > include/linux/utf.h | 75 ++
> > > 10 files changed, 734 insertions(+), 105 deletions(-) create
> > > mode 100644 drivers/usb/gadget/u_os_desc.h create mode 100644
> > > include/linux/utf.h
> > >
> > > --
> > > 2.28.0
>
Best regards,
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
pgpnRgrwjxOTN.pgp
Description: OpenPGP digital signature
+---
> > 3 files changed, 24 insertions(+), 8 deletions(-)
> >
>
> Gentle reminder,
>
> Any comments on this serie [1]
>
> [1] http://patchwork.ozlabs.org/project/uboot/list/?series=200509
>
> Patrick
Could you rebase this on top of current -master
include/fastboot.h
> +++ b/include/fastboot.h
> @@ -52,15 +52,6 @@ enum fastboot_reboot_reason {
> FASTBOOT_REBOOT_REASONS_COUNT
> };
>
> -/**
> - * BCB boot commands
> - */
> -static const char * const fastboot_boot_cmds[] = {
> - [FASTBOOT_REBOOT_REASON_BOOTLOADER] = "boot
n >= FASTBOOT_REBOOT_REASONS_COUNT)
> + return -EINVAL;
> +
> + return
> bcb_write_reboot_reason(CONFIG_FASTBOOT_FLASH_MMC_DEV, "misc",
> boot_cmds[reason]); }
> /**
This patch causes build breaks when I run the CI on azzure. If it is
still needed,
_irq(void)
> if (intrtx)
> musb_peri_tx(intrtx);
> } else {
> - if (MUSB_INTR_SOF & intrusb) {
> + if (readw(&musbr->intrtx) & 0x1) {
> u8 faddr;
&
Extend cmd: bcb
- Fixes for fastboot and rockchip gadgets
- dfu: Add SCRIPT and SKIP entities
- dfu/thor: Add `dfu_alt_info` reinitialization from flashed script
- u-boot: Reduce size of u-boot as usbd_device_* arrays are not exported
The repository on Gitlab (master branch):
https://gitlab.denx.
Hi Pali,
> On Saturday 23 January 2021 16:16:11 Lukasz Majewski wrote:
> > Hi Pali,
> >
> > > Interrupt for EP0 is indicated in intrtx register via first bit.
> > > It is set for both RX and TX. First bit in intrrx register is
> > > reserved a
adget_ops
Best regards,
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
pgpm76jbQ3hiZ.pgp
Description: OpenPGP digital signature
t;> * reboot_bootloader() - Sets reboot bootloader flag.
> >>> *
> >>> diff --git a/drivers/usb/gadget/f_fastboot.c
> >>> b/drivers/usb/gadget/f_fastboot.c index d1d087e12b2..bf52d2505f4
> >>> 100644 --- a/drivers/usb/gadget/f_fastboot.c
>
f_fastboot.c
> >> +++ b/drivers/usb/gadget/f_fastboot.c
> >> @@ -419,6 +419,18 @@ static void do_bootm_on_complete(struct
> >> usb_ep *ep, struct usb_request *req) do_exit_on_complete(ep, req);
> >> }
> >>
> >> +#if CONFIG_IS_ENABLED(FASTBOOT
the same data
> back */ ut_asserteq(512, dev_desc->blksz);
> - memset(cmp, '\0', sizeof(cmp));
> - ut_asserteq(2, blk_dread(dev_desc, 0, 2, cmp));
> - ut_assertok(strcmp(cmp, "this is a test"));
> + for (i = 0; i < sizeof(write); i++)
> +
> +#if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
> + case FASTBOOT_COMMAND_ACMD:
> + fastboot_func->in_req->complete =
> do_acmd_complete;
> + break;
> +#endif
> }
> }
>
> diff --git a/include/fastboot.h b/incl
get_part_info("0.0#test1",
> &fb_dev_desc,
> + &part_info,
> response));
> + ut_asserteq(1, fastboot_mmc_get_part_info("0:1",
> &fb_dev_desc,
> + &
usbtty_puts("\r", 1);
> - __usbtty_puts(str, n + 1);
> + __usbtty_puts(str, n);
> + __usbtty_puts("\r\n", 2);
> str += (n + 1);
> len -= (n + 1);
>
return -1;
> @@ -878,6 +870,8 @@ static int write_buffer (circbuf_t * buf)
>*/
> while (buf->size > 0) {
>
> + current_urb = next_urb (device_instance,
> endpoint); +
> dest = (char*)current_urb->buffer +
&
ers/usb/musb/built-in.o: in function `udc_startup_events':
> u-boot/drivers/usb/musb/musb_udc.c: undefined reference to
> `usbd_device_event_irq' arm-linux-gnueabi-ld.bfd:
> u-boot/drivers/usb/musb/musb_udc.c: undefined reference to
> `usbd_device_event_irq' arm-linux-gnueab
On Fri, 5 Feb 2021 20:12:00 +0100
Pali Rohár wrote:
> Without this patch it was done only when U-Boot was compiled with
> MUSB Host Controller. But it is needed also for MUSB Device
> Controller, otherwise Device Controller does not work.
>
Reviewed-by: Lukasz Majewski
> Sign
t possible.
>
> This patch is fixing calculation of start address and buffer size to
> minimal value and ensure that it would not overlap with reserved EP0
> buffer.
>
> This issue caused loose of packets on USB bus in both directions and
> basically usbtty was unusable.
>
> {
> u16 peri_rxcount;
> - u8 peri_rxcsr = readw(&musbr->ep[ep].epN.rxcsr);
> + u16 peri_rxcsr = readw(&musbr->ep[ep].epN.rxcsr);
>
> if (!(peri_rxcsr & MUSB_RXCSR_RXPKTRDY)) {
> if (debug_level > 0)
Reviewed-by: L
kets are put into waiting queue.
>
> Implement function musb_peri_tx() which transmit checks when
> endpoints are ready and continue transmitting of waiting queue.
>
> This patch fixes sending e.g. output of printenv command over usbtty
> serial console.
Reviewed-by: Lukasz Majew
pending_intrrx that HW buffer was not fully
> processed yet and next iteration is required after U-Boot allocate
> space for reading HW buffer.
>
> This patch fixes receiving large usb buffers, e.g. file transfer via
> Kermit protocol implemented by 'loadb' U-Boot command over
t; usb 1-1: Device not responding to setup address.
> usb 1-1: Device not responding to setup address.
> usb 1-1: device not accepting address 86, error -71
>
> U-Boot was writing address to faddr register too early and did not
> wait for correct interrupt after which shoul
pace between more endpoint cause data loss and
> unexpected errors.
>
> This patch is fixing transmission of characters over usbtty serial
> console and allow using of usbtty for debugging purposes on Nokia
> N900.
Reviewed-by: Lukasz Majewski
>
> Signed-off-by: Pali
On Fri, 5 Feb 2021 20:12:07 +0100
Pali Rohár wrote:
> All debug messages from ep0.c except a few are printed by dbg_ep0()
> macro. So for remaining few exception use also dbg_ep0() instead of
> serial_printf().
Reviewed-by: Lukasz Majewski
>
> Signed-off-by: Pali Rohár
>
nit)
> ldr sp, SRAM_STACK
> str ip, [sp]/* stash ip register */
> @@ -187,6 +190,7 @@ ENTRY(lowlevel_init)
> b s_init
>
> ENDPROC(lowlevel_init)
> +#endif
>
> /* the literal pools origin */
> .ltorg
Reviewed-by: Lu
On Fri, 5 Feb 2021 20:12:09 +0100
Pali Rohár wrote:
> Function s_init() is called only from lowlevel_init(). So compile it
> only when function lowlevel_init() is compiled.
>
Reviewed-by: Lukasz Majewski
> Signed-off-by: Pali Rohár
> ---
> arch/arm/mach-omap2/omap3/bo
M0))
> /*d2d_dmare3*/\
> - MUX_VAL(CP(D2D_N3GTRST),(IEN | PTD | DIS | M0))
> /*d2d_n3gtrs*/\
> - MUX_VAL(CP(D2D_N3GTDI), (IEN | PTD | DIS |
> M0)) /*d2d_n3gtdi*/\
> - MUX_VAL(CP(D2D_N3GTDO), (IEN | PTD | DIS |
> M0)) /*d2d_n3gtdo*/\
> - MU
10xfb001202
> -#define ONENAND_GPMC_CONFIG2_RX510x0000
> -#define ONENAND_GPMC_CONFIG3_RX51 0x00020200
> -#define ONENAND_GPMC_CONFIG4_RX510x11001102
> -#define ONENAND_GPMC_CONFIG5_RX510x03101616
> -#define ONENAND_GPMC_CONFIG6_RX510x9006
> -
> -#endif
Revie
"stdout=usbtty,serial,vga\0" \
> + "stderr=usbtty,serial,vga\0" \
> "slide=gpio input " __stringify(GPIO_SLIDE) "\0" \
> "switchmmc=mmc dev ${mmcnum}\0" \
> "kernaddr=0x82008000\0" \
> @@ -19
Hi Sean,
> On 2/5/21 9:46 AM, Lukasz Majewski wrote:
> > Hi Sean,
> >
> >> This adds support for partitions of the form "dev.hwpart:part" and
> >> "dev#partname". This allows one to flash to eMMC boot partitions
> >> wi
drivers/serial/usbtty.c | 16 +-
> drivers/usb/gadget/ep0.c | 16 +-
> drivers/usb/musb/musb_core.c | 12 +-
> drivers/usb/musb/musb_udc.c | 61 ++--
> include/configs/nokia_rx51.h | 21 +-
> 12 files changed
; \
> - "nand read ${fdt_addr} fdt 0x0008; " \
> - "bootz ${loadaddr} - ${fdt_addr}; " \
> - "else " \
> - "if test ${boot_fdt} = no; then " \
> -
tion specifications
Best regards,
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
pgptD4kxEEexr.pgp
Description: Ope
Hi Pali,
> On Monday 08 February 2021 23:34:06 Pali Rohár wrote:
> > On Monday 08 February 2021 23:21:38 Pali Rohár wrote:
> > > On Monday 08 February 2021 23:15:33 Lukasz Majewski wrote:
> > > > Hi Pali,
> > > >
> > > > >
On Fri, 19 Feb 2021 01:38:14 +0100
Pali Rohár wrote:
> On Tuesday 16 February 2021 09:28:06 Lukasz Majewski wrote:
> > Hi Pali,
> >
> > > On Monday 08 February 2021 23:34:06 Pali Rohár wrote:
> > > > On Monday 08 February 2021 23:21:38 Pali Rohár wrote:
] -
> > >> https://dev.azure.com/u-boot/a1096300-2999-4ec4-a21a-4c22075e3771/_build/results?buildId=1816&view=logs&jobId=9a06d2a9-1498-5de0-2a01-be581d48ba67
> > >>
> > >
> > > Lokesh, could you please look at this patch?
> >
> > I do no
pe u-boot.img
Signed-off-by: Lukasz Majewski
---
board/liebherr/xea/xea.c| 1 +
configs/imx28_xea_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c
index 8159f3a2d9..4062c6fb82 100644
--- a/board/liebherr/xea/xea.c
+++ b/board
eate an update file for
> automatically
> - replacing U-Boot image on a system.
> -
> - Assuming that an U-Boot image u-boot.bin is present in the current
> working
> - directory, and that the address given in the 'load' property in the
> - 'update_uboot.its&
Hi Heinrich,
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On 15.07.20 13:24, Lukasz Majewski wrote:
> > Hi Heinrich,
> >
> >> Using UPDATE_TFTP the firmware can be updated from tFTP by
> >> writing to NOR flash. The same is possible by def
Hi Heinrich,
> On 17.06.20 11:29, Lukasz Majewski wrote:
> > On Wed, 17 Jun 2020 11:09:03 +0200
> > Heinrich Schuchardt wrote:
> >
> >> The `fitupd' command is not used by any board. The `dfu tftp'
> >> command provides the same capabilit
default:
> return -ENODEV;
> }
> -
> - return rate;
> }
>
> static struct clk_ops intel_clk_ops = {
> --
> 2.25.0
>
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfga
= meson_pcie_pll_get_rate(clk);
> + break;
> case CLKID_VPU_0:
> rate = meson_div_get_rate(clk, CLKID_VPU_0_DIV);
> break;
> --
> 2.25.0
>
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH
int fout,
> uint *_mint, uint *_mfrac, uint n, foutiic, fvcoiic, mint;
> u64 mfrac;
>
> - n = (221500U + fout / 2) / fout;
> if (fout < 41700U)
> n = 2 * ((221500U / 2 + fout / 2) / fout);
> else
> --
> 2.25.0
>
Rev
; 0x45e0, 0));
> +/* clks not needed in SPL stage */
> +#ifndef CONFIG_SPL_BUILD
> + clk_dm(IMX8MN_CLK_ENET_REF, imx8m_clk_composite("enet_ref",
> imx8mn_enet_ref_sels, base + 0xa980));
> + clk_dm(IMX8MN_CLK_ENET_TIMER,
> imx8m_clk_composite("enet_timer", imx8m
ine IMXRT1020_CLK_PLL3_PFD1_664_62M 9
> +#define IMXRT1020_CLK_PLL3_PFD2_508_24M 10
> +#define IMXRT1020_CLK_PLL3_PFD3_454_74M 11
> +#define IMXRT1020_CLK_PLL2_198M 12
> +#define IMXRT1020_CLK_PLL3_120M 13
> +#def
48..f28d52d3b7 100644
> --- a/arch/arm/mach-imx/imxrt/Kconfig
> +++ b/arch/arm/mach-imx/imxrt/Kconfig
> @@ -3,6 +3,10 @@ if ARCH_IMXRT
> config IMXRT
> bool
>
> +config IMXRT1020
> + bool
> + select IMXRT
> +
> config IMXRT1050
> bool
&
Hi Giulio,
> Add dtsi file for i.MXRT1020.
>
Has this file been ported from Linux kernel? Or is it only available in
U-Boot?
Reviewed-by: Lukasz Majewski
> Signed-off-by: Giulio Benetti
> ---
> arch/arm/dts/imxrt1020.dtsi | 133
> 1
On Tue, 18 Feb 2020 20:02:54 +0100
Giulio Benetti wrote:
> Add i.MXRT1020 pins definition.
Are those definitions ported from Linux kernel?
>
> Signed-off-by: Giulio Benetti
> ---
> include/dt-bindings/pinctrl/pins-imxrt1020.h | 763
> +++ 1 file changed, 763 insertions(+)
> c
ON is not set
> +CONFIG_OF_CONTROL=y
> +CONFIG_SPL_OF_CONTROL=y
> +CONFIG_DEFAULT_DEVICE_TREE="imxrt1020-evk"
> +CONFIG_ENV_IS_NOWHERE=y
> +CONFIG_ENV_IS_IN_MMC=y
> +CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> +CONFIG_TFTP_BLOCKSIZE=512
>
Hi Nathan,
> On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote:
> >
> > On Tue, 28 Jan 2020 17:50:03 +1000
> > Nathan Rossi wrote:
> >
> > > On Mon, 27 Jan 2020 at 22:51, Lukasz Majewski
> > > wrote:
> > > >
> > > >
Hi Alifer,
> Hello Lukasz,
>
> > Why have you sent those patches twice?
> >
>
> I'm sorry for that,
I was just curious if you made a v2 :-)
> the first time I sent this patch I forgot to send
> to u-boot lists too, so I sent it again.
>
> Re
two patches as FIXES.
Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/653370363
Best regards,
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:
those clocks supported in CCF resulted in non-functional ETH.
Lukasz Majewski (3):
clk: imx6: Add definition for IMX6QDL_CLK_ENET clock
clk: imx: Add support for pllv3 enet clock
clk: imx6: Add definition for IMX6QDL_CLK_ENET_REF clock
drivers/clk/imx/clk-imx6q.c | 8
dr
ange models the simplest case when enet reference clock is
generated from 'osc' clock.
Signed-off-by: Lukasz Majewski
---
drivers/clk/imx/clk-imx6q.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c
index ace60ecec6
After commit 673f6597321d ("net: fec_mxc: support i.MX8M with CLK_CCF") all
NXP boards, which are not IMX8 and in the same time are supporting CCF
need to provide IMX6QDL_CLK_ENET.
This change defines the missing clock in i.MX6Q's CCF.
Signed-off-by: Lukasz Majewski
---
driv
This code has been ported from Linux kernel v5.5.5 (tag) and has been
adjusted to U-Boot's DM.
It adds support for correct recognition of IMX_PLLV3_ENET flag in the
clk-pllv3.c driver.
Signed-off-by: Lukasz Majewski
---
drivers/clk/imx/clk-pllv3.c | 25 +
1
0;
> > +}
> > +
> > static int ehci_usb_probe(struct udevice *dev)
> > {
> > struct usb_platdata *plat = dev_get_platdata(dev);
> > @@ -362,6 +378,7 @@ U_BOOT_DRIVER(usb_mx5) = {
> > .id = UCLASS_USB,
> > .of_match = mx5_usb_ids,
> > .ofdata_to_p
Dear Marek,
> On 2/24/20 4:28 PM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> On Thu, 20 Jun 2019 22:53:58 +0200
> >> Marek Vasut wrote:
> >>
> >>> It is likely that the DM conversion of EHCI iMX5 driver was a
> >>&g
Hi Patrick,
> Move CONFIG_SET_DFU_ALT_INFO into Kconfig done by moveconfig.py.
Thank you for the conversion.
Acked-by: Lukasz Majewski
>
> Signed-off-by: Patrick Delaunay
> ---
>
> configs/odroid-xu3_defconfig| 1 +
> configs/odroid_defconfig
69440 bytes read in 979 ms (16.4 MiB/s)
With this patch:
16869440 bytes read in 1219 ms (13.2 MiB/s)
Links:
[1] - https://forum.doozan.com/read.php?3,35295,35295#msg-35295
[2] -
https://www.dropbox.com/s/nrkrd1no63viuu8/uboot-bodhi-2016.05-timeoutTD.patch?dl=0
Signed-off-by: Lukasz Majewski
[
on top of SHA1: 133276f14acfbad4268acd19a70d3cda0a60b5e3
Lukasz Majewski (4):
config: cosmetic: Cleanup of imx53 - HSC and DDC config file
dts: imx: Add fixed-link property to HSC and DDC (imx53) devices
config: imx: Enable CONFIG_PHY_FIXED on HSC and DDC i.MX53 boards
imx: pmic: Set p
This change was introduced after running make savedefconfig on newest
master U-Boot (SHA1: 8e51bf746a11d7f67416859).
Signed-off-by: Lukasz Majewski
---
configs/kp_imx53_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/kp_imx53_defconfig b/configs
ame U-Boot
binary.
Signed-off-by: Lukasz Majewski
---
configs/kp_imx53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/kp_imx53_defconfig b/configs/kp_imx53_defconfig
index f29dec0161..096ba53236 100644
--- a/configs/kp_imx53_defconfig
+++ b/configs/kp_imx53_defconfig
@@ -
After the
commit 4213609cc7fb ("drivers: core: use strcmp when find device by name")
the exact DTS node name for PMIC device must be provided.
This patch fixes this issue by providing full DTS node name ('mc34708@8').
Signed-off-by: Lukasz Majewski
---
board/k+p/kp_imx53/
d == 0 are not created in U-Boot anymore. This caused regression
on HSC.
To fix this problem - the fec's 'fixed-link' node has been introduced and
the phy_id is not assessed anymore. This approach works on both boards.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx53-kp-u-boot
;t make rc3.
>
> And I think this is coming via the USB tree perhaps?
I've sent PR on last Friday (with Andy on CC):
[GIT] Pull request: u-boot-dfu (21.02.2020)
It shall be pulled by Marek soon to the u-boot-usb tree.
> Or is it in the
> clk part itself? Thanks!
>
Best
101 - 200 of 4049 matches
Mail list logo