The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in
set_if_mode(), and the serdes PCS configuration are wrong, this patch uses
the correct settings took from Linux.
Signed-off-by: Shaohui Xie <shaohui@nxp.com>
---
changes in v2:
1. code style changes for readabil
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in
set_if_mode(), and the serdes PCS configuration are wrong, this patch uses
the correct settings took from Linux.
Signed-off-by: Shaohui Xie <shaohui@nxp.com>
---
not sure what was wrong, the patch did no
> On 08/26/2016 04:40 AM, Gong Qianyu wrote:
> > From: Shaohui Xie <shaohui@nxp.com>
> >
> > The CONFIG_STANDALONE_LOAD_ADDR is set to 0x8030 by default.
> >
> > Signed-off-by: Shaohui Xie <shaohui@nxp.com>
> > Signed-off-by: Gong
> -Original Message-
> From: york sun
> Sent: Saturday, August 27, 2016 12:08 AM
> To: Qianyu Gong <qianyu.g...@nxp.com>; u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Mingkai Hu
> <mingkai...@nxp.com>; Shaohui Xie
Hi Ying,
The commit message should be more clear about what is wrong.
Like when using protocols to support 10G on MAC9 and MAC10, these
MACs should not be identified as 1G interface, otherwise, one MAC will be
Listed as two Ethernet ports, for ex. MAC9 will be listed as FM1@TGEC1
And FM1@DTSEC9.
> -Original Message-
> From: Joe Hershberger [mailto:joe.hershber...@gmail.com]
> Sent: Wednesday, January 27, 2016 11:37 PM
> To: shaohui 谢 <shh@gmail.com>
> Cc: u-boot <u-boot@lists.denx.de>; Joe Hershberger <joe.hershber...@ni.com>;
> Shaohui
> -Original Message-
> From: Gong Qianyu [mailto:qianyu.g...@nxp.com]
> Sent: Thursday, December 24, 2015 4:40 PM
> To: u-boot@lists.denx.de
> Cc: Mingkai Hu; r58...@freescale.com; b48...@freescale.com;
> shaohui@freescale.com; wenbin.s...@freescale.com;
> b07...@freescale.com; Gong
istinguish SGMII from other connections should be the way to program TBI
ANA,
This is also follow the AN3869.
Best Regards,
Shaohui Xie
> -Original Message-
> From: York Sun [mailto:york...@freescale.com]
> Sent: Monday, December 14, 2015 11:55 AM
> To: 李远正; Xie Shaohui-B
> -Original Message-
> From: York Sun [mailto:york...@freescale.com]
> Sent: Thursday, November 26, 2015 1:03 AM
> To: Xie Shaohui-B21989; Ciubotariu Codrin Constantin-B43658
> Cc: Yuanzheng Li; u-boot@lists.denx.de; Liu Dave-R63238
> Subject: Re: [PATCH] eth: dtsec: fix TBI ANA setting
Please ignore this patch, I just saw some Freescale internal changes, the patch
is obsolete.
Best Regards,
Shaohui Xie
> -Original Message-
> From: shh@gmail.com [mailto:shh@gmail.com]
> Sent: Tuesday, November 10, 2015 7:12 PM
> To: u-boot@lists.denx.de; Sun York
> On 08/25/2015 01:30 AM, shh@gmail.com wrote:
> > From: Shaohui Xie <shaohui@freescale.com>
> >
> > A U-boot CMD vdd_read is implemented to read Core voltage.
>
> Can you explain why you need this command? You already get the voltage if
> you run bdinf
ubject: Re: [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2
>
> On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote:
> > From: Shaohui Xie <shaohui@freescale.com>
> >
> > MDIO controller base on FMAN2 was defined as CONFIG_SYS_FSL_FM2_ADDR
> >
On 04/27/2015 12:28 AM, shh@gmail.com wrote:
From: Shaohui Xie shaohui@freescale.com
1. board/freescale/t4qds/t4_rcw.cfg
1.8GHz support is requested as default frequency, so update the rcw.
2. remove un-used configs
configs/T4160QDS_SPIFLASH_defconfig
configs
was not.
Use the GOT to get the proper post-relocation offsets.
Fixes: 96d2bb952bb (powerpc/mpc85xx: Don't relocate exception vectors)
Signed-off-by: Scott Wood scottw...@freescale.com
Cc: Alexander Graf ag...@suse.de
Cc: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc85xx/start.S
Tested on T4240QDS_NAND and T4240QDS_SDCARD, the hang issue fixed.
Thanks!
Best Regards,
Shaohui Xie
-Original Message-
From: Wood Scott-B07421
Sent: Friday, April 24, 2015 9:02 AM
To: u-boot@lists.denx.de; Sun York-R58495
Cc: Wood Scott-B07421; Alexander Graf; Xie Shaohui-B21989
/* IFC */
#define CONFIG_SYS_FSL_IFC_LE
+#define CONFIG_SYS_MEMAC_LITTLE_ENDIAN
It seems tedious to have to define this. Can't you just use the functions
available?
[S.H] To use a define is based on a concern that we cannot assume the I/O
access of an IP share same endianness as
Hello Joe,
Thank you for reviewing this patch!
Please see inline.
Best Regards,
Shaohui Xie
From: Joe Hershberger [mailto:joe.hershber...@gmail.com]
Sent: Friday, March 20, 2015 2:04 AM
To: Sun York-R58495
Cc: u-boot; Joe Hershberger; Xie Shaohui-B21989
Subject: Re: [U-Boot] [PATCH 15/28] net
This patch series are based on patch:
http://patchwork.ozlabs.org/patch/409932/
Best Regards,
Shaohui Xie
-Original Message-
From: shh@gmail.com [mailto:shh@gmail.com]
Sent: Thursday, November 13, 2014 11:26 AM
To: u-boot@lists.denx.de; Sun York-R58495
Cc: Xie Shaohui
of the port in hwconfig, otherwise, fiber cable will be
assumed to be used for the port.
For ex. if four XFI ports will both use copper cable, the hwconfig
should contain:
fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm1_10g3,fm1_10g4
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
changes for V2:
add XFI
to add private stuff here.
Best Regards,
Shaohui Xie
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
] OK. I'll put these information include 'hwconfig' settings into README
files of
T4QDS T2QDS respectively.
Thanks!
Best Regards,
Shaohui Xie
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Please ignore this patch, it has some info only meaningful for Freescale.
Best Regards,
Shaohui Xie
-Original Message-
From: shh@gmail.com [mailto:shh@gmail.com]
Sent: Friday, July 25, 2014 4:55 PM
To: u-boot@lists.denx.de
Cc: Xie Shaohui-B21989
Subject: [PATCH] powerpc
Hi, York,
There is already a patch sent upstream to fix this bug, the state is under
review.
http://patchwork.ozlabs.org/patch/364807/
Best Regards,
Shaohui Xie
-Original Message-
From: Sun York-R58495
Sent: Wednesday, July 23, 2014 5:16 AM
To: Xie Shaohui-B21989
Cc: Vasili
Please ignore this patch. Will send a new version.
Best Regards,
Shaohui Xie
-Original Message-
From: shh@gmail.com [mailto:shh@gmail.com]
Sent: Saturday, March 22, 2014 4:08 PM
To: u-boot@lists.denx.de
Cc: Xie Shaohui-B21989
Subject: [PATCH] powerpc/t4240: updated RCW
:
From: Shaohui Xie shaohui@freescale.com
fixed-link is used in kernel for PHY-less MAC, so introduce this
structure that U-boot can use it to fixup dtb dynamically.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/phy.h | 8
1 file changed, 8 insertions
.
Best Regards,
Shaohui Xie
-Original Message-
From: Sharma Bhupesh-B45370
Sent: Wednesday, November 20, 2013 4:31 PM
To: 'shh@gmail.com'; 'u-boot@lists.denx.de'; sun york-R58495
Cc: Xie Shaohui-B21989; Goel Arpit-B44344
Subject: RE: [u-boot-release] [PATCH] net/phy: Add
Without this patch, SPD access will fail which leads to DDR init fail.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/P2041RDB.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this. Also remove const from
arrays define used by vsc3316_config.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
changes for V3:
1. rebased on top of master branch
From: Shaohui Xie shaohui@freescale.com
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this. Also remove const from
arrays define used by vsc3316_config.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
changes for V3
From: Shaohui Xie shaohui@freescale.com
When using QSGMII protocols, the first lane and third lane on each slot
need to be swapped.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
resend for patchwork to catch.
board/freescale/t4qds/t4240qds.c | 39
From: Shaohui Xie shaohui@freescale.com
Also some fix for QSGMII.
1. fix QSGMII configure of Serdes2.
2. fix PHY address of QSGMII MAC9 MAC10 for each FMAN.
3. fix dtb for QSGMII interface.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
resend for patchwork to catch.
arch
When using QSGMII protocols, the first lane and third lane on each slot
need to be swapped.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4qds/t4qds.c | 39 +--
1 file changed, 37 insertions(+), 2 deletions(-)
diff --git a/board
Also some fix for QSGMII.
1. fix QSGMII configure of Serdes2.
2. fix PHY address of QSGMII MAC9 MAC10 for each FMAN.
3. fix dtb for QSGMII interface.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc85xx/t4240_serdes.c | 14 +++---
board/freescale/t4qds/eth.c
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this. Also remove const from
arrays define used by vsc3316_config.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
changes for V2:
1. changed subject;
2. fix broken on B4xxx
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/common/vsc3316_3308.c | 2 +-
board/freescale/common/vsc3316_3308.h | 2 +-
board/freescale/t4qds
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/common/vsc3316_3308.c | 2 +-
board/freescale/common/vsc3316_3308.h | 2 +-
board/freescale/t4qds
Since the parameters need to be modified according to different Serdes
protocols at runtime, the const will block this.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/common/vsc3316_3308.c | 2 +-
board/freescale/common/vsc3316_3308.h | 2 +-
board/freescale/t4qds
Use a default RCW of protocol 0x2A_0x98, and a PBI configure file which
uses CPC1 as 512KB SRAM, then PBL tool can be used on B4860 to build a
pbl boot image.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/b4860qds/b4_pbi.cfg | 27 +++
board
) board has different clock setting on two banks, PCBA can
be used to distinguish the boards, PCBA could be increased on
RevD(x) board in future, but RevC(x) board will never has PCBA 4.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb/p2041rdb.c | 15 ++-
1
) board has different clock setting on two banks, PCBA can
be used to distinguish the boards, PCBA could be increased on
RevD(x) board in future, but RevC(x) board will never has PCBA 4.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb/p2041rdb.c | 15 ++-
1
That the pblimage can be built according to the SYS_TEXT_BASE, then building a
different size of pblimage is available.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
tools/pblimage.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/pblimage.c b/tools
partition, the file 'file-jffs2' should be
page aligned.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
resent due to patch work did not capture the patch.
arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 +++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++
arch/powerpc/include/asm
partition, the file 'file-jffs2' should be
page aligned.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
Sorry!
I have to resent since I still cannot find the patch in patch work.
arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 +++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++
arch
T4240QDS uses a SST instead of SPANSION SPI flash.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/t4qds.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index d58c24c..b3eaf5d 100644
Signed-off-by: Shaohui Xie shaohui@freescale.com
Signed-off-by: Roy Zang tie-fei.z...@freescale.com
---
include/configs/t4qds.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index b3eaf5d..5f0286d 100644
1. use Payload length check disable when enable MAC;
2. add XGMII support for setting MAC interface mode;
3. only enable auto negotiation for Non-XGMII mode;
4. return 0x if clause 22 is used to read 10G phy_id;
Signed-off-by: Shaohui Xie shaohui@freescale.com
Signed-off-by: Roy Zang tie
partition, the file 'file-jffs2' should be
page aligned.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++
arch/powerpc/include/asm/config_mpc85xx.h |4
3 files changed, 17
we use dynamic index for 10G ports instead of hardcoded enum value
when doing mdio mux for 10G ports.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/corenet_ds/eth_superhydra.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/board
this, we change the default setting to peripheral mode. Ideally,
we'd set it to OTG mode, but currently there is no OTG support for
these boards.
Setting the hwconfig variable will also update the device tree, and so
Linux will configure the port for peripheral mode as well.
Signed-off-by: Shaohui
PC board has different serdes clock setting with PB board, it uses same
serdes frequency setting on bank2 as on bank1. PC board can be distingushed
from PB board by checking CPLD version, if running on PC board, then fix
the serdes reference clock frequency of bank2.
Signed-off-by: Shaohui Xie
PC board has different serdes clock setting with PB board, it uses same
serdes frequency setting on bank2 as on bank1. PC board can be distingushed
from PB board by checking CPLD version, if running on PC board, then fix
the serdes reference clock frequency of bank2.
Signed-off-by: Shaohui Xie
When CONFIG_SYS_FSL_QORIQ_CHASSIS2 is not defined, QMAN frequency will not
be initialized, and QMAN will have a wrong frequency display.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc85xx/speed.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff
Also update README.pblimage for p5040.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
changes for v2:
1. merge NAND/SD/SPI to one patch;
2. update README.pblimage for p5040;
boards.cfg |3 +++
doc/README.pblimage |6 +++---
2 files changed, 6 insertions(+), 3
Provided a default RCW for P5040, then it can use PBL to build
ramboot image.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/corenet_ds/rcw_p5040ds.cfg | 11 +++
include/configs/corenet_ds.h |2 ++
2 files changed, 13 insertions(+), 0
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
boards.cfg |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index 8cf4936..314afa2 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -856,6 +856,7 @@ P5020DS_SPIFLASH powerpc mpc85xx
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
boards.cfg |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index e4b0d44..8cf4936 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -855,6 +855,7 @@ P5020DS_SECURE_BOOT powerpc mpc85xx
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
boards.cfg |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index 314afa2..710942f 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -857,6 +857,7 @@ P5020DS_SRIO_PCIE_BOOT powerpc
TN80xx has same PHY ID as TN2020, but it needs different setting to register
30.93 which used to select line, so we read register 30.32 which has
bit 15:12 to indicate PHY hardware version, for TN20xx we will get 3 or 2,
for TN80xx we will get 5 or 4.
Signed-off-by: Shaohui Xie shaohui
Lanes mux currently is configured in eth.c when initializing FMAN ethernet
ports, but SRIO and PCIe also need lanes mux, so we move the lanes mux to
p2041rdb.c which implements a board-specific initialization and will be
called at early stage.
Signed-off-by: Shaohui Xie shaohui@freescale.com
From: shaohui xie shaohui@freescale.com
TBI PHY address (TBIPA) register is set in general frame manager
phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c, and
it is supposed to set TBIPA on FM1@DTSEC1 in case of FM1@DTSEC1
isn't used directly, which provides MDIO for other ports. So
command is not
necessary for SPANSION, though it's harmless for SPANSION, it will stop write
operation on flashes like SST, so we remove the check.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
drivers/spi/fsl_espi.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git
Provides a tool to build boot Image for PBL(Pre boot loader) which is
used on Freescale CoreNet SoCs, PBL can be used to load some instructions
and/or data for pre-initialization. The default output image is u-boot.pbl,
for more details please refer to doc/README.pblimage.
Signed-off-by: Shaohui
-by: Shaohui Xie shaohui@freescale.com
Acked-by: Timur Tabi ti...@freescale.com
---
board/freescale/p2041rdb/eth.c | 39 +++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/board/freescale/p2041rdb/eth.c b/board/freescale/p2041rdb/eth.c
index
Provides a tool to build boot Image for PBL(Pre boot loader) which is
used on Freescale CoreNet SoCs, PBL can be used to load some instructions
and/or data for pre-initialization. The default output image is u-boot.pbl,
for more details please refer to doc/README.pblimage.
Signed-off-by: Shaohui
Provides a tool to build boot Image for PBL(Pre boot loader) which is
used on Freescale CoreNet SoCs, PBL can be used to load some instructions
and/or data for pre-initialization. The default output image is u-boot.pbl,
for more details please refer to doc/README.pblimage.
Signed-off-by: Shaohui
From: Shaohui Xie b21...@freescale.com
Provides a tool to build boot Image for PBL(Pre boot loader) which is
used on Freescale CoreNet SoCs, PBL can be used to load some instructions
and/or data for pre-initialization. The default output image is u-boot.pbl,
for more details please refer to doc
Add env in NAND support when boot from NAND.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/P2041RDB.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 501726c..fe39d4e 100644
New P2041RDB board will add a NAND chip, so add support for NAND and
NAND boot.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
boards.cfg |1 +
include/configs/P2041RDB.h | 54 +--
2 files changed, 52 insertions(+), 3
mode
right setting of SERDES Reference Clocks Bank2:
SW2[5:6] = OFF OFF =100MHz for PCI mode
SW2[5:6] = OFF ON =125MHz for SGMII mode
SW2[5:6] = ON OFF =156.25MHZ
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb/p2041rdb.c | 25
-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc8xxx/fdt.c | 40 +++-
1 files changed, 19 insertions(+), 21 deletions(-)
diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c
index 112c603..a2b56ae 100644
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
drivers/mtd/spi/eon.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c
index 806b44e..4c64494 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
This table covers DDR frequencies from 666 to 1666. Frequencies 666, 833, 1000,
1066 and 1333 were verified on this board with SO-DIMM (UG51U6400N8SU-ACF).
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb/ddr.c |5 -
1 files changed, 4 insertions(+), 1
CPLD 2.0 provides a new register which bit[0] is set to '1' will reset board
with initializing the CPLD registers to default values. And add bit[6] of
register at offset 0x5 to use to enable flash bank selection .
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb
P2041RDB supports 3 sysclk frequencies, it's selected by SW1[6~8], software
need to read the SW1 status to decide what the sysclk needs.
SW1[8~6] : frequency
0 0 1 : 83.3MHz
0 1 0 : 100MHz
others: 66.667MHz
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/p2041rdb/cpld.h
a device have mutilple liodns.
Reported-and-tested-by: Diana CRACIUN diana.crac...@freescale.com
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc85xx/liodn.c | 20 +---
arch/powerpc/cpu/mpc85xx/p2041_ids.c |8
arch/powerpc/cpu
to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to
'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break
out if it cannot find 'usb1', so drop the 'else' clause to make driver scan
all the 'usbx'.
Signed-off-by: Shaohui Xie shaohui@freescale.com
to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to
'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break
if it cannot find 'usb1', so we need to tell driver do not break until it
scaned all the 'usbx' that the board may have.
Signed-off-by: Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/cpu/mpc8xxx/fdt.c |3 ++-
board/freescale/corenet_ds/corenet_ds.c |1 +
include/configs/corenet_ds.h|2 ++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/cpu/mpc8xxx
When booting from NAND we get the environment from NAND.
Signed-off-by: Shaohui Xie b21...@freescale.com
Signed-off-by: Kumar Gala ga...@kernel.crashing.org
---
boards.cfg |2 ++
include/configs/corenet_ds.h | 29 +++--
2 files changed, 25
When booting from NAND we get the environment from NAND.
Signed-off-by: Shaohui Xie b21...@freescale.com
Signed-off-by: Kumar Gala ga...@kernel.crashing.org
---
changes for v2:
move _NAND up to sorted by alpha.
boards.cfg |2 ++
include/configs/corenet_ds.h | 29
Signed-off-by: Shaohui Xie b21...@freescale.com
Signed-off-by: Kumar Gala ga...@kernel.crashing.org
---
include/configs/corenet_ds.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index d1cda15
Signed-off-by: Shaohui Xie b21...@freescale.com
---
board/freescale/common/Makefile |2 ++
boards.cfg |7 ++-
include/configs/corenet_ds.h| 30 ++
3 files changed, 30 insertions(+), 9 deletions(-)
diff --git a/board/freescale
From: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
changes for v2:
remove #ifdef wrapper and refactor
From: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
---
changes for v2:
remove #ifdef wrapper and refactor
From: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
---
changes for v2:
remove #ifdef wrapper and refactor
espi flash read returns invalid data if the read length is more than 0xFFFA
bytes, it supports maximum transaction of 2^16 bytes at a time, resister
spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x,
it need to be split into multiple transactions.
Signed-off-by: Shaohui
From: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
---
changes for v2:
remove #ifdef wrapper and refactor
espi flash read returns invalid data if the read length is more than 0xFFFA
bytes, it supports maximum transaction of 2^16 bytes at a time, resister
spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x,
it need to be split into multiple transactions.
Signed-off-by: Shaohui
Signed-off-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
---
drivers/mtd/spi/spansion.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index a3401b3..8835e96 100644
--- a/drivers
espi flash read returns invalid data if the read length is more than 0xFFFA
bytes, it supports maximum transaction of 2^16 bytes at a time, resister
spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x,
it need to be split into multiple transactions.
Signed-off-by: Shaohui
...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
Signed-off-by: Roy Zang tie-fei.z...@freescale.com
---
arch/powerpc/cpu/mpc85xx/cpu_init.c | 19 +++
board/freescale/corenet_ds/tlb.c| 12 +++-
boards.cfg
The tool can build u-boot image which can be used by PBL,
run make P4080DS_RAMBOOT_PBL can make all works done,
the default output image is u-boot.pbl, for more details
please refer to doc/README.pblimage.
Signed-off-by: Shaohui Xie b21...@freescale.com
---
Makefile
-by: Shaohui Xie b21...@freescale.com
Cc: Mike Frysinger vap...@gentoo.org
---
this patch is rebased on Mike's sf unify patches.
drivers/mtd/spi/spi_flash.c | 45
drivers/spi/Makefile|1 +
drivers/spi/fsl_espi.c | 237 +++
include/spi.h
...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
---
Use CONFIG_RAMBOOT_PBL instead of CONFIG_PBL_BOOT_INDIRECT according to Kumar's
comment.
arch/powerpc/cpu/mpc85xx/cpu_init.c | 19 +++
board/freescale/corenet_ds
PBL: SPI flash used as RCW and PBI source, CPC used as 1M SRAM
where PBL will copy whole U-BOOT image to, U-boot can boot from CPC
after PBL completes RCW and PBI phases.
Signed-off-by: Chunhe Lan b25...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com
---
doc/README.espi-boot-p4080ds | 85 ++
1 files changed, 85 insertions(+), 0 deletions(-)
create mode 100644 doc/README.espi-boot-p4080ds
diff --git a/doc/README.espi-boot-p4080ds b/doc/README.espi-boot
Signed-off-by: Shaohui Xie b21...@freescale.com
---
doc/README.espi-boot-p4080ds | 82 ++
1 files changed, 82 insertions(+), 0 deletions(-)
create mode 100644 doc/README.espi-boot-p4080ds
diff --git a/doc/README.espi-boot-p4080ds b/doc/README.espi-boot
...@freescale.com
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Signed-off-by: Shaohui Xie b21...@freescale.com
---
arch/powerpc/cpu/mpc85xx/cpu_init.c | 25 +
board/freescale/corenet_ds/config.mk | 6 ++
board/freescale/corenet_ds/tlb.c |9
98 matches
Mail list logo