[U-Boot] [PATCH] powerpc/srio-pcie-boot: Adjust addresses for SRIO/PCIE boot

2014-05-15 Thread Liu Gang
requirement. So for the 768KB u-boot image, the inbound window cannot be set with 0xfff4 base address and 0xc size, it should be extended to 1MB size and the base address can be aligned with the size. Signed-off-by: Liu Gang gang@freescale.com --- include/configs/B4860QDS.h | 10

[U-Boot] [PATCH] powerpc/srio-pcie-boot: Avoid the NOR_BOOT macro when boot from SRIO/PCIE

2013-06-28 Thread Liu Gang
. There will be right TLB entries configurations when avoid the NOR_BOOT branch and set the boot window from 0xfff0 with 1M size space. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/start.S |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch

[U-Boot] [PATCH 1/3] powerpc/srio: Update the SRIO LIODN registers and ID table macro

2013-06-25 Thread Liu Gang
. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/include/asm/fsl_liodn.h |7 +++ arch/powerpc/include/asm/immap_85xx.h | 16 2 files changed, 23 insertions(+) diff --git a/arch/powerpc/include/asm/fsl_liodn.h b/arch/powerpc/include/asm/fsl_liodn.h index

[U-Boot] [PATCH 3/3] powerpc/t4: Correct LIODN assignment for SRIO

2013-06-25 Thread Liu Gang
For T4 platform, the SRIO LIODN registers are in SRIO address space and not in GUTs. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/t4240_ids.c |4 ++-- arch/powerpc/include/asm/config_mpc85xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions

[U-Boot] [PATCH 2/3] powerpc/b4860: Correct LIODN assignment for SRIO

2013-06-25 Thread Liu Gang
For B4, the SRIO LIODN registers are in SRIO address space and not in GUTs. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/b4860_ids.c |4 ++-- arch/powerpc/include/asm/config_mpc85xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 6/6 v2] powerpc/t4qds: Slave module for boot from SRIO and PCIE

2013-05-07 Thread Liu Gang
by make _SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF8 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- changes

Re: [U-Boot] [PATCH 2/7] powerpc/boot: Change the macro of Boot from SRIO and PCIE master module

2013-05-07 Thread Liu Gang
based on your comments. Thanks a lot! Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/6 v2] powerpc/doc: Update the README.srio-pcie-boot-corenet

2013-05-07 Thread Liu Gang
1. Misalignment will be found in the doc/README.srio-pcie-boot-corenet file when the tabs are set to 8 characters. And the standard for u-boot should be 8 character tabs! So this issue should be amended. 2. Add a NOTE for the ENV parameters of the Slave. Signed-off-by: Liu Gang gang

[U-Boot] [PATCH 2/6 v2] powerpc/boot: Change the macro of Boot from SRIO and PCIE master module

2013-05-07 Thread Liu Gang
SRIO and PCIE. Signed-off-by: Liu Gang gang@freescale.com --- changes for v2: - Add the description for why the old macro should be modified and removed from the config_mpc85xx.h file. README|3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c

[U-Boot] [PATCH 4/6 v2] powerpc/b4860qds: Slave module for boot from SRIO and PCIE

2013-05-07 Thread Liu Gang
by make _SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF8 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com

[U-Boot] [PATCH 3/6 v2] powerpc/b4860qds: Enable master module for boot from SRIO and PCIE

2013-05-07 Thread Liu Gang
SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- changes for v2: - No include/configs/B4860QDS.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/B4860QDS.h b/include/configs

[U-Boot] [PATCH 5/6 v2] powerpc/t4qds: Enable master module for Boot from SRIO and PCIE

2013-05-07 Thread Liu Gang
/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- changes for v2: - No include/configs/t4qds.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index

Re: [U-Boot] [PATCH 2/7] powerpc/boot: Change the macro of Boot from SRIO and PCIE master module

2013-05-05 Thread Liu Gang
On Tue, 2013-04-30 at 17:28 -0500, Andy Fleming wrote: On Fri, Mar 8, 2013 at 2:41 AM, Liu Gang gang@freescale.com wrote: Change the macro CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER to CONFIG_SRIO_PCIE_BOOT_MASTER, remove them from arch/powerpc/include/asm

[U-Boot] [PATCH 7/7] powerpc/t4qds: Slave module for boot from SRIO and PCIE

2013-03-08 Thread Liu Gang
by make _SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF8 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- arch

[U-Boot] [PATCH 1/7] powerpc/doc: Update the README.srio-pcie-boot-corenet

2013-03-08 Thread Liu Gang
1. Misalignment will be found in the doc/README.srio-pcie-boot-corenet file when the tabs are set to 8 characters. And the standard for u-boot should be 8 character tabs! So this issue should be amended. 2. Add a NOTE for the ENV parameters of the Slave. Signed-off-by: Liu Gang gang

[U-Boot] [PATCH 2/7] powerpc/boot: Change the macro of Boot from SRIO and PCIE master module

2013-03-08 Thread Liu Gang
-by: Liu Gang gang@freescale.com --- README|3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c |2 +- arch/powerpc/cpu/mpc8xxx/srio.c |4 ++-- arch/powerpc/include/asm/config_mpc85xx.h |4 drivers/pci/fsl_pci_init.c|6

[U-Boot] [PATCH 4/7] powerpc/b4860qds: Enable master module for boot from SRIO and PCIE

2013-03-08 Thread Liu Gang
SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- include/configs/B4860QDS.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index b09119a

[U-Boot] [PATCH 5/7] powerpc/b4860qds: Slave module for boot from SRIO and PCIE

2013-03-08 Thread Liu Gang
by make _SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF8 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com

[U-Boot] [PATCH 3/7] powerpc/b4860qds: Add the tlb entries for SRIO interfaces

2013-03-08 Thread Liu Gang
CONFIG_SYS_SRIO2_MEM_PHYS 0xc3000ull Signed-off-by: Liu Gang gang@freescale.com --- board/freescale/b4860qds/tlb.c | 19 +-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/board/freescale/b4860qds/tlb.c b/board/freescale/b4860qds/tlb.c index 373cb78

[U-Boot] [PATCH 6/7] powerpc/t4qds: Enable master module for Boot from SRIO and PCIE

2013-03-08 Thread Liu Gang
/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- include/configs/t4qds.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index 2c665b8..a0c96f2 100644

[U-Boot] [PATCH] powerpc/b4: Fix the wrong register offset of B4 PCIE module

2013-02-25 Thread Liu Gang
-by: Liu Gang gang@freescale.com --- arch/powerpc/include/asm/immap_85xx.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h index 4eb3f79..1c8d1ac 100644 --- a/arch/powerpc/include/asm/immap_85xx.h

[U-Boot] [PATCH] powerpc/boot: Change the compile macro for SRIO PCIE boot master module

2012-10-15 Thread Liu Gang
should be compiled into the board u-boot image. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc8xxx/srio.c |4 +++- arch/powerpc/include/asm/config_mpc85xx.h |4 drivers/pci/fsl_pci_init.c|6 +++--- 3 files changed, 10 insertions(+), 4

[U-Boot] [PATCH] powerpc/srio: Workaround for srio erratrm a004034

2012-09-29 Thread Liu Gang
(PnESCSR[PU] never deasserts) because of scenario 1. Impact: SRIO port may downtrain to 1x, or may fail to complete link initialization. Once a port completes link initialization successfully, it will operate normally. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu

Re: [U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-14 Thread Liu Gang
Hi, Andy, I have sent the updated patches to the patchwork. Do you have more comments? And would you please help to check and apply the patches? http://patchwork.ozlabs.org/patch/176170/ Thanks a lot! Best Regards! Liu Gang On Thu, 2012-08-09 at 23:15 +0800, Liu Gang wrote: On Wed, 2012-08

[U-Boot] [PATCH 1/6 v2] powerpc/corenet_ds: Update README.srio-boot-corenet

2012-08-09 Thread Liu Gang
need to specify which SRIO port it will boot from. 2. All slave's cores should be in hold off. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - No. doc/README.srio-boot-corenet | 70 -- 1 files changed, 33 insertions(+), 37

[U-Boot] [PATCH 2/6 v2] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-09 Thread Liu Gang
and set the bootmaster variable. 2. No longer need to rebuild an image when change the SRIO port for boot from SRIO, just set the corresponding value to bootmaster based on the using SRIO port. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Rebase

[U-Boot] [PATCH 4/6 v2] powerpc/corenet_ds: Update README and README.srio-pcie-boot-corenet

2012-08-09 Thread Liu Gang
Added descriptions about boot from PCIE in the files README and doc/README.srio-pcie-boot-corenet, and changed the name of the doc/README.srio-boot-corenet to doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - No. README

[U-Boot] [PATCH 3/6 v2] powerpc/corenet_ds: Get rid of the CONFIG_SRIOBOOT_SLAVE_PORTx macro

2012-08-09 Thread Liu Gang
the SRIO port for boot from SRIO, just rewrite the new RCW with selected port, then the code will get the port information by reading new RCW. 2. It will be easier to support other boot location options, for example, boot from PCIE. Signed-off-by: Liu Gang

[U-Boot] [PATCH 5/6 v2] powerpc/corenet_ds: Master module for boot from PCIE

2012-08-09 Thread Liu Gang
. 4. Should set the environment variable bootmaster to PCIE1, PCIE2 or PCIE3 using the following command: setenv bootmaster PCIE1 saveenv Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Rebase. - Resolve the building

[U-Boot] [PATCH 6/6 v2] powerpc/corenet_ds: Slave module for boot from PCIE

2012-08-09 Thread Liu Gang
with _SRIO_PCIE_BOOT can support both the boot from SRIO and from PCIE. 3. Updated other macros and documents if needed to add information about boot from PCIE. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Rebase. - Resolve the building breakage

Re: [U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-09 Thread Liu Gang
On Wed, 2012-08-08 at 18:31 -0500, Andy Fleming wrote: On Thu, Jun 7, 2012 at 1:43 AM, Liu Gang gang@freescale.com wrote: Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 +++-- arch/powerpc/cpu/mpc8xxx/srio.c | 137

Re: [U-Boot] [PATCH 1/6] powerpc/corenet_ds: Update README.srio-boot-corenet

2012-08-07 Thread Liu Gang
-06-07 at 14:43 +0800, Liu Gang wrote: Update some descriptions due to the implementation changes: For master: Get rid of the SRIOBOOT_MASTER build target, and to support for serving as a SRIO boot master via environment variable. For slave: 1. When compile the slave image

[U-Boot] [PATCH 3/6] powerpc/corenet_ds: Get rid of the CONFIG_SRIOBOOT_SLAVE_PORTx macro

2012-06-07 Thread Liu Gang
the SRIO port for boot from SRIO, just rewrite the new RCW with selected port, then the code will get the port information by reading new RCW. 2. It will be easier to support other boot location options, for example, boot from PCIE. Signed-off-by: Liu Gang

[U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-06-07 Thread Liu Gang
and set the bootmaster variable. 2. No longer need to rebuild an image when change the SRIO port for boot from SRIO, just set the corresponding value to bootmaster based on the using SRIO port. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx

[U-Boot] [PATCH 1/6] powerpc/corenet_ds: Update README.srio-boot-corenet

2012-06-07 Thread Liu Gang
need to specify which SRIO port it will boot from. 2. All slave's cores should be in hold off. Signed-off-by: Liu Gang gang@freescale.com --- doc/README.srio-boot-corenet | 70 -- 1 files changed, 33 insertions(+), 37 deletions(-) diff

[U-Boot] [PATCH 4/6] powerpc/corenet_ds: Update README and README.srio-pcie-boot-corenet

2012-06-07 Thread Liu Gang
Added descriptions about boot from PCIE in the files README and doc/README.srio-pcie-boot-corenet, and changed the name of the doc/README.srio-boot-corenet to doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang gang@freescale.com --- README| 12 ++-- doc

[U-Boot] [PATCH 6/6] powerpc/corenet_ds: Slave module for boot from PCIE

2012-06-07 Thread Liu Gang
with _SRIO_PCIE_BOOT can support both the boot from SRIO and from PCIE. 3. Updated other macros and documents if needed to add information about boot from PCIE. Signed-off-by: Liu Gang gang@freescale.com --- board/freescale/common/p_corenet/tlb.c | 18

[U-Boot] [PATCH 5/6] powerpc/corenet_ds: Master module for boot from PCIE

2012-06-07 Thread Liu Gang
. 4. Should set the environment variable bootmaster to PCIE1, PCIE2 or PCIE3 using the following command: setenv bootmaster PCIE1 saveenv Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc8xxx/srio.c | 44

Re: [U-Boot] [PATCH 3/4 V2] USB: Drop cache flush bloat in EHCI-HCD

2012-05-29 Thread Liu Gang
not flush cache like the powerpc snooping methods? Thanks! Best Regards! Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MPC8xxx: Define cache ops for USB

2012-05-29 Thread Liu Gang
information about this patch in another mail. Best Regards, Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/8 v4] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-13 Thread Liu Gang-B34182
Hi, Andy, Can you help to apply this set of patches? Thanks a lot. --- Best Regards, Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/8 v4] powerpc/corenet_ds: Correct the compilation errors about ENV

2012-03-08 Thread Liu Gang
:./common/env_flash.c:237: first defined here make[1]: *** [./common/libcommon.o] Error 1 make[1]: Leaving directory `./common' make: *** [./common/libcommon.o] Error 2 Remove the CONFIG_ENV_IS_IN_FLASH if defined CONFIG_ENV_IS_NOWHERE. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 1/8 v4] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-08 Thread Liu Gang
Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Change the subject and commit message. - Remove the offsets in the comments. - Rewrite the struct for the support of two ports and two

[U-Boot] [PATCH 3/8 v4] powerpc/corenet_ds: Document for the boot from SRIO

2012-03-08 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 4/8 v4] powerpc/corenet_ds: Master module for boot from SRIO

2012-03-08 Thread Liu Gang
flash. 3. Master's u-boot image should be generated specifically by make _SRIOBOOT_MASTER_config 4. Master must boot first, and then slave can be powered on. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes

[U-Boot] [PATCH 8/8 v4] powerpc/corenet_ds: Slave core in holdoff when boot from SRIO

2012-03-08 Thread Liu Gang
releasing. 2. Check the SRIO port status when release slave core, if no errors, will implement the process of the slave core's releasing. Slave needs to: 1. Set all the cores in holdoff by RCW. 2. Be powered on before master's boot. Signed-off-by: Liu Gang gang

[U-Boot] [PATCH 5/8 v4] powerpc/corenet_ds: Slave module for boot from SRIO

2012-03-08 Thread Liu Gang
configurations. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Use (void *) instead of (u32) when calling out_be32(). - Use NOR flash instead of Nor flash. - Get rid of the base

[U-Boot] [PATCH 6/8 v4] powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

2012-03-08 Thread Liu Gang
window covered slave's ucode stored in master's memory space. Slave needs to: 1. Set a specific TLB entry in order to fetch ucode from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode. Signed-off-by: Liu Gang gang@freescale.com Signed-off

[U-Boot] [PATCH 7/8 v4] powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

2012-03-08 Thread Liu Gang
from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode and ENV. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Update the README for CONFIG_ENV_IS_IN_REMOTE

Re: [U-Boot] [PATCH 1/8 v3] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-07 Thread Liu Gang
tests and update the patches based on your comment. Thanks a lot! Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/8 v3] powerpc/corenet_ds: Correct the compilation errors about ENV

2012-03-06 Thread Liu Gang
:./common/env_flash.c:237: first defined here make[1]: *** [./common/libcommon.o] Error 1 make[1]: Leaving directory `./common' make: *** [./common/libcommon.o] Error 2 Remove the CONFIG_ENV_IS_IN_FLASH if defined CONFIG_ENV_IS_NOWHERE. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 5/8 v3] powerpc/corenet_ds: Slave module for boot from SRIO

2012-03-06 Thread Liu Gang
configurations. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Use (void *) instead of (u32) when calling out_be32(). - Use NOR flash instead of Nor flash. - Get rid of the base

[U-Boot] [PATCH 6/8 v3] powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

2012-03-06 Thread Liu Gang
window covered slave's ucode stored in master's memory space. Slave needs to: 1. Set a specific TLB entry in order to fetch ucode from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode. Signed-off-by: Liu Gang gang@freescale.com Signed-off

[U-Boot] [PATCH 7/8 v3] powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

2012-03-06 Thread Liu Gang
from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode and ENV. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Update the README for CONFIG_ENV_IS_IN_REMOTE

[U-Boot] [PATCH 3/8 v3] powerpc/corenet_ds: Document for the boot from SRIO

2012-03-06 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 4/8 v3] powerpc/corenet_ds: Master module for boot from SRIO

2012-03-06 Thread Liu Gang
flash. 3. Master's u-boot image should be generated specifically by make _SRIOBOOT_MASTER_config 4. Master must boot first, and then slave can be powered on. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes

[U-Boot] [PATCH 8/8 v3] powerpc/corenet_ds: Slave core in holdoff when boot from SRIO

2012-03-06 Thread Liu Gang
releasing. 2. Check the SRIO port status when release slave core, if no errors, will implement the process of the slave core's releasing. Slave needs to: 1. Set all the cores in holdoff by RCW. 2. Be powered on before master's boot. Signed-off-by: Liu Gang gang

[U-Boot] [PATCH 1/8 v3] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-06 Thread Liu Gang
Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Change the subject and commit message. - Remove the offsets in the comments. - Rewrite the struct for the support of two ports and two

Re: [U-Boot] SRIO patches

2012-02-20 Thread Liu Gang
Regards, Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 6/8 v2] powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

2012-01-17 Thread Liu Gang
window covered slave's ucode stored in master's memory space. Slave needs to: 1. Set a specific TLB entry in order to fetch ucode from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode. Signed-off-by: Liu Gang gang@freescale.com Signed-off

[U-Boot] [PATCH 1/8 v2] powerpc/srio: Rewrite the struct ccsr_rio

