Answer the question
In order to leave comments, you need to log in
Cross compiler does not cross compile
I'm trying to compile the firmware for the DLink dir 120 router.
1) following the instructions from here: dlink-hack.narod.ru (using the files indicated in the article (the links on the site itself are broken, but everything is googled)
2) downloading the firmware source and the toolchain from the dlink website ( http://tsd.dlink.com.tw)
Everything is assembled without errors, and without errors it is flashed, but the router after flashing and rebooting reaches the line "Image Start Address = 0xbe030000" in the boot log, which I see via UART , then prints some binary characters and stops.
If you assemble it with the official HelloWorld toolchain, upload it to the router and run it, then the error "Pid: ... Error: 11" will appear
PS:
according to the link in the first paragraph - firmware from another router, but if you flash the firmware compiled by the author, then it works.
PPS:
The resulting binaries do not run on the computer, therefore, the toolchain "works".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question