All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8: README: Update README for DPAA2 commands for MC
@ 2015-11-30  9:17 Prabhakar Kushwaha
  2015-11-30 17:34 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2015-11-30  9:17 UTC (permalink / raw)
  To: u-boot

Update README for DPAA2 commands used to manage MC
 - Upldate details
 - Added example

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
Based upon u-boot-fsl-qoriq.git branch next 

 arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 88 +++++++++++++++++---------
 1 file changed, 59 insertions(+), 29 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 b/arch/arm/cpu/armv8/fsl-layerscape/README.lsch3
index b924134..f9323c1 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/README.lsch3
+++ b/arch/arm/cpu/armv8/fsl-layerscape/README.lsch3
@@ -244,35 +244,65 @@ MMU Translation Tables
 			         ...	                   ...
 
 
-DPAA2 commands to manage Management complex
--------------------------------------------
-Management complex Firmware, DPL and DPC are depolyed during u-boot boot
-sequence.
-
-New DPAA2 commands has been added to manage Management Complex (MC) i.e.
-start mc, aiop and apply DPL from command prompt.
-
-a) fsl_mc start mc [FW_addr] [DPC_addr] - Start Management Complex
-b) fsl_mc apply DPL [DPL_addr] - Apply DPL file
-c) fsl_mc start aiop [FW_addr] - Start AIOP
-
-u-boot etherenet support sequence :-
-a) fsl_mc start mc [FW_addr] [DPC_addr] - Start Management Complex
-b) DPMACs device will be available now for use
-
-Linux boot sequence :-
-a) fsl_mc start mc [FW_addr] [DPC_addr] - Start Management Complex
-b) fsl_mc apply DPL [DPL_addr] - Apply DPL file
-c) No DPMACs availabe for use in u-boot
-c) boot Linux
-
-AIOP boot sequence :-
-a) fsl_mc start mc [FW_addr] [DPC_addr] - Start Management Complex
-b) fsl_mc start aiop [FW_addr] - Start AIOP
-c) fsl_mc apply DPL [DPL_addr] - Apply DPL file
-d) No DPMACs availabe for use in u-boot
-Please note actual AIOP start will happen during DPL parsing of Management complex
-
+DPAA2 commands to manage Management Complex (MC)
+------------------------------------------------
+DPAA2 commands has been introduced to manage Management Complex
+(MC). These commands are used to start mc, aiop and apply DPL
+from u-boot command prompt.
+
+Please note Management complex Firmware(MC), DPL and DPC are no
+more deployed during u-boot boot-sequence.
+
+Commands:
+a) fsl_mc start mc <FW_addr> <DPC_addr> - Start Management Complex
+b) fsl_mc apply DPL <DPL_addr> - Apply DPL file
+c) fsl_mc start aiop <FW_addr> - Start AIOP
+
+How to use commands :-
+1. Command sequence for u-boot ethernet:
+   a) fsl_mc start mc <FW_addr> <DPC_addr> - Start Management Complex
+   b) DPMAC net-devices are now available for use
+
+   Example-
+	Assumption: MC firmware, DPL and DPC dtb is already programmed
+	on NOR flash.
+
+	=> fsl_mc start mc 580300000 580800000
+	=> setenv ethact DPMAC1 at xgmii
+	=> ping $serverip
+
+2. Command sequence for Linux boot:
+   a) fsl_mc start mc <FW_addr> <DPC_addr> - Start Management Complex
+   b) fsl_mc apply DPL <DPL_addr> - Apply DPL file
+   c) No DPMAC net-devices are available for use in u-boot
+   d) boot Linux
+
+   Example-
+	Assumption: MC firmware, DPL and DPC dtb is already programmed
+	on NOR flash.
+
+	=> fsl_mc start mc 580300000 580800000
+	=> setenv ethact DPMAC1 at xgmii
+	=> tftp a0000000 kernel.itb
+	=> fsl_mc apply dpl 580700000
+	=> bootm a0000000
+
+3. Command sequence for AIOP boot:
+   a) fsl_mc start mc <FW_addr> <DPC_addr> - Start Management Complex
+   b) fsl_mc start aiop <FW_addr> - Start AIOP
+   c) fsl_mc apply DPL <DPL_addr> - Apply DPL file
+   d) No DPMAC net-devices are availabe for use in u-boot
+  Please note actual AIOP start will happen during DPL parsing of
+  Management complex
+
+  Example-
+	Assumption: MC firmware, DPL, DPC dtb and AIOP firmware is already
+	programmed on NOR flash.
+
+	=> fsl_mc start mc 580300000 580800000
+	=> fsl_mc start aiop 0x580900000
+	=> setenv ethact DPMAC1 at xgmii
+	=> fsl_mc apply dpl 580700000
 
 Errata A009635
 ---------------
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] armv8: README: Update README for DPAA2 commands for MC
  2015-11-30  9:17 [U-Boot] [PATCH] armv8: README: Update README for DPAA2 commands for MC Prabhakar Kushwaha
@ 2015-11-30 17:34 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-11-30 17:34 UTC (permalink / raw)
  To: u-boot



On 11/30/2015 01:17 AM, Prabhakar Kushwaha wrote:
> Update README for DPAA2 commands used to manage MC
>  - Upldate details
>  - Added example
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
> Based upon u-boot-fsl-qoriq.git branch next 
> 
>  arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 88 +++++++++++++++++---------
>  1 file changed, 59 insertions(+), 29 deletions(-)
> 

Squashed with patch "driver: net: fsl-mc: Add DPAA2 commands to manage MC"
http://patchwork.ozlabs.org/patch/539754/

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-30 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-30  9:17 [U-Boot] [PATCH] armv8: README: Update README for DPAA2 commands for MC Prabhakar Kushwaha
2015-11-30 17:34 ` York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.