pdf-icon

Product Guide

Industrial Control

Real-Time AI Voice Assistant

Offline Voice Recognition

Thread

Module Gateway H2

IoT Measuring Instruments

IoT Cloud

Ethernet Camera

DIP Switch Usage Guide

Module GPS v2.0

Module GNSS

Module ExtPort For Core2

Module LLM Firmware Upgrade

The Module LLM offers two software upgrade solutions: one is firmware flashing (system upgrade, used for flashing the entire device package), and the other is software upgrade (application upgrade, using the apt package management tool to download and update the functional units).

Software Upgrade

  1. Copy the following commands to add the GPG key and include the M5Stack software source information in the system's software source list.
wget -qO /etc/apt/keyrings/StackFlow.gpg https://repo.llm.m5stack.com/m5stack-apt-repo/key/StackFlow.gpg
echo 'deb [arch=arm64 signed-by=/etc/apt/keyrings/StackFlow.gpg] https://repo.llm.m5stack.com/m5stack-apt-repo jammy ax630c' > /etc/apt/sources.list.d/StackFlow.list
  1. Execute the apt update command to update the package index.
apt update
  1. View the list of available LLM Debian packages. those named in the format of llm-model-name are model packages, and named llm-name are functional unit packages.
apt list | grep llm
  1. Install software packages using apt commands as needed. For example, to install the llm-whisper package. Note: The model will take up a large amount of space. It is recommended to install it according to your needs.
apt install llm-whisper

For detailed information about the software packages, you can check the package list on StackFlow Github . It includes model configuration JSON files, which will show the model's source (homepage), functionality, and data format.

Flashing Upgrade

Flashing Upgrade
Used for full system upgrades or to recover from system damage. Flashing tools are currently only supported on Windows. Follow the steps below.

Flashing Tool & Driver

Firmware Version

  1. Download the firmware package (.axp).
Firmware Version Download Link
M5_LLM_ubuntu_v1.3_20241203-mini Download
  1. Download the flashing tool and Driver
Flashing Tool & Driver Download Link
AXDL_V1.24.13.1 Download
AXDL_Driver_V1.20.46 Download
  1. Open the flashing tool, click the Load button at the top left to load the firmware package.
  1. Click the Start button to enter the flashing wait mode and wait for the module to be detected.

Firmware Flashing

    1. Press and hold the download button before powering on the module.
    1. Connect the Type-C interface on the module to the computer.
    1. The device will enter download mode, and the flashing software will automatically start the firmware flashing.

Important Notes

Do not attempt to partition /dev/mmcblk0
Do not attempt to partition /dev/mmcblk0. The onboard eMMC is used as the system disk by default, and if unpartitioned, the AX630C will recognize it as the eMMC boot item, read data from the partition mapping, and start. Once partitioned, it will be recognized as an SD card in SD card mode. Due to its high priority, any error in this state makes online repair nearly impossible, even preventing flashing. Forced sector erasure of the eMMC is required to recover.
Non-standard uboot
Due to the unique format of the firmware by AXIN, it does not conform to standard uboot startup, making standard uboot operations nearly impossible. This firmware includes a before_boot_cmd command that automatically executes before ax_boot. Currently, it activates the module’s light upon startup.
On This Page