Hi Stefano,
> Subject: Re: [PATCH V2 resend 1/4] imx: add module fuse support
>
> Hi Peng,
>
> On 01.05.20 16:08, Peng Fan wrote:
> > There are different parts from one SoC. Take i.MX6ULL for example,
> > some part might not have ENET, some might have; some might n
Add SC_R_NONE entry
Signed-off-by: Peng Fan
---
V2:
New
For other patches in patchset, only patch 6 is changed.
include/dt-bindings/soc/imx_rsrc.h | 1 +
1 file changed, 1 insertions(+)
diff --git a/include/dt-bindings/soc/imx_rsrc.h
b/include/dt-bindings/soc/imx_rsrc.h
index 4870eb985b
tream patch
only for legacy imx8 power domain driver, since we have not migrated
to use new power domain driver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sys_proto.h | 7 +++
drivers/power/domain/imx8-power-domain-legacy.c
resource owner, the power domain in
the other software partition could be powered off with parent
partition could access child partition resources.
Signed-off-by: Peng Fan
---
drivers/power/domain/imx8-power-domain-legacy.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a
every time we need to update linux and uboot headers
together or boot can fail.
Fix this by replacing SC_R_LAST usage with a new constant SC_R_NONE
defined to be 0xFFF0.
Reviewed-by: Peng Fan
Signed-off-by: Leonard Crestez
Signed-off-by: Peng Fan
---
V2:
fix dtsi
arch/arm/dts/fsl-imx8dx.dtsi
DM_FLAG_DEFAULT_PD_CTRL_OFF to avoid such issue
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/power/domain/imx8-power-domain-legacy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/domain/imx8-power-domain-legacy.c
b/drivers/power/domain/imx8-power-domain-legacy.c
index
in
power on.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/power/domain/imx8-power-domain-legacy.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/power/domain/imx8-power-domain-legacy.c
b/drivers/power/domain/imx8-power-domain-legacy.c
index b68be40766..a5f2f8a445
Hi Simon,
> Subject: Re: [PATCH V2 1/9] uclass: cpu: Add new API to get udevice for
> current CPU
>
> Hi Peng,
>
> On Sun, 3 May 2020 at 07:14, Peng Fan wrote:
> >
> > Hi Simon,
> >
> > > Subject: Re: [PATCH V2 1/9] uclass: cpu: Add new API to get
: mxs_nand: fix the gf_13/14 definition issue
mxs_nand: don't check zero count when ECC reading with randomizer
Peng Fan (3):
nand: mxs: fix the bitflips for erased page when uncorrectable error
nand: mxs: correct bitflip for erased NAND page
mtd: nand: support GPMI NAND driver for i.MX
use calc_ecc_layout_by_info
3. legacy_calc_ecc_layout only used for some NAND chips does not contains
necessary information. So this is only a backup plan, it is NOT
recommended to use these NAND chips.
Signed-off-by: Han Xu
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nan
Xu
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand.c| 4 ++--
drivers/mtd/nand/raw/mxs_nand_dt.c | 2 ++
include/mxs_nand.h | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mt
From: Ye Li
Update the mini driver to add support for getting ecc info from ONFI and
support read image data from page unaligned NAND address.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand_spl.c | 41 ++---
1 file changed, 34
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/regs-bch.h | 7 ++-
drivers/mtd/nand/raw/mxs_nand.c | 18 +-
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/mach-imx/regs-bch.h
b/arch/arm/include/asm/mach-imx/regs-bch.h
in
From: Ye Li
Update the gpmi/apbh_dma/bch drivers and relevant registers for i.MX8M.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/dma.h | 2 +-
arch/arm/include/asm/mach-imx/regs-apbh.h | 6 +++---
arch/arm/include/asm/mach-imx/regs-bch.h | 4
age filled with the '0xFF'
data.
"
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c
index 3247064c3f..55d2
From: Ye Li
The iMX6SX uses compatible string "fsl,imx6sx-gpmi-nand" for gpmi
node in DTS, so update the driver for the string
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mt
From: Han Xu
add the dedicate compatible string for i.MX6QP
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/nand/raw/mxs_nand_dt.c
b/drivers/mtd/nand/raw/mxs_nand_dt.c
index 7efc9684db
From: Alice Guo
imx8mm needs to BCH encode and set NAND page number needed to be
randomized
modify conditional compilation
Use CONFIG_IMX8M, so it apply to imx8mq/mm/mn
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand.c | 2 +-
1 file changed, 1 insertion
From: Han Xu
gf_13/14 mask was not set correctly in register definition.
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/regs-bch.h | 8
drivers/mtd/nand/raw/mxs_nand.c | 2 ++
include/mxs_nand.h | 1 +
3 files changed
enable the GPMI NAND driver for i.MX8, i.MX8 use similar controller as
i.MX8M
- register definition for i.mx8
- DMA structure must be 32bit address
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/dma.h | 15 ---
arch/arm/include/asm/mach-imx/regs-apbh.h | 9
From: Han Xu
When enabled randomizer during ECC reading, the controller reported it's
erased page. Checking zero count will cause data get modified to all
0xFF. Stop checking during randomizer to workaround this issue.
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
drivers/mtd/nan
From: Alice Guo
To enable the Randomizer module, set GPMI_ECCCTRL[RANDOMIZER_ENABLE] to
1, then set GPMI_ECCCOUNT[RANDOMIZER_PAGE] to select randomizer page
number needed to be randomized.
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand.c | 8 +++-
1
From: Ye Li
Since iMX8 has enabled clock uclass, we can parse the clocks from DTB
and enable them in GPMI driver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 69 ++
1 file changed, 69 insertions(+)
diff --git a
Hi Simon,
> Subject: Re: [PATCH] dm: serial: introduce puts hook
>
> Hi Peng,
>
> On Sun, 3 May 2020 at 06:42, Peng Fan wrote:
> >
> > Introduce puts hook for dm serial driver.
> >
> > Signed-off-by: Peng Fan
> > ---
> > drivers/serial/seria
Hi Simon,
> Subject: Re: [PATCH 1/4] sata: ahsata: Fix resource leak
>
> On Sun, 3 May 2020 at 08:04, Peng Fan wrote:
> >
> > From: Ye Li
> >
> > Fix coverity issue CID 3606684: Resource leak (RESOURCE_LEAK)
> > leaked_storage: Variable uc_priv goin
> Subject: Re: [PATCH 10/13] imx: load calibration parameters from fuse for
> i.MX8MP
>
> Hi Peng,
>
> On Sun, May 3, 2020 at 8:39 PM Peng Fan wrote:
>
> > 5.4.3 upstream kernel + latest upstream boot?
>
> No, I meant imx_5.4.3_2.0.0 NXP kernel + latest upstre
i.MX8M could use imx bootaux to boot m4/m7 core, so let's add it
to the dependency list.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 396f7c9288..2b972
Add get_board_serial support, the info could be got from fuse.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/cpu.c | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c
index 2c79bd0091..3bd0dee025
This patchset is various update for i.MX8 from NXP downstream
Support reserve ddr memory for M4
Add get board serial
power down resources when SPL jump to u-boot
recover SPL data
check m4 partition boot
Fix get_effective_memsize
select boot device dynamically
Peng Fan (8):
imx: imx8qm/qxp
x27;t access M4 reserved memory.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/Kconfig | 8
arch/arm/mach-imx/imx8/fdt.c | 10 ++
2 files changed, 18 insertions(+)
diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig
index 1f8add015f..69149d3cd5 1
: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/cpu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c
index f87276e8ea..2c79bd0091 100644
--- a/arch/arm/mach-imx/imx8/cpu.c
"imx8_power_off_pd_devices" to power off all active devices.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sys_proto.h | 1 +
board/freescale/imx8qm_mek/spl.c| 6 +
board/freescale/imx8qxp_mek/spl.c | 6 +
drivers/power/domain/
From: Ye Li
For fspi build, we will enable both SPL NOR support and SPL SPI
support. SPL will dynamically check the resource owner then
select corresponding boot device.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/cpu.c | 12
1 file changed, 12
cold boot, the data section will be saved
to that new section at SPL early phase. When from partition reboot,
the data section will be restored from the new section.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv8/Kconfig| 6 ++
arch/arm/cpu/armv8/Makefile
Add code to check m4 partition booted or not, we will use this
to runtime set device tree file that passed to Linux Kernel.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sys_proto.h | 1 +
arch/arm/mach-imx/imx8/cpu.c | 30 ++
board
Update fdt_file according to m4 parts state
Signed-off-by: Peng Fan
---
board/freescale/imx8qxp_mek/imx8qxp_mek.c | 13 +
include/configs/imx8qxp_mek.h | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c
b
When we create software partition, we still need let parent
partition to configure sid, so move the check after sid failed.
Acked-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/fdt.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-imx
Update fdt_file according to m4 parts state
Signed-off-by: Peng Fan
---
board/freescale/imx8qm_mek/imx8qm_mek.c | 13 +
include/configs/imx8qm_mek.h| 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c
b/board
> Subject: [RFC] arm: dts: imx: imx8qm: usb support
>
> Try to get USB working with imx8qm. Therefore I took below from NXP vendor
> tree. Can someone point me to the missing driver parts that are needed?
The usb driver still not enabled.
Regards,
Peng.
>
> Best regards,
>
> Oliver
>
> ---
>
i.MX nandbcb update to support i.MX8M, add dump command, restructure,
fix gf_14, add boot search count for i.MX8
Alice Guo (3):
nandbcb: support i.MX8M
nandbcb: add nandbcb dump command for i.MX8MM
nandbcb: add nandbcb dump command for i.MX6
Han Xu (3):
nandbcb: fix the issue cannot suppo
From: Han Xu
bchtype in FCB should be associated to the gf_13/14 settings in BCH, fix
the issue and test on Micron 29F64G08CBABB, it can boot after the
change.
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_nandbcb.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Alice Guo
Tested on i.MX8MM EVK, imx8mm evk uses BCH
encoding and randomizer
modify macro and print size_t with %zx
use CONFIG_IMX8M because it should apply to imx8mq/mm/mn
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Kconfig | 2 +-
arch/arm/mach-imx
From: Han Xu
add support for imx8qxp to read boot search count from fuse in nandbcb
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_nandbcb.c | 39 ++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx
From: Alice Guo
Verify/dump boot structures.
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_nandbcb.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c
index 02a65ffd43..a8531def35 100644
From: Alice Guo
Verify/dump boot structures written to NAND Flash chip.
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_nandbcb.c | 266 ++--
1 file changed, 258 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-imx
Hamming coding/ 40bit BCH/ 62bit BCH coding FCB.
6. Dump and compare all written FCB/DBBT to verify data integrity.
The tool has been verified on iMX6Q/DL, 6SX, 7D, 6ULL, iMX8QX, iMX8MM.
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/imx-nandbcb.h |4 +-
arch
From: Han Xu
Add more BCH setting mode and remove the unnecessary platform constrain
Signed-off-by: Han Xu
Signed-off-by: Peng Fan
---
drivers/mtd/nand/raw/mxs_nand.c | 43 ++---
include/mxs_nand.h | 3 ++-
2 files changed, 42 insertions
> Subject: Re: [PATCH 10/13] imx: load calibration parameters from fuse for
> i.MX8MP
>
> Hi Peng,
>
> On Mon, May 4, 2020 at 11:50 PM Peng Fan wrote:
>
> > Busfreq could be disabled by set the device tree node to disabled.
>
> This does not help. If I use
> Subject: Re: [PATCH] imx8mp_evk: Make SPL binary size smaller
>
> On Thu, May 7, 2020 at 8:59 AM Fabio Estevam
> wrote:
> >
> > Commit f24dea4e1b52 ("ARM: imx8m: Fix reset in SPL on NXP iMX8MP
> EVK")
> > caused the u-boot-spl.bin binary size to grow by around 2000 bytes,
> > which makes the bo
The u-boot-spl.bin pad with ddr firmware conflicts with the
CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten
by malloc in SPL stage and cause ddr initialization not able
to finish. So update the related addresses to fix the issue.
Reported-by: Fabio Estevam
Signed-off-by: Peng Fan
Simplify board SPL code
- BSS area will be cleared by crt0_64.S
- No need to get ccm device in spl_board_init
- Use spl_early_init, not spl_init
- timer_init has been invoked in arch_cpu_init
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/spl.c | 28 ++--
1
The u-boot-spl.bin pad with ddr firmware conflicts with the
CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten
by malloc in SPL stage and cause ddr initialization not able
to finish. So update the related addresses to fix the issue.
Reported-by: Fabio Estevam
Signed-off-by: Peng Fan
Simplify board SPL code
- BSS area will be cleared by crt0_64.S
- No need to get ccm device in spl_board_init
- Use spl_early_init, not spl_init
- timer_init has been invoked in arch_cpu_init
Signed-off-by: Peng Fan
---
V2:
Fix build warning
board/freescale/imx8mp_evk/spl.c | 30
enum dcache_option already shift left 2 bits,
PMD_ATTRINDX(option), will wrongly shift left the attr 4bits, which
is wrong. And make the region user set not has expected attribute
and might affect the splitted block region.
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv8
Use arm_smccc_smc to replace call_imx_sip
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/misc.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/imx8/misc.c b/arch/arm/mach-imx/imx8/misc.c
index 76d6571d8b..f3fdd22d28 100644
--- a/arch/arm/mach
No need keep imx sip code, since we could use arm_smccc_smc
Peng Fan (6):
imx8: misc: use arm_smccc_smc
imx8m: soc: use arm_smccc_smc
imx: bootaux: use arm_smccc_smc
imx8: fuse: use arm_smccc_smc
imx: power-domain: use arm_smccc_smc
imx: remove imx sip file
arch/arm/mach-imx
Use arm_smccc_smc to replace call_imx_sip
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 347fd6d0ad..e6863ab5cf 100644
--- a/arch/arm/mach
Use arm_smccc_smc to replace call_imx_sip
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/imx_bootaux.c b/arch/arm/mach-imx/imx_bootaux.c
index ec0da1164f..908125fff7 100644
--- a/arch
We have switch to use arm_smccc_smc, no need to keep i.MX specific
sip wrapper.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Makefile | 2 +-
arch/arm/mach-imx/sip.c| 46 --
2 files changed, 1 insertion(+), 47 deletions(-)
delete mode 100644
Use arm_smccc_smc to replace call_imx_sip
Signed-off-by: Peng Fan
---
drivers/misc/imx8/fuse.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c
index 4d7f2f524d..be18122937 100644
--- a/drivers/misc/imx8
Use arm_smccc_smc to replace call_imx_sip
Signed-off-by: Peng Fan
---
drivers/power/domain/imx8m-power-domain.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/power/domain/imx8m-power-domain.c
b/drivers/power/domain/imx8m-power-domain.c
index 5b6467cda7
From: Jacky Bai
There is no DDR_SS_GPR0 exits on i.MX8MN, so skip setting
this register on i.MX8MN.
Signed-off-by: Jacky Bai
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx8m/ddr_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ddr/imx/imx8m/ddr_init.c b
From: Sherry Sun
Add inline ECC support for lpddr4 on imx8mp-evk. And add a config which
can enable/disable inline ECC feature for lpddr4 on imx8mp-evk board.
Signed-off-by: Sherry Sun
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/ddr.h | 7 +++
board/freescale/imx8mp_evk
From: Jacky Bai
The 'selfref_en' should be bit'0', so correct the setting to
enable the auto self-refresh.
Reviewed-by: Jian Li
Reviewed-by: Ye Li
Signed-off-by: Jacky Bai
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx8m/ddr_init.c | 2 +-
1 file changed, 1 inse
This is to upstream NXP vendor tree ddr driver related fix and update
Jacky Bai (2):
driver: ddr: imx: skip ddr_ss_gpr config on imx8mn
driver: ddr: imx: correct the pwrctl setting of selfref_en on imx8m
Jian Li (3):
imx8mp: enable rd_port_urgent
imx8mp: DDR performance tunning
imx8mp:
From: Ye Li
Enable print to show the DRAM rate of current setting and training
result.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx8m/ddr_init.c | 7 ---
drivers/ddr/imx/imx8m/ddrphy_utils.c | 2 +-
2 files changed, 5 insertions(+), 4
Hi Stefano,
> Subject: Status i.MX U-Boot patches
>
> Sorry, forgotten ML...
>
> Hi Fabio, Peng,
>
> I have thought about how to handle Peng's last series and I came to the
> decision to merge them as soon as possible, letting some more time for fixes
> if
> required.
Thanks for merging the p
> Subject: Re: [PATCH V2 1/2] imx: imx8mp_evk: fix boot issue
>
> Hi Peng,
>
> On Mon, May 11, 2020 at 3:55 AM Peng Fan wrote:
> >
> > The u-boot-spl.bin pad with ddr firmware conflicts with the
> > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritt
> Subject: Re: [PATCH V2 2/2] imx8mp_evk: simplify board spl code
>
> Hi Peng,
>
> On Mon, May 11, 2020 at 3:55 AM Peng Fan wrote:
> >
> > Simplify board SPL code
> > - BSS area will be cleared by crt0_64.S
> > - No need to get ccm device in spl_bo
> Subject: Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate
>
> On 11.05.20 11:53, Peng Fan wrote:
> > From: Ye Li
> >
> > Enable print to show the DRAM rate of current setting and training
> > result.
> >
> > Reviewed-by: Peng Fan
>
> Subject: Re: [PATCH 3/8] imx8mp: ddr: Add inline ECC feature support
>
> Hi Peng,
>
> On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote:
> >
> > From: Sherry Sun
> >
> > Add inline ECC support for lpddr4 on imx8mp-evk. And add a config
> > which can
> Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue
>
> Hi Peng,
>
> On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote:
> >
> > The u-boot-spl.bin pad with ddr firmware conflicts with the
> > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritt
From: Jacky Bai
There is no DDR_SS_GPR0 exits on i.MX8MN, so skip setting
this register on i.MX8MN.
Signed-off-by: Jacky Bai
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx8m/ddr_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ddr/imx/imx8m/ddr_init.c b
From: Jacky Bai
The 'selfref_en' should be bit'0', so correct the setting to
enable the auto self-refresh.
Reviewed-by: Jian Li
Reviewed-by: Ye Li
Signed-off-by: Jacky Bai
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx8m/ddr_init.c | 2 +-
1 file changed, 1 inse
curs, then there is no
performance penalty accessing the non-ECC-protected memory (no need to
access ECC for this portion of the memory map). This is all configured
with the DRAM Controller.
Signed-off-by: Sherry Sun
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/ddr.h | 7
d
V2:
Drop patch to print dram rate
remove board ddr ecc part from patch enabling inline ecc feature
This is to upstream NXP vendor tree ddr driver related fix and update
Jacky Bai (2):
driver: ddr: imx: skip ddr_ss_gpr config on imx8mn
driver: ddr: imx: correct the pwrctl setting of selfref_
> Subject: RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue
>
> > Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue
> >
> > Hi Peng,
> >
> > On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote:
> > >
> > > The u-boot-spl.bin pad with ddr
V2:
Split code into minor patches
Update fix boot patch, use simple malloc and drop malloc_f
Tested 5.4.24 kernel, boots well.
Peng Fan (5):
imx8mp_evk: spl: drop useless code
imx8mp_evk: spl: drop timer_init
imx8mp_evk: spl: use spl_early_init
imx8mp_evk: spl: no need the code since
Drop useless getting ccm device, there is no need to explicted do this
in board code, and we not enable SPL CLK currently.
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/spl.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/board/freescale/imx8mp_evk/spl.c b/board
timer_init has been invoked in arch_cpu_init, no need to invoke
it again in board code.
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/spl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c
index 8151b49d97
Use spl_early_init to replace spl_init, spl_init will be invoked
in board_init_r, we only need use spl_early_init to setup malloc
and scan early dt.
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/spl.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a
We no need invoke the code, since spl framework could help
us do that.
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/spl.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c
index 284d477514
The u-boot-spl.bin pad with ddr firmware conflicts with the
CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten
by malloc in SPL stage and cause ddr initialization not able
to finish. So update the related addresses to fix the issue.
Reported-by: Fabio Estevam
Signed-off-by: Peng Fan
avoid copy data twice
Fix stream mode for secure boot
Update boot dev
Drop useless node
Peng Fan (4):
spl: romapi: Fix issue for stream mode with secure boot enabled
spl: romapi: avoid copy data when get fit image size
spl: imx8m: add QSPI boot dev
spl: fit: remove useless CONFIG_IMX_HAB
No need to copy data when only need to get fit image size.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl_imx_romapi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/spl_imx_romapi.c
b/arch/arm/mach-imx/spl_imx_romapi.c
index 1a695ea837..d753d0207c
From: Ye Li
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm
When boot type could not be detected from rom sw info,
read sbmr1 to detect, here we only use it to detect FLEXSPI
boot, because ROM not update it in rom sw info.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cpu.c | 6 --
arch/arm/mach-imx/spl.c | 2 ++
2 files changed, 6 insertions(+), 2
it
will alway fail.
This patch skip the authentication only for this tricky using.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl_imx_romapi.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/mach-imx/spl_imx_romapi.c
b/arch/arm/mach-imx/spl_imx_romapi.c
index
No need to guard code with CONFIG_IMX_HAB, there is already a weak
function.
Signed-off-by: Peng Fan
---
common/spl/spl_fit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index c51e4beb1c..3e5648b4eb 100644
--- a/common/spl/spl_fit.c
+++ b
> Subject: [PATCH 2/5] spl: romapi: avoid copy data when get fit image size
>
Drop this patch, this is wrong.
Regards,
Peng.
> No need to copy data when only need to get fit image size.
>
> Signed-off-by: Peng Fan
> ---
> arch/arm/mach-imx/spl_imx_romapi.c | 4 ++--
> Subject: [PATCH 0/5] spl: imx: update and fix
Push button fast, wrong version. will post v2 after fix.
>
> avoid copy data twice
> Fix stream mode for secure boot
> Update boot dev
> Drop useless node
>
> Peng Fan (4):
> spl: romapi: Fix issue for stream mo
> Subject: Re: [PATCH V2 1/5] imx8mp_evk: spl: drop useless code
>
> Hi Peng,
>
> On Tue, May 12, 2020 at 6:16 AM Peng Fan wrote:
> >
> > Drop useless getting ccm device, there is no need to explicted do this
> > in board code, and we not enable SPL CLK curre
A;
> } else {
> - printf("%s: Your controller doesn't support SDMA!!\n",
> -__func__);
> + debug("%s: Your controller doesn't support SDMA!!\n",
> + __func__);
> }
> #endif
> #if CONFIG_IS_ENABLED(MMC_SDHCI_ADMA)
> --
Reviewed-by: Peng Fan
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> CONFIG_DM_KEYBOARD=y
> CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_SDMA=y
> CONFIG_MMC_SDHCI_BCM2835=y
> CONFIG_DM_ETH=y
> CONFIG_BCMGENET=y
Reviewed-by: Peng Fan
Hi Tom,
> -Original Message-
> From: U-Boot On Behalf Of Tom Rini
> Sent: 2020年5月12日 6:29
> To: u-boot@lists.denx.de
> Cc: u-boot-custodi...@lists.denx.de;
> u-boot-board-maintain...@lists.denx.de
> Subject: [ANN] U-Boot v2020.07-rc2 released
>
> Hey all,
>
> It's release day and I've t
> Subject: Re: [PATCH v2 0/3] Support SDMA mode on RPI4 target - 32bit
>
> Hi
>
> Is there any comment or plan to apply?
Sorry, I missed this patchset. Will pick it up.
Thanks,
Peng.
>
> Best Regards,
> Jaehoon Chung
>
> On 2/18/20 10:25 AM, Jaehoon Chung wrote:
> > RPI4's SDHCI controller i
Hi Jaehoon,
> Subject: Re: [PATCH v2 0/3] Support SDMA mode on RPI4 target - 32bit
>
> On 3/18/20 10:00 AM, Peng Fan wrote:
> >> Subject: Re: [PATCH v2 0/3] Support SDMA mode on RPI4 target - 32bit
> >>
> >> Hi
> >>
> >> Is there any
ard.
>
> -config CMD_BKOPS_ENABLE
> - bool "mmc bkops enable"
> - depends on CMD_MMC
> - default n
> - help
> - Enable command for setting manual background operations
> handshake
> - on a eMMC device. The feature is optionally available on eMMC
> devices
> - conforming to standard >= 4.41.
> -
> config CMD_BLOCK_CACHE
> bool "blkcache - control and stats for block cache"
> depends on BLOCK_CACHE
Reviewed-by: Peng Fan
> --
> 2.20.1
> Subject: Re: i.MX8QXP hangs in SPL after a "reboot" command
>
> On Thu, Apr 2, 2020 at 4:21 PM Fabio Estevam
> wrote:
>
> > U-Boot SPL 2020.04-rc4-00061-ge0718b3ab7 (Apr 02 2020 - 16:14:22
> > -0300) Normal Boot
> > WDT: Not found!
> > Trying to boot from MMC2_2
> > spl: mmc init failed with
> Subject: Re: i.MX8QXP hangs in SPL after a "reboot" command
>
> Hi Peng,
>
> On Tue, Apr 7, 2020 at 9:47 PM Peng Fan wrote:
> >
> > > Subject: Re: i.MX8QXP hangs in SPL after a "reboot" command
> > >
> > > On Thu, Apr 2,
301 - 400 of 5562 matches
Mail list logo