2012-01-17 Thread Liu Gang
Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Change the subject and commit message. - Remove the offsets in the comments. - Rewrite the struct for the support of two ports and two

[U-Boot] [PATCH 2/8 v2] powerpc/corenet_ds: Correct the compilation errors about ENV

2012-01-17 Thread Liu Gang
:./common/env_flash.c:237: first defined here make[1]: *** [./common/libcommon.o] Error 1 make[1]: Leaving directory `./common' make: *** [./common/libcommon.o] Error 2 Remove the CONFIG_ENV_IS_IN_FLASH if defined CONFIG_ENV_IS_NOWHERE. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 3/8 v2] powerpc/corenet_ds: Document for the boot from SRIO

2012-01-17 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2

[U-Boot] [PATCH 4/8 v2] powerpc/corenet_ds: Master module for boot from SRIO

2012-01-17 Thread Liu Gang
flash. 3. Master's u-boot image should be generated specifically by make _SRIOBOOT_MASTER_config 4. Master must boot first, and then slave can be powered on. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes

[U-Boot] [PATCH 5/8 v2] powerpc/corenet_ds: Slave module for boot from SRIO

2012-01-17 Thread Liu Gang
configurations. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Use (void *) instead of (u32) when calling out_be32(). - Use NOR flash instead of Nor flash. - Get rid of the base

[U-Boot] [PATCH 7/8 v2] powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

2012-01-17 Thread Liu Gang
from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode and ENV. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- Changes in v2: - Subject changed to powerpc/corenet_ds. - Update the README for CONFIG_ENV_IS_IN_REMOTE

[U-Boot] [PATCH 8/8 v2] powerpc/corenet_ds: Slave core in holdoff when boot from SRIO

2012-01-17 Thread Liu Gang
releasing. 2. Check the SRIO port status when release slave core, if no errors, will implement the process of the slave core's releasing. Slave needs to: 1. Set all the cores in holdoff by RCW. 2. Be powered on before master's boot. Signed-off-by: Liu Gang gang

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-12 Thread Liu Gang
Dear Wolfgang, On Wed, 2012-01-11 at 08:27 +0100, Wolfgang Denk wrote: Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code that uses it? [Liu Gang-B34182] Sorry I documented this definition in [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

Re: [U-Boot] [PATCH 4/8] powerpc/boot: Master module for boot from SRIO

2012-01-12 Thread Liu Gang
structs instead. - Get rid of hard coded magic numbers. #define the needed values in a readable way. Thanks, will modify. Best Regards, Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-12 Thread Liu Gang
. Best Regards, Liu Gang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-12 Thread Liu Gang
Hi, Kumar, On Thu, 2012-01-12 at 10:47 -0600, Kumar Gala wrote: On Jan 10, 2012, at 5:42 AM, Liu Gang wrote: + u32 didcar; /* 0xc - Device Identity CAR */ Drop the '0xc' prefix in the comment, same comment for all registers. Thanks, I'll rewrite this struct. Best Regards, Liu

[U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Liu Gang
:./common/env_flash.c:237: first defined here make[1]: *** [./common/libcommon.o] Error 1 make[1]: Leaving directory `./common' make: *** [./common/libcommon.o] Error 2 There will be a confict if defined CONFIG_ENV_IS_NOWHERE and CONFIG_ENV_IS_IN_FLASH. Signed-off-by: Liu Gang gang@freescale.com

