Difference between revisions of "Specific SOM U-Boot Environment Variables"

From DAVE Developer's Wiki
Jump to: navigation, search
m
m
Line 10: Line 10:
 
== Naon Family ==
 
== Naon Family ==
  
The following variables applies to Naon, Maya and Dido SOMs. Please note that the this variables refers to U-Boot and Linux provided with NELK version 4.0.0.
+
The variables listed on the following table applies to Naon, Maya and Dido SOMs.
  
<pre>
+
{| class="wikitable" |
ethaddr = xx:xx:xx:xx:xx:xx - MAC address for eth0 interface
+
| align="center" style="background:#f0f0f0;"|'''Variable'''
ethaddr1 = xx:xx:xx:xx:xx:xx - MAC address for eth1 interface
+
| align="center" style="background:#f0f0f0;"|'''Values'''
dual_emac = [0|1] - [0: CPSW switch mode | 1: CPSW dual EMAC mode]
+
| align="center" style="background:#f0f0f0;"|'''Description'''
cpsw = [0|1] - select primary phy for networking operations in U-Boot [0: phy 6 -> 100Mbit Naon module | 1: phy 1 -> 1Gbit external, EVB-Lite and EVB-Mid]
+
| align="center" style="background:#f0f0f0;"|'''Notes'''
giga = [on] - if present, select gigabit speed on gigabit link
+
|-
</pre>
+
| ethaddr<br>ethaddr1
 
+
| xx:xx:xx:xx:xx:xx  
=== Naon ===
+
| MAC address for both eth0 and eth1 interfaces
 
+
| Available with NELK 4.0.0 and above
The following variables applies to Naon CPU module. Please note that the this variable refers to U-Boot and Linux provided with NELK version 4.0.0.
+
|-
 
+
| dual_emac
<pre>
+
| 0 - 1 [0: CPSW switch mode - 1: CPSW dual EMAC mode]  
naon_host [evb_mid | evb_lite] - Selects carrier board pinmux. Please refer to U-Boot source tree for the available pinmux.
+
| Configures CPSW mode
</pre>
+
| Available with NELK 4.0.0 and above
 
+
|-
=== Maya ===
+
| cpsw
 
+
| 0 - 1 [0: phy 6 -> 100Mbit Naon module - 1: phy 1 -> 1Gbit external phy]
The following variables applies to Maya CPU module. Please note that the this variable refers to U-Boot and Linux provided with NELK version 4.0.0.
+
| Selects primary phy for networking operations in U-Boot 
 +
| Available with NELK 2.0.0 and above<br>External phy available on Naon-EVB-Lite and Naon-EVB-Mid
 +
|-
 +
| giga  
 +
| on [on : gigabit]  
 +
| Selects gigabit speed on gigabit link  
 +
| Available with NELK 2.0.0 and above
 +
|-
 +
| naon_host
 +
| Naon: evb_mid - evb_lite<br>Maya: maya_naon_evb_lite<br> Dido: evb_mid - evb_lite
 +
| Selects carrier board pinmux
 +
| Available with NELK 2.0.0 and above<br>Please refer to U-Boot source tree for the available pinmux
 +
|-
 +
|+ align="bottom" style="caption-side: bottom" | U-Boot specific variables for Naon-family SOMs
 +
|}
  
<pre>
 
naon_host [maya_naon_evb_lite] - Selects carrier board pinmux. Please refer to U-Boot source tree for the available pinmux.
 
</pre>
 
  
 
=== Dido ===
 
=== Dido ===
  
The following variables applies to Dido CPU module. Please note that the this variable refers to U-Boot and Linux provided with NELK version 4.0.0.
+
The following variables applies to Dido CPU module. Please note that the this variables refers to U-Boot and Linux provided with NELK version 4.0.0.
  
 
<pre>
 
<pre>
 
addmem = 'setenv bootargs ${bootargs} mem 364M mem=320M@0x9fc00000 mem=1020M@0xc0000000 vmalloc=500M' - Dido 2 GB memory
 
addmem = 'setenv bootargs ${bootargs} mem 364M mem=320M@0x9fc00000 mem=1020M@0xc0000000 vmalloc=500M' - Dido 2 GB memory
naon_host [evb_mid | evb_lite] - Selects carrier board pinmux. Please refer to U-Boot source tree for the available pinmux.
 
 
</pre>
 
</pre>

Revision as of 09:04, 2 May 2013

Info Box
Naon am387x-dm814x.png Applies to Naon
Maya 03.png Applies to Maya
Dido-main.png Applies to Dido
Tux.png Applies to U-Boot

Introduction[edit | edit source]

This page describes the U-Boot environment variables that specifically applies to certain Dave SOMs.

Naon Family[edit | edit source]

The variables listed on the following table applies to Naon, Maya and Dido SOMs.

Variable Values Description Notes
ethaddr
ethaddr1
xx:xx:xx:xx:xx:xx MAC address for both eth0 and eth1 interfaces Available with NELK 4.0.0 and above
dual_emac 0 - 1 [0: CPSW switch mode - 1: CPSW dual EMAC mode] Configures CPSW mode Available with NELK 4.0.0 and above
cpsw 0 - 1 [0: phy 6 -> 100Mbit Naon module - 1: phy 1 -> 1Gbit external phy] Selects primary phy for networking operations in U-Boot Available with NELK 2.0.0 and above
External phy available on Naon-EVB-Lite and Naon-EVB-Mid
giga on [on : gigabit] Selects gigabit speed on gigabit link Available with NELK 2.0.0 and above
naon_host Naon: evb_mid - evb_lite
Maya: maya_naon_evb_lite
Dido: evb_mid - evb_lite
Selects carrier board pinmux Available with NELK 2.0.0 and above
Please refer to U-Boot source tree for the available pinmux
U-Boot specific variables for Naon-family SOMs


Dido[edit | edit source]

The following variables applies to Dido CPU module. Please note that the this variables refers to U-Boot and Linux provided with NELK version 4.0.0.

addmem = 'setenv bootargs ${bootargs} mem 364M mem=320M@0x9fc00000 mem=1020M@0xc0000000 vmalloc=500M' - Dido 2 GB memory