Skip to content

ODI Realtek DFP-34X-2C2: add the odi-oss open firmware - #538

Open
AndreZiviani wants to merge 1 commit into
hack-gpon:mainfrom
AndreZiviani:odi-oss-open-firmware
Open

AndreZiviani wants to merge 1 commit into
hack-gpon:mainfrom
AndreZiviani:odi-oss-open-firmware

Conversation

@AndreZiviani

Copy link
Copy Markdown

I maintain odi-oss, an open firmware for this stick, and added a short section about it at the end of the Modifying the firmware section. It's tested on two sticks on two ISPs, and the README has the install path and the safety model.

🤖 Generated with Claude Code

@simonebortolin

simonebortolin commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

#536

Hello, I’d like to manage the community’s open-source firmware in a consistent manner (I’m not talking about modded firmware, but closed-source firmware – I mean the open-source ones). I’d like to find a way to give everyone equal visibility, but at the same time I’d still like to bring all the firmware together into a single, large, cross-ONT/cross-compiled open-source firmware package.

Your firmware certainly meets the most important criteria (open-source code that is publicly available and verifiable).

I’d like to place much greater value on open-source firmware than on the original modded or closed-source versions. I think that’s in keeping with the true spirit of the community, but on the other hand, I’d like to have a single firmware for all targets

In any case, can I test it on my odi stick?

@simonebortolin

Copy link
Copy Markdown
Contributor

One question

But how difficult would the porting process be for him, too? https://hack-gpon.org/ont-technicolor-afm0003/

@AndreZiviani

Copy link
Copy Markdown
Author

Hard to say without one on my desk, but it's less work than a new chip would be. Your page lists it as an RTL9601CI. On the DFP-34X-2C2 the RTL9601D turned out to be an RTL9602C die, and the vendor tools list the 9601C as another variant of that same die. If that holds for the AFM0003, the switch, GPON and OMCI parts of odi-oss would carry over.

The board is what wouldn't:

  • Its 128 MB flash with 128 KiB erase blocks looks like NAND, and odi-oss is built around the 2C2's 8 MB SPI NOR, so it would need a flash driver and a new layout.
  • The GPIOs, the optics wiring and the laser driver chip are probably different too. odi-oss keeps the laser off on a driver chip it hasn't been tested with.
  • U-Boot looks familiar: the same env/env2 and k0/r0/k1/r1 dual-image layout.

So it's doable, but I'd need someone with the stick and a serial console to get started. The output of diag debug get version detail and cat /proc/mtd, plus the boot log, would show how far off it is.

@simonebortolin

Copy link
Copy Markdown
Contributor

OK, thanks @AndreZiviani. I’ll open an issue for the afm0003 (I’ve got one with the serial pin) and another brand-new one. And tomorrow I’ll have a go a test with the ODI. In the meantime, I’ll think about how to promote your project.
I’d like to dedicate a page to you, with all the necessary instructions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants