Updating u-boot while running OpenWRT
Closed this issue · 7 comments
How am I supposed to update to newer uboot releases once available? I already have OpenWRT running so mtd write /tmp/mt7981_ax3000t-fip-fixed-parts-multi-layout.bin FIP
would be enough, correct?
In theory, yes!
You should be able to write U-Boot to the FIP partition using the mtd
command.
This repository is just for compiling, though. For more information about U-Boot, check out the source repository https://github.com/hanwckf/immortalwrt-mt798x
@hkint Thanks for the swift reply!
I'll give this a go when the next release comes out. I took partition backups and I have UART ready to go in case I need to recover. OpenWRT's bootloaders and Xiaomi's either result in a boot loop or break wifi alltogether on my RD23. And they lack that fancy update/recovery web UI. I'll reopen the issue if I face a problem.
Cheers!
I had to install kmod-mtd-rw
insmod /lib/modules/$(uname -r)/mtd-rw.ko i_want_a_brick=1
And the mtd write command worked.
@erayrafet
That’s great!
I just saw the notification and was about to reply.
@erayrafet That’s great! I just saw the notification and was about to reply.
What's new with this update?
Sorry, I might not have expressed this repo clearly.
The release here is just a scheduled monthly build, and there might not be any updates, as it all depends on the upstream.
If you're interested, you can check the corresponding commit history here: https://github.com/hanwckf/bl-mt798x/commits/master/