From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] 83xx fails to boot with moderately sized kernels
Date: Fri, 10 Sep 2010 13:29:48 +0200 [thread overview]
Message-ID: <201009101329.48145.sr@denx.de> (raw)
In-Reply-To: <20100910111855.A392B136327@gemini.denx.de>
Hi Ira & Wolfgang,
On Friday 10 September 2010 13:18:55 Wolfgang Denk wrote:
> > Does anyone know the true maximum value for CONFIG_SYS_BOOTMAPSZ on Linux
> > (if one even exists)?
>
> The CONFIG_SYS_BOOTMAPSZ thing is as old as U-Boot and PPCBoot
> exists, i. e. well over a decade. IIRC there was such a limitation on
> the then current 2.2.13 Linux kernels, at least on MPC8xx and PPC40x
> systems, which is where all started from.
>
>
> I am pretty sure that as long as nobody ran into any problems, nobody
> looked into that code, so it was copied from architecture to
> architecture without much thinking, if any.
I looked at it a bit over a year ago and commited this change for the AMCC/APM
eval boards:
commit 6942efc2be1b90054fa4afa5cda7023469fe08b9
Author: Stefan Roese <sr@denx.de>
Date: Tue Jul 28 10:50:32 2009 +0200
ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels
This patch changes CONFIG_SYS_BOOTMAPSZ from 8MB to 16MB which is the
initial TLB on 40x PPC's in the Linux kernel. With this change even bigger
Linux kernels (> 8MB) can be booted.
This patch also sets CONFIG_SYS_BOOTM_LEN to 16MB (default 8MB) to enable
decompression of bigger images.
Signed-off-by: Stefan Roese <sr@denx.de>
So we have this 16MiB initial TLB restriction at least for PPC405 (not
PPC440). I'm pretty sure that 83xx has no such tight restrictions.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
next prev parent reply other threads:[~2010-09-10 11:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-09 22:52 [U-Boot] 83xx fails to boot with moderately sized kernels Ira W. Snyder
2010-09-10 11:18 ` Wolfgang Denk
2010-09-10 11:29 ` Stefan Roese [this message]
2010-09-10 18:10 ` Ira W. Snyder
2010-09-10 18:26 ` Kim Phillips
2010-09-10 18:53 ` Wolfgang Denk
2010-09-10 19:11 ` Kim Phillips
2010-09-10 18:51 ` Wolfgang Denk
2010-09-11 7:19 ` Joakim Tjernlund
2010-09-13 19:21 ` Scott Wood
2010-09-13 21:52 ` Joakim Tjernlund
2010-09-13 22:00 ` Scott Wood
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=201009101329.48145.sr@denx.de \
--to=sr@denx.de \
--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.