LoginSignup
0
0

概要

CoreMP135は、M5Stackが発売するSTM32MP135Dを搭載したLinux搭載したIoT開発キットです。CoreMP135のLinuxOSには,BuildrootとDebianが用意されており、ここでは、Debianをビルドする手順を説明します。

ビルド手順

Debianをビルドする前に、まず、Buildrootのビルドを行います。
Buildrootのビルドを自動化するスクリプト "creat_coremp135_buidlroot_image.sh" が用意されていますので、これを実行します。

git clone https://github.com/m5stack/CoreMP135_buildroot-external-st.git
cd CoreMP135_buildroot-external-st/tools/
./creat_coremp135_buidlroot_image.sh

buildrootのビルドが終わったあとに、Debianのビルドを行います。

./creat_coremp135_debian12_image.sh

tools/build_coremp135_debian12 ディレクトリの下に、M5_CoreMP135_debian12_"日付".imgという名前のイメージファイルが生成されているので、これをMicroSDカードに書き込みます。

生成された、イメージファイルのログインアカウントは以下のようになっています。

ユーザー パスワード
root root
debian temppwd

また、最初に、時刻が大きくずれているとaptコマンドが使えないため、時刻あわせを行いましょう。

現在のシステム時刻を確認します。

$ date

システム時刻を手動で設定します(例: 2024年6月28日15時30分00秒に設定する場合)。

$ date --set="2024-06-28 15:30:00"

参照資料

CoreMP135 image burning
https://docs.m5stack.com/en/guide/linux/coremp135/image

CoreMP135_buildroot-external-st
https://github.com/m5stack/CoreMP135_buildroot-external-st

Debian: STM32MP157入門ガイド
https://forum.digikey.com/t/debian-stm32mp157/33606

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0