RE: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad configuration

2020-01-15 Thread Peng Fan
> Subject: [PATCH] arm: dts: imx7ulp-evk: remove mux value from pad > configuration > > The mux mode is embedded in the PAD definition and therefore there is no > need to repeat it in the PAD configuration value (more over since this > information will be masked out when the configuration value is

RE: [PATCH v2] imx: imx8mm_evk: remove hdmi fw info from README

2020-01-16 Thread Peng Fan
> Subject: [PATCH v2] imx: imx8mm_evk: remove hdmi fw info from README > > The imx8mm doesn't require the hdmi firmware. > Update also the fw version. > > Signed-off-by: Flavio Suligoi Reviewed-by: Peng Fan > --- > board/freescale/imx8mm_evk/README | 4 ++-- &g

Please pull mmc-1-16-2020

2020-01-16 Thread Peng Fan
Hi Tom, Please pull mmc-1-16-2020 --- Cleanup of fsl_esdhc driver together with arch/defconfig change Add quirk for APP_CMD retry --- CI: https://travis-ci.org/MrVan/u-boot/builds/6377

RE: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL

2020-01-16 Thread Peng Fan
Hi Marek, > Subject: Re: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset > driver for SPL > > On 1/16/20 3:21 AM, Peng Fan wrote: > > Hello Peng, > > >> Subject: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset > >> driver for SPL > >

RE: [PATCH] mmc: fix the build error when MMC_WRITE is disabled

2020-01-16 Thread Peng Fan
> Subject: [PATCH] mmc: fix the build error when MMC_WRITE is disabled > > erase_grp_size is used, when MMC_WRITE is enabled. > - error: ‘struct mmc’ has no member named ‘erase_grp_size’ > > Signed-off-by: Jaehoon Chung Reviewed-by: Peng Fan Regards, Peng. > --- >

RE: [PATCH] arm: dts: i.mx8x: add #cooling-cells properties

2020-01-18 Thread Peng Fan
> Subject: Re: [PATCH] arm: dts: i.mx8x: add #cooling-cells properties > > On Sat, Jan 18, 2020 at 12:12 PM Anatolij Gustschin wrote: > > > > Fix dtb building warnings: > > Warning (cooling_device_property): > /thermal-zones/cpu-thermal0/cooling-maps/map0: > > Missing property '#cooling-cells' in

RE: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL

2020-01-18 Thread Peng Fan
> Subject: Re: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset > driver for SPL > > On 1/17/20 3:33 AM, Peng Fan wrote: > > Hi Marek, > > Hi, > > >> Subject: Re: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset > >> driver for SPL

RE: [PATCH 7/8] binman_sym: guard with CONFIG_IS_ENABLED(BINMAN_SYMBOLS)

2022-06-14 Thread Peng Fan
> Subject: Re: [PATCH 7/8] binman_sym: guard with > CONFIG_IS_ENABLED(BINMAN_SYMBOLS) > > On 13/06/2022 05:34, Peng Fan (OSS) wrote: > > 在 2022/6/11 20:44, Alper Nebi Yasak 写道: > >> CONFIG_IS_ENABLED(BINMAN) doesn't work, but > IS_ENABLED(CONFIG_BINMAN) > &g

RE: [RFC] Create arch/Kconfig.nxp

2022-06-15 Thread Peng Fan
Tom, I agree to use Kconfig.nxp. thanks for the work. Thanks, Peng. From: Tom Rini Sent: 2022年6月16日 2:00 To: u-boot@lists.denx.de; Priyanka Jain ; Peng Fan ; Stefano Babic Subject: [RFC] Create arch/Kconfig.nxp Hey all, As I migrate assorted CONFIG options over to Kconfig, a common

Extend binman to generate boot headers

2022-06-16 Thread Peng Fan
Hi all, I am thinking to extend binman to generate i.MX container header and IVT header, that means to replace mkimage to generate header. There is an NXP downstream imx-mkimage that diverge from upstream that double effort. There are still require quite effort to migrate downstream imx-mkimage t

RE: [PATCH V2 00/49] imx: support i.MX93

2022-06-26 Thread Peng Fan
Hi Stefano, > Subject: [PATCH V2 00/49] imx: support i.MX93 This should be V3, not V2. Hope this not matter, I have marked the previous V2 as changes requested in patchwork. Thanks, Peng. > > From: Peng Fan > > V2: > Fix issue reported by CI build > - Enlarge SPL

RE: [PATCH V7 0/4] arm64: binman: use binman symbols for imx

2022-06-27 Thread Peng Fan
> Subject: Re: [PATCH V7 0/4] arm64: binman: use binman symbols for imx > > Hi Peng, > > Am 27.06.22 um 05:41 schrieb Peng Fan (OSS): > > From: Peng Fan > > > > V7: > > Rebased with follwoing patchset applied. > > [1] i.MX93 patchset: > >

Re: uuu using u-boot-with-spl.imx

2022-07-04 Thread Peng Fan
On 7/4/2022 7:00 PM, Michael Nazzareno Trimarchi wrote: Hi Fabio and Marek Trying to understand the reason why I can boot using imx_usb loader and not the uuu tool How do you use uuu? uuu -b sd flash.bin? Regards, Peng. If I do: ./imx_usb SPL ./imx_usb u-boot-dtb.img It works U-Boot

Re: [PATCH V2 01/49] spl: imx8mm: enlarge SPL_MAX_SIZE

2022-07-04 Thread Peng Fan
On 6/29/2022 6:09 PM, Frieder Schrempf wrote: Am 27.06.22 um 05:24 schrieb Peng Fan (OSS): From: Peng Fan The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE set to 0x7E1000. Signed-off-by: Peng Fan --- common/spl/Kconfig| 1 + configs

Re: [PATCH V2 01/49] spl: imx8mm: enlarge SPL_MAX_SIZE

2022-07-04 Thread Peng Fan
On 7/5/2022 9:35 AM, Peng Fan (OSS) wrote: On 6/29/2022 6:09 PM, Frieder Schrempf wrote: Am 27.06.22 um 05:24 schrieb Peng Fan (OSS): From: Peng Fan The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE set to 0x7E1000. Signed-off-by: Peng Fan --- common/spl

Re: [PATCH V4 01/49] spl: imx8mm: enlarge SPL_MAX_SIZE

2022-07-05 Thread Peng Fan
On 7/5/2022 2:50 PM, Frieder Schrempf wrote: Am 05.07.22 um 08:05 schrieb Peng Fan (OSS): From: Peng Fan The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE set to 0x7E1000. Signed-off-by: Peng Fan I wonder if there is any more explanation for the maximum size that

Re: [PATCH] Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ

2022-07-06 Thread Peng Fan
: Hi all, Am Mo., 11. Apr. 2022 um 14:29 Uhr schrieb Tom Rini : On Mon, Apr 11, 2022 at 05:07:04PM +0800, Peng Fan (OSS) wrote: From: Peng Fan i.MX8MQ use SYS_MALLOC_F_LEN 0x2000, not 0x1. The OCRAM_S only has 32KB memory, use 0x1 will make SPL not bootable. It is strange. You said

Re: [PATCH v2 0/9] New boards support: db845c and qcs404-evb

2022-07-11 Thread Peng Fan
On 7/8/2022 9:13 PM, Sumit Garg wrote: Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC. Both these platforms have one thing in common

Re: [PATCH v2 0/9] New boards support: db845c and qcs404-evb

2022-07-12 Thread Peng Fan
On 7/12/2022 1:53 PM, Sumit Garg wrote: Hi Peng, On Tue, 12 Jul 2022 at 06:27, Peng Fan wrote: On 7/8/2022 9:13 PM, Sumit Garg wrote: Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb

RE: [PATCH] spl: sdp: Pass the USB index to board_usb_init()

2022-07-13 Thread Peng Fan
this error should > not affect any board. > > Fix it by passing controller_index as the parameter of board_usb_init(). > > Signed-off-by: Fabio Estevam Acked-by: Peng Fan > --- > common/spl/spl_sdp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [PATCH] arm64: ls104x: Enable eDMA snooping

2022-10-08 Thread Peng Fan
On 9/24/2022 12:05 AM, Sean Anderson wrote: This enables eDMA snooping on the LS1043A and LS1046A. This will allow marking the I2C, LPUART, and SPI devices on these SoCs as DMA coherent. Oddly, this bit is only documented for the LS1043A, and is marked as "reserved" in the LS1046ARM. I have te

Re: [PATCH] ls1043ardb: nand driver fixups for revision v7.0 boards

2022-10-08 Thread Peng Fan
On 9/26/2022 4:18 PM, Wei Lu wrote: The LS1043ARDB rev v7.0 board replace nand device MT29F4G08ABBDAH4-AITX:D with MT29F4G08ABBFAH4-AIT:F. Reflecting this change in board_fix_fdt(). CPLD V3.0 is needed for nandboot as the nand device changed. A new macro CPLD_CFG_RCW_SRC_NAND_4K(4Kpage) is add

Re: [PATCH] arm64: layerscape: Support SYSRESET

2022-10-08 Thread Peng Fan
On 9/27/2022 12:47 AM, Sean Anderson wrote: CONFIG_SYSRESET provides its own implementation of reset_cpu. Disable our version when it is enabled. Signed-off-by: Sean Anderson Queued in fsl-qoriq/next Thanks, Peng. --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++ 1 file changed, 2

Re: [PATCH 1/3] arm: layerscape: Don't select FSL_IFC when booting from SD card

2022-10-13 Thread Peng Fan
On 10/12/2022 5:51 AM, Sean Anderson wrote: FSL_IFC should only be selected when booting from NAND flash (or when NAND_FSL_IFC is enabled). The existing logic does this correctly when QSPI is also enabled, but not when just booting from SD. Signed-off-by: Sean Anderson Reviewed-by: Peng

Re: [PATCH 2/3] arm: layerscape: Disable unused parts of ICID tables

2022-10-13 Thread Peng Fan
On 10/12/2022 5:51 AM, Sean Anderson wrote: Several parts of the ICID table are only necessary for U-Boot proper. Disable them in SPL. This saves around 500 bytes. Signed-off-by: Sean Anderson Reviewed-by: Peng Fan --- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 2

Re: [PATCH 3/3] arm: fsl: csu: Reduce size of ns_dev

2022-10-13 Thread Peng Fan
On 10/12/2022 5:51 AM, Sean Anderson wrote: None of the values in this struct are larger than 256, so we can reduce the members to u8s. This saves around 1K. Signed-off-by: Sean Anderson Reviewed-by: Peng Fan --- include/fsl_csu.h | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v4] imx: imx8qm: cgtqmx8: switch to binman

2022-10-13 Thread Peng Fan
On 10/7/2022 9:11 PM, Oliver Graute wrote: Switch to use binman to pack images Signed-off-by: Oliver Graute Reviewed-by: Fabio Estevam Reviewed-by: Simon Glass Reviewed-by: Peng Fan --- Changes for v4 - rebased on master Changes for v3 -added Reviewed-by - rebased on master

Re: commit 787f04bb6a - imx: add USB2_BOOT type

2022-10-13 Thread Peng Fan
Hi Rasmus On 10/7/2022 4:08 PM, Rasmus Villemoes wrote: Hi Peng It seems that commit 787f04bb6a (imx: add USB2_BOOT type) broke our board logic which relies on whether get_boot_device() returns USB_BOOT or not. Instrumenting get_boot_device() shows that on our imx8mp board, boot_instance is 3 w

Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-13 Thread Peng Fan
On 7/15/2022 11:06 PM, ZHIZHIKIN Andrey wrote: Hello Gaurav, Cc: Tom here for integration points. -Original Message- From: U-Boot On Behalf Of Gaurav Jain Sent: Friday, July 15, 2022 4:01 PM To: ZHIZHIKIN Andrey Cc: u-boot@lists.denx.de; feste...@denx.de; sba...@denx.de; Michael W

Re: [PATCH 0/3] arm64: layerscape: Various small size reductions for SPL

2022-10-16 Thread Peng Fan
On 10/12/2022 5:51 AM, Sean Anderson wrote: This series groups a few small size reductions I found while trying to reduce my SPL size. They are all independent of each other. Sean Anderson (3): arm: layerscape: Don't select FSL_IFC when booting from SD card arm: layerscape: Disable unu

Re: [PATCH 0/3] arm64: layerscape: Various small size reductions for SPL

2022-10-17 Thread Peng Fan
Hi Sean, I have applied your patchset, but met CI failure, could you please send me a fix? ./tools/buildman/buildman ls1043aqds_qspi Building current source for 1 boards (1 thread, 4 jobs per thread) aarch64: + ls1043aqds_qspi += WARNING == +This boa

Re: commit 787f04bb6a - imx: add USB2_BOOT type

2022-10-17 Thread Peng Fan
+ Stefano & Fabio On 10/15/2022 1:53 AM, Rasmus Villemoes wrote: On 14/10/2022 02.55, Peng Fan wrote: Hi Rasmus On 10/7/2022 4:08 PM, Rasmus Villemoes wrote: Hi Peng It seems that commit 787f04bb6a (imx: add USB2_BOOT type) broke our board logic which relies on whether get_boot_de

Re: [PATCH] ARM: imx: Enable btrfs support on DHSOM

2022-10-17 Thread Peng Fan
. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- configs/dh_imx6_defconfig | 1 + configs/imx8mp_dhcom_pdk2_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig index 4b6776ea9c8

Re: [PATCH] ARM: imx6: dh-imx6: Use sf update instead of sf erase and write

2022-10-17 Thread Peng Fan
corrupted. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- include/configs/dh_imx6.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 0f7e1c5c451..2040deb2b87 100644 --- a

[GIT PULL] please pull fsl-qoriq-2022-10-18

2022-10-24 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2022-10-18 CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/13836 -- Layerscape update - support sysreset, - de-select FSL_IFC when booting from SD - disable unused parts of ICID tables - reduce ns_

Re: [PATCH V2 1/4] configs: imx8mn_beacon: Re-align memory to standard imx8mn settings

2022-10-24 Thread Peng Fan
meory for the SPL stack. Doing this allows the board to no longer define CONFIG_MALLOC_F_ADDR. Since SYS_LOAD_ADDR also does not align with other boards, move it too. Signed-off-by: Adam Ford Reviewed-by: Peng Fan --- V2: Rebase on u-boot-imx Depends on: https://eur01

Re: [PATCH V2 4/4] imx: imx8mn-beacon: Fix out of spec voltage

