Netgear X10 (R9000)

use the patch from the build-instructions;

# >>> patch al_hal_serdes.c <<<
wget -N https://raw.githubusercontent.com/masmbit/Netgear-R9000-Build/master/bin/01.09.2024/patch/al_hal_serdes.patch -P target/linux/alpine/files/arch/arm/mach-alpine/
patch -N target/linux/alpine/files/arch/arm/mach-alpine/al_hal_serdes.c target/linux/alpine/files/arch/arm/mach-alpine/al_hal_serdes.patch
# >>> patch al_init_eth_kr.c <<<
wget -N https://raw.githubusercontent.com/masmbit/Netgear-R9000-Build/master/bin/01.09.2024/patch/al_init_eth_kr.patch -P target/linux/alpine/files/drivers/net/ethernet/al/
patch -N target/linux/alpine/files/drivers/net/ethernet/al/al_init_eth_kr.c target/linux/alpine/files/drivers/net/ethernet/al/al_init_eth_kr.patch
# >>> patch freeswitch Makefile <<<
wget -N https://raw.githubusercontent.com/masmbit/Netgear-R9000-Build/master/bin/01.09.2024/patch/freeswitch.Makefile.patch -P package/feeds/telephony/freeswitch/
patch -N package/feeds/telephony/freeswitch/Makefile package/feeds/telephony/freeswitch/freeswitch.Makefile.patch

I end up with the error below when patching freewitch, can you suggest how to resolve the issue?

patch -N package/feeds/telephony/freeswitch/Makefile package/feeds/telephony/freeswitch/freeswitch.Makefile.patch
patching file package/feeds/telephony/freeswitch/Makefile
Hunk #1 FAILED at 320.
patch: **** Can't reopen file package/feeds/telephony/freeswitch/Makefile : No such file or directory

The APK package manager is now the default package manager in OpenWrt main.
How to fix package manager?

Downloading https://downloads.openwrt.org/snapshots/targets/alpine/generic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/alpine/generic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/alpinefancontrol/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/alpinefancontrol/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/amneziawg/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/amneziawg/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/egorenar_custom/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/egorenar_custom/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz

> Blockquote

anyone have any updates on the map for APK support?

Hi
I've updated the binaries + packages following mamsbit build script
they are available on my site: http://avxt.fr:81/Linux6_20241202/

1 Like

Hi,
I’m wondering if anyone has successfully used a GPON SFP module—specifically something like the Huawei MA5671A—directly in the SFP+ port.
• Are there any dedicated packages or patches for OpenWrt that add GPON/OMCI support on the R9000?
• Has anyone managed to configure the module for GPON authentication (PLOAM password, serial, OMCI provisioning) under OpenWrt?
• If so, could you share any pointers, scripts, or a guide on how you got it working?

I’d like to avoid using an external ONT if possible, but I realize this might be quite experimental. Any advice or experiences are much appreciated!

1 Like

Due to I2C bugs basically the only thing that works in the SFP port are DAC cables and some transcievers.

That said, GPON SFP modules are actually tiny, self contained ONTs - the MA5671A has a web UI that you can configure just like any Huawei ONT (or reflash it to the openwrt fork for it...) There's no need for OpenWrt specific support, it will look like a 1000Mbps ethernet SFP module.

Is APK support enabled in your build?

Same issue for me.
There is a file in that directory named Makefile.orig, but selecting that file instead just ends in a new error

Hunk #1 FAILED at 320
1 out of 1 hunk FAILED -- saving rejects to file package/feeds/telephony/freeswitch/Makefile.orig.rej

Edit:
Freeswitch doesnt seem to be there. Possibly its missing? There is no make file and I cant find any package related to it.

Edit2:
The make file in the FreeSWITCH repo seems to point to this being the place where edits are being made, on row 302:
https://github.com/signalwire/freeswitch/blob/master/Makefile.am
Also,

package/feeds/telephony/freeswitch/

doesnt exist.
What does exist is:

feeds/telephony/net/freeswitch/

Im going to test that to see if it works :smiley:

Edit3:
Seems like that patch isnt needed for that particular make file.

$ patch -N feeds/telephony/net/freeswitch/Makefile feeds/telephony/net/freeswitch/freeswitch.Makefile.patch
patching file feeds/telephony/net/freeswitch/Makefile
Reversed (or previously applied) patch detected! Skipping patch.

Im going to continue to the next step without this patch.

Edit4:
Shoot me. Disk full.

Edit5:
This error will get me stuck for a while.

make[1]: *** [package/Makefile:179: /home/ubuntu/OpenWRTR9000/R9000/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2

Perhaps its a remnant from when the disk got full, I'll start over....

Edit6:

It seems to have built just fine. Now to see if an upgrade is even possible.
Lets hope I don't destroy everything.

Edit7:

Flashed with the image. Worked fine. This image has QMI packages as well, in case you need the modem stuff.
Here are the files:
https://www.dropbox.com/s/wuqe4n9wpxy5pvn/2025-01-08.zip?dl=0

Oh, yes, worth noting. I haven't upgraded in over a year and ran the sysupgrade with no issues - as far as I can see.

1 Like

Just done a new build and flash, APK seems supported but with errors

This link returns 404. Seems like apk only works for official releases without adding your own server source, perhaps? Might be the same case for the other links, haven't checked that.
https://downloads.openwrt.org/snapshots/targets/alpine/generic/packages/packages.adb

1 Like

@egorenar Just checking in, are you still alive?

yes :grin:
but no longer have use for this hw at the moment.
therefore, haven‘t made any updates to my git devel branch recently.

Oh. What hw have you moved on to?
If you have your eye on a new OpenWRT port then perhaps I need to get the same hw :smiley:

Personally I am still happy with the R9000. Ever since I swapped out my 5 modems to 2 Starlink things are smooth, not a single issue - except the Firewall rules not applying after a change, sometimes.

in my case r9000 is more powerful than i need right now :smiley:
no new hw in sight at the moment.
just switched it off until i need it again.

Side note.
Considering you are a top-of-the-line dev. Would you be interested in a pet project?

My day job is, basically, being an inventor. I have an idea for a ... something very cool. PM me if you are interested.