From: dtran11 <dtran11@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Faster boot time
Date: Sun, 25 Sep 2011 13:03:25 -0700 (PDT) [thread overview]
Message-ID: <32503921.post@talk.nabble.com> (raw)
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.
next reply other threads:[~2011-09-25 20:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-25 20:03 dtran11 [this message]
2011-09-25 20:37 ` [U-Boot] Faster boot time Premi, Sanjeev
2011-09-26 8:56 ` Simon Schwarz
2011-09-26 12:30 ` Dat Tran
2011-09-26 12:40 ` Simon Schwarz
2011-09-26 14:30 ` Dat Tran
2011-09-26 15:32 ` Simon Schwarz
2011-09-26 16:17 ` Dat Tran
2011-09-26 17:56 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32503921.post@talk.nabble.com \
--to=dtran11@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.