2022-10-24 Thread Peng Fan
: Reviewed-by: Peng Fan diff --git a/board/beacon/imx8mn/spl.c b/board/beacon/imx8mn/spl.c index 029f71bc99..9acd916180 100644 --- a/board/beacon/imx8mn/spl.c +++ b/board/beacon/imx8mn/spl.c @@ -74,6 +74,38 @@ static iomux_v3_cfg_t const pwm_pads[] = { IMX8MN_PAD_GPIO1_IO01__PWM1_OUT

Re: [PATCH V2 3/4] configs: imx8mn_beacon: Enable SPL_DM_PMIC_BD71837

2022-10-24 Thread Peng Fan
On 10/22/2022 9:43 PM, Adam Ford wrote: To properly operate the Nano with LPDDR4 at 1.6GHz, the voltage needs to be adjusted before DDR is initialized. Enable the PMIC in SPL to do this. Signed-off-by: Adam Ford Better enable defconfig in the end, otherwise: Reviewed-by: Peng Fan diff

Re: [PATCH 1/3] imx: imx8mm_beacon: Eliminate a few extras to free up SPL space

2022-10-24 Thread Peng Fan
On 10/25/2022 4:47 AM, Tim Harvey wrote: On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: There are a few functions which are not essential for use in SPL, but they take up enough space

Re: [PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-24 Thread Peng Fan
On 10/24/2022 7:25 PM, Heiko Thiery wrote: U-Boot is not able to store the environment variables in the SD card. Remove the off-on-delay-us property to fix the regression. off-on-delay-us here would cause store env failure? Would you please share more info? Thanks, Peng. Signed-off-by:

Re: [PATCH v1] imx: imx8qxp: imx8qxp_mek switch to binman

2022-10-26 Thread Peng Fan
mximage.cfg >@@ -7,8 +7,7 @@ > */ > > >-/* Boot from SD, sector size 0x400 */ >-BOOT_FROM SD 0x400 >+BOOT_FROM sd > /* SoC type IMX8QX */ > SOC_TYPE IMX8QX > /* Append seco container image */ >diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig >index 73600c5a8c..0e22f13c7f 100644 >--- a/configs/imx8qxp_mek_defconfig >+++ b/configs/imx8qxp_mek_defconfig >@@ -23,6 +23,8 @@ CONFIG_SYS_LOAD_ADDR=0x8028 > CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y > CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x8020 > CONFIG_REMAKE_ELF=y >+CONFIG_FIT=y >+CONFIG_FIT_EXTERNAL_OFFSET=0x3000 > CONFIG_OF_BOARD_SETUP=y > CONFIG_OF_SYSTEM_SETUP=y > CONFIG_BOOTDELAY=3 >diff --git a/doc/board/nxp/imx8qxp_mek.rst b/doc/board/nxp/imx8qxp_mek.rst >index 215627cfa6..708db1952e 100644 >--- a/doc/board/nxp/imx8qxp_mek.rst >+++ b/doc/board/nxp/imx8qxp_mek.rst >@@ -50,7 +50,7 @@ Build U-Boot > .. code-block:: bash > > $ make imx8qxp_mek_defconfig >- $ make flash.bin >+ $ make > > Flash the binary into the SD card > - This needs switch to use imx container for binman in the end, but it should be ok for now to use FIT to pack the images. Reviewed-by: Peng Fan >-- >2.17.1 > --

Re: [PATCH v1] imx: imx8qm: imx8qm_mek switch to binman

2022-10-26 Thread Peng Fan
On 10/26/2022 4:09 PM, Oliver Graute wrote: Signed-off-by: Oliver Graute --- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 2 ++ arch/arm/mach-imx/imx8/Kconfig | 1 + board/freescale/imx8qm_mek/README | 2 +- board/freescale/imx8qm_mek/imximage.cfg | 2 +- configs/imx8qm_mek_

Re: [PATCH v1] imx: imx8qxp: deneb switch to binman

2022-10-26 Thread Peng Fan
IT_SP_ADDR=0x8020 CONFIG_REMAKE_ELF=y +CONFIG_FIT=y +CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_OF_BOARD_SETUP=y CONFIG_OF_SYSTEM_SETUP=y CONFIG_BOOTDELAY=3 Reviewed-by: Peng Fan

Re: [PATCH v5 2/2] serial: mxc: have putc use the TXFIFO

2022-10-26 Thread Peng Fan
Hi Fabio On 10/26/2022 6:19 AM, Fabio Estevam wrote: Hi Tim, On 25/10/2022 18:37, Tim Harvey wrote: Fabio and Pali, Seems reasonable but this does not resolve the problem. Whatever I print in board_init gets cutoff by the print from dm_announce. Should we check for both TXFULL and TXEMPTY

Re: [PATCH] imx8m: Select BINMAN via SoC level

2022-10-26 Thread Peng Fan
On 10/25/2022 10:32 PM, Fabio Estevam wrote: From: Fabio Estevam Since all imx8m boards have been converted to use binman, select binman via SoC level rather than making the selection for each board. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx8m

Re: [PATCH v5 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-10-26 Thread Peng Fan
On 10/25/2022 5:54 PM, Martyn Welch wrote: The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - None arch/arm/include/asm/

RE: [PATCH V3 0/6] Convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY

2022-04-12 Thread Peng Fan
> Subject: [PATCH V3 0/6] Convert COUNTER_FREQUENCY to > CONFIG_COUNTER_FREQUENCY Seems I need post a V4, some arm64 boards are not handled by my script. Sorry for re-spin so fast. Thanks, Peng. > > From: Peng Fan > > > V3: > Add more help info for CONFIG_COUNTER

i.MX8MP usb status

2022-05-04 Thread Peng Fan
Hi Marek, Since you did some work on i.MX8MP USB, may I know the status? Does host/device mode both supported in upstream? Any plan on PTN5110 support? Thanks, Peng.

RE: [PATCH] armv8: Fix TCR 64-bit writes

2022-05-10 Thread Peng Fan
at a safe 0 value. This means no more surprises when U-Boot runs on > a > more capable CPU core. > > Reported-by: Balaji Anandapadmanaban > Signed-off-by: Andre Przywara Reviewed-by: Peng Fan > --- > arch/arm/include/asm/armv8/mmu.h | 6 +++--- > 1 file changed, 3 inse

Re: [PATCH 01/11] imx: implement get_effective_memsize

2023-01-31 Thread Peng Fan
On 1/31/2023 7:10 PM, Stefano Babic wrote: On 31.01.23 12:02, Fabio Estevam wrote: Hi Peng, On Mon, Nov 7, 2022 at 4:13 AM Peng Fan (OSS) wrote: From: Peng Fan To i.MX6/7 which has 2GB memory, the upper 4KB cut off, will cause the top 1MB not mapped as normal memory, because ARMV7-A

[GIT PULL] Please merge tags/fsl-qoriq-2023-2-1

2023-02-01 Thread Peng Fan
Hi Tom, Please merge tags/fsl-qoriq-2023-2-1 CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/14973 make QSPI clock selection optional during SoC init for ls102xa Fix regulator name for ls2_sfp Update NXP RCW github repo -

i.MX8M binman

2023-02-06 Thread Peng Fan
Hi Simon, I heard that you found i.MX8M binman has some issues, would you please share me the details? Then I could find some time to address those issues. Thanks, Peng.

Re: i.MX8M binman

2023-02-10 Thread Peng Fan
+Marek, I heard that from Marek on IRC, but Marek ask me to reach you. Actually I am not sure what is the issue with i.MX8M binman node. Thanks, Peng. On 2/7/2023 9:38 PM, Simon Glass wrote: Hi Peng, On Mon, 6 Feb 2023 at 05:43, Peng Fan wrote: Hi Simon, I heard that you found i.MX8M

Re: [PATCH] mx6sxsabreauto: Remove myself from MAINTAINERS

2023-02-15 Thread Peng Fan
On 2/16/2023 2:32 AM, Fabio Estevam wrote: I don't have access to the mx6sxsabreauto board, so remove myself from the MAINTAINERS entry and add Peng instead. Signed-off-by: Fabio Estevam Acked-by: Peng Fan --- board/freescale/mx6sxsabreauto/MAINTAINERS | 2 +- 1 file chang

Re: [PATCH v3 01/14] clk: imx8mp: Add EQoS MAC clock

2023-02-15 Thread Peng Fan
drey Zhizhikin Cc: Fabio Estevam Cc: Joe Hershberger Cc: Lukasz Majewski Cc: Marcel Ziswiler Cc: Marek Vasut Cc: Michael Trimarchi Cc: Peng Fan Cc: Ramon Fried Cc: Sean Anderson Cc: Stefano Babic Cc: Tim Harvey Cc: Tommaso Merciai Cc: u-boot@lists.denx.de Reviewed-by: Peng Fan --- V2

Re: [PATCH] efi_loader: efi_allocate_pages: check parameter pages

2023-02-20 Thread Peng Fan
On 2/20/2023 4:08 AM, Heinrich Schuchardt wrote: On 2/16/23 11:53, Peng Fan (OSS) wrote: From: Peng Fan On i.MX8MM-EVK, when doing UEFI Capsule On Disk, we met such issue, It will create Boot option for capsule on disk: Boot: VenHw(E61D73B9-A384-4ACC-AEAB-82E828F3628B)/eMMC(0x2)/eMMC

Re: [PATCH 06/13] imx9: Remove ARCH_MISC_INIT

2023-02-20 Thread Peng Fan
On 2/16/2023 11:36 AM, Tom Rini wrote: We don't need an empty function, we can just not enable the hook we don't use. Cc: Peng Fan Signed-off-by: Tom Rini Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/soc.c | 5 - configs/imx93_11x11_evk_defconfig | 1 -

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-07 Thread Peng Fan
On 11/7/2022 3:55 PM, Pali Rohár wrote: On Monday 07 November 2022 16:00:06 Peng Fan (OSS) wrote: From: Peng Fan To i.MX6/7 which has 2GB memory, the upper 4KB cut off, will cause the top 1MB not mapped as normal memory, because ARMV7-A use section mapping. So implement i.MX6/7 specific

RE: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-07 Thread Peng Fan
> Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize > > On Tuesday 08 November 2022 09:38:01 Peng Fan wrote: > > On 11/7/2022 3:55 PM, Pali Rohár wrote: > > > On Monday 07 November 2022 16:00:06 Peng Fan (OSS) wrote: > > > > From: Peng Fan >

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-08 Thread Peng Fan
On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize On Tuesday 08 November 2022 09:38:01 Peng Fan wrote: On 11/7/2022 3:55 PM, Pali Rohár wrote: On Monday 07 November 2022 16:00:06

RE: [PATCH] include/configs: mx6/mx7: drop dangling comments

2022-11-14 Thread Peng Fan
> Subject: [PATCH] include/configs: mx6/mx7: drop dangling comments > > Cleanup some dangling comments left by automated migration processes > that are no longer value. > > Signed-off-by: Peter Robinson Acked-by: Peng Fan > --- > include/configs/mx6_common.h | 4

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-14 Thread Peng Fan
On 11/9/2022 3:40 PM, Pali Rohár wrote: On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize On Tuesday 08 November 2022 09:38:01

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-15 Thread Peng Fan
On 11/15/2022 3:47 PM, Pali Rohár wrote: On Tuesday 15 November 2022 11:06:23 Peng Fan wrote: On 11/9/2022 3:40 PM, Pali Rohár wrote: On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote

Re: [PATCH 11/11] imx: mx6sabresd: select DM_SERIAL

2022-11-15 Thread Peng Fan
On 11/15/2022 2:58 AM, Fabio Estevam wrote: Hi Peng, On Mon, Nov 7, 2022 at 4:14 AM Peng Fan (OSS) wrote: From: Peng Fan Select DM_SERIAL When converting to DM_SERIAL, please also remove setup_iomux_uart() from the board code. No, the SPL not use DM_SERIAL. For mx6sabresd, it

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-15 Thread Peng Fan
+Tom On 11/9/2022 3:40 PM, Pali Rohár wrote: On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize On Tuesday 08 November 2022 09

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-16 Thread Peng Fan
Hi Stefan, On 11/16/2022 2:03 PM, Stefan Roese wrote: Hi Peng, please find one late comment from me below... On 16.11.22 03:43, Peng Fan wrote: +Tom On 11/9/2022 3:40 PM, Pali Rohár wrote: On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: On 11/8/2022 4:03 PM, Pali Rohár wrote: On

Re: [PATCH 1/1] configs: imx8mp_evk: revert to old ram settings

2022-11-30 Thread Peng Fan
d-by : Peter Bergin Reviewed-by: Peng Fan --- include/configs/imx8mp_evk.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h index 1b533e2c14..d8db83cad8 100644 --- a/include/configs/imx8mp_evk.h +

RE: [PATCH] imx: imx8m: drop uneeded check

2022-05-16 Thread Peng Fan
> Subject: RE: [PATCH] imx: imx8m: drop uneeded check > > Hello Peng, > > > -Original Message- > > From: U-Boot On Behalf Of Peng Fan > > (OSS) > > Sent: Friday, April 29, 2022 10:19 AM > > To: sba...@denx.de; feste...@gmail.com; NXP i.MX U-B

RE: [PATCH V4 1/8] spl: guard u_boot_any with X86

2022-05-21 Thread Peng Fan
> Subject: Re: [PATCH V4 1/8] spl: guard u_boot_any with X86 > > On Fri, May 20, 2022 at 10:10:40PM +0800, Peng Fan (OSS) wrote: > > > From: Peng Fan > > > > set the symbol as weak not work if LTO is enabled. Since u_boot_any is > > only used on X86 for

RE: [PATCH 0/8] arm64: binman: use binman symbols for imx

2022-06-02 Thread Peng Fan
> Subject: [PATCH 0/8] arm64: binman: use binman symbols for imx Sorry I missed to add V6 in patchset subject, but I do add V6 changelog below, please raise if you have concern, and I could resend with V6 in patch subject. Thanks, Peng. > > From: Peng Fan > > V6: >

RE: [PATCH] boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN

2022-06-02 Thread Peng Fan
Tom, > Subject: [PATCH] boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN You gave an R-b, but still not pick this up? Thanks, Peng. > > From: Peng Fan > > CONFIG_SYS_BOOTM_LEN is not used in this file, drop it. > > Signed-off-by: Peng Fan > --- >

Re: kontron_pitx_imx8m does not start

2022-07-16 Thread Peng Fan
On 7/15/2022 8:00 PM, Heiko Thiery wrote: HI, Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam : Hi Heiko, On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery wrote: Error binding driver 'serial_mxc': -12 Does the attached patch help? Unfortunately not .. I think the problem is not

Re: kontron_pitx_imx8m does not start

2022-07-18 Thread Peng Fan
On 7/16/2022 4:31 PM, Heiko Thiery wrote: Hi Peng, Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan : On 7/15/2022 8:00 PM, Heiko Thiery wrote: HI, Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam : Hi Heiko, On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery wrote: Error

[GIT PULL] please pull fsl-qoirq-2022-7-29

2022-07-31 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2022-7-29 mpc85xx: support for generating QorIQ pre-PBL eSDHC boot sector p1_p2_rdb_pc: Remove I-flag from second L2 SRAM mapping p1_p2_rdb_pc: Fix parsing inverted bits from boot input data p1_p2_rdb_pc: Simplify SPL offset m

Please pull mmc-2020-11-29

2020-11-29 Thread Peng Fan
Hi Tom Please pull mmc-2020-11-29 - mmc minor update for better debug and error check fsl_esdhc sysctl set and make sure delay check for HS400 - CI: https://travis-ci.org/github/MrVan/u-boot/builds/746367562 Thanks, Peng. The following cha

RE: [PATCH 1/3] imx: imx8mm: Update clock bindings header

2020-12-06 Thread Peng Fan
> Subject: [PATCH 1/3] imx: imx8mm: Update clock bindings header > > Import clock bindings header file from Linux 5.10-rc6 > > Signed-off-by: Adam Ford Acked-by: Peng Fan > > diff --git a/include/dt-bindings/clock/imx8mm-clock.h > b/include/dt-bindings/cloc

RE: [PATCH 2/3] arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6

2020-12-06 Thread Peng Fan
> Subject: [PATCH 2/3] arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6 > > There have been some updates to the device tree since 5.6. > This also includes some clocks, and makes it easier to keep board device tree > files in sync with Linux > > Signed-off-by: Adam F

RE: [PATCH 3/3] arm64: dts: imx8mm-beacon: Re-sync dts file with Linux 5.10-rc6

2020-12-06 Thread Peng Fan
> Subject: [PATCH 3/3] arm64: dts: imx8mm-beacon: Re-sync dts file with Linux > 5.10-rc6 > > There have been some updates to the device trees, so re-sync. > > Signed-off-by: Adam Ford Acked-by: Peng Fan > > diff --git a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi

RE: [PATCH] mx6sabresd: Remove unneeded checkboard()

2020-12-14 Thread Peng Fan
9a176f471182 100644 > --- a/board/freescale/mx6sabresd/mx6sabresd.c > +++ b/board/freescale/mx6sabresd/mx6sabresd.c > @@ -575,12 +575,6 @@ int board_late_init(void) > return 0; > } > > -int checkboard(void) > -{ > - puts("Board: MX6-SabreSD\n"); > - return 0; > -} > - > #ifdef CONFIG_SPL_BUILD > #include > #include > -- Reviewed-by: Peng Fan

RE: [PATCH v2 1/2] imx8mm: configs: add support for distro boot commands

2020-12-15 Thread Peng Fan
;if test ${boot_fit} = yes || test ${boot_fit} = try; then " \ > - "bootm ${loadaddr}; " \ > - "else " \ > - "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ > - "booti ${loadaddr} - ${fdt_addr}; " \ > - "else " \ > - "echo WARN: Cannot load the DT; " \ > - "fi; " \ > - "fi;\0" > - > -#define CONFIG_BOOTCOMMAND \ > -"mmc dev ${mmcdev}; if mmc rescan; then " \ > -"if run loadbootscript; then " \ > -"run bootscript; " \ > -"else " \ > -"if run loadimage; then " \ > -"run mmcboot; " \ > -"else run netboot; " \ > -"fi; " \ > -"fi; " \ > -"fi;" > > /* Link Definitions */ > #define CONFIG_LOADADDR 0x4048 > -- Reviewed-by: Peng Fan

RE: [PATCH v2 2/2] board: imx8mm: add boot.cmd for distro boot on iMX8MM

2020-12-15 Thread Peng Fan
image}; then > +if dhcp ${fdt_addr} ${serverip}:${fdt_file}; > then > + echo Load image and .dtb from > net(dhcp); > +booti ${kernel_addr_r} - > ${fdt_addr}; > +exit; > +fi > +fi > +fi > + > +done > -- Reviewed-by: Peng Fan

RE: [PATCH 1/8] spl: fit: Drop 'length' argument to board_spl_fit_post_load()

2020-12-15 Thread Peng Fan
ct spl_image_info > *spl_image, > * board_spl_fit_post_load - allow process images after loading finished > * > */ > -void board_spl_fit_post_load(ulong load_addr, size_t length); > +void board_spl_fit_post_load(const void *fit); > > /** > * board_spl_fit_size_align - specific size align before processing payload > -- Looks good to me! Reviewed-by: Peng Fan BTW: has this been tested? Thanks, Peng.

[U-Boot] [PATCH v5 0/3] pmic:pfuze support buck regulator mode switch

2015-01-26 Thread Peng Fan
://patchwork.ozlabs.org/patch/426963/ Added "Acked-by: Przemyslaw Marczak " in this patch set. Added "Reviewed-by: Stefano Babic " for patch 1/3. There is no major changes for this patch version. Only defined a macro SWITCH_SIZE to replace the constant in patch 2/3. Peng Fan (3): pmic:pfuz100

[U-Boot] [PATCH v5 1/3] pmic:pfuz100 add switch mode and more registers

2015-01-26 Thread Peng Fan
Add more pfuze register offset. And switch mode definition. Add a macro SWITCH_SIZE Signed-off-by: Peng Fan Acked-by: Przemyslaw Marczak Reviewed-by: Stefano Babic --- Changes v5: add "Acked-by: Przemyslaw Marczak " and "Reviewed-by: Stefano Babic " define a

[U-Boot] [PATCH v5 3/3] imx:mx6 set normal APS and standby PFM mode

2015-01-26 Thread Peng Fan
To normal mode, use APS switching mode. To standy mode, use PFM switching mode. Signed-off-by: Peng Fan Acked-by: Przemyslaw Marczak --- Changes v5: Add Acked-by: Przemyslaw Marczak Changes v4: none Changes v3: Following Fabio's comments, correct return value Changes v2: none

[U-Boot] [PATCH v5 2/3] pmic:pfuze implement pmic_mode_init

2015-01-26 Thread Peng Fan
conditions. Signed-off-by: Peng Fan Acked-by: Przemyslaw Marczak --- Changes v5: Add Acked-by: Przemyslaw Marczak replace the constant 7 using macro SWITCH_SIZE which defined in header file. Include "errno.h" to avoid compile error. Changes v4: Take Fabio's comments, fix ret

[U-Boot] [PATCH] ARM: armv7 fix spelling of SCTRL

2015-01-29 Thread Peng Fan
SCTLR is the abbreviation of System Control Register, so we should use SCTLR but not SCTRL. Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/cpu.c | 2 +- arch/arm/cpu/armv7/start.S | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm

[U-Boot] [PATCH] ARM: HYP/non-sec: relocation before enable secondary cores

2015-02-04 Thread Peng Fan
If CONFIG_ARMV7_PSCI is not defined and CONFIG_ARMV7_SECURE_BASE is defined, smp_kicl_all_cpus may enable secondary cores and runs into secure_ram_addr( _smp_pen), before code is relocated to secure ram. So need relocation to secure ram before enable secondary cores. Signed-off-by: Peng Fan

Re: [U-Boot] [PATCH 6/6] imx:mx6sxsabresd board spl support

2015-02-05 Thread Peng Fan
Hi Nikolay, On 2/2/2015 6:24 PM, Nikolay Dimitrov wrote: Hi Peng, On 01/19/2015 10:29 AM, Peng Fan wrote: Hi Stefano, On 1/19/2015 4:18 PM, Stefano Babic wrote: Hi Peng, series looks ok to me - just a small question: On 30/12/2014 10:24, Peng Fan wrote: Add board level spl support for

Re: [U-Boot] [PATCH v3 1/4] dm: introduce dev_get_addr interface

2015-02-05 Thread Peng Fan
Hi, Simon On 1/23/2015 5:25 AM, Simon Glass wrote: Hi, On 21 January 2015 at 04:09, Peng Fan wrote: Abstracting dev_get_addr can improve drivers that want to get device's address. Signed-off-by: Peng Fan --- drivers/core/device.c | 19 +++ 1 file changed, 19 inser

[U-Boot] [PATCH v4 0/3] dm:gpio:mxc add DT support

2015-02-09 Thread Peng Fan
is get from device's req_seq. Peng Fan (3): dm: introduce dev_get_addr interface dm:gpio:mxc add a bank_index entry in platdata dm:gpio:mxc add DT support drivers/core/device.c | 12 +++ drivers/gpio/mxc_gpio.c | 89 +++-- include/dm/device.h

[U-Boot] [PATCH v4 2/3] dm:gpio:mxc add a bank_index entry in platdata

2015-02-09 Thread Peng Fan
Add a new entry in platdata structure and intialize bank_index in mxc_plat array. This new entry can avoid using `plat - mxc_plat` by using `plat->bank_index`. Signed-off-by: Peng Fan Acked-by: Igor Grinberg --- drivers/gpio/mxc_gpio.c | 17 + 1 file changed, 9 insertions(+)

[U-Boot] [PATCH v4 1/3] dm: introduce dev_get_addr interface

2015-02-09 Thread Peng Fan
Abstracting dev_get_addr can improve drivers that want to get device's address. Signed-off-by: Peng Fan Acked-by: Igor Grinberg --- drivers/core/device.c | 12 include/dm/device.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/core/device.c b/dr

[U-Boot] [PATCH v4 3/3] dm:gpio:mxc add DT support

2015-02-09 Thread Peng Fan
board_early_init_f to board_init + define CONFIG_DM ,CONFIG_DM_GPIO and CONFIG_OF_CONTROL + Add device tree file and do related configuration in `make ARCH=arm menuconfig` These will be done in future patches by step. Signed-off-by: Peng Fan --- drivers/gpio/mxc_gpio.c | 81

Re: [U-Boot] [PATCH v5 2/3] pmic:pfuze implement pmic_mode_init

2015-02-10 Thread Peng Fan
Hi, Stefano On 1/30/2015 1:48 AM, Stefano Babic wrote: On 27/01/2015 03:14, Peng Fan wrote: This patch is to implement pmic_mode_init function, and add prototype in header file. This function is to set switching mode for pmic buck regulators to improve system efficiency. Mode: OFF: The

Re: [U-Boot] [PATCH v5 3/3] imx:mx6 set normal APS and standby PFM mode

2015-02-10 Thread Peng Fan
Hi, Stefano On 1/30/2015 1:48 AM, Stefano Babic wrote: On 27/01/2015 03:14, Peng Fan wrote: To normal mode, use APS switching mode. To standy mode, use PFM switching mode. Signed-off-by: Peng Fan Acked-by: Przemyslaw Marczak --- Applied to u-boot-imx, thanks ! Did you miss this patch? I

Re: [U-Boot] [PATCH 06/12] pmic:pfuze add macro for setting voltage

2015-02-10 Thread Peng Fan
Hi, Stefano On 2/10/2015 7:54 PM, Stefano Babic wrote: On 09/01/2015 09:59, Peng Fan wrote: "#define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)" This macro is for configuring SW1A/B/C Output Voltage easily. Signed-off-by: Peng Fan --- include/power/pfuze100_pmic.h | 2 ++ 1 fi

Re: [U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg

2015-02-10 Thread Peng Fan
Hi, Stefano On 2/10/2015 7:03 PM, Stefano Babic wrote: Hi Peng, On 09/01/2015 09:59, Peng Fan wrote: Add more register for structure mxc_ccm_reg. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx6/crm_regs.h | 87 1 file changed, 87 insertions

[U-Boot] [PATCH] ARM: imx6 Add WDOG3 for i.MX6SX

2015-02-10 Thread Peng Fan
There are three wdogs for i.MX 6SoloX. Add wdog3 support in function imx_set_wdog_powerdown. Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/mx6/soc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index e599a12..e0bc9a9

Re: [U-Boot] [PATCH 4/4] imx: mx6sxsabreauto: Add support for mx6sx SABREAUTO board

2015-02-11 Thread Peng Fan
Hi, On 2/11/2015 5:43 PM, Li Ye-B37916 wrote: Hi, On 2/10/2015 6:51 PM, Stefano Babic wrote: Hi, On 12/01/2015 09:46, Ye.Li wrote: Initial version for mx6sx SABREAUTO board support with features: PMIC, QSPI, NAND flash, SD/MMC, USB, Ethernet, I2C, IO Expander. Signed-off-by: Ye.Li --- ar

<    4   5   6   7   8   9   10   11   12   13   >