Difference between revisions of "FAQ:fitlet2"

From fit-PC wiki
Jump to: navigation, search
(Serial port on fitlet2 doesn't work)   (change visibility)
(31 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
==Hardware==
 
==Hardware==
  
===How to control fitlet2 front LEDs?===
+
===How to control fitlet2 front LEDs in Linux?===
  
==== <ins>For Linux</ins> ====
+
See [[Application note - fitlet2 controlling front LEDs on Linux]]
fitlet2 has 2 LEDs, LED1 and LED2. Each of them has GREEN and YELLOW parts that can be controlled separately.
+
 
+
In Linux kernel there are 4 related GPIOs: GPIO435, GPIO436, GPIO437, GPIO438.
+
*GPIO435 - LED1 GREEN
+
*GPIO436 - LED1 YELLOW
+
*GPIO437 - LED2 GREEN
+
*GPIO438 - LED2 YELLOW
+
 
+
To control the GPIOs need to login as root (root password required):
+
$ su
+
Password:
+
 
+
To control for example LED1 GREEN part:
+
$ echo 435 > /sys/class/gpio/export
+
$ echo out > /sys/class/gpio/gpio435/direction
+
$ echo 1 > /sys/class/gpio/gpio435/value
+
# LED1 should be GREEN now
+
$ echo 0 > /sys/class/gpio/gpio435/value
+
# LED1 should be OFF now
+
$ echo 435 > /sys/class/gpio/unexport
+
 
+
The GPIO framework and GPIO sysfs interface are documented in
+
https://www.kernel.org/doc/Documentation/gpio/gpio.txt
+
  
 
===How do you I configure my cellular modem on Linux?===
 
===How do you I configure my cellular modem on Linux?===
Line 40: Line 17:
 
*fitlet2 comes with a single RS232 ultra-mini com port (COM1)
 
*fitlet2 comes with a single RS232 ultra-mini com port (COM1)
 
*There is another COM ports inside the chassis (COM2) for the use of developing additional FACET cards.
 
*There is another COM ports inside the chassis (COM2) for the use of developing additional FACET cards.
*That additional COM port is no accessible externally whatsoever.
+
*The additional COM port is not accessible externally
  
 
===What is the DC input voltage tolerance for the fitlet2?===
 
===What is the DC input voltage tolerance for the fitlet2?===
Line 46: Line 23:
 
The fitlet2 model can work at a wide DC input voltage range of 9V-20V.
 
The fitlet2 model can work at a wide DC input voltage range of 9V-20V.
 
<br>This range can also be extended to 9V-36V if the model is configured with the P36 option.
 
<br>This range can also be extended to 9V-36V if the model is configured with the P36 option.
 +
 +
=== What is the fitlet2's RTC backup battery accuracy?===
 +
 +
* RTC accuracy – less than 1 sec per day
 +
 +
=== How can I get S/PDIF to work on my fitlet2?===
 +
The fitlet2 3.5 Audio jack has a 4th pin that outputs digital audio.<br>
 +
In order for this to work, there's a need for a 4-pole 3.5mm to RCA cable.<br>
 +
This cable is sold in the set of cables package for the fitlet2 - [https://fit-iot.com/web/product/accenc-adflt2/ fitlet2 set of cables]
  
 
==Software==
 
==Software==
  
===Custom BIOS configurations for OPNsense===
+
===How Do I Enable Wake-On-Lan (WOL)?===
  
1. Download the FreeBSD release from https://www.freebsd.org
+
*Enter BIOS menu by hitting '''[ESC]''' on startup
 +
*Navigate to:
 +
Chipset Tab
 +
--> South Cluster Configuration
 +
    --> Miscellaneous Configuration
 +
        * Wake on Lan should be there '''[Disabled]''' by default
  
    $ wget
+
*Enable Wake on Lan and Save&Exit by pressing '''[F4]'''
    https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/11.1/FreeBSD-11.1-RELEASE-amd64-memstick.img
+
  
2. Prepare bootable disk-on-key (assuming /dev/sdX is your disk-on-key):
+
=== FreeBSD is not working, what can I do?===
  
    $ sudo dd if=FreeBSD-11.1-RELEASE-amd64-memstick.img of=/dev/sdX bs=1MB
+
There are necessary configuration changes that should be made in order to have FreeBSD work on fitlet2.<br>
 +
Press '''[Del]''' during boot to enter BIOS settings and set the following to:
  
3. Necessary BIOS settings changes:
+
  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC SD Card Support '''[Disabled]'''
 +
  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC eMMC Support '''[Disabled]'''
 +
  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC SDIO Support '''[Disabled]'''
  
Press [Del] during boot to enter BIOS settings:
+
===How to identify the COM port on Linux ?===
  
    Set Chipset -> OS Selection to [Intel Linux]
+
Please refer to the link- [[Linux Mint: Serial port on fitlet2]]
    Set Chipset -> SCC Configuration -> SCC SD Card Support (D27: F0) to [Disable]
+
    Set Chipset -> SCC Configuration -> SCC eMMC Support (D28: F0) to [Disable]
+
    Set Chipset -> SCC Configuration -> SCC UFS Support (D29: F0) to [Disable]
+
    Set Chipset -> SCC Configuration -> SCC SDIO Support (D30: F0) to [Disable]
+
  
4. Power on the fitlet2, you will see boot process and "Welcome to FreBSD!" message.
+
===fitlet2 BIOS Legacy boot doesn't work, how to enable?===
  
=== How to recognize the fitlet2 COM port===
+
Legacy support is disabled by default in the BIOS menu.<br>
 +
To enable it, please, set the following BIOS menu settings:
  
Please refer to the link- [[Linux Mint: Serial port on fitlet2]]
+
1. Advanced -> CSM Configuration -> CSM Support : '''[Enabled]'''
 +
2. Advanced -> CSM Configuration -> Boot option filter : '''[Legacy only]'''
 +
3. Advanced -> CSM Configuration -> Network : '''[Legacy]'''
 +
4. Advanced -> CSM Configuration -> Storage : '''[Legacy]'''
 +
5. Advanced -> CSM Configuration -> Video : '''[Legacy]'''
 +
6. Advanced -> CSM Configuration -> Other PCI devices : '''[Legacy]'''
 +
7. Boot -> Boot Mode Selection : '''[Legacy]'''
 +
8. Press the '''F4''' key to '''Save & Exit'''
  
 
[[category:fitlet2]]
 
[[category:fitlet2]]
 
[[category:FAQ]]
 
[[category:FAQ]]

Revision as of 12:04, 23 June 2019

General

Hardware

How to control fitlet2 front LEDs in Linux?

See Application note - fitlet2 controlling front LEDs on Linux

How do you I configure my cellular modem on Linux?

For Windows

TBD

I can see an additional COM port in the device manager, where is it physically?

  • fitlet2 comes with a single RS232 ultra-mini com port (COM1)
  • There is another COM ports inside the chassis (COM2) for the use of developing additional FACET cards.
  • The additional COM port is not accessible externally

What is the DC input voltage tolerance for the fitlet2?

The fitlet2 model can work at a wide DC input voltage range of 9V-20V.
This range can also be extended to 9V-36V if the model is configured with the P36 option.

What is the fitlet2's RTC backup battery accuracy?

  • RTC accuracy – less than 1 sec per day

How can I get S/PDIF to work on my fitlet2?

The fitlet2 3.5 Audio jack has a 4th pin that outputs digital audio.
In order for this to work, there's a need for a 4-pole 3.5mm to RCA cable.
This cable is sold in the set of cables package for the fitlet2 - fitlet2 set of cables

Software

How Do I Enable Wake-On-Lan (WOL)?

  • Enter BIOS menu by hitting [ESC] on startup
  • Navigate to:
Chipset Tab 
--> South Cluster Configuration 
   --> Miscellaneous Configuration
       * Wake on Lan should be there [Disabled] by default
  • Enable Wake on Lan and Save&Exit by pressing [F4]

FreeBSD is not working, what can I do?

There are necessary configuration changes that should be made in order to have FreeBSD work on fitlet2.
Press [Del] during boot to enter BIOS settings and set the following to:

  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC SD Card Support [Disabled]
  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC eMMC Support [Disabled]
  Chipset -> South Cluster Configuration -> SCC Configuration -> SCC SDIO Support [Disabled]

How to identify the COM port on Linux ?

Please refer to the link- Linux Mint: Serial port on fitlet2

fitlet2 BIOS Legacy boot doesn't work, how to enable?

Legacy support is disabled by default in the BIOS menu.
To enable it, please, set the following BIOS menu settings:

1. Advanced -> CSM Configuration -> CSM Support : [Enabled]
2. Advanced -> CSM Configuration -> Boot option filter : [Legacy only]
3. Advanced -> CSM Configuration -> Network : [Legacy]
4. Advanced -> CSM Configuration -> Storage : [Legacy]
5. Advanced -> CSM Configuration -> Video : [Legacy]
6. Advanced -> CSM Configuration -> Other PCI devices : [Legacy]
7. Boot -> Boot Mode Selection : [Legacy]
8. Press the F4 key to Save & Exit