From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unable to run scripts with autoscr command
Date: Mon, 27 Feb 2012 22:56:00 +1100 [thread overview]
Message-ID: <4F4B6F50.8060205@gmail.com> (raw)
In-Reply-To: <CAEVEsMZ_zp6-JTnCH5rs3PbjNYEBNMkA8hKvLv5LWOZMEXrUNQ@mail.gmail.com>
Hi Asif,
On 02/27/2012 07:19 PM, Asif Sulikeri wrote:
> Hi Graeme,
>
> On Mon, Feb 27, 2012 at 12:12 PM, Graeme Russ <graeme.russ@gmail.com
> <mailto:graeme.russ@gmail.com>> wrote:
>
> Hi Asif,
>
> On 02/27/2012 05:26 PM, Asif Sulikeri wrote:
> > >> And the increase of 100kB is massive - are you sure you are
> > compiling with
> > >> the same set of options defined in the board config file? If
> you are
> > sure,
> > >> then it would be interesting to find out what has caused it.
> >
> >
> > I am compiling with the default options, with no additional changes
> made to
> > the conf file, the 1.3.4 version used to give me 150kB binary as compared
> > to the 252kB binary generated by the 2010.06 version.
>
> Ah - Looks like some more options have crept into the default configuration
> - Can you send the two board config files (as inline text, not attachments)
> so I can compare?
[snip]
> and the contents of: *u-boot-2010.06/include/configs/davinci_dm365evm.h *
> u-boot version: *2010.06*
[snip]
>
> /* USB Configuration */
> #define CONFIG_USB_DAVINCI
> #define CONFIG_MUSB_HCD
I think this is where most of the code size increase is coming from - Try
to #undef there and all of the following USB stuff will go
> #ifdef CONFIG_USB_DAVINCI
> #define CONFIG_CMD_USB /* include support for usb */
> #define CONFIG_CMD_STORAGE /* include support for usb */
> #define CONFIG_CMD_FAT /* include support for FAT/storage*/
> #define CONFIG_DOS_PARTITION /* include support for FAT/storage*/
> #endif
>
> #ifdef CONFIG_MUSB_HCD /* include support for usb host */
> #define CONFIG_CMD_USB /* include support for usb cmd */
> #define CONFIG_USB_STORAGE /* MSC class support */
> #define CONFIG_CMD_STORAGE /* inclue support for usb-storage cmd */
> #define CONFIG_CMD_FAT /* inclue support for FAT/storage */
> #define CONFIG_DOS_PARTITION /* inclue support for FAT/storage */
>
> #ifdef CONFIG_USB_KEYBOARD /* HID class support */
> #define CONFIG_SYS_USB_EVENT_POLL
>
> #define CONFIG_PREBOOT "usb start"
> #endif /* CONFIG_USB_KEYBOARD */
> #endif /* CONFIG_MUSB_HCD */
>
> #ifdef CONFIG_MUSB_UDC
> #define CONFIG_USB_DEVICE 1
> #define CONFIG_USB_TTY 1
> #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
> #define CONFIG_USBD_VENDORID 0x0451
> #define CONFIG_USBD_PRODUCTID 0x5678
> #define CONFIG_USBD_MANUFACTURER "Texas Instruments"
> #define CONFIG_USBD_PRODUCT_NAME "DM365VM"
> #endif /* CONFIG_MUSB_UDC */
>
Regards,
Graeme
prev parent reply other threads:[~2012-02-27 11:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 11:22 [U-Boot] Unable to run scripts with autoscr command Asif Sulikeri
2012-02-17 15:31 ` Detlev Zundel
2012-02-20 10:15 ` Asif Sulikeri
2012-02-24 5:25 ` Asif Sulikeri
2012-02-24 5:31 ` Graeme Russ
2012-02-24 5:43 ` Asif Sulikeri
2012-02-25 1:14 ` Graeme Russ
2012-02-27 5:57 ` Asif Sulikeri
2012-02-27 6:03 ` Graeme Russ
2012-02-27 6:26 ` Asif Sulikeri
2012-02-27 6:42 ` Graeme Russ
2012-02-27 8:19 ` Asif Sulikeri
2012-02-27 11:56 ` Graeme Russ [this message]
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=4F4B6F50.8060205@gmail.com \
--to=graeme.russ@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox