Palm loses $506 million, sees drop in revenue