AIR 021 Development
From ESS-WIKI
Contents
Attention
Account & Password
Account number
ubuntu
In device used "sudo" or "sudo su" to root. Password required.
ubuntu
Flash Mac Address
First need to add a patch to the device tree{ Commit 682f22e8: [LAN] Enable Ethernet Controller I225-LM/I225-V support }
Download I226 tool to Device
Extract file
$ sudo tar zxvf LAN_I226_AIR-021.tar.gz
Flash
Attention : The MAC address can only be burned in once
Please make sure mac address and set in : -mac=<XXXXXXXXXXXX>
$ cd LAN_I226_AIR-021/I226_Flash_Tool $ sudo su # ./EepromAccessTool # lspci # setpci -s 0009:01:00.0 COMMAND=0007 # ./EepromAccessTool -nic=1 -f=FXVL_125B_LM_2MB_2.23.bin -mac=XXXXXXXXXXXX
Power off and restart
Cold reboot the device.
Burnin
BootCount
Choose ATX or AT mode
BootCount tool install
In first time please install bootcount tool
$ cd /usr/local/bin/BootCount+shutdown $ sudo chmod a+x install.sh $ sudo ./install.sh $ cd /home/ubuntu $ sudo ./bootCount.sh
Default enter the OS 30s will poweroff
Boot On Off
The boot count message will be printed before log-in.
![]()
Reset the boot count please remove bootCount.tt.
$ rm bootCount.tt
Tools
Test Command
JP6.2
HDMI
Set on debug port
$ export DISPLAY=:0 $ xrandr
Image resolution : Full HD 1920 x 1080 pixels
$ xrandr -d :0 --output HDMI-0 --mode 1920x1080 -r 60.00
Image resolution : 4K 3840 x 2160 pixels
$ xrandr -d :0 --output HDMI-0 --mode 3840x2160 -r 60.00
CAN
<Receive> In terminal, run below command
$ sudo su # modprobe can # modprobe can-dev # modprobe mttcan # ip link set can0 type can bitrate 500000 # ip link set can0 up # candump can0
<Transmit> In other device terminal, run below command
$ sudo su # modprobe can # modprobe can-dev # modprobe mttcan # ip link set can0 type can bitrate 500000 # ip link set can0 up # cansend can0 123#abcdabcd