I am not sure how exactly you have prepared your modified firmware, so please excuse me if I say anything you already know.
In order to port dd-wrt to a new board, there is generally quite a lot to do. These are the steps I followed for the DIR-819:
1. Download dd-wrt source
2. Download buildroot (for cross compiling build environment)
3. Download D-Link 819 gpl source (I needed this for the wireless drivers)
4. Decide on a linux version (I used 3.10) and download source
5. Set up configuration (.config and makefile). This will probably involve some guessing and finger crossing. I used the gpl config as a starting point)
6. make (config, menuconfig, just make, and install)
7. I then had to fudge the build of the .img and .bin from the kernel, rootfs and bootloader because the 819 d-link firmware uses every trick in the book to make it hard. I modified their mkimage script for that. This is where you encounter magic number type problems (or CRC checks etc.).
8. Test and fix stuff that doesn't work, like driver differences and startup code in .../router/services/...
9. Be prepared for people to find stuff that still doesn't work properly
I think it would be extremely hard to do without console access to the router; the 819 has a serial console but I had to solder the pins on.
Posted: Thu Sep 27, 2018 19:33 Post subject: Fixed routing and MAC issues for dir-819 port
putznutz wrote:
WAN didn't work. MAC was incorrect and even cloned old address hoping that would do it. That didn't work.
Then used attached _org.bin to revert, and that took me to a softbrick. Had to set fixed IP to crash firmware recovery. Used original 1.01A from D-Link site to bring back to stock.
Hi again,
1. I have fixed the routing problem (hard to pin down, easy to fix)
2. I have also fixed the MAC problem which was down to finding where uboot had hidden it
3. Fixed the update LED too which was always on and bugging me
I can see that going back to the original firmware was not working for you because I also modified the bootloader, and you will need to update from the img to get the changes (easy from console, not so easy otherwise, I can give instructions if you want).
I have appended the updated firmware as v2.
The bins are for update (both work from the respective router web interfaces: d-link and dd-wrt) and the imgs are for rewriting the bootloader too. To write the imgs you will need access to the console, which implies soldering some pins onto the board (I fiddled a bit with the bootloader, more out of love for the English language than anything else ).
The _ddwrt are (obviously) dd-wrt and the _org are if you want to go back to the original firmware.
Disclaimer: This works on my DIR-819, it's not my fault if you brick yours. But most brickings can be fixed with access to the console. In the worst case, get an arduino and you can flash the EEPROM directly (which I have also tried and it works just fine).
I'm using the factory firmware version : 1.06, and your files don't work.
Posted: Wed Nov 06, 2019 13:42 Post subject: Re: Fixed routing and MAC issues for dir-819 port
niko_xx wrote:
putznutz wrote:
WAN didn't work. MAC was incorrect and even cloned old address hoping that would do it. That didn't work.
Then used attached _org.bin to revert, and that took me to a softbrick. Had to set fixed IP to crash firmware recovery. Used original 1.01A from D-Link site to bring back to stock.
Hi again,
1. I have fixed the routing problem (hard to pin down, easy to fix)
2. I have also fixed the MAC problem which was down to finding where uboot had hidden it
3. Fixed the update LED too which was always on and bugging me
I can see that going back to the original firmware was not working for you because I also modified the bootloader, and you will need to update from the img to get the changes (easy from console, not so easy otherwise, I can give instructions if you want).
I have appended the updated firmware as v2.
Posted: Wed May 13, 2020 21:25 Post subject: Re: Fixed routing and MAC issues for dir-819 port
niko_xx wrote:
putznutz wrote:
WAN didn't work. MAC was incorrect and even cloned old address hoping that would do it. That didn't work.
Then used attached _org.bin to revert, and that took me to a softbrick. Had to set fixed IP to crash firmware recovery. Used original 1.01A from D-Link site to bring back to stock.
Hi again,
1. I have fixed the routing problem (hard to pin down, easy to fix)
2. I have also fixed the MAC problem which was down to finding where uboot had hidden it
3. Fixed the update LED too which was always on and bugging me
I can see that going back to the original firmware was not working for you because I also modified the bootloader, and you will need to update from the img to get the changes (easy from console, not so easy otherwise, I can give instructions if you want).
I have appended the updated firmware as v2.
Please, can u give me instructions to go back to the original firmware from console?