[U-Boot] [v3 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: None. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 27 +++

[U-Boot] [v4 2/2] armv8: layerscape: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v1: Remove the config option. Use id_to_core() funcation to find the

[U-Boot] [v4 1/2] armv8: ls1043a/ls2080a: check SoC by device ID

2017-12-03 Thread Wenbin song
Check LS1043A/LS2080a by device ID without using personality ID to determine revision number. This check applies to all various personalities of the same SoC family. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for V1: None. Changes for v2:

[U-Boot] [v3 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: None. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 27 +++

[U-Boot] [v3 1/2] armv8: ls1043a/ls2080a: check SoC by device ID

2017-12-03 Thread Wenbin song
Check LS1043A/LS2080a by device ID without using personality ID to determine revision number. This check applies to all various personalities of the same SoC family. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: Modify the commit message and s

[U-Boot] [V2 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v1: Remove the config option. Use id_to_core() funcation to find the

Re: [U-Boot] [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread Wenbin Song
Hi York, Yes, you are right. I have tested it on others SoCs (LS1043a/LS1023a, LS2088a/LS2048a). It works fine. So, I will remove the config and the #if condition. Thank you and Prabhakar for the advice. Best Regards Wenbin Song -Original Message- From: York Sun Sent: Friday

[U-Boot] [V2 1/2] armv8: ls1043a: modify the detecting way to cover all variants

2017-11-30 Thread Wenbin song
There are many variants for ls1043a. Modify the detecting way to make that the below fixup apply to all variants of ls1043a. - Fix GIC offset for rev1.1 - Fix msi node for rev1.1 - erratum_a010151 Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes

Re: [U-Boot] [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread Wenbin Song
than modify the codes. Am I correct? Best Regards Wenbin Song -Original Message- From: Prabhakar Kushwaha Sent: Thursday, November 30, 2017 12:56 PM To: Wenbin Song <wenbin.s...@nxp.com>; York Sun <york@nxp.com>; Ran Wang <ran.wan...@nxp.com>; Mingkai Hu <mingka

[U-Boot] [PATCH 1/2] armv8: ls1043a: modify the detecting way to cover all variants

2017-11-29 Thread Wenbin song
There are many variants for ls1043a. Modify the detecting way to make that the below fixup apply to all variants of ls1043a. - Fix GIC offset for rev1.1 - Fix msi node for rev1.1 - erratum_a010151 Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/cpu/arm

[U-Boot] [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-29 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dft. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 arch/arm/cpu/armv8/fsl-layersc

[U-Boot] [PATCH] armv8: ls1046aqds: update IFC NOR timings

2017-11-29 Thread Wenbin song
Update IFC NOR timings to fix that the NOR flash can not be erased with V4 FPGA image on ls1046aqds. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1046aqds.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/ls1046aqds.h b/i

[U-Boot] [patch v3] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-24 Thread Wenbin song
Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds and ls1046aqds boards. Delete the rcw, uboot env and fman partitions. Add user partitions for general usage. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v1: Delete the rcw, uboot env an

[U-Boot] [patch v2] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-24 Thread Wenbin song
Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds and ls1046aqds boards. Delete the rcw, uboot env and fman partitions. Add user partitions for general usage. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v1: Delete the rcw, uboot env an

Re: [U-Boot] [PATCH] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-16 Thread Wenbin Song
Song -Original Message- From: york sun Sent: Thursday, March 16, 2017 1:14 AM To: Wenbin Song <wenbin.s...@nxp.com>; Mingkai Hu <mingkai...@nxp.com>; s...@chromium.org; Z.Q. Hou <zhiqiang@nxp.com>; M.H. Lian <minghuan.l...@nxp.com>; u-boot@lists.denx.de Su

[U-Boot] [PATCH] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-14 Thread Wenbin song
Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds and ls1046aqds boards. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043a_common.h | 7 --- include/configs/ls1046aqds.h | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-)

[U-Boot] [RESEND V7 1/2] armv8/ls1043a: fixup GIC offset for ls1043a rev1

2017-01-23 Thread Wenbin song
-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v7: Use the full SVR to check if a Soc needs the fix. Use 4K alignment as the default alignment. --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++ arch/arm/c

[U-Boot] [RESEND V7 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2017-01-23 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.0 silicon, if rev1.1 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v7: Use a new MSI node on rev1.1. -

Re: [U-Boot] [PATCH v6 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-12-09 Thread Wenbin Song
Hi, york Because the other patch [patch v6 2/2 ] in this set depends on the format of MSI node which is not yet ready to upstream. I planed to send them together. Do you have any idea? Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Friday, De

Re: [U-Boot] [PATCH v6 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-11-16 Thread Wenbin Song
Hi, york Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Thursday, November 17, 2016 1:05 AM > To: Wenbin Song <wenbin.s...@nxp.com>; albert.u.b...@aribaud.net; > Mingkai Hu <mingkai...@nxp.com>; u-boot@lists.denx.de > Subject

Re: [U-Boot] [PATCH v6 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-11-16 Thread Wenbin Song
Hi: york Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Tuesday, November 15, 2016 5:24 AM > To: Wenbin Song <wenbin.s...@nxp.com>; albert.u.b...@aribaud.net; > Mingkai Hu <mingkai...@nxp.com>; u-boot@lists.denx.de > Subject

Re: [U-Boot] [PATCH v6 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-11-15 Thread Wenbin Song
Hi: york There is a bit of change for MSI node of kernel , so I will update this patch on next version and with new comments you mentioned. Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Tuesday, November 15, 2016 5:36 AM > To: Wenbin So

[U-Boot] [PATCH v6 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-10-31 Thread Wenbin song
the CIG offset with 4K alignment. GIC offset is decided by SVR and GIC_ADDR_BIT bit. Overriding the weak smp_kick_all_cpus, the new impletment is able to detect GIC offset. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v6:

[U-Boot] [PATCH v6 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-31 Thread Wenbin song
There are two types of msi node in kernel device tree, one is for LS1043A rev1.1 silicon, the other is for rev1.0. According to revision number, fixup the msi node. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Change in v6:

Re: [U-Boot] [PATCH v5 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-10-30 Thread Wenbin Song
Hi york: Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Friday, October 28, 2016 11:40 PM > To: Wenbin Song <wenbin.s...@nxp.com>; albert.u.b...@aribaud.net; > Mingkai Hu <mingkai...@nxp.com>; u-boot@lists.denx.de > Subject

[U-Boot] [PATCH v5 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-27 Thread Wenbin song
There are two types of msi node in kernel device tree, one is for LS1043A rev1.1 silicon, the other is for rev1.0. According to revision number, fixup the msi node. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Change in v5:

[U-Boot] [PATCH v5 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-10-27 Thread Wenbin song
the CIG offset with 4K alignment. GIC offset is decided by SVR and GIC_ADDR_BIT bit. Overriding the weak smp_kick_all_cpus, the new impletment is able to detect GIC offset. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v5:

Re: [U-Boot] [PATCH v4 1/2] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-26 Thread Wenbin Song
Hi: york Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Wednesday, October 26, 2016 4:35 AM > To: Wenbin Song <wenbin.s...@nxp.com>; albert.u.b...@aribaud.net; > Mingkai Hu <mingkai...@nxp.com>; u-boot@lists.denx.de > Subject: Re

[U-Boot] [PATCH v4 1/2] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-24 Thread Wenbin song
-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v4: Squash [patch 2/3 v3] with this patch. Add comments on fix_gic_offest. Add the descriptions of rev1.0 GIC offset. Use macros to define the offset and

Re: [U-Boot] [PATCH v3 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1.0

2016-10-24 Thread Wenbin Song
hi Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Friday, October 21, 2016 10:16 PM > To: Wenbin Song <wenbin.s...@nxp.com>; albert.u.b...@aribaud.net; > Mingkai Hu <mingkai...@nxp.com>; u-boot@lists.denx.de > Subject: Re: [PATCH v3

[U-Boot] [PATCH v4 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-24 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.1 silicon, if rev1.0 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v4: None Changes in v3:

[U-Boot] [PATCH v3 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1.0

2016-10-21 Thread Wenbin song
-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes for v3: Replace CONFIG_LS1043A with HAS_FEATURE_GIC4K_ALIGN. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 49 ++ .../include/asm/arch-fsl-layerscape/i

[U-Boot] [PATCH v3 3/3] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-21 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.1 silicon, if rev1.0 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes for v3: Replace CO

[U-Boot] [PATCH v3 1/3] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-21 Thread Wenbin song
. Overriding the weekly smp_kick_all_cpus, the new impletment is able to detect GIC offset. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- Changes in v3: Add description about smp_kick_all_cpus on commit message. Renam

[U-Boot] [PATCH v2 3/3] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-20 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.1 silicon, if rev1.0 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- v2: Call fdt_fixup_msi when CONFIG_LS1043

[U-Boot] [PATCH v2 1/3] armv8/ls1043a: fixup GIC offset according to SVR and GIC400_ADDR_ALIGN_64K[GIC_ADDR]

2016-10-20 Thread Wenbin song
. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- v2: None --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 47 +++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 12 +- 2 files changed, 57 inse

[U-Boot] [PATCH v2 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1

2016-10-20 Thread Wenbin song
-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- v2: Call fdt_fixup_gic when CONFIG_LS1043A is defined. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 49 ++ .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 3

[U-Boot] [PATCH 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1

2016-10-20 Thread Wenbin song
-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 47 ++ .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/

[U-Boot] [PATCH 1/3] armv8/ls1043a: fixup GIC offset according to SVR and GIC400_ADDR_ALIGN_64K[GIC_ADDR]

2016-10-20 Thread Wenbin song
. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 47 +++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 12 +- 2 files changed, 57 insertions(+), 2 deleti

[U-Boot] [PATCH 3/3] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-20 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.1 silicon, if rev1.0 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscap

[U-Boot] [PATCH] armv8/fsl-layerscape: print SoC revsion number

2016-09-13 Thread Wenbin song
The exact SoC revsion number can be recognized from U-Boot log. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv8/fs

[U-Boot] [PATCH] armv8/fsl-layerscape: print SoC revsion number

2016-09-09 Thread Wenbin song
The exact SoC revsion number can be recognized from U-Boot log. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> Signed-off-by: Mingkai Hu <mingkai...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv8/fs

[U-Boot] [patch v3 2/2] pxe: Modify README to add the description about FIT image

2016-09-01 Thread Wenbin song
Use environment variable "kernel_addr_r" to indicate the location in RAM where FIT image will be stored. Use label command "kernel" to indicate which the FIT image at. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: Fixup the email address of author

[U-Boot] [patch v3 1/2] pxe: Fix pxe boot with FIT image

2016-09-01 Thread Wenbin song
3. Booting with FIT image Test commands: 1. pxe get && pxe boot 2. sysboot Signed-off-by: York Sun <york@nxp.com> Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: no change --- cmd/pxe.c | 9 + 1 file changed, 5 insertions(+),

[U-Boot] [patch v2 2/2] pxe: Modify README to add the description about FIT image

2016-09-01 Thread Wenbin song
From: Wenbin song <qianyu.g...@nxp.com> Use environment variable "kernel_addr_r" to indicate the location in RAM where FIT image will be stored. Use label command "kernel" to indicate which the FIT image at. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> ---

[U-Boot] [patch v2 1/2] pxe: Fix pxe boot with FIT image

2016-09-01 Thread Wenbin song
3. Booting with FIT image Test commands: 1. pxe get && pxe boot 2. sysboot Signed-off-by: York Sun <york@nxp.com> Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- v2: Add test cases on submit message. --- cmd/pxe.c | 9 + 1 file changed, 5

Re: [U-Boot] [PATCH] pxe: Fix pxe boot with FIT image

2016-08-30 Thread Wenbin Song
Hi, Tom Yes, I have tested all kinds of cases. Best Regards Wenbin Song > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, August 30, 2016 8:22 AM > To: Wenbin Song <wenbin.s...@nxp.com> > Cc: s...@chromium.org; bmeng...@gmail.com; h

Re: [U-Boot] [PATCH] pxe: Fix pxe boot with FIT image

2016-08-29 Thread Wenbin Song
Hi, What would you advise? Thanks. Best Regards Wenbin Song > -Original Message- > From: Wenbin song [mailto:wenbin.s...@nxp.com] > Sent: Thursday, August 04, 2016 3:45 PM > To: s...@chromium.org; bmeng...@gmail.com; h...@denx.de; > p.marc...@samsung.com; s...@de

[U-Boot] [PATCH] pxe: Fix pxe boot with FIT image

2016-08-05 Thread Wenbin song
From: York Sun When FIT image is used, a single image provides kernel, device tree and optionally ramdisk. Argc and argv need to be adjusted to support this. Signed-off-by: York Sun --- cmd/pxe.c | 9 + 1 file changed, 5 insertions(+), 4

[U-Boot] [PATCH] ARMv8/ls1046a: Cleanup the environment variables

2016-07-22 Thread Wenbin song
Cleanup the variables: "kernel_addr","ramdisk_addr", "ramdisk_size","console". Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043a_common.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/incl

[U-Boot] [patch v2] armv8/ls1043a: Add MTD partition scheme

2016-07-21 Thread Wenbin song
From: Wenbin Song <wenbin.s...@nxp.com> Add and share the the MTD partition scheme with kernel by defualt bootargs. And add the "mtdparts" env. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: rebase --- include/configs/ls1043a_common.h | 22

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-07-20 Thread Wenbin Song
Hi: York I'm sorry to have misunderstood you mean. I think it is a good idea that modify/remove the wrong/useless variables in a new patch. And I will make it later. Do you have any suggestion? Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Wednesday

[U-Boot] [PATCH] armv8: ls1043a: add pxe commands

2016-07-15 Thread Wenbin Song
Configure to support U-boot's pxe. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043a_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index b0d4a8d..2083b0d 100644 --- a/include/c

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-07 Thread Wenbin Song
Hi: York Please see my inline comments. Best Regards Wenbin Song > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 07, 2016 1:18 AM > To: Wenbin Song <wenbin.s...@nxp.com>; Mingkai Hu > <mingkai...@nxp.com>; u-boot@list

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
"\ 862 "setenv fdtaddr 0x00c0;"\ 863 "setenv loadaddr 0x100;"\ 864 "bootm $loadaddr $ramdiskaddr $fdtaddr" Because the "setenv" will be executed , So the

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
ader not found. [1.642316] 0x0060-0x0070 : "dtb" [1.651702] ftl_cs: FTL header not found. [1.655932] 0x0070-0x0100 : "file_system" [1.666028] ftl_cs: FTL header not found. Best Regards Wenbin Song > -Original Message- > Fro

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
n=uart8250,mmio,0x21c0500 " \ "$mtdparts" If so, the variable $mtdparts can't be extend ,like that: root@ls1043aqds:~# cat /proc/cmdline console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ${mtdparts} Best Regards Wenbin Song >

[U-Boot] [PATCH] armv8/ls1043aqds modify CONFIG_SYS_MAX_FLASH_BANKS to 1

2016-04-02 Thread Wenbin Song
There is only one flash bank for ls1043aqds. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043aqds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 7b99d36..7c19122

[U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-02 Thread Wenbin Song
Add and share the the MTD partition scheme with kernel by defualt bootargs. And add the "mtdparts" env. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043a_common.h | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v2 2/3] armv8/ls1043aqds: Return i2c mux to default chennel

2016-03-08 Thread Wenbin Song
Return i2c mux to the default channel after accessing retimer. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Change for v2: -Rework the commit message and the subject --- board/freescale/ls1043aqds/ls1043aqds.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 3/3] armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds

2016-03-08 Thread Wenbin Song
Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: -Rework the subject --- include/configs/ls1043aqds.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 158cf02..e269522 100644 --- a/i

[U-Boot] [PATCH v2 1/3] freescale: vid: Return i2c mux to default channel

2016-03-08 Thread Wenbin Song
IR chip is on one of the channels on multiplexed I2C-bus. Reset to default channel after accessing. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes for v2: -Rework the commit message and the tag int the subject. --- board/freescale/common/vid.c | 12 +---

[U-Boot] [PATCH 2/3] armv8/ls1043aqds: Return the default chennel

2016-03-08 Thread Wenbin Song
In order to avoid effecting some i2c devices mounted on default channel, return the default channel after retimer initialization. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- board/freescale/ls1043aqds/ls1043aqds.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 1/3] vid: Return to default channel of the i2c multiplexer

2016-03-08 Thread Wenbin Song
If the IR chip is connected to one of the channel of I2C-bus multiplexer, Set to the default channel after accessing the IR chip. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- board/freescale/common/vid.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 3/3] armv8/ls1043aqds: Add SYS_EEPROM support

2016-03-08 Thread Wenbin Song
Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043aqds.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 158cf02..e269522 100644 --- a/include/configs/ls1043aqds.h +++ b/include/c

[U-Boot] [PATCH v3 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes

2016-01-21 Thread Wenbin Song
From: Shaohui Xie Set Board Configuration Register to select the lpuart pins of various muxes. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- board/freescale/ls1043aqds/ls1043aqds.c | 15 +++

[U-Boot] Patch dependency

2016-01-21 Thread Wenbin Song
The below patches depend on the series patches(http://patchwork.ozlabs.org/patch/567250/). [PATCH v3 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes [PATCH v3 2/3] armv8/ls1043aqds: Spilt off board device tree [PATCH v3 3/3] armv8/ls1043aqds: Add lpuart support

[U-Boot] [PATCH v3 3/3] armv8/ls1043aqds: Add lpuart support

2016-01-21 Thread Wenbin Song
Add lpuart support using the driver model. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1043a-qds-lpuart.dts | 16 ++ arch/arm/dts/fsl-ls1043a-qds.dtsi | 4 +++ arch/arm/dts/fsl-ls1043a.dtsi

[U-Boot] [PATCH v3 2/3] armv8/ls1043aqds: Spilt off board device tree

2016-01-21 Thread Wenbin Song
Move new /chosen node out of the board device tree. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/dts/Makefile| 2 +- arch/arm/dts/fsl-ls1043a-qds-duart.dts | 16 .../dts/{fsl-ls1043a-qds.dts => fs

[U-Boot] [PATCH v4 3/3] armv8/ls1043aqds: Add lpuart support

2016-01-21 Thread Wenbin Song
Add lpuart support using the driver model. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes in v4: - No change --- arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1043a-qds-lpuart.dts | 16 ++ arch/arm/dts/fsl-ls1043a-qds.dtsi | 4 +++ arch/a

[U-Boot] [PATCH v4 2/3] armv8/ls1043aqds: Spilt off board device tree

2016-01-21 Thread Wenbin Song
Move new /chosen node out of the board device tree. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- Changes in v4: - No change --- arch/arm/dts/Makefile| 2 +- arch/arm/dts/fsl-ls1043a-qds-duart.dts | 16 .../dt

[U-Boot] [PATCH v4 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes

2016-01-21 Thread Wenbin Song
From: Shaohui Xie Set Board Configuration Register to select the lpuart pins of various muxes. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- Changes in v4: - remove the blank line and ending period -

Re: [U-Boot] [PATCH v2 3/3] armv8/ls1043aqds: Add lpuart support

2016-01-20 Thread Wenbin Song
Hi: all, This patch depends on the series patches(http://patchwork.ozlabs.org/patch/567250/). Regards Wenbin Song -Original Message- From: Wenbin Song [mailto:wenbin.s...@nxp.com] Sent: Wednesday, January 20, 2016 8:26 PM To: york...@freescale.com; Mingkai Hu <mingkai...@nxp.

Re: [U-Boot] [PATCH v2 2/3] armv8/ls1043aqds: Spilt off board device tree

2016-01-20 Thread Wenbin Song
Hi: all, This patch depends on the series patches(http://patchwork.ozlabs.org/patch/567250/). Regards Wenbin Song -Original Message- From: Wenbin Song [mailto:wenbin.s...@nxp.com] Sent: Wednesday, January 20, 2016 8:26 PM To: york...@freescale.com; Mingkai Hu <mingkai...@nxp.

Re: [U-Boot] [PATCH v2 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes

2016-01-20 Thread Wenbin Song
Hi: all, This patch depends on the series patches(http://patchwork.ozlabs.org/patch/567250/). Regards Wenbin Song -Original Message- From: Wenbin Song [mailto:wenbin.s...@nxp.com] Sent: Wednesday, January 20, 2016 8:26 PM To: york...@freescale.com; Mingkai Hu <mingkai...@nxp.

[U-Boot] (no subject)

2016-01-20 Thread Wenbin Song
These patches depend on the series patches(http://patchwork.ozlabs.org/patch/567250/). ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 2/3] armv8/ls1043aqds: Spilt off board device tree

2016-01-20 Thread Wenbin Song
Move new /chosen node out of the board device tree. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/fsl-ls1043a-qds-duart.dts | 20 ++ arch/arm/dts/fsl-ls1043a-qds.dts | 124 - ar

[U-Boot] [PATCH v2 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes

2016-01-20 Thread Wenbin Song
From: Shaohui Xie Set Board Configuration Register to select the lpuart pins of various muxes. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- board/freescale/ls1043aqds/ls1043aqds.c | 15 +++

[U-Boot] [PATCH v2 3/3] armv8/ls1043aqds: Add lpuart support

2016-01-20 Thread Wenbin Song
Add lpuart support using the driver model. Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1043a-qds-lpuart.dts | 20 arch/arm/dts/fsl-ls1043a.dtsi | 54 + c

Re: [U-Boot] [PATCH 2/4] armv8/ls1043aqds: Add lpuart defconfig

2016-01-19 Thread Wenbin Song
Hi: Bin, Could you tell me which tree your patches have been merged into ? Regards Wenbin Song -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Tuesday, January 19, 2016 4:03 PM To: Wenbin Song <wenbin.s...@nxp.com> Cc: York Sun <york...@freescale.com&

Re: [U-Boot] [PATCH 4/4] armv8/ls1043aqds: Initizlize NS16550 if enalbed LPUART

2016-01-19 Thread Wenbin Song
T_IER, ier & UART_IER_UUE); } else init_port(device); device->con->write = early_serial8250_write; return 0; } Regards Wenbin Song -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Tuesday, January 19, 2016 4:08 PM To: Wenbin Song

Re: [U-Boot] [PATCH 4/4] armv8/ls1043aqds: Initizlize NS16550 if enalbed LPUART

2016-01-19 Thread Wenbin Song
Hi:Bin Thanks for your advice! I realize that I can use the lpuart as earlycon on kernel . So I will remove this patch on next vesion. Thanks Wenbin Song Sent from my iPhone > On Jan 19, 2016, at 18:42, Bin Meng <bmeng...@gmail.com> wrote: > > Hi Wenbin, > >> On T

[U-Boot] [PATCH 3/4] armv8/ls1043aqds: Fix CONFIG_LPUART

2016-01-18 Thread Wenbin Song
From: songwenbin <wenbin.s...@freescale.com> If configured CONFIG_LPUART, should undefine the NS16550 Signed-off-by: Wenbin Song <wenbin.s...@nxp.com> --- include/configs/ls1043aqds.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/ls1043aqds.h b/inc

[U-Boot] [PATCH 4/4] armv8/ls1043aqds: Initizlize NS16550 if enalbed LPUART

2016-01-18 Thread Wenbin Song
From: Wenbin Song <wenbin.s...@freescale.com> Need to initialize ns16550 to support earlycon on kernel. Signed-off-by: Wenbin Song <wenbin.s...@freescale.com> Signed-off-by: Mingkai Hu <mingkai...@freescale.com> --- board/freescale/ls1043aqds/ls1043aqds.c | 12 +++

[U-Boot] [PATCH 1/4] armv8/ls1043aqds: added lpuart support

2016-01-18 Thread Wenbin Song
From: Shaohui Xie Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- board/freescale/ls1043aqds/ls1043aqds.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/board/freescale/ls1043aqds/ls1043aqds.c

[U-Boot] [PATCH 2/4] armv8/ls1043aqds: Add lpuart defconfig

2016-01-18 Thread Wenbin Song
--- configs/ls1043aqds_lpuart_defconfig | 8 1 file changed, 8 insertions(+) create mode 100644 configs/ls1043aqds_lpuart_defconfig diff --git a/configs/ls1043aqds_lpuart_defconfig b/configs/ls1043aqds_lpuart_defconfig new file mode 100644 index 000..ca06abe --- /dev/null +++