diff --git a/README.md b/README.md index fabacd4..a3b8310 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,20 @@ The Luckfox Pico Mini is the postage stamp sized heart of the Femtofox - a compa - [Features](#features) - Specifications - coming soon -- [Supported hardware](./supported_hardware.md) -- [Installation guide](./foxbuntu_install.md) +- [Supported hardware](https://github.com/femtofox/femtofox/wiki/Supported-Hardware) +- [Installation guide](https://github.com/femtofox/femtofox/wiki/Getting-Started) - How to order - coming soon -- DIY instructions - coming soon -- [Networking](#networking) -- [USB configuration tool](./usb_config.md) +- [DIY instructions](https://github.com/femtofox/Femtofox_Community_Hardware) +- [USB configuration tool](https://github.com/femtofox/femtofox/wiki/USB-Config-Tool) ### Features -* Tiny size (63x54mm for the Kitchen Sink Edition, 65x30mm for the Smol Edition). Roughly equivalent to a standard Raspberry Pi hat and Pi Zero respectively. -* Power efficiency (~0.27-0.4w average, depending on radio and mesh congestion) +* Tiny size (63x54mm for Femtofox, 65x30mm for the Smol Edition). Equivalent to a standard Raspberry Pi hat and Pi Zero respectively. +* Power efficient (~0.27-0.4w average, depending on radio and mesh congestion) * Full Linux CLI (Ubuntu) via our pre-built Foxbuntu image * Meshtastic native client support via SPI -* USB host support - attach USB peripherals (see [supported hardware](supported_hardware.md)) -* USB wifi support (see [supported hardware](supported_hardware.md)) -* RTC support for timekeeping (see [supported hardware](supported_hardware.md)) +* USB host support - attach USB peripherals +* USB wifi support +* RTC support for timekeeping **Accomplished:** - [x] Meshtastic native client controlling a LoRa radio (see [supported hardware](supported_hardware.md)) @@ -40,40 +39,9 @@ The Luckfox Pico Mini is the postage stamp sized heart of the Femtofox - a compa - [x] Allow editing of config files by plugging in thumb drive - [x] Ability to activate or deactivate WIFI via Meshtastic admin -The preconfigured images will reboot every 24 hours. If the internal clock is accurate, this will be at 3am. Reboot timing is set in `crontab`. To keep accurate time, an RTC module can be installed (see [supported hardware](supported_hardware.md)) or internet connectivity can be utilized for NTP via [Chrony](https://chrony-project.org/). - -### [Supported hardware - click here](supported_hardware.md) - -### Networking -There are four methods to get online: -1. Ethernet over USB - most adapters should be supported, but I've only tested the RTL8152 chipset. -2. USB wifi (see [supported hardware](supported_hardware.md)). -3. Preconfigured Ubuntu images: ethernet via the castellated pins at the bottom of the board. See pinout at the bottom of this readme. -4. RDNIS via usb - [see this guide](https://web.archive.org/web/20241006173648/https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Network-Sharing-1/). Note that in the preconfigured images USB is set to host mode, so you'll have to switch back to peripheral with `sudo luckfox-config`. This is not really recommended, but can be used in a pinch. - -### [Installation guide](foxbuntu_install.md) - -### Pinout: -|Pin #|Pin ID |Function |Luckfox |Pin #|Pin ID |Function | -|-----|-------|--------------|--------|-----|-------|--------------| -|1 |VBus |5V in/out | |22 |1V8 |1.8V out | -|2 |GND | | |21 |GND | | -|3 |3V3 |3.3V out | |20 |4C1 |1v8 IO, SARADC| -|4/42 |1B2 |Debug UART2-TX| |19 |4C0 |1v8 IO, SARADC| -|5/43 |1B3 |Debug UART2-RX| |18/4 |0A4 |3v3 IO | -|6/48 |1C0 |CS0, IO | |17/55|1C7 |IRQ, IO | -|7/49 |1C1 |CLK, IO | |16/54|1C6 |BUSY, IO | -|8/50 |1C2 |MOSI, IO | |15/59|1D3 |i2c SCL | -|9/51 |1C3 |MISO, IO | |14/58|1D2 |i2c SDA | -|10/52|1C4 |UART4-TX | |13/57|1D1 |UART3-RX, NRST| -|11/53|1C5 |UART4-RX | |12/56|1D0 |UART3-TX, RXEN| - -Pin ID explanation: **1C6** = GPIO bank **1**, group **C**, pin **6**. -In Meshtasticd's config.yaml we use GPIO bank 1, and subtract 32 from the pin number. - - - - > [!NOTE] > The information on this page is given without warranty or guarantee. Links to vendors of products are for informational purposes only. > Meshtastic® is a registered trademark of Meshtastic LLC. Meshtastic software components are released under various licenses, see GitHub for details. No warranty is provided - use at your own risk. + diff --git a/foxbuntu_install.md b/foxbuntu_install.md deleted file mode 100644 index add4de2..0000000 --- a/foxbuntu_install.md +++ /dev/null @@ -1,25 +0,0 @@ - -## Foxbuntu Installation Guide -### Requirements for installing Foxbuntu -To install Foxbuntu, you'll need the following: -1. microSD card. You can select one from [supported hardware](supported_hardware.md), but any card over 8gb and supporting UHS-I *should* work - 2. microSD card reader for your computer - 3. A method to configure the Fox: - * USB OTG adapter (USB-C to USB-A) and a USB flash drive, OR - * USB-C cable to connect the Fox to your computer (Femtofox Pro only), OR - * USB UART serial adapter connected to UART2 (serial debug pins), OR - * An ethernet cable (models with ethernet port) -4. A Femtofox (duh!) - -### Installation instructions -1. Download the latest stable [Foxbuntu release](https://github.com/noon92/femtofox/releases). At the bottom of the release, click the .7z file to download. -2. Flash the image your MicroSD card using [Balena Etcher](https://etcher.balena.io/) or your favorite flashing program. You will likely get a warning that the image appears to be invalid or has no partition table. This is normal. -3. Insert the microSD card into the Luckfox Pico Mini. The microSD slot is on the back of the board. -4. Configure the Femtofox using one of the following methods: - * For USB config, following the instructions on the [USB Configuration Tool](usb_config.md) page, prepare your USB flash drive with your desired settings. Using a USB OTG adapter, plug the USB flash drive into the *data* USB port (the port on the Luckfox. - * On Femtofox Pro, connect the *Power USB-C port* to your PC with a cable, and open a serial console application such as PuTTY for windows. Select your the Femtofox's COM port (find the correct COM port in Windows hitting WIN+R and entering `cmd /k wmic path Win32_SerialPort get DeviceID, Description && pause`. The port should be named "USB-SERIAL CH340". - * Use a USB UART serial adapter to connect to UART2 (serial debug pins). - * Use an ethernet cable and SSH in. Femtofox's default hostname is femtofox.local. -5. Connect the Femtofox to power, either via the *power USB-C port* (Pro model only, on the same side as the ethernet port) or via the power-in JST power plug. Using the USB-C port on the Luckfox is possible, but will prevent usage of USB peripherals. -6. The Femtofox will perform its first boot. This can take up to 5 minutes (subsequent boots ~40 seconds). When boot is complete, the USR LED will blink 5 times, 1/2 a second each. -7. Default username and password is `femto`:`femto`. You are required to change the password on first login. diff --git a/supported_hardware.md b/supported_hardware.md deleted file mode 100644 index 741bf46..0000000 --- a/supported_hardware.md +++ /dev/null @@ -1,108 +0,0 @@ -## Supported Hardware -| Hardware | Confirmed working | Expected to work | Notes | -|-|-|-|--| -|LoRa radios (working with Meshtasticd)|
⚠️
**──────────**
1 very long blink, lasting 5 seconds | Failed to mount USB drive. Ignoring. | • Invalid filesystem
• Corrupted partition table
• Defective USB drive
• Defective USB OTG adapter | • Use a supported partition (FAT32, exFAT, NTFS, ext4)
• Repair partition table
• Try another USB drive
• Try another USB OTG adapter |
-|
⚠️
**─── ───**
2 long blinks, each lasting 1.5 seconds | femtofox-config.txt is configured to skip if log exists. | USB drive mounted successfully but femtofox-config.txt contains `dont_run_if_log_exists="true"` and a log is present on the USB drive. Ignoring. | Remove log from USB drive or remove `dont_run_if_log_exists` line from femtofox-config.txt |
-|
⚠️
**─── ─── ───**
3 long blinks, each lasting 1.5 seconds | USB drive mounted successfully but femtofox-config.txt was not found. Ignoring. | Config file missing. | Create configuration file as described above. |
-|
⚠️
**─── ─── ─── ─── ───**
5 long blinks, each lasting 1.5 seconds | USB drive mounted successfully and femtofox-config.txt was found but did not contain readable configuration data. Ignoring. | Configuration file improperly formatted or contains no data. | Check configuration file contents as described above. |
-|
⚠️
**── ── - -**
2 long blinks, each lasting 1 second, then 2 short blinks, each lasting 1/4 of a second. Repeats twice | Error while trying to implement a Meshtastic setting after 3 attempts. Some settings may have been implemented successfully. | • The error may be transient.
• Configuration file may contain improper data. | • Try again.
• Check configuration file contents as described above.
• Check the log.
This pattern may flash before other patterns. The pattern will repeat once for each failed setting. |
-|
✅
**· · · · · · · · · ·**
10 very fast blinks, each lasting 1/8th of a second | USB drive mounted successfully, and femtofox-config.txt was found and contained configuration data which was sent for deployment. Any affected services will now restart. You can disconnect the USB drive. | This does not mean that the information in the config file is correct - only that it was readable.
Note that the "success" boot code will flash if at least one setting is successfully read - even if the setting was not implemented successfully. | |
-|
✅
**─ ─ ─ ─ ─**
5 medium blinks, each lasting 0.5 seconds | Boot complete. Appears on every successful boot and always appears last.| | Hooray! |
-> \[!NOTE\]
-> Boot codes can appear in sequence - for example: one long (4 second) blink, followed by 5 medium (half second) blinks means the USB drive failed to mount, and that the boot sequence is complete.
-