fix redboot some problem ,such as ram length and config