stuck on google logo

my nexus 5 prompted me to do a system upgrade. I said yes, while upgrading, about 80% along the way, it suddenly showed the small android logo with an error message underneath. so I restarted it by pressing the power button and since then its stuck on the google logo. it stays on it for hours. the phone is practically bricked.

I did hard reset to factory setting. I did cache wipe. nothing changed it stops at google logo and that's it.

what is the solution to this problem?

Simon

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0