background image

Appendix

A

A

Glossary

Summary of Contents for FWA-2112

Page 1: ...User Manual FWA 2112 Network Security Platform ...

Page 2: ...lity for its use nor for any infringements of the rights of third parties that may result from its use For more information about this and other Advantech products please visit our web site at http www advantech com http www advantech com ePlatform For technical support and service please visit our support website at http sup port advantech com tw support Acknowledgments Award is a trademark of Aw...

Page 3: ...ment materials service time and freight Please consult your dealer for more details If you believe your product is defective follow the steps outlined below 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any messages displayed on screen when the prob lem occurs 2 Call you...

Page 4: ...nable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interfer ence to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful inte...

Page 5: ...of firmware and software versions installed on the product A complete description of the problem The exact wording of any error messages 3 For more information please contact ncg advantech com or visit www advant ech com nc Warnings Cautions and Notes Warning Warnings indicate conditions which if not observed can cause per sonal injury Les avertissements indiquent des conditions qui si elles ne so...

Page 6: ...use fire or electrical shock 13 Never open the equipment For safety reasons the equipment should be opened only by qualified service personnel 14 If one of the following situations arises get the equipment checked by service personnel The power cord or plug is damaged Liquid has penetrated the equipment The equipment has been exposed to moisture The equipment is malfunctioning or does not operate ...

Page 7: ...ans une ouverture Cela pourrait provoquer un incendie ou un choc électrique 13 N ouvrez jamais l équipement Pour des raisons de sécurité l équipement doit être ouvert uniquement par du personnel qualifié 14 Si l une des situations suivantes se présente faites vérifier l équipement par le personnel de service Le cordon d alimentation ou la prise est endommagé Le liquide a pénétré dans l équipement ...

Page 8: ...有明显的外观破损 15 请不要把设备放置在超出我们建议的温度范围的环境 即不要低于 0 C 20 C 4 F 或高于 40 C 60 C 140 F 否则可能会损坏设备 16 注意 如果电池放置不正确 将有爆炸的危险 因此 只可以使用制造商推荐的 同一种或者同等型号的电池进行替换 请按照制造商的指示处理已使用过的电 池 17 根据 IEC 704 1 1982 规定 设备产生的音量不高于 70 分贝 18 免责声明 请安全训示符合 IEC 704 1 要求 研华公司对其内容之准确性不承 担任何法律责任 19 CE Mark The CE marking on this product indicates that it is in compliance with the Euro pean Union EMC Directive 2014 30 EU Safety Directive 20...

Page 9: ...IO Function 6 1 3 1 PCH GPIO 6 1 3 2 HW GPIO 7 1 4 LCM Reset 13 1 4 1 Introduction 13 1 4 2 Command Example 14 1 5 FRU Utility 15 1 5 1 Introduction 15 1 5 2 Command Example 15 1 5 3 Other Command Options 16 1 6 Sensors 17 1 6 1 Sensor Reader 17 1 6 2 LM Sensors 18 1 7 PSU Status 20 1 7 1 Introduction 20 1 7 2 Command and Usage 21 1 8 Advanced LAN Bypass Control Utility 22 1 8 1 Introduction 22 1 ...

Page 10: ...FWA 2112 User Manual x ...

Page 11: ...Chapter 1 1 Linux Platform Software Guide Introduction ...

Page 12: ...compile Linux kernel 1 1 3 BIOS and BMC Versions The software components have been validated on the supported platforms using the firmware versions below 1 1 4 OS Distribution and Kernel Version The software components will be demonstrated using the following OS distribution and Linux kernel version 1 1 5 Files and Software Tools The followings are files and software tools which are needed for dem...

Page 13: ...be reset if not feeding watchdog in 60 seconds Please refer to the following website for more information https linux die net man 8 watchdog https linux die net man 5 watchdog conf Here is how to verify watchdog functionality In this demonstration the watchdog con figuration file is configured in an abnormal way just for quick verification We will deliberately set our interval longer than the watc...

