d_alt_num(const char *s)
> {
> int i = 0;
> diff --git a/include/dfu.h b/include/dfu.h
> index 2e3e91c8d2..fb5260d903 100644
> --- a/include/dfu.h
> +++ b/include/dfu.h
> @@ -178,6 +178,11 @@ unsigned char *dfu_free_buf(void);
> unsigned long dfu_get_buf_size(void);
>
difference between
> dfu-util -e and -R") Cc: Lukasz Majewski
> Cc: Stephen Warren
> Signed-off-by: Andy Shevchenko
> ---
> include/dfu.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/dfu.h b/include/dfu.h
> index 564966333f..2e3e91c8d2 100644
p(argv[1], "tftp"))
> + return update_tftp(value, interface, devstring);
> #endif
> #ifdef CONFIG_DFU_OVER_USB
> ret = dfu_init_env_entities(interface, devstring);
Acked-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managi
x4400
From the above it seems like you starts from 0x4000 your boota
partition, which then overwrites the "Entries 5-128" which shall be 0
and are protected by CRC written in the Primary GPT Header.
Please try to adjust your partition scheme to start from 0x4400.
>
> Jagan.
Links
;
I can speak of some i.MX28 board(s). If there is a will one can try to
use OF_PLATDATA without the full blown support of FDT (patches recently
added to not include some not necessary stuff).
(The board which uses this approach still waits for SPL_DM_GPIO
definition in Kconfig to be re-posted t
ctrl, 8);
>
> debug_cond(DEBUG_SETUP != 0,
> "%s: bRequestType = 0x%x(%s), bRequest = 0x%x"
Acked-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: K
t;wTotalLength,
> USB_DT_USB_SS_CAP_SIZE);
> + le16_add_cpu_packed((__le16_packed
> *)>wTotalLength,
> + USB_DT_USB_SS_CAP_SIZE);
> ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE;
> ss_cap->bDescriptorType
Hi Simon,
> Hi Simon,
>
> > Hi Lukasz,
> >
> > On Mon, 14 Oct 2019 at 06:41, Lukasz Majewski
> > wrote:
> > >
> > > Hi Simon,
> > >
> > > > Hi Lukasz,
> > > >
> > > >
Hi Simon,
> Hi Lukasz,
>
> On Mon, 14 Oct 2019 at 06:41, Lukasz Majewski wrote:
> >
> > Hi Simon,
> >
> > > Hi Lukasz,
> > >
> > > On Wed, 9 Oct 2019 at 03:02, Lukasz Majewski
> > > wrote:
> > > >
> > >
Hi Marek,
> On 11/6/19 12:27 PM, Lukasz Majewski wrote:
> > Hi Marek,
> >
> >> On 11/6/19 10:21 AM, Lukasz Majewski wrote:
> >>> Dear Marek,
> >>>
> >>> The following changes since commit
> >>> 14d39c9e1dc
Hi Marek,
> On 11/6/19 10:21 AM, Lukasz Majewski wrote:
> > Dear Marek,
> >
> > The following changes since commit
> > 14d39c9e1dc9397febd58399a70f32e7481bbc27:
> >
> > travis: Rework how we write the ~/.buildman file (2019-11-05
> > 10:4
nce USB3 host and gadget driver
usb: cdns3: gadget: Implement udc_set_speed() callback
usb: cdns3: Add TI wrapper driver for CDNS USB3 controller
usb: gadget: Add gadget_is_cdns3() macro
Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/607937090
Best regards,
Luk
ude
>
Thanks Simon for spotting it.
Acked-by: Lukasz Majewski
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 E
: add callback for flush and initiated operation
Ralph Siemsen (1):
dfu: dfu_nand: reduce verbosity
Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/604863805
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235
Hi Marek,
> On 10/28/19 5:51 PM, Lukasz Majewski wrote:
> > Hi Marek,
>
> Hi,
>
> >> Hi Marek,
> >>
> >>> On 10/15/19 9:45 AM, Lukasz Majewski wrote:
> >>>> Dear Marek,
> >>&g
Hi Marek,
> Hi Marek,
>
> > On 10/15/19 9:45 AM, Lukasz Majewski wrote:
> > > Dear Marek,
> >
> > Hello Lukasz,
> >
> > > The following changes since commit
> > > 7a779ed1755c2d5011bd9598da90291f759ae760:
> > >
to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT
> for
> - more details on that. The SPI driver provides the
> transport for
> - data between the SPI flash and the CPU. This option can be
> used to
> - enable SPI drivers that are needed for other purposes
&g
Hi Robert,
> On Thu, 2019-10-24 at 09:38 +0200, Lukasz Majewski wrote:
> > Hi Robert,
> >
> > > Add compatible string for imx53 and imx21.
> > >
> > > Signed-off-by: Robert Beckett
> > > ---
> > > drivers/serial/serial_mxc.c | 2
C'ed).
To send patches to correct people (despite the assignment for reviewers
in the patchwork) - please use patman python script. It generates list
of relevant people to receive patch for review.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang D
gs/socfpga_vining_fpga_defconfig @@ -72,6 +72,7 @@
> > >> CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_SPANSION=y
> > >> CONFIG_SPI_FLASH_STMICRO=y
> > >> # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
> > >> +CONFIG_SPI_FLASH_MTD=y
> > >> CONF
(struct spl_image_info *spl_image,
> if (!err)
> return err;
> }
> +
> + raw_sect = spl_mmc_get_uboot_raw_sector(mmc);
> +
> #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
> err = mmc_load_image_raw
up
test: clk: test clock self assignment
Lukasz Majewski (1):
clk: Add support for I2C clocks on NXP's imx6q SoC which use CCF
Branch:
https://gitlab.denx.de/u-boot/custodians/u-boot-clk/commits/master
Merge-tag:
https://gitlab.denx.de/u-boot/custodians/u-boot-clk/-/tags/u-boot-clk
Xiaowei
>
> > -Original Message-
> > From: Xiaowei Bao
> > Sent: 2019年10月21日 11:51
> > To: Lukasz Majewski
> > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu
> > ; ja...@amarulasolutions.com; Prabhakar X
> > ; u-boot@lists.denx.de; Jiafei Pan
>
+--- drivers/clk/clk_sandbox.c |
> 56 + drivers/clk/clk_sandbox_test.c | 66 +---
> drivers/core/device.c | 2 +-
> include/clk.h | 53 -
> test/dm/clk.c | 36 ++++-
> 8 files changed, 364
nable support for this feature.
Thanks Anatolij for preparing the fix.
Reviewed-by: Lukasz Majewski
>
> Thanks,
> Anatolij
>
> common/spl/Kconfig | 28 ++--
> 1 file changed, 22 insertions(+), 6 deletions(-)
>
> diff --git a/common/spl/Kconfig
G_IS_ENABLED(PINCONFIG_RECURSIVE)
> +#if CONFIG_IS_ENABLED(PINCONF_RECURSIVE)
> .post_bind = pinconfig_post_bind,
> #endif
> .name = "pinconfig",
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wol
Hi Marek,
> On 10/15/19 9:45 AM, Lukasz Majewski wrote:
> > Dear Marek,
>
> Hello Lukasz,
>
> > The following changes since commit
> > 7a779ed1755c2d5011bd9598da90291f759ae760:
> >
> > travis: Exclude MIPS from the bcm job (2019-10-13 11:21:5
frequency in U-Boot.
Signed-off-by: Lukasz Majewski
---
drivers/clk/imx/clk-imx6q.c | 21 +
drivers/clk/imx/clk.h | 18 ++
2 files changed, 39 insertions(+)
diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c
index 92e9337d44..
The TPC70 is equipped with DS1307 RTC device. Add code to enable support
for it.
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/imx6q-kp.dts | 5 +
configs/kp_imx6q_tpc_defconfig | 2 ++
2 files changed, 7 insertions(+)
diff --git a/arch/arm/dts/imx6q-kp.dts b/arch/arm/dts/imx6q
This commit converts mccmon6's u-boot proper (in a single commit to avoid
build breaks) to use solely DM/DTS.
The DTS description of the mccmon6 has been ported from Linux kernel
(v4.20, SHA1: 8fe28cb58bcb235034b64cbbb7550a8a43fd88be)
Signed-off-by: Lukasz Majewski
---
arch/arm/dts/Makefile
After this change the SPL size has been reduced from 38K to 34K.
Signed-off-by: Lukasz Majewski
---
configs/mccmon6_nor_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/mccmon6_nor_defconfig b/configs/mccmon6_nor_defconfig
index 0752ec949de6..e2d3b84616c6 100644
This commit enabled support for fitImage on mccmon6 when we
switch to DT/DTS (including falcon mode).
Signed-off-by: Lukasz Majewski
---
board/liebherr/mccmon6/spl.c | 7 +
configs/mccmon6_nor_defconfig | 8 -
configs/mccmon6_sd_defconfig | 6 +++-
include/configs/mccmon6.h
-by: Lukasz Majewski
---
common/spl/spl_nor.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c
index 7df708de9b0f..b1e79b9ded62 100644
--- a/common/spl/spl_nor.c
+++ b/common/spl/spl_nor.c
@@ -51,6 +51,11 @@ static int spl_nor_load_image(struct
/DTS conversion
- Conversion to DM_MMC, DM_SPI, and BLK (U-Boot proper)
Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/597730941
Applied on top of i.MX -next tree:
SHA1: 6891152a4596d38ac25d2fe1238e3b6a938554b8
Lukasz Majewski (5):
ARM: imx: Covnert mccmon6 to use DM/DTS in the u
The mccmon6 has been used a "mixed" approach between SPL and
U-Boot proper sources.
This commit decoupes SPL and u-boot proper, which allows clear
distinction between those two code bases and facilitates
conversion to DM/DTS on this particular board.
Signed-off-by: Lukasz Majewski
-
the changes / new features):
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags/u-boot-dfu-15Oct2019
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
first boot medium.
Display5 board needs this flag set to allow falcon boot from eMMC device.
Signed-off-by: Lukasz Majewski
---
configs/display5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/display5_defconfig b/configs/display5_defconfig
index 3227249413e4..91b369532
Hi Simon,
> Hi Lukasz,
>
> On Wed, 9 Oct 2019 at 03:02, Lukasz Majewski wrote:
> >
> > Dear Tom,
> >
> > > This define indicates if DM_GPIO shall be supported in SPL. This
> > > allows proper operation of DM converted GPIO drivers in SPL,
&
This patch updates envs responsible for using USB pendrive as a
SWUpdate based tool for recovery and update.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
include/configs/kp_imx6q_tpc.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/configs
-by: Lukasz Majewski
---
Changes in v3:
- Adjust the code to being applicable on top of v2019.10
- Move CONFIG_SUPPORT_EMMC_BOOT to Kconfig
arch/arm/mach-imx/mx6/Kconfig | 10 ++
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | 165 +-
board/k+p/kp_imx6q_tpc
This commit adds new file - imx6q-kp-u-boot.dtsi with a set of u-boot
specific properties for imx6q KP device.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
arch/arm/dts/imx6q-kp-u-boot.dtsi | 59 +++
1 file changed, 59 insertions(+)
create mode 100644
The TPC70 can boot from eMMC's boot0. This patch allows it to update
this HW partition's SPL.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
include/configs/kp_imx6q_tpc.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs
This change sets the default state of LEDs on TPC70.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c
b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c
index
This is a cosmetic change, just to use proper define instead
of magic numbers.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c
b/board/k+p
or working properly.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c | 20
1 file changed, 20 insertions(+)
diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c
b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c
index e284d5ec57
This commit defines the TPC70 imx6q board with device tree description.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Squash
'imx: tpc70: dts: Add TPC70 board (imx6q based) device tree description'
with
'imx: tpc70: DTS: Explicitly add imx6q-kp.dtb to Makefile for DTB compilation'
arch
to Makefile for DTB compilation'
- Adjust the code to being applicable on top of v2019.10
- Move CONFIG_SUPPORT_EMMC_BOOT to Kconfig
Lukasz Majewski (9):
imx: tpc70: config: Add script commands to update u-boot and OE's wic
imx: tpc70: config: Update TPC70 config to support eMMC's boot0 SPL
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
include/configs/kp_imx6q_tpc.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs/kp_imx6q_tpc.h
index 2435ebbc7f..fae45cbf3e 100644
--- a/include/configs
u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4"
> U-Boot> dfu 0 sf 0:0:1000:0
>
> Acked-by: Lukasz Majewski
> Signed-off-by: Patrick Delaunay
> ---
>
> Changes in v2:
> - Update dfu documentation for callback
Hi Patrick,
> Add documentation for dfu stack and "dfu" command.
>
Reviewed-by: Lukasz Majewski
> Signed-off-by: Patrick Delaunay
> ---
>
> Changes in v2:
> - Add dfu documentation
>
> doc/README.dfu | 144
> +
ed-off-by: Mans Rullgard
> [lukma: Edit the commit message]
> Signed-off-by: Lukasz Majewski
> Acked-by: Andreas Dannenberg
>
Tom, are there any issues preventing this patch from being applied to
-master?
> ---
>
> common/spl/Kconfig | 6 ++
> common/spl/spl_
Dear Tom,
> From: Mans Rullgard
>
> This fixes a wrongly indented block of code.
>
> Signed-off-by: Mans Rullgard
> [lukma: Make the commit message more verbose]
> Signed-off-by: Lukasz Majewski
>
Tom, are there any issues preventing this patch from
Dear Tom,
> This define indicates if DM_GPIO shall be supported in SPL. This
> allows proper operation of DM converted GPIO drivers in SPL, which use
> boards.
>
> Signed-off-by: Lukasz Majewski
> ---
>
> Changes in v2:
> - Add dependency on DM_GPIO
>
Tom, a
Dear Tom,
> This define indicates if DM_SPI shall be supported in SPL. This allows
> proper operation of DM converted SPI drivers in SPL, which use
> #if !CONFIG_IS_ENABLED(DM_SPI) to also support not yet DM/DTS
> converted boards.
>
> Signed-off-by: Lukasz Majewski
Tom, ar
This define indicates if DM_GPIO shall be supported in SPL. This allows
proper operation of DM converted GPIO drivers in SPL, which use
boards.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- Add dependency on DM_GPIO
common/spl/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff
Hi Tom, Simon,
> On Wed, Sep 25, 2019 at 02:42:03PM -0600, Simon Glass wrote:
> > Hi Lukasz,
> >
> > On Tue, 17 Sep 2019 at 15:06, Lukasz Majewski
> > wrote:
> > >
> > > On Tue, 17 Sep 2019 14:19:33 -0500
> > > Adam Ford wrote:
>
call.
>
Acked-by: Lukasz Majewski
> Signed-off-by: Marek Szyprowski
> ---
> drivers/dfu/dfu_mmc.c | 46
> --- 1 file changed, 30
> insertions(+), 16 deletions(-)
>
> diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.
> operations.
Acked-by: Lukasz Majewski
>
> Signed-off-by: Marek Szyprowski
> ---
> drivers/dfu/dfu_mmc.c | 61
> --- 1 file changed, 34
> insertions(+), 27 deletions(-)
>
> diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/d
the end of file and adjusting in-cluster offset for partial overwrite.
>
> This patch fixes all those issues.
Reviewed-by: Lukasz Majewski
>
> Signed-off-by: Marek Szyprowski
> ---
> fs/fat/fat_write.c | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
On Tue, 17 Sep 2019 14:19:33 -0500
Adam Ford wrote:
> On Tue, Sep 17, 2019 at 1:34 PM Simon Glass wrote:
> >
> > Hi Lukasz,
> >
> > On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski
> > wrote:
> > >
> > > Hi Simon,
> > >
&
Hi Simon,
> Hi Lukasz,
>
> On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski wrote:
> >
> > Hi Simon,
> >
> > > On Sun, 18 Aug 2019 at 19:30, Peng Fan wrote:
> > > >
> > > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_D
t(void);
> int dfu_read(struct dfu_entity *de, void *buf, int size, int
> blk_seq_num); int dfu_write(struct dfu_entity *de, void *buf, int
> size, int blk_seq_num); int dfu_flush(struct dfu_entity *de, void
> *buf, int size, int blk_seq_num); +void dfu_flush_callback(struct
> dfu_
gt; } data;
>
> int (*get_medium_size)(struct dfu_entity *dfu, u64 *size);
> @@ -272,6 +278,22 @@ static inline int dfu_fill_entity_mtd(struct
> dfu_entity *dfu, char *devstr, }
> #endif
>
> +#ifdef CONFIG_DFU_VIRT
> +int dfu_fill_entity_virt(struct dfu_entity *dfu, char *dev
t; For example: dfu_alt_info = "spl part 1;u-boot part 2; UBI partubi 3"
>
> U-Boot> dfu 0 mtd nand0
The above information shall also be placed to dedicated
./doc/README.dfu file.
>
> Signed-off-by: Patrick Delaunay
A
um = dfu_read_medium_mtd;
> + dfu->write_medium = dfu_write_medium_mtd;
> + dfu->flush_medium = dfu_flush_medium_mtd;
> + dfu->poll_timeout = dfu_polltimeout_mtd;
> +
> + /* initial state */
> + dfu->inited = 0;
> +
> + return 0;
> +}
> diff --git a/include/dfu.h
break;
I guess that this is the use case for sending commands?
Could you provide a more descriptive use case for this change (the
description in the above commit message is not enough for me to get it).
> dfu->offset += dfu->b_left;
>
you mentioned above - the current behavior must be preserved
(this is my main concern).
2. You added the example of usage to the commit message. Could you also
add it to the ./doc/README.dfu (not yet present) file ?
Anyway, thanks for your work :-)
> Signed-off-by: Patrick Delaunay
Acked-by:
Hi Peng,
> Hi All,
>
> > Subject: [PATCH v2 3/7] clk: imx8: Update imx8 clock driver
>
> Sorry to bring back this topic.
>
> This patch is not converting to CCF following Linux, but it could
> satisfy u-boot usage and make more feature work.
>
> I checked Linux i.MX8 CCF recently, although
onverted GPIO drivers in SPL,
> > > which use #if !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet
> > > DM/DTS converted boards.
> > >
> > > Signed-off-by: Lukasz Majewski
> > > ---
> > >
> > > Changes in v2:
> > > - New pa
tubi"))
> + dfu->data.sf.ubi = 1;
> } else {
> printf("%s: Memory layout (%s) not supported!\n",
> __func__, st); spi_flash_free(dfu->data.sf.dev);
> diff --git a/include/dfu.h b/include/dfu.h
> index 145a1576a3..bf51ab74a
u, u64 offset,
> void *buf,
> - long *len)
> + long *len)
> {
> return spi_flash_read(dfu->data.sf.dev, dfu->data.sf.start +
> offset, *len, buf);
> @@ -32,7 +32,7 @@ static u64 find_sector(struct dfu_entity *dfu, u64
> s
> +
> /* Environment */
> #define CONFIG_ENV_SIZE SZ_16K
> #define CONFIG_SYS_LOAD_ADDR 0x100
> @@ -185,6 +194,7 @@
> #define CONFIG_EXTRA_ENV_SETTINGS \
> "dhcpuboot=usb start; dhcp u-boot.uimg; bootm\0" \
> ENV_DEV
KT_CNT(pktcnt) |
> DIEPT_SIZ_XFER_SIZE(length), >in_endp[ep_num].dieptsiz);
>
> @@ -921,7 +921,7 @@ static int dwc2_udc_get_status(struct dwc2_udc
> *dev, (unsigned long) usb_ctrl +
> ROUND(sizeof(g_status),
> CONFIG_SYS_CACHELINE_SIZE));
> - write
(filesize <= cur_pos)
> break;
>
> - /* CHECK: newclust = get_fatent(mydata, endclust); */
> -
> if (IS_LAST_CLUST(newclust, mydata->fatsize))
> /* no more clusters */
> break;
Reviewed-by: Lukasz Majewski
_4K_SECTORS is not set
> CONFIG_SPI_FLASH_MTD=y
> +CONFIG_SPL_SPI_FLASH_MTD=y
> CONFIG_DM_ETH=y
> CONFIG_DWC_ETH_QOS=y
> CONFIG_PHY=y
Reviewed-by: Lukasz Majewski
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich,
>
> If unsure, say N
>
> +config SPL_SPI_FLASH_MTD
> + bool "SPI flash MTD support for SPL"
> + depends on SPI_FLASH
> + help
> + Enable the MTD support for the SPI flash layer in SPL.
> +
> + If unsure, say N
> +
> end
g the resulting binary sizes.
>
> Signed-off-by: Frieder Schrempf
Acked-by: Lukasz Majewski
> ---
> configs/aristainetos2_defconfig| 1 +
> configs/aristainetos2b_defconfig | 1 +
> configs/aristainetos_defconfig | 1 +
> configs/cm_fx6_defconfig
Hi Frieder,
> Hi Lukasz,
>
> On 10.09.19 12:22, Lukasz Majewski wrote:
> > Hi Frieder,
> >
> >> On Mon, 9 Sep 2019 11:11:50 +
> >> Schrempf Frieder wrote:
> >>
> >>> Hi Lukasz,
> >>>
> >>> On 05.09
MAC address - ce:e1:9e:46:f3:a2
eth0: ethernet@800f
Hit any key to stop autoboot: 0
Signed-off-by: Mans Rullgard
Signed-off-by: Lukasz Majewski
---
Changes in v4:
- Remove non needed imx28_xea_defconfig defines after introducing
SPL_DM_SPI
- Update dependencies list after introducing
Hi Frieder,
> On Mon, 9 Sep 2019 11:11:50 +
> Schrempf Frieder wrote:
>
> > Hi Lukasz,
> >
> > On 05.09.19 20:09, Tom Rini wrote:
> > > On Thu, Sep 05, 2019 at 12:16:36AM +0200, Lukasz Majewski wrote:
> > >
> > >> This
code flow.
Signed-off-by: Lukasz Majewski
---
Changes in v2:
- Update/enhance the Kconfig description of the SPL_FORCE_MMC_BOOT.
This patch is a follow up of previous discussion/fix:
https://patchwork.ozlabs.org/patch/796237/
Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/580272414
Hi Claudius,
> Hi Lukasz,
>
> On 07/09/2019 00.23, Lukasz Majewski wrote:
> > Hi Claudius,
> >
> >> Hi,
> >>
> >> I am currently looking into variable flags in order to make some
> >> variables read-only for secure boot.
>
On Mon, 9 Sep 2019 11:11:50 +
Schrempf Frieder wrote:
> Hi Lukasz,
>
> On 05.09.19 20:09, Tom Rini wrote:
> > On Thu, Sep 05, 2019 at 12:16:36AM +0200, Lukasz Majewski wrote:
> >> This patch series introduces new SPL and TPL specific Kconfig
> >> entries
This define indicates if DM_SPI shall be supported in SPL. This allows
proper operation of DM converted SPI drivers in SPL, which use
#if !CONFIG_IS_ENABLED(DM_SPI) to also support not yet DM/DTS converted
boards.
Signed-off-by: Lukasz Majewski
---
Applied on top of -master branch:
SHA1
Hi Heiko, Stefano
> Hello Lukasz,
>
> Am 05.09.2019 um 11:42 schrieb Lukasz Majewski:
> > Hi Stefano,
> >
> >> On 04/09/19 12:35, Lukasz Majewski wrote:
> >>> On Wed, 4 Sep 2019 11:54:40 +0200
> >>> Lukasz Majewski wrote:
> >>
Hi Tom, Jagan,
> On Sat, Sep 07, 2019 at 09:06:39AM +0530, Jagan Teki wrote:
> > On Sat, Sep 7, 2019 at 4:32 AM Tom Rini wrote:
> >
> > >
> > > On Fri, Sep 06, 2019 at 11:32:46PM +0200, Lukasz Majewski wrote:
> > > > Hi Jagan,
> > &g
' should work as expected,
> but I think 'read-only' should work that way already and we are
> missing something here.
I think that Wolfgang had a long discussion with Takahiro AKASHI (both
CC'ed) about similar problem with u-boot envs.
For example:
https://patchwork.ozlabs.org/patch/1158770/
&g
Hi Jagan,
> On Thu, Aug 1, 2019 at 9:27 PM Lukasz Majewski wrote:
> >
> > This reverts commit d5ded320a14b0a2f97cbed072286748895ad18ac.
>
> This wouldn't be a revert.
>
> The deprecated patch been merged in May, 29 and
>
> >
> > The mxs_spi.c drive
/advantech/imx8qm_rom7720_a1/README
> create mode 100644
> board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c create mode
> 100644 board/advantech/imx8qm_rom7720_a1/imximage.cfg create mode
> 100644 board/advantech/imx8qm_rom7720_a1/spl.c create mode 100644
> configs/imx8qm_rom772
MAC address - ce:e1:9e:46:f3:a2
eth0: ethernet@800f
Hit any key to stop autoboot: 0
Signed-off-by: Mans Rullgard
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Use Kconfig defined option (CONFIG_FS_EXT4) instead of the one defined
in xea.h
- Use Kconfig defined option
Hi Stefano,
> On 04/09/19 12:35, Lukasz Majewski wrote:
> > On Wed, 4 Sep 2019 11:54:40 +0200
> > Lukasz Majewski wrote:
> >
> >> Hi Stefano, Heiko,
> >>
> >>> On 04/09/19 10:46, Lukasz Majewski wrote:
> >>>> Hi Heiko,
After this patch the mxs_gpio.c DM/DTS driver can be used at early SPL to
read states of gpio pins (and for example alter the boot flow).
It was necessary to adjust its name to 'fsl_imx_2{38}_gpio' to match
requirements for SPL_OF_PLATDATA usage.
Signed-off-by: Lukasz Majewski
---
Changes
This patch converts the mxsmmc driver to support DM/DTS.
Moreover, it is also possible to use it in early SPL with
SPL_OF_PLATDATA enabled.
Signed-off-by: Lukasz Majewski
---
Changes in v3:
- Drop following patches from this series (as they are generic,
non i.MX specific code):
[U-Boot
() is not called at all and DM/DTS aware SPI driver in
U-Boot proper is malfunctioning.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
Changes in v2: None
drivers/spi/mxs_spi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c
index
abled"
in the final DTB.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/imx28-u-boot.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/dts/imx28-u-boot.dtsi b/arch/arm/dts/imx28-u-boot.dtsi
index d545b402a7..9db72a6be3 100644
--- a/ar
bserial -b 115200 -d /dev/ttyUSB1 -e 30 -t -m "^U-Boot SPL*"
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
Changes in v2:
- New patch
drivers/mmc/mxsmmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c
index 7e
This change initializes proper member of struct driver -
platdata_auto_alloc_size instead of priv_auto_alloc_size, which is setup
twice.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
Changes in v2:
- New patch
drivers/spi/mxs_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
After this patch the mxs_spi.c DM/DTS driver can be used at early SPL to
read payload from SPI-NOR memories.
It was necessary to adjust its name to 'fsl_imx_2{38}_spi' to match
requirements for SPL_OF_PLATDATA usage.
Signed-off-by: Lukasz Majewski
---
Changes in v3: None
Changes in v2: None
SPL_OF_PLATDATA with OF_PLATDATA in examples
Changes in v2:
- New patch
- Correct position of struct mmc_ops mxsmmc_ops to avoid build
breaks on board using legacy i.MX28 mmc driver.
- New patch
- New patch
Lukasz Majewski (7):
dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot
patch from the series
[U-Boot,v2,1/4] kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO)
for TPL
as not being related to this particular change
Changes in v2:
- Resend patches with some not yet in mainline code removed as
suggested by Adam Ford
Lukasz Majewski (3):
spi: Move
401 - 500 of 4008 matches
Mail list logo