From satori to dd-wrt 24

Will upgrading from satori on the wrt54g v2 to dd-wrt 24 work through the webinterface of satori or do I have to use the tftp option or flash back to linksys original firmware first and then do a flash using the webinterface?