Page 14: ...written in C language nct5523 c nct5523 h Most important watchdog instructions are in function nct5523 c Linux I O port for SuperIO is singleton thus sample code uses semaphore to prevent access confliction User can modify sample code to accomplish specific needs A normal using example is shown below and a test to force the hardware reset Please note that ungraceful shutdown might damage your file...

Page 15: ...atchdog timeout to 5 seconds every 3 seconds so that the hardware reset will never occur unless the script is terminated 5 Enter following command and the system will reboot after 5 seconds Please do not do it in a service online system m minute Example Help wdt_nct5523 h DEFAULT Setting 8 seconds timeout wdt_nct5523 Setting 10 seconds timeout wdt_nct5523 10 s Setting 5 minutes timeout wdt_nct5523...

Page 16: ...s is enabled For more details about ker nel config and compile please refer to https kernelnewbies org KernelBuild Kernel GPIO sysfs to control gpios Here shows how to using interface to control LED from user space by kernel GPIO sysfs For more detail please refer to kernel document https www kernel org doc Documentation gpio sysfs txt 1 Check pinctrl_denverton drivers is loaded 2 GPIO base port f...

Page 17: ... sysfs by default like Ubuntu and some are not like Fedora CentOS Please check CONFIG_GPIO_SYSFS and CONFIG_GPIO_ICH in kernel config to confirm if GPIO sysfs is enabled For more details about kernel config and compile please refer to https kernelnewbies org KernelBuild cat sys kernel debug pinctrl INTC3000 00 gpio ranges GPIO ranges handled 0 INTC3000 00 GPIOS 358 389 PINS 0 31 32 INTC3000 00 GPI...

Page 18: ... different hardware configuration kernel version and driver of other devices 4 Confirm smbus switch Scan the devices on smbus which is got in step 3 and see smbus switch appears at 0x71 5 Open smbus switch 0x71 channel 8 for I O expender modprobe i2c_i801 sudo lsmod grep i2c sudo apt get install i2c tools sudo i2cdetect l i2cdetect l i2c 0 i2c igb BB I2C adapter i2c 1 i2c igb BB I2C adapter i2c 2 ...

Page 19: ...ntrol Here shows how to control LEDs using i2c raw command it will use smbus number and device address of IO expander located in previous chapter 1 Set pins to output mode this need be done once every time Linux booted Here 8 is smbus number and 0x23 is device address 0x06 and 0x07 are offset and 0x00 is value combined to set GPIO pin 0 to pin 15 to output mode 0x00 is hex of binary 0000 0000 whic...

Page 20: ...cument https www kernel org doc Documentation gpio sysfs txt 1 Probe i2c and gpio_ich drivers Pin LED Name 1 GPIO_0 2 GPIO_8 3 GPIO_1 4 GPIO_9 5 GPIO_2 6 GPIO_10 7 GPIO_3 8 GPIO_11 9 GPIO_4 10 GPIO_12 11 GPIO_5 12 GPIO_13 13 GPIO_6 14 GPIO_14 15 GPIO_7 16 GPIO_15 sudo i2cset y 8 0x23 0x02 0xff GPIO0 7 high sudo i2cset y 8 0x23 0x03 0xff GPIO8 15 high sudo i2cset y 8 0x23 0x02 0x00 GPIO0 7 low sudo...

Page 21: ...c 0 i2c igb BB I2C adapter i2c 7 i2c igb BB I2C adapter i2c 5 i2c igb BB I2C adapter i2cdetect y 8 0 1 2 3 4 5 6 7 8 9 a b c d e f 00 08 10 18 20 30 30 31 34 35 36 40 44 50 50 56 58 60 70 71 sudo echo pca9548 0x71 sys bus i2c devices i2c 8 new_device i2c 3 i2c igb BB I2C adapter i2c 10 smbus i2c 8 mux chan_id 1 SMBus adapter i2c 1 i2c igb BB I2C adapter i2c 8 smbus SMBus I801 adapter at e000 SMBus...

