Closed kallisti5 closed 1 year ago
I'd suggest creating an omega2 package that replicates the ramips product.. ramips_24kc is a product identifier not the cpu architecture
openwrt doesn't release "ramips_24kc" packages: https://downloads.openwrt.org/releases/21.02.1/packages/
tldr; if anyone wants to run gateway-rs on openwrt, they'll need mipsel_24kc
The name of the package is a product name not the cpu architecture or linux distro names.
The gateway-rs release packages are packaged up releases for each product to tie together the cpu architecture, install mechanism updater and other differences for that specific combination of hardware, OS, packager, configuration
sure, my point is:
the filesystem layout of the ramips_24kec package is fine for generic openwrt and works fine.
BusyBox v1.33.1 (2021-10-24 09:01:35 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 21.02.1, r16325-88151b8303
-----------------------------------------------------
root@Omega-FE3F:/#
root@Omega-FE3F:/# uname -a
Linux Omega-FE3F 5.4.154 #0 Sun Oct 24 09:01:35 2021 mips GNU/Linux
root@Omega-FE3F:/# opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10
Just create a mipsel_24kc package and gateway-rs will install without modification on any openwrt-based device (including the Onion Omega2)
My point is that that architecture is required to be stated that way for that specific RAK product it is installed on. The IPK will install on that specific product. The ramips_24kec product did not work with a different architecture specified
If you have a different product like the Omega it gets its own package header with the right architecture there.
Right now we don't have a "generic" OpenWRT package.. since in current experience they're all slightly different. But happy to take PRs if you have them
Closing per #339
This actually runs on the onion omega2 by manually extracting the ramips_24kec.ipk and putting the files onto the filesystem manually.
This package doesn't auto install because ramips_24kec is missing as an architecture on the Onion Omega2.
Would it make sense to build for mipsel_24kc as well as ramips_24kec? It's the same toolchain triplet, just different ipk architecture identifiers.