implemented early_initcall and moved text_console