Page 22: ...s sys class gpio gpio label do echo L cat L done sys class gpio gpiochip342 label pca9555 sys class gpio gpiochip358 label INTC3000 00 cat sys class gpio gpiochip342 base 342 cat sys class gpio gpiochip342 ngpio 16 echo 342 sys class gpio export echo 343 sys class gpio export echo 344 sys class gpio export echo 345 sys class gpio export echo 346 sys class gpio export echo 347 sys class gpio export...

Page 23: ...o355 direction echo out sys class gpio gpio356 direction echo out sys class gpio gpio357 direction echo 0 sys class gpio gpio342 value GPIO_0 low echo 0 sys class gpio gpio343 value GPIO_1 low echo 0 sys class gpio gpio344 value GPIO_2 low echo 0 sys class gpio gpio345 value GPIO_3 low echo 0 sys class gpio gpio346 value GPIO_4 low echo 0 sys class gpio gpio347 value GPIO_5 low echo 0 sys class gp...

Page 24: ...chip358 However there might be several other gpio base port file so it s necessary to locate which gpio base port file INTC3000 00 is denverton pinctrl GPIO device id Please note gpio numbers like 358 depends on kernel and hardware platform thus it could be different 3 Get the GPIO pins node id In the case GPIO pins are 64 from the following info it is 422 4 Expose the GPIO pins and set it to outp...

Page 25: ...for the system and motherboard echo 0 sys class gpio gpio422 value LCM reset enable LCM down echo 1 sys class gpio gpio422 value LCM reset disable LCM up sudo afru Usage afru op op The operation you want to do V Display the version R Read FRU information from EEPROM nR Read NMC card FRU information from EEPROM r Read FRU information from MB FRU file nr Read FRU information from NMC card FRU file p...

Page 26: ...ry 1 0x1 PC Port Count binary 2 0x4 MLS Max Link Speed binary 2 0x4 BM Board Manufacturer binary 2 0x1 MACB Mac Address Base button binary 6 00 0b ab f1 42 a4 MACC Mac Address Count button binary 1 0x4 TMACB Top board Mac Address Base binary 6 00 00 00 00 00 00 TMACC Top board Mac Address Count binary 1 0x0 NS NMC size binary 1 0x0 MDF MFG date filter binary 1 0x0 OEM part ACN ACL Customer Name AS...

Page 27: ...nt configuration files Please contact Advantech AE if there is prob lem about it If one sensor s reading is below or exceed threshold its FLAG becomes cr and Platform Health Status becomes WARNING if any sensor fails sudo apm h Sensor Reader version 0 36 Usage apm OPTION h help c CONF specify the platform l show all platforms f show all hwmon fan sensors v show all hwmon voltage sensors m show all...

Page 28: ...ease note different platform or SKU might need different configuration file please contact Advantech AE if you need detail clarification Here is a sample sensors3 conf adv fwa2112 file for FWA 2112 lsmod grep i nct sudo insmod nct6106 ko lsmod grep i nct nct6106 22425 0 chip nct6106 label in0 VCGI_SVID VOL ignore in1 ignore in2 label in3 PAY_3_3 VOL ignore in4 label in5 PAY_5_0 VOL label in6 PAY_3...

Page 29: ...sensors OPTION CHIP c config file Specify a config file h help Display this help text s set Execute set statements root only f fahrenheit Show temperatures in degrees fahrenheit A no adapter Do not show adapter for each chip bus list Generate bus statements for sensors conf u Raw output v version Display the program version Use after c to read the config file from stdin If no chips are specified a...

Page 30: ...nsors s c sensors3 conf adv fwa2112 sensors c sensors3 conf adv fwa2112 acpitz virtual 0 Adapter Virtual device temp1 0 0 C crit 91 0 C i350bb pci 0b00 Adapter PCI adapter loc1 48 0 C high 120 0 C crit 110 0 C i350bb pci 0d00 Adapter PCI adapter loc1 49 0 C high 120 0 C crit 110 0 C coretemp isa 0000 Adapter ISA adapter Package id 0 28 0 C high 71 0 C crit 91 0 C Core 2 25 0 C high 71 0 C crit 91 ...

Page 31: ...orm list FWA 3270 FWA 3270 FWA 4130 FWA 4030 FWA 3270A FWA 2330 FWA 4000 FWA 3033 FWA 2112 s Power Supply name Set which power supply that use If unset list all sup ported psu names The power list AC 155A M1Y2 5300G2H YM 2301E YH 2081B R1S2 5300V4V R1S2 5300K0V YM 2301R YM 2301S AC 148H R1CA2301A YM 2121A f Read MFR version of the Power supply It should be after the Power Supply name Note not all ...

Page 32: ...connectivity by switch ing optical or electrical relays between the ports Latching relays are used to guaran tee that the bypass state connectivity is maintained during absence of power Advance LAN Bypass Control Utility SLA required is for control advance LAN Bypass The host software can access the LAN bypass micro controllers in the sys tem in order to change behaviour and to activate and use fe...

Page 33: ...g mode SWT Start wdt by toggle SAWT Start wdt by toggle for all segments WT Toggle the NIC to strobe reset the WDT Toggle pin WDT mode needs to be enabled armed WAT Toggle the NIC to strobe reset the WDT for all segments Toggle pin WDT mode needs to be enabled armed GLEA Get last event and last action on this segment SCA Set the action on this segment This command will change the action imme diate...

Page 34: ...disconnect GML Get the duty and the period of master LED in bypass or disconnect CUI Upgrade Check upgrade image UG Upgrade Upgrade FW GFM Upgrade Get FW mode CBTEST evnet change callback test i Get all settings of one segment CheckFW check FW and fix eeprom settings if error in eeprom detected NOTE if the command needs input segment then you could use a to tell lbpcu runs this command on all segm...

Page 35: ...e and feature e g apdi d eth0 e g apdi d eth0 config apdi cfg legacy f feature name List all eth devices those have this feature e g apdi f POE apdi f A_BYPASS apdi f L_BYPASS apdi f N A apdi f N A config apdi cfg legacy p bus dev fun Output specific eth device s slot front panel name and feature e g apdi p 5e 00 3 e g apdi p 5e 00 3 config apdi cfg legacy o file name Output identified result to f...

Page 36: ... A Onboard b08p0 08 00 0 8086 1533 ffff 0000 c4 00 ad aa cb a4 LAN_5 LAN_5 Need cfg N A Onboard b09p0 09 00 0 8086 1533 ffff 0000 c4 00 ad aa cb a5 LAN_6 LAN_6 Need cfg N A Onboard b0bp0 0b 00 0 8086 1521 13fe 0035 00 0b ab f1 42 a4 Slot_1 1 A_BYPASS C 4 NMC 0121 b0bp1 0b 00 1 8086 1521 13fe 0035 00 0b ab f1 42 a5 Slot_1 2 A_BYPASS 4 NMC 0121 b0bp2 0b 00 2 8086 1521 13fe 0035 00 0b ab f1 42 a6 Slo...

Page 37: ...Appendix A A Glossary ...

Page 38: ...ctly accessi ble from the host EHCI Enhanced Host Controller Interface EMI Electromagnetic Interface ESD Electrostatic Discharge GB s Gigabytes per second 1000Mbytes per second Gb s Gigabits per second 1000Mbits per second GT s Giga transfers per second I2C Inter integrated circuit IEEE Institute of Electrical and Electronics Engineers IIO Integrated I O Controller ILM Independent Loading Mechanis...

Page 39: ...2 nm Sandy Bridge processor design SATA Serial ATA SAS Serial Attached SCSI SCI System Control Interrupt Used in ACPI protocol SDRAM Synchronous Dynamic Random Access Memory SerDes Serializer and De Serializer Circuit SGMII Serialized Gigabit Media Independent Interface SIU Serial I O Unit SIW Serial I O and Watchdog Timer SKU Stock Keeping Unit SMBus System Management Bus A two wire interface thr...

Page 40: ...re subject to change without notice No part of this publication may be reproduced in any form or by any means such as electronically by photocopying recording or otherwise without prior written permission from the publisher All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2021 ...

Reviews: