[USETUP][SETUPLIB] Move the bootsup.c code into the setuplib, and perform the necessa...