Skip to content

Add OpenWrt One bootloader output#29

Open
pcc wants to merge 1 commit into
telent:mainfrom
pcc:bl
Open

Add OpenWrt One bootloader output#29
pcc wants to merge 1 commit into
telent:mainfrom
pcc:bl

Conversation

@pcc
Copy link
Copy Markdown
Contributor

@pcc pcc commented May 24, 2026

The #26 proposal relies on a fix for a U-Boot bug, so we may need to ask users to flash a new bootloader in order to use the new recovery system. Therefore, add an output to the openwrt-one device that builds a bootloader with the bug fix, and add instructions for building, booting and flashing the bootloader using the new output.

Since we now need to build our own bootloader, let's also do a couple of things:

  1. Enable KASLR support via a recently landed TF-A change: mediatek: mt7981, mt7987, mt7988: add SMCCC TRNG support mtk-openwrt/arm-trusted-firmware#22

  2. Make it more convenient to configure the system to boot Liminix by building the environment variable update into the U-Boot binary (which will change with the new recovery system).

The telent#26 proposal relies on a fix for a U-Boot bug, so we may need to
ask users to flash a new bootloader in order to use the new recovery
system. Therefore, add an output to the openwrt-one device that builds a
bootloader with the bug fix, and add instructions for building, booting
and flashing the bootloader using the new output.

Since we now need to build our own bootloader, let's also do a couple
of things:

1. Enable KASLR support via a recently landed TF-A change:
   mtk-openwrt/arm-trusted-firmware#22

2. Make it more convenient to configure the system to boot Liminix by
   building the environment variable update into the U-Boot binary
   (which will change with the new recovery system).
@pcc
Copy link
Copy Markdown
Contributor Author

pcc commented May 24, 2026

Needs these PRs to build:

NixOS/nixpkgs#518984

NixOS/nixpkgs#518985

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant