From 2c2edf051667ff1b0888845eb30a79b7479e487f Mon Sep 17 00:00:00 2001 From: nagumii Date: Mon, 17 Feb 2025 17:31:10 +0200 Subject: [PATCH 1/4] Update femto-set-time.sh --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh index 449305e..de2b08c 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh @@ -64,7 +64,7 @@ Current system time:\n\ $(date +"%B %d, %Y %H:%M:%S") $(timedatectl show --property=Timezone --value) ($(date +"UTC%z" | sed -E 's/GMT([+-])0?([0-9]{1,2})00/GMT\1\2/'))\n\ $(hwclock >/dev/null 2>&1 && echo "RTC module found!" || echo "RTC module not found.")\n\ \n\ -Set new time and timezone?" 10 70 +Set new time and timezone?" 10 50 if [ $? -eq 1 ]; then #unless cancel/no exit 0 fi From 57954fe23665d2414dd5748597ad15d3238e4e46 Mon Sep 17 00:00:00 2001 From: nagumii Date: Mon, 17 Feb 2025 17:37:12 +0200 Subject: [PATCH 2/4] Update femto-set-time.sh --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh index de2b08c..51b29d8 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh @@ -32,7 +32,7 @@ for i in {1..5}; do echo "Time Zone updated to:\n$(timedatectl show --property=Timezone --value) $(date +%Z) (UTC$(date +%:z))\nSystem time updated to:\n$(date)\n\nNew time successfully saved to RTC.\nTime & date are also set automatically from internet, if connected." return 0 else - echo "System time updated to:\n$(date) ($(date +"UTC%z" | sed -E 's/GMT([+-])0?([0-9]{1,2})00/GMT\1\2/'))\n\nUnable to communicate with RTC module. An RTC module can remember system time between reboots/power outages.\nTime & date are also set automatically from internet, if connected." + echo "System time updated to:\n$(date +"%B %d, %Y %H:%M:%S") $(timedatectl show --property=Timezone --value) ($(date +"UTC%z" | sed -E 's/GMT([+-])0?([0-9]{1,2})00/GMT\1\2/'))\n\nUnable to communicate with RTC module. An RTC module can remember system time between reboots/power outages.\nTime & date are also set automatically from internet, if connected." return 0 fi fi @@ -83,7 +83,7 @@ Set new time and timezone?" 10 50 # Show timezone selection menu with preselection of current timezone selected_timezone=$(dialog --title "Set Time Zone" \ --default-item "$current_timezone" \ - --menu "Current time zone: $current_timezone (UTC$(date +%z))" 20 60 10 \ + --menu "Current time zone: $current_timezone (UTC$(date +%z))" 20 50 10 \ $(printf "%s " "${options[@]}") 3>&1 1>&2 2>&3) exit_status=$? if [[ $exit_status -eq 0 && -n "$selected_timezone" ]]; then From 8f0d52117eae689eb73d3afab12b0f1c95f65aa9 Mon Sep 17 00:00:00 2001 From: joshbowyer <37744796+joshbowyer@users.noreply.github.com> Date: Mon, 17 Feb 2025 11:33:47 -0600 Subject: [PATCH 3/4] Update femtofox.chroot Add vim and mtd-utils to apt install in chroot --- environment-setup/femtofox.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-setup/femtofox.chroot b/environment-setup/femtofox.chroot index f3c1859..9b5868e 100644 --- a/environment-setup/femtofox.chroot +++ b/environment-setup/femtofox.chroot @@ -23,7 +23,7 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime echo "Installing packages..." apt update -DEBIAN_FRONTEND=noninteractive apt install -y --option Dpkg::Options::="--force-confold" linux-firmware wireless-tools git python3.10-venv libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev evtest screen avahi-daemon protobuf-compiler telnet fonts-noto-color-emoji ninja-build chrony qrencode software-properties-common python-is-python3 python3.10-venv lsof spi-tools python3-luma.oled samba +DEBIAN_FRONTEND=noninteractive apt install -y --option Dpkg::Options::="--force-confold" linux-firmware wireless-tools git python3.10-venv libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev evtest screen avahi-daemon protobuf-compiler telnet fonts-noto-color-emoji ninja-build chrony qrencode software-properties-common python-is-python3 python3.10-venv lsof spi-tools python3-luma.oled samba vim mtd-utils if [[ $? -eq 2 ]]; then echo "Error, step failed..."; fi DEBIAN_FRONTEND=noninteractive apt upgrade -y --option Dpkg::Options::="--force-confold" From 9019527e95786d8b45901ec6bcc96ddc95a109b5 Mon Sep 17 00:00:00 2001 From: Tom <116762865+NomDeTom@users.noreply.github.com> Date: Tue, 18 Feb 2025 22:51:35 +0000 Subject: [PATCH 4/4] Update README.md --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c08679..292a7b3 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,13 @@ Find out more in the sections below, or in the [Wiki](https://github.com/femtofo - [Features](#features) and [Specifications](#Specification) - [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 +- How to order + - [Etsy (USA)](https://www.etsy.com/listing/1861858340/femtofox-pro-v1-kit-compact-arm-linux) + - [Tindie (UK)](tbc) - [DIY instructions](https://github.com/femtofox/Femtofox_Community_Hardware) - [USB configuration tool](https://github.com/femtofox/femtofox/wiki/USB-Configuration-Tool) - [Building your own Foxbuntu image](https://github.com/femtofox/femtofox/wiki/Building-Foxbuntu-%28WSL%29) - ### Features * 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) @@ -30,11 +31,12 @@ Find out more in the sections below, or in the [Wiki](https://github.com/femtofo | Feature | Specification | | ------------ | ------------------------------------------------------- | -| Processor | Rockchip RV1103, Cortex A7 \@1.1GHz | +| Processor | Rockchip RV1103, Cortex A7 \@1.1GHz | | Memory | 64MB DDR2 | | OS | Foxbuntu (based on Ubuntu 22.04.5 LTS Jammy) | | Connectivity | USB 2.0 Host/Device | -| Network | RJ45 Ethernet with filtering
WiFi ready | +| Network | RJ45 Ethernet with filtering
| +| | WiFi ready | | GPIO | 17x GPIO pins (of which 8 are required for Lora module) | | IO | 2x I2C JST PH | | | 1x UART JST PH | @@ -42,6 +44,7 @@ Find out more in the sections below, or in the [Wiki](https://github.com/femtofo | Mesh | 30dB LoRa Radio 868-915MHz | | Storage | Micro-SD slot | | Power | 3.3-5V.dc via JST PH or USB-C | +| Dimensions | 63 x 54 x 19mm | **Accomplished:** - [x] Meshtastic native client controlling a LoRa radio (see [supported hardware](supported_hardware.md))