[U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Liu Gang
in master's memory space. Slave needs to: 1. Set a specific TLB entry in order to fetch ucode from master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch

[U-Boot] [PATCH 3/8] powerpc/boot: Document for the boot from SRIO

2012-01-10 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- doc/README.srio

[U-Boot] [PATCH 4/8] powerpc/boot: Master module for boot from SRIO

2012-01-10 Thread Liu Gang
flash. 3. Master's u-boot image should be generated specifically by make _SRIOBOOT_MASTER_config 4. Master must boot first, and then slave can be powered on. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch

[U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-10 Thread Liu Gang
. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/include/asm/immap_85xx.h | 338 - 1 files changed, 202 insertions(+), 136 deletions(-) diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h index 92da130

[U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang
with the TargetID SRIO1 or SRIO2 for the boot. 4. Slave's u-boot image should be generated specifically by make _SRIOBOOT_SLAVE_config. This will set SYS_TEXT_BASE=0xFFF8 and other configurations. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie

[U-Boot] [PATCH 7/8] powerpc/boot: Slave reads ENV from master when boot from SRIO

2012-01-10 Thread Liu Gang
master. 2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode and ENV. Signed-off-by: Liu Gang gang@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc8xxx/srio.c | 14 +++ common/Makefile |1 + common

[U-Boot] [PATCH 8/8] powerpc/boot: Slave core in holdoff when boot from SRIO

2012-01-10 Thread Liu Gang
releasing. 2. Check the SRIO port status when release slave core, if no errors, will implement the process of the slave core's releasing. Slave needs to: 1. Set all the cores in holdoff by RCW. 2. Be powered on before master's boot. Signed-off-by: Liu Gang gang

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Liu Gang-B34182
-Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 1:03 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when

Re: [U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Liu Gang-B34182
Hi, Timur, Thanks for your comments. Please find my replies inline. Best Regards, Liu Gang -Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 12:48 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang-B34182
-Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 1:11 AM To: Liu Gang-B34182 Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang Roy-R61911; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang-B34182
Thanks very much! I'll update the patch based on your comments. Best Regards, Liu Gang -Original Message- From: Tabi Timur-B04825 Sent: Wednesday, January 11, 2012 11:00 AM To: Liu Gang-B34182 Cc: 'u-boot@lists.denx.de'; 'alexandre.boun...@idt.com'; Gala Kumar-B11780; Zang Roy-R61911