The above is rather old, and applies to the earlier generation of Linksys routers using dd-wrt, but the basic principles and ideas are still useful. Sometimes it's not really bricked, but a lack of knowledge about how to revive is the bigger problem. Hopefully this will provide some insights.