Skip to content

Releases: brain-hackers/buildbrain

ci-tslmy

ci-tslmy Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Jun 15:37

(unreleased)

Fix

- Set `vm.mmap_min_addr=0` in the `--privileged` container before the
  chroot. [Mingyang Li]

  `sqv` (the ARM OpenPGP verifier used by apt) needs to mmap at address `0x1000`, but `vm.mmap_min_addr` is too high.
- Mount `proc` and `sys` AFTER the first stage of debootstrap. [Mingyang
  Li]
- UID reference in `override.sh`. [Mingyang Li]

  `sudo -u#1000` requires UID 1000 to exist in passwd, but the build container only has `root`. Fixed by replacing those two `sudo -u#1000 -g#1000 mkdir -p` calls with `install -d -o 1000 -g 1000 -m 0755` in override.sh.

Other
  • Address review comments from puhitaku. [Copilot, Mingyang Li]

    • image/build_image.sh: fix IMG_NAME default to sd.img, SIZE_M to 3072
    • image/build_image.sh: revert START2 to original form; remove all unnecessary inline comments
    • Makefile: remove 'Mount proc and sys' comment; keep the 'Keep mounting commands AFTER' note
    • Makefile: remove 'Copy qemu-arm-static' comment; simplify binfmt and mmap_min_addr comments
    • Makefile: replace verbose Docker target comment blocks with clean targets per reviewer suggestion
    • README.md: revert all unrelated changes; keep only the macOS environment line and Docker build section
    • Docker as a way of building. [Mingyang Li]
  • Perf: merge apt install apt-transport-https into the curl/gnupg
    call, reducing one full apt resolver invocation. [Mingyang Li]

  • Chore: ignore common artifacts from the big-3 OSes. [Mingyang Li]

  • Speed up ly compilation by enabling parallelism. [Mingyang Li]

  • Doc: cosmetic changes to README. [Mingyang Li]

  • Chore: + .PHONY at target brainux. Just to be safe. [Mingyang Li]

  • Doc: + comment "Copy qemu-arm-static and setup script" [Mingyang Li]

  • Register qemu-arm-static binfmt handler if not already present.
    [Mingyang Li]

  • Doc: update build_image.sh help message and default arguments.
    [Mingyang Li]

  • Chore: ignore .exe and all .img files. [Mingyang Li]

2026-03-25-024518

Choose a tag to compare

@github-actions github-actions released this 24 Mar 17:45
3fb1dea

Changelog

Contributors

Linux

  • Linux 6.1 にアップグレード
  • USB Ethernet Gadget を RNDIS から NCM に切り替え
    • Windows, macOS, Linux で認識することを確認済み
    • RNDIS が使えなかった macOS も Brain と通信できます
  • USB Video Class ドライバを有効化

Root Filesystem (Debian)

  • Debian 13.4 "Trixie" にアップグレード
  • 既に廃止されたパッケージ midori を削除、neofetch を後継の fastfetch に置き換え
    • midori の代わりに netsurf を使用してください
  • fake-hwclock による service ファイルの breaking change に対応

その他

  • Brainux のバージョンを記した "brainux_version" というファイルを SD カードの先頭パーティションに設置
    • SD にどのバージョンの Brainux が書き込まれているか判別できます

既知の問題

  • USB Ethernet (NCM) Gadget によって作られる interface usb0 に IP アドレスが設定されない
    • usb0 の作成時、スクリプトによって一回 dhclient が呼ばれるだけで以降 DHCP discover を行いません。よって、インターネット共有が設定されていない状態の母艦に接続すると if up かつ IP なし状態になります。対応として次バージョンの Brainux ではスクリプトから Connection を作成することを検討していますが、本バージョンでは Connection を手動で作成してください。
  • キーボードで一部のキーの組み合わせが反応しない
    • 機種により回路の制約から同時押しができない組み合わせがあります。同時押しをしなくても記号が打てるようにするため、特殊キーのトグル機能を実装中です。

PW-A7400 で SD からの直接起動を試したい方へ

Brainux Wiki にある手順で指示されている nk ディレクトリの中のファイルは PW-A7400 に対応していません。以下の手順で A7400 用のブートローダーを配置してください。

  • 下のファイル一覧から uboot-a7400-2026-03-25-024518.zip をダウンロードし展開する
  • 展開されたディレクトリに入っている edna3exe.bin を SD カードの先頭パーティション(ボリューム名が boot のパーティション)のルートディレクトリにコピーする
  • 実機に SD カードを移し、リセット後に U-Boot と Linux が起動することを確認する

アプリメニューの "Launch Linux" から起動する方法では特別な対応は不要です。

2024-12-23-202715

Choose a tag to compare

@github-actions github-actions released this 23 Dec 11:28
cf7cc41

Changelog

Linux

  • Enable USB UART converter drivers by @puhitaku

2024-02-04-162841

Choose a tag to compare

@github-actions github-actions released this 04 Feb 07:29
0c78611

Changelog

Linux

  • sudo shutdown などで電源を切った後にリセットされるよう処理を追加 by @puhitaku
  • キーボードのキーリリースが認識されず押されたままになる問題を解決 (G4200, G5200, G5300, A7200, A7300, A7400, A9100, A9200, A9300, Sx1, Sx2) by @Sgch
  • PW-A7400 でキーボードを押すとハングアップする問題を修正 by @Sgch
  • 将来 SD カードスロットを SPI 入出力として使えるよう spidev を有効化 by @puhitaku

U-Boot

  • NK.BIN を使って SD カードから直接起動した時に CPU クロックが半減する問題を修正 by @UnagiDojyou
  • PW-A7400 向けの実装を追加 by @Sgch

Brainlilo(アプリメニューからの起動)

  • バージョン番号を表示する処理を追加 by @Sgch
  • PW-A7400 向けの実装を追加 by @Sgch
    • 読み込まれるファイル名は gen2_7400.bin

Root Filesystem (Debian)

  • x11-ico-dvd を追加 by @yude
  • weston, xwayland を削除

PW-A7400 で SD からの直接起動を試したい方へ

Brainux Wiki にある手順で指示されている nk ディレクトリの中のファイルは PW-A7400 に対応していません。以下の手順で A7400 用のブートローダーを配置してください。

  • 下のファイル一覧から uboot-a7400-2024-02-04-162841.zip をダウンロードし展開する
  • 展開されたディレクトリに入っている edna3exe.bin を SD カードの先頭パーティション(ボリューム名が boot のパーティション)のルートディレクトリにコピーする
  • 実機に SD カードを移し、リセット後に U-Boot と Linux が起動することを確認する

アプリメニューの "Launch Linux" から起動する方法では特別な対応は不要です。

2023-07-29-024604

Choose a tag to compare

@github-actions github-actions released this 28 Jul 17:46
6117067

Changelog

Root Filesystem

  • brain-config を最新版にアップグレードしました
    • USB ホストコントローラの動作モードが切り替えられるようになりました
  • SD の先頭パーティションが /boot に read-only で自動マウントされるようになりました
  • USB ホストコントローラが "peripheral"(デバイス側)モードの場合 Ethernet (RNDIS) gadget が自動で設定されリンクアップするようになりました

2023-01-18-042715

Choose a tag to compare

@github-actions github-actions released this 17 Jan 19:28
ee93757

Changelog

内部的な変更のみで、機能に変化はありません。

Root Filesystem

  • Ly のバージョンを固定しました

2022-12-22-004118

Choose a tag to compare

@github-actions github-actions released this 21 Dec 15:42
9671252

Changelog

Root Filesystem (Debian)

  • ベースにする Debian のバージョンを修正
  • Display Manager ly が起動しない問題を修正

2022-12-08-010450

Choose a tag to compare

@github-actions github-actions released this 07 Dec 16:05
25668a7

Changelog

Linux

  • MCU 搭載機種のキーボードドライバを改良しキーリピート問題を解消
    • G4200
    • G5200 ~ 5300
    • A7200 ~ 7400
    • A9100 ~ 9300
    • SH1 ~ 2
  • 全機種で画面輝度を標準で最大化
  • USB Audio Class を有効化

U-Boot

  • 第2世代をすべて A7200 に統一

Root Filesystem (Debian)

  • systemd-timesyncd, ca-certificates を追加
  • sudo でアスタリスクを表示するよう変更
  • ly のバージョンアップに対応
  • issue と os-release を Debian 標準に戻した
    • これにより起動時のディストリビューション名が Debian に戻った
    • distupgrade が可能になった

その他

  • BrainLILO が第1世代に対応
    • まだ U-Boot と Linux がないので実質的な影響はない
  • exeopener のライセンス表記を追加

2022-08-07-183650

Choose a tag to compare

@github-actions github-actions released this 07 Aug 09:38
e09c0ba

Changelog

  • brain-config コマンドを追加しルートパーティションの拡張などに対応
  • PW-SH4 のキーボードに対応

2022-07-12-001746

Choose a tag to compare

@github-actions github-actions released this 21 Dec 15:43
7e2b04c

Changelog

  • ボリューム名を付与
    • vfat: boot
    • ext4: rootfs
  • NK.BIN による直接起動をデフォルトで無効化
  • リリース作成時のタグ名を変更