Difference between revisions of "AIR 030 Development"

From ESS-WIKI
Jump to: navigation, search
Line 39: Line 39:
 
  2      5        0      0      I225        FLASH
 
  2      5        0      0      I225        FLASH
 
</pre>
 
</pre>
Flash Mac Address
+
 
To get <span style="color:#0000ff">'''-nic'''</span> value and <span style="color:#0000ff">'''BDF'''</span> value please using above method.
+
Flash Mac Address To get <span style="color:#0000ff">'''-nic'''</span> value and <span style="color:#0000ff">'''BDF'''</span> value please using above method.
<pre>
+
<pre>$ sudo -s
$ sudo -s
 
 
# setpci -s 0004:04:00.0 COMMAND=0007
 
# setpci -s 0004:04:00.0 COMMAND=0007
 
# ./EepromAccessTool -nic=1 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123456
 
# ./EepromAccessTool -nic=1 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123456
 
</pre>
 
</pre>
 +
 
The other Intel-I226
 
The other Intel-I226
# setpci -s 0004:05:00.0 COMMAND=0007
+
<pre>
# ./EepromAccessTool -nic=2 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123457
+
#setpci -s 0004:05:00.0 COMMAND=0007  
 +
#./EepromAccessTool -nic=2 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123457  
 
</pre>
 
</pre>
 +
Please do cold reboot after flash mac address.
 +
 +
How to check whether the flash proccess is success or not
 +
#1.lspci command - If it is 0x125<span style="color:#ff0000">'''f'''</span> value, it failed.
 +
#2.ifconfig -a - Check the nerwork interface is available. ex: eth0, eth1 and so on.
 +
 
=== Boot On Off ===
 
=== Boot On Off ===
  

Revision as of 09:13, 14 October 2022

Flash

Extract image

$ tar -zxvf air030_image_XXXXXX.tar.gz

Flash image

$ cd bootloader
$ sudo -s
# source flashcmd.txt

Tools

Flash Mac

Check All Intel-226 Module in PCI bus, The BDF(bus number/device number/function number) value will be first column.

ubuntu@localhost:~$ lspci
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0004:01:00.0 PCI bridge: ASMedia Technology Inc. Device 2806 (rev 01)
0004:02:00.0 PCI bridge: ASMedia Technology Inc. Device 2806 (rev 01)
0004:02:06.0 PCI bridge: ASMedia Technology Inc. Device 2806 (rev 01)
0004:02:0e.0 PCI bridge: ASMedia Technology Inc. Device 2806 (rev 01)
0004:04:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)
0004:05:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)

Check NIC value with EepromAccessTool tool.

ubuntu@localhost:~$ ./EepromAccessTool
Intel(R) EEPROM Access Tool NVM/OTP Programming Example Tool   Version 0.8.0
Provided under the terms of a CNDA.  Do Not Distribute.
Copyright(C) 2017-2020 by Intel(R) Corporation
NIC     BUS     DEV     FUN     Silicon Memory Type Present
===     ===     ===     ===     =====   ======================
Check Command open to write error
 1      4        0       0      I225         FLASH
Check Command open to write error
 2      5        0       0      I225         FLASH

Flash Mac Address To get -nic value and BDF value please using above method.

$ sudo -s
# setpci -s 0004:04:00.0 COMMAND=0007
# ./EepromAccessTool -nic=1 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123456

The other Intel-I226

#setpci -s 0004:05:00.0 COMMAND=0007 
#./EepromAccessTool -nic=2 -f=FXVL_15F2_LM_2MB_ARK_1.82_D.bin -mac=D4E5F6123457 

Please do cold reboot after flash mac address.

How to check whether the flash proccess is success or not

  1. 1.lspci command - If it is 0x125f value, it failed.
  2. 2.ifconfig -a - Check the nerwork interface is available. ex: eth0, eth1 and so on.

Boot On Off

The boot count message will be printed before log-in.
Air030 bootcount.jpg
Reset the boot count please remove bootCount.tt.

$ rm bootCount.tt

Image

The test image is available HERE.

  Image Release Note
1 air030_image_20221006.tar.gz The first boot up image verified on AGX-ORIN Devkit.
2 air030_image_20221006_bootonoff.tar.gz Based on air030_image_20221006.tar.gz added boot on off feature (The system will power off after 40 seconnds)