This changes to the boot scripts allow switching to lwip simply by setting lwip=yes in the boot monitor.