|
|
|
@ -54,9 +54,12 @@ int main(void) |
|
|
|
|
user_con = console_init(1); |
|
|
|
|
admin_con = console_init(0); |
|
|
|
|
|
|
|
|
|
flash = flash_probe(); |
|
|
|
|
flash = ftl_mount(flash); |
|
|
|
|
mufs = mufs_mount(flash); |
|
|
|
|
if ((flash = flash_probe())) { |
|
|
|
|
flash = ftl_mount(flash); |
|
|
|
|
mufs = mufs_mount(flash); |
|
|
|
|
} else { |
|
|
|
|
fprintf(admin_con->fp, "error: unable to probe flash chip.\n"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fprintf(user_con->fp, "TBM-dev (built on " __DATE__ ")\n"); |
|
|
|
|
fprintf(admin_con->fp, "TBM-dev (built on " __DATE__ ")\n"); |
|
|
|
|