Difference between revisions of "FAQ:fitlet2"

From fit-PC wiki
Jump to: navigation, search
(Serial port on fitlet2 doesn't work)   (change visibility)
Line 72: Line 72:
 
4. Power on the fitlet2, you will see boot process and "Welcome to FreBSD!" message.
 
4. Power on the fitlet2, you will see boot process and "Welcome to FreBSD!" message.
  
=== Serial port on fitlet2 doesn't work===
+
=== How to recognize the fitlet2 COM port===
  
Please refer to the below link:
+
Please refer to the link- [[Linux Mint: Serial port on fitlet2]]
 
+
[[Linux Mint: Serial port on fitlet2]]
+
  
 
[[category:fitlet2]]
 
[[category:fitlet2]]
 
[[category:FAQ]]
 
[[category:FAQ]]

Revision as of 09:54, 13 August 2018

General

Hardware

How to control fitlet2 front LEDs?

For 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?

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.
  • That additional COM port is no accessible externally whatsoever.

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.

Software

Custom BIOS configurations for OPNsense

1. Download the FreeBSD release from https://www.freebsd.org

   $ wget
   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):

   $ sudo dd if=FreeBSD-11.1-RELEASE-amd64-memstick.img of=/dev/sdX bs=1MB

3. Necessary BIOS settings changes:

Press [Del] during boot to enter BIOS settings:

   Set Chipset -> OS Selection to [Intel Linux]
   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.

How to recognize the fitlet2 COM port

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