On Mon, 9 Dec 2019 18:13:04 +0100
Giulio Benetti wrote:
> Hi Lukasz,
>
> On 12/8/19 4:05 PM, Lukasz Majewski wrote:
> > On Wed, 4 Dec 2019 18:44:28 +0100
> > Giulio Benetti wrote:
> >
> >> Add support for PLLV3 AV type.
> >>
> >> Sign
On Mon, 9 Dec 2019 16:20:10 +0100
Giulio Benetti wrote:
> Hi Lukasz,
>
> On 12/8/19 3:52 PM, Lukasz Majewski wrote:
> > On Wed, 4 Dec 2019 18:44:33 +0100
> > Giulio Benetti wrote:
> >
> >> This driver assumes that lpuart clock is already enabled before
&
On Mon, 9 Dec 2019 12:54:33 +0100
Giulio Benetti wrote:
> Hi Lukasz, Stefano, Fabio, all,
>
> On 12/8/19 3:45 PM, Lukasz Majewski wrote:
> > On Wed, 4 Dec 2019 18:44:31 +0100
> > Giulio Benetti wrote:
> >
> >> Add i.MXRT pinctrl driver.
>
On Mon, 9 Dec 2019 11:53:05 +0100
Giulio Benetti wrote:
> Forgotten to ask you...
>
> On 12/9/19 11:49 AM, Giulio Benetti wrote:
> > Hi Lukasz,
> >
> > On 12/8/19 3:40 PM, Lukasz Majewski wrote:
> >> On Wed, 4 Dec 2019 18:44:30 +0100
> >> Giuli
MAC address - ce:e1:9e:46:f3:a2
eth0: ethernet@800f
Hit any key to stop autoboot: 0
Signed-off-by: Lukasz Majewski
---
Changes in v6:
- Use SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG in the imx28_xea_defconfig
- Add missing #include to boards/liebherr/xea/xea.c to avoid gcc
build warning (and
binary (as it sets the
DM_FLAG_PRE_RELOC).
Do you have any data about increase of the final binary size?
The buildman script has options to check the difference of the final
binary (i.e. SPL) size (as provided by Tom Rini):
./tools/buildman/$ export SOURCE_DATE_EPOCH=`date +%s`
$ ./tools/
efined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8)
> +#if defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8) || \
> + defined(CONFIG_ARCH_IMXRT)
> struct lpuart_fsl_reg32 {
> u32 verid;
> u32 param;
Please also used buildman to check if this patch series is
y_ break all boards which do have
CONFIG_CLK enabled (for some clocks/drivers), but did not yet provided
CCF definition for lpuart clock.
Was this series checked with travis-ci?
For example:
https://travis-ci.org/lmajewski/u-boot-dfu/jobs/66547
> if (is_lpuart32(dev))
>
On Wed, 4 Dec 2019 18:44:32 +0100
Giulio Benetti wrote:
> Add dtsi file for i.MXRT1050.
>
> Signed-off-by: Giulio Benetti
> ---
> arch/arm/dts/imxrt1050.dtsi | 146 +++
> include/dt-bindings/pinctrl/pins-imxrt1050.h | 993
> +++ 2 files changed, 1139 insertions
t struct udevice_id imxrt_pinctrl_match[] = {
> + { .compatible = "fsl,imxrt-iomuxc",
> + .data = (ulong)&imxrt_pinctrl_soc_info },
> + { /* sentinel */ }
> +};
> +
> +U_BOOT_DRIVER(imxrt_pinctrl) = {
> + .name = "imxrt-pinctrl",
> + .id =
fine IMXRT1050_CLK_PLL1_BYPASS15
> +#define IMXRT1050_CLK_PLL2_BYPASS16
> +#define IMXRT1050_CLK_PLL3_BYPASS17
> +#define IMXRT1050_CLK_PLL5_BYPASS19
> +#define IMXRT1050_CLK_PLL1_REF_SEL 30
> +#define IMXRT1050_CLK_PLL2_REF_SEL
_data_size(header) + header_size;
This may not be the case - but I do recall that there was a similar
issue between u-boot.bin and u-boot.imx being loaded.
What is the format of i.MXRT?
I'm also concerned about breaking already supported in-tree boards. Why
i.MXRT needs to make this change? A
return 0;
> +}
> +
> static const struct clk_ops clk_pfd_ops = {
> .get_rate = clk_pfd_recalc_rate,
> + .set_rate = clk_pfd_set_rate,
> };
>
> struct clk *imx_clk_pfd(const char *name, const char *parent_name,
Reviewed-by: Lukasz Majewski
> + .name = UBOOT_DM_CLK_IMX_PLLV3_GENERIC,
> + .id = UCLASS_CLK,
> + .ops= &clk_pllv3_generic_ops,
> + .flags = DM_FLAG_PRE_RELOC,
> +};
> +
> +U_BOOT_DRIVER(clk_pllv3_usb) = {
> + .name = UBOOT_DM_CLK_IMX_PLLV3_USB,
> .id = UCLASS_CLK,
>
ak;
> default:
> kfree(pll);
Reviewed-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)-
flags = DM_FLAG_PRE_RELOC,
> };
>
> +U_BOOT_DRIVER(clk_pllv3_sys) = {
> + .name = UBOOT_DM_CLK_IMX_PLLV3_SYS,
> + .id = UCLASS_CLK,
> + .ops= &clk_pllv3_sys_ops,
> + .flags = DM_FLAG_PRE_RELOC,
> +};
> +
> U_BOOT_DRIVER(clk_pllv3_usb) = {
*pll = to_clk_pllv3(clk);
> @@ -73,6 +99,7 @@ static const struct clk_ops clk_pllv3_generic_ops =
> { .get_rate = clk_pllv3_generic_get_rate,
> .enable = clk_pllv3_generic_enable,
> .disable = clk_pllv3_generic_disable,
> + .set_rate = clk_pllv3_generic_set_rat
t; + writel(val, pll->base);
> +
> + return 0;
> +}
> +
> static const struct clk_ops clk_pllv3_generic_ops = {
> .get_rate = clk_pllv3_generic_get_rate,
> .enable = clk_pllv3_generic_enable,
> + .disable= clk_pllv3_generic_disable,
> };
&g
ze of kernel image for uncompression */
> #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024)
>
> -#define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE
> -
> #define CONFIG_SKIP_LOWLEVEL_INIT
>
> /* 0x0 - 0x40 is used for placing exception vectors */
> diff --git a/
in patchwork (I thought that he has fixed just Apalis
> iMX6), but seems the patch was
> lost somewhere, as I can not find it nor in u-boot-imx/next neither
> in u-boot-imx/master branches.
Thanks for providing the fix (at least for the Toradex boards)
And I do guess that more i.
itlab.denx.de/u-boot/u-boot/blob/v2019.10/doc/uImage.FIT/signature.txt#L580
>
> Thank you,
> Diego Rondini
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone
)
> break;
> if (CHECK_CLUST(newclust, mydata->fatsize)) {
> @@ -824,8 +826,6 @@ set_contents(fsdata *mydata, dir_entry *dentptr,
> loff_t pos, __u8 *buffer, if (filesize <= cur_pos)
> break;
>
> -
74,7 @@
> "fdt_fixup=;\0" \
> MEM_LAYOUT_ENV_SETTINGS \
> NFS_BOOTCMD \
> + UBOOT_UPDATE \
> "setethupdate=if env exists ethaddr; then; else setenv
> ethaddr " \ "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
> "flash_eth.img && source ${loadaddr}\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
pgp6Ntr22svhV.pgp
Description: OpenPGP digital signature
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
Note:
- Board which is using DM_GPIO in SPL with OF_PLATDATA (XEA
Hi Marek,
> On 11/30/19 12:25 AM, Lukasz Majewski wrote:
> > Dear Marek,
>
> Hi,
>
> > The following changes since commit
> > dbcbdad92caf4b42a6279da6e65180532bc45620:
> >
> > sandbox: enable USB_KEYBOARD_FN_KEYS (2019-11-25 13:28:53 +0100)
>
| 1 +
doc/README.dfu | 8 ++--
drivers/dfu/Kconfig | 6 ++
drivers/dfu/dfu.c| 15 +++
include/dfu.h| 6 +-
7 files changed, 71 insertions(+), 10 deletions(-)
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH
Hi Jagan,
> Hi Lukasz,
>
> On Wed, Nov 27, 2019 at 9:47 PM Lukasz Majewski wrote:
> >
> > Hi Jagan,
> >
> > > Hi Lukasz,
> > >
> > > On Wed, Nov 27, 2019 at 4:15 PM Lukasz Majewski
> > > wrote:
> > > >
> > &
On Wed, 27 Nov 2019 18:45:43 +0200
Andy Shevchenko wrote:
> On Wed, Nov 27, 2019 at 05:10:22PM +0100, Lukasz Majewski wrote:
> > > On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote:
>
> > > I base my patches on official releases / release candidates. It
Hi Jagan,
> Hi Lukasz,
>
> On Wed, Nov 27, 2019 at 4:15 PM Lukasz Majewski wrote:
> >
> > Hi Jagan,
> >
> > > Hi,
> > >
> > > I have created GPT table start from 8MB for kernel, roots etc.
> > > something like
> > >
>
Hi Andy,
> On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote:
> > Hi Andy,
> >
> > > The stock U-Boot on Intel Edison has timeout parameter for DFU
> > > command. Enable it here to be compatible with the original U-Boot
> > > confi
Hi Andy,
> On Wed, Nov 27, 2019 at 11:56:15AM +0100, Lukasz Majewski wrote:
>
> > Thank you for your work on enhancing DFU. The patch series is
> > generally Ok.
> >
> > Please find some minor comments/requests below.
>
> Thank you for review
IG_ENV_IS_IN_MMC=y
> CONFIG_CPU=y
> +CONFIG_DFU_TIMEOUT=y
> CONFIG_DFU_MMC=y
> CONFIG_DFU_RAM=y
> CONFIG_SUPPORT_EMMC_BOOT=y
This patch doesn't apply now.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich,
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
if (!strcmp(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,
) = 0x4400
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.
suggesting?
>
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
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
le16_add_cpu(&bos->wTotalLength,
> USB_DT_USB_SS_CAP_SIZE);
> + le16_add_cpu_packed((__le16_packed
> *)&bos->wTotalLength,
> + USB_DT_USB_SS_CAP_SIZE);
> ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE;
>
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:
> > > >
> > > &g
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
> >>> 14d39c9e1dc9397
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
ckend
dfu: 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
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: Wolfg
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
_load(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_imag
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-boo
hanks
> 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; Jiaf
+++--- 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 cha
le 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/Mak
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
--- a
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
PL DM/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 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
-
about 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:
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..91b369532d94 10
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
ESET)
Signed-off-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 +-
bo
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/inclu
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
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 comp
imx6q-kp.dtb 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
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
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
_reset(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
>
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
_size_mtd;
> + dfu->read_medium = 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;
> +
> +
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;
>
4383330"
>
My two remarks:
1. As 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 :-)
> Sig
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 L
401 - 500 of 4049 matches
Mail list logo