I am trying to make uboot boot as fast as possible for my omap3 Overo board. I add the below to my config header file. Does anyone see anything I can add to it to make the build smaller and faster? Thank you.
#define CONFIG_FAST_BOOT #define CONFIG_FAST_BOOT_MMC //#define CONFIG_FAST_BOOT_NAND #ifdef CONFIG_FAST_BOOT #define CONFIG_SILENT_CONSOLE 1 #define CONFIG_ENV_IS_NOWHERE 1 #undef CONFIG_ENV_IS_IN_NAND #undef CONFIG_SYS_LONGHELP #undef CONFIG_AUTO_COMPLETE #undef CONFIG_SYS_HUSH_PARSER #undef CONFIG_REVISION_TAG #undef CONFIG_MD5 #undef CONFIG_SHA1 #undef CONFIG_BZIP2 #undef CONFIG_LZMA #undef CONFIG_CMD_BDI #undef CONFIG_CMD_BOOTD #undef CONFIG_CMD_CONSOLE #undef CONFIG_CMD_ECHO #undef CONFIG_CMD_EDITENV #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_FLASH #undef CONFIG_CMD_IMI #undef CONFIG_CMD_IMLS #undef CONFIG_CMD_ITEST #undef CONFIG_CMD_LOADB #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_MEMORY #undef CONFIG_CMD_MISC #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS #undef CONFIG_CMD_SETGETDCR #undef CONFIG_CMD_SOURCE #undef CONFIG_CMD_XIMG #undef CONFIG_CMD_EXT2 #undef CONFIG_CMD_JFFS2 #undef CONFIG_CMD_USB #undef CONFIG_NET_MULTI #undef CONFIG_SMC911X #undef CONFIG_OF_LIBFDT #undef CONFIG_FIT #undef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ "verify=no\0" \ "bootfile=uImage\0" #undef CONFIG_BOOTDELAY #define CONFIG_BOOTDELAY 0 #ifdef CONFIG_FAST_BOOT_MMC #undef CONFIG_SYS_NAND_QUIET_TEST #undef CONFIG_NAND_OMAP_GPMC #undef CONFIG_CMD_NAND #undef CONFIG_BOOTCOMMAND #define CONFIG_BOOTCOMMAND \ "mmc rescan 0; " \ "fatload mmc 0 0x82000000 uImage; " \ "bootm 0x82000000;" #undef CONFIG_BOOTARGS #define CONFIG_BOOTARGS \ "console=ttyO2,115200n8 " \ "mpurate=600 " \ "quiet noinitrd " \ "root=/dev/mmcblk0p2 rw " \ "rootfstype=ext3 rootwait " #else #undef CONFIG_OMAP3_MMC #undef CONFIG_CMD_MMC #undef CONFIG_CMD_FAT //#undef CONFIG_DOS_PARTITION #undef CONFIG_BOOTCOMMAND #define CONFIG_BOOTCOMMAND \ "nand read 0x82000000 280000 400000; " \ "bootm 0x82000000;" #undef CONFIG_BOOTARGS #define CONFIG_BOOTARGS \ "console=ttyO2,115200n8 " \ "mpurate=600 " \ "quiet noinitrd " \ "root=ubi0:rootfs ubi.mtd=4 " \ "rootfstype=ubifs " #endif // #ifdef CONFIG_FAST_BOOT_MMC #undef CONFIG_USB_OMAP3 #undef CONFIG_MUSB_HCD #undef CONFIG_USB_STORAGE #undef CONFIG_USB_KEYBOARD #undef CONFIG_SYS_USB_EVENT_POLL #undef CONFIG_PREBOOT #undef CONFIG_MUSB_UDC #undef CONFIG_USB_DEVICE #undef CONFIG_USB_TTY #endif // CONFIG_FAST_BOOT -- View this message in context: http://old.nabble.com/Faster-boot-time-tp32503921p32503921.html Sent from the Uboot - Users mailing list archive at Nabble.com. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot