From: alex@digriz.org.uk (Alexander Clouter)
To: linux-arm-kernel@lists.infradead.org
Subject: Maximum bootable kernel size in current ARM linux
Date: Wed, 15 Sep 2010 23:02:29 +0100 [thread overview]
Message-ID: <lcs7m7-1hb.ln1@chipmunk.wormnet.eu> (raw)
In-Reply-To: 4C912CE4.3000306@endruntechnologies.com
Bruce M. Penrod <bmpenrod@endruntechnologies.com> wrote:
>
> U-Boot loads the zImage at 0x800000. Yesterday I added features back
> into the kernel and am up to 4600 * 1024 with no issues. So definitely
> not a hard limit at 4MB. It takes quite a while to compile on the
> OpenRD, so it may take a while for me to discover the magic combination
> that doesn't work. I removed a LOT of stuff, and I'd rather add it back
> in gradually to get an idea whether it is a size issue or some bad other
> thing with a combination of options.
>
Cross compiling is dead easy, if you are a Debian user (*always* use
'lenny' for emdebian, even if you are locally using 'squeeze' or 'sid'):
----
# cat <<EOF > /etc/apt/sources.list.d/emdebian.list
deb http://www.emdebian.org/debian/ lenny main
EOF
# aptitude update
# aptitude install gcc-4.3-arm-linux-gnueabi libc6-dev-armel-cross
----
Then when cross compiling you can use the shell alias:
----
alias amake="ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make"
----
Then inside the Linux kernel directory just type 'amake menuconfig;
amake'...much faster.
If you are not using Debian (why not? :) then you can use buildroot if
your distro does not come with cross-compiling tools. On my website I
have a page describing the process for a MIPS platform, if you need any
help do ask:
http://www.digriz.org.uk/wag54g
Cheers
--
Alexander Clouter
.sigmonster says: It's not the inital skirt length, it's the upcreep.
next prev parent reply other threads:[~2010-09-15 22:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 7:40 Maximum bootable kernel size in current ARM linux Bruce M. Penrod
2010-09-13 8:43 ` Marek Vasut
2010-09-13 9:56 ` Haojian Zhuang
2010-09-13 10:10 ` Simon Guinot
2010-09-13 10:15 ` Russell King - ARM Linux
2010-09-13 11:58 ` Matthieu CASTET
2010-09-13 12:38 ` Russell King - ARM Linux
2010-09-14 12:35 ` Dave P. Martin
2010-09-14 12:54 ` Catalin Marinas
2010-09-14 17:37 ` Nicolas Pitre
2010-09-16 17:16 ` Catalin Marinas
2010-09-16 17:51 ` Russell King - ARM Linux
2010-09-16 18:37 ` Nicolas Pitre
2010-09-17 10:09 ` Catalin Marinas
2010-09-16 17:58 ` Nicolas Pitre
2010-09-17 10:09 ` Catalin Marinas
2010-09-13 10:01 ` Russell King - ARM Linux
2010-09-13 19:43 ` Bruce M. Penrod
2010-09-14 17:32 ` Nicolas Pitre
2010-09-14 17:55 ` Bruce M. Penrod
2010-09-14 18:46 ` Nicolas Pitre
2010-09-15 20:30 ` Bruce M. Penrod
2010-09-15 22:02 ` Alexander Clouter [this message]
2010-09-15 22:19 ` Nicolas Pitre
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=lcs7m7-1hb.ln1@chipmunk.wormnet.eu \
--to=alex@digriz.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/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.