never heard of that linux can be ported to MCS51.. i dont know about FreeDOS..
isnt linux much much too big to be put in MCS51?
if you look RTOS for MCS51 try to google it. but i dont think it is possible to port linux there. the smallest linux i ever heard for uC is uClinux.