adron-s / openwrt-rb5009

This is OpenWrt for Mikrotik RB5009
Other
40 stars 9 forks source link

OpenWrt 22.03 #2

Open ghost opened 2 years ago

ghost commented 2 years ago

I was successfully able to install OpenWrt with the provided instructions and binaries in the repository but now I want to upgrade to the latest 22.03. I tried to build a sysupgrade image with the Quick Start instructions in the repository but clearly I still need more knowledge on how to do that. I guess I'm asking for a resource to help me build as close to the 22.03 release for the RB5009.

HolgerHees commented 1 year ago

I'm not an openwrt expert too, but I believe this is the right order to do.

First you should setup your build system, described here

https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem

it is mostly installing missing packages

and after, just follow the procedure below

  1. git clone https://github.com/openwrt/openwrt.git
  2. cd openwrt
  3. git checkout openwrt-22.03
  4. wget -O mikrotik.patch https://paste.debian.net/download/1243978/
  5. git apply mikrotik.patch
  6. wget -O mikrotik.config https://github.com/adron-s/openwrt-rb5009/releases/download/rb5009-20220209/config
  7. cp mikrotik.config .config
  8. ./scripts/feeds update -a
  9. ./scripts/feeds install -a
  10. make

@adron-s please correct me if I'm missing something

EmanuelLoos commented 1 year ago

I believe it currently should be:

git checkout tags/v22.03.5 -b v22.03.5-branch

openwrt-22.03 seems to be a development branch.