K
K
Kop3t32014-05-31 22:08:21
network hardware
Kop3t3, 2014-05-31 22:08:21

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

1 answer(s)
K
Kop3t3, 2014-06-30
@Kop3t3

It's strange, but it works if you put it on the 4th debian (which the author supposedly used)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question