From: "Arnd Bergmann" <arnd@arndb.de>
To: "Roger Quadros" <rogerq@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Russell King" <linux@armlinux.org.uk>
Cc: "Thinh Nguyen" <Thinh.Nguyen@synopsys.com>,
"Nishanth Menon" <nm@ti.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
"Vignesh Raghavendra" <vigneshr@ti.com>
Subject: Re: [PATCH] ARM: multi_v7_defconfig: make USB_DWC3 as a module instead of built-in
Date: Tue, 04 Apr 2023 15:08:45 +0200 [thread overview]
Message-ID: <5a85b6db-f4c9-4cff-ab25-73fed75d6983@app.fastmail.com> (raw)
In-Reply-To: <87cc8d92-0345-bc4b-60e8-1ca016691371@kernel.org>
On Tue, Apr 4, 2023, at 14:59, Roger Quadros wrote:
> On 04/04/2023 15:14, Arnd Bergmann wrote:
>> On Tue, Apr 4, 2023, at 13:46, Roger Quadros wrote:
>> That seems really high, so I had a look at what's going on.
>
> It was based on the configuration we are using at TI.
>
> (as built-in)
>
> $ size vmlinux
> text data bss dec hex filename
> 14616949 5285870 491776 20394595 1373263 vmlinux
> $ ls -l vmlinux
> -rwxrwxr-x 1 roger roger 120866544 Apr 4 15:54 vmlinux
>
> (as module)
>
> $ size vmlinux
> text data bss dec hex filename
> 14550571 5258106 491776 20300453 135c2a5 vmlinux
> $ ls -l vmlinux
> -rwxrwxr-x 1 roger roger 120324528 Apr 4 15:52 vmlinux
>
>
> $ diff built-in-config module-config
> 5547c5547
> < CONFIG_USB_XHCI_PLATFORM=y
> ---
>> CONFIG_USB_XHCI_PLATFORM=m
> 5614c5614
> < CONFIG_USB_DWC3=y
> ---
>> CONFIG_USB_DWC3=m
Ok, so the size difference here is only 94KB, presumably
because have the non-TI variants as well as debugfs and/or
gadget mode disabled. For the file size, my guess is that
you have CONFIG_DEBUG_INFO enabled in your config, which
drastically increases the size of the vmlinux file, but
not the in-memory size, or the size of the stripped and
compressed zImage.
Arnd
next prev parent reply other threads:[~2023-04-04 13:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 8:42 Roger Quadros
2023-04-04 8:51 ` Arnd Bergmann
2023-04-04 10:01 ` Krzysztof Kozlowski
2023-04-04 11:46 ` Roger Quadros
2023-04-04 12:14 ` Arnd Bergmann
2023-04-04 12:59 ` Roger Quadros
2023-04-04 13:08 ` Arnd Bergmann [this message]
2023-04-04 15:09 ` Roger Quadros
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=5a85b6db-f4c9-4cff-ab25-73fed75d6983@app.fastmail.com \
--to=arnd@arndb.de \
--cc=Thinh.Nguyen@synopsys.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=nm@ti.com \
--cc=rogerq@kernel.org \
--cc=vigneshr@ti.com \
/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
all inboxes | Powered by JetHome®