Comments (5)
Ok, so what you got here in this repo is really just for initial installation. Of course, you could use this script to generate the sysupgrade image, but that's a bit of overkill.
Is that something you would consider adding to the official build?
No, I'd like to keep it minimal as it is easy to add things later on.
If you want to bake your own firmware image for this (and other) devices with pre-installed package (as you mentioned), the easiest way would be to use https://chef.libremesh.org/ which allows you to customize OpenWrt images for any device supported by OpenWrt.
On a side note, I am not quite sure what the difference is between the recovery and the sysupgrade firmware files. I have never worked with OpenWRT, but I have a client who I am guiding in flashing the router, and he says that he can run OpenWRT with the recovery image, but once he flashes the sysupgrade image, the device no longer responds. Is that even supposed to work, I mean, running from the recovery image alone? (I realize this is very tangential to this issue.)
The concept of dual-booting recovery
vs. production
is also quite new to OpenWrt and is more commonly found on Android devices (though it's built there in a different way).
Regarding the issue of your client:
You should not flash the recovery
image when still running stock firmware or non-UBI OpenWrt. It may work, but will certainly break things once you try to use to flash something else (ie. sysugprade image).
Please use the file openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer.itb (note the word "installer" in the filename!) which will perform initialization of the flash (ubiformat) and also install the recovery to flash. Then use that to flash openwrt-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb.
from owrt-ubi-installer.
Thanks for the detailed feedback. I understand the reasoning for not wanting to include anything more than necessary, however installing kernel mods seems to be a PITA with snapshot releases … anyway, I will close this issue then!
from owrt-ubi-installer.
If the snapshot is more or less recent installing kmods should be no problem. I'd recommend to use auc
to keep your snapshot up-to-date, then installing what ever kernel and userspace additions you want will just work.
from owrt-ubi-installer.
I'm new to openwrt and still bewildered by it. I just found https://chef.libremesh.org/ you recommended very useful. So I want to ask about the blank Custom script to run on first boot (optional)
what should I enter. What's the difference between it and that built by your repo...?
from owrt-ubi-installer.
The custom script you can add via chef.libremesh.org are added to the regular root filesystem of an image. It's in optional feature which allows you to run some commands, usually to modify some default settings. If you don't need this, jsut let it be empty.
To generate an installer like the one here in this repo, it is needed to add/modify the initramfs
image which is not supported (yet) by the OpenWrt ImageBuilder (and hence also not supported by chef.libremesh.org which uses that).
from owrt-ubi-installer.
Related Issues (20)
- updates to instruction
- Solid white power and internet lights
- Connection establishment takes long time HOT 5
- RT new firmware ver.: Ver. 1.2.00.360516 HOT 11
- [question] What's the current flash procedure HOT 1
- Update Pre-Built Files HOT 2
- OpenWRT UBI Installer for more routers HOT 2
- Attended sysupgrade doesn't upgrade to latest OpenWrt version HOT 14
- Flashed *-ubi-squashfs-sysupgrade.itb, router is non-responsive, power light blinking white HOT 2
- no lights when powering on,am i bricked HOT 16
- Unable to create UBI Installer Images from OpenWrt MAIN SNAPSHOT r25339-35a5e62da7 ImageBuilder HOT 5
- Rookie installs debugging build by accident and cannot reverse it. HOT 3
- 5Ghz wireless devices is miss.
- Stuck on the same production image after commit 6aec3c7 HOT 3
- build config and dts HOT 1
- Belkin RT3200 Stuck in Recovery Mode can only force upgrade (which all fail) HOT 3
- Downgrade from v1.1.1 to v1.0.3 HOT 2
- Restoring Vendor Firmware Failure HOT 1
- some help!
- build_installer.sh script is failing to build images due to OpenWrt main / master branch changing from tar.xz to tar.zst (zstandard aka zstd) compression
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owrt-ubi-installer.