From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: M Ptich <ptich@hotmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Booting without Uboot on 8548E
Date: Sat, 04 Nov 2006 20:13:40 +1100 [thread overview]
Message-ID: <1162631621.28571.26.camel@localhost.localdomain> (raw)
In-Reply-To: <BAY102-F21BB220054F2541A7614E4A9FD0@phx.gbl>
On Sat, 2006-11-04 at 08:52 +0000, M Ptich wrote:
> Documentation mentions that the only dependencies between 2.6 Kernel and
> bootloader are:
>
> 1. 5 input parameters (bd_t pointer, start and end of command line, start
> and end of ram disk)
> 2. bd_t pointer and command line must with within 16MB of Kernel
> 3. Initial TLB1 entry must have IPROT=1
This is for arch/ppc, which is sort-of deprecated. You should seriously
think about porting over to arch/powerpc instead.
> Slowly, we are finding that this list is not complete. For example, address
> calculation at the start of platform_init (r3 + ...) assumes that Kernel has
> been initially loaded at 0-base virtual address.
For which CPU core ? 6xx/7xx/7xxx/G2 cores don't assume such a thing,
the kernel can be loaded anywhere as long as the virtual and physical
addresses are the same.
> And now we are stuck with apparently another dependency: our Kernel fails to
> advance beyond time calibration because jiffies are not getting incremented,
> so we are not getting timer interrupts. Is it true that Kernel relies on
> EPIC timer set in Uboot ? If not - where the timer insterrupts are
> configured ?
I'm not familiar about which core family the 85xx is. Doesn't it use the
decrementer ?
Ben.
next prev parent reply other threads:[~2006-11-04 9:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-04 8:52 Booting without Uboot on 8548E M Ptich
2006-11-04 9:13 ` Benjamin Herrenschmidt [this message]
2006-11-04 9:19 ` Benjamin Herrenschmidt
2006-11-10 8:14 ` Low memory not pageable on Freescale BookE M Ptich
2006-11-10 14:17 ` Kumar Gala
2006-11-10 21:59 ` KGDB support in 2.6.18 for 85xx platforms M Ptich
2006-11-15 0:38 ` Low memory not pageable on Freescale BookE M Ptich
2006-11-15 0:55 ` Kumar Gala
2006-11-04 9:28 ` Booting without Uboot on 8548E M Ptich
2006-11-06 21:16 ` Andy Fleming
2006-11-06 21:38 ` Benjamin Herrenschmidt
2006-11-04 17:22 ` Dan Malek
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=1162631621.28571.26.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=ptich@hotmail.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;
as well as URLs for NNTP newsgroup(s).