public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Parav Pandit <paravpandit@yahoo•com>
To: Milton Miller <miltonm@bga•com>,
	cthomas@Soneticom•com, linuxppc-embedded@ozlabs•org
Subject: Re: Booting Linux Kernel without bootloader
Date: Tue, 1 Aug 2006 20:49:07 -0700 (PDT)	[thread overview]
Message-ID: <20060802034907.22411.qmail@web36601.mail.mud.yahoo.com> (raw)
In-Reply-To: <11153922785140e0f761.861021530.miltonm@bga.com>



--- Milton Miller <miltonm@bga•com> wrote:

> On Tue Jul 25 2006 05:30:39 PM CDT,  Clint Thomas 
> wrote:
> 
> > Basically, the system I want linux running on does
> not require the
> > initialization of hardware that U-boot provides,
> or at least it does not
> > need it to boot the linux kernel. I want to load
> an uncompressed linux
> > kernel into memory and start the execution of the
> kernel, without using
> > any kind of bootloader. Is this possible? Or does
> linux need some kind
> > of firmware or other software to tell it to start
> executing? Thanks for
> > any info you might have.
>  
> To run a powerpc (not ppc, which will be removed)
> kernel, in addition to the uncompressed kernel you
> will need to supply a device tree structure, point
> r3 to it, zero r5, and set r4 to the load address
> (zero as you have described).  See
> Documentation/powerpc/booting-without-of.txt for
> details.  Then arrange for you processor to start
> executing at address 0.  Note that /vmlinux has an
> elf header, you can use objcopy to remove it or
> adjust r4 and your start point; the kernel will copy
> itself to 0, clear bss and set up the stack. The
> device tree structure must be placed above the bss
> space in memory, not just the initialized data.  

Linux kernel does the bss cleaning after
start_kernel() even though boot loader does it. So one
step less.

Parav


> 
> milton
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs•org
>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

  reply	other threads:[~2006-08-02  3:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-26 14:06 Booting Linux Kernel without bootloader Milton Miller
2006-08-02  3:49 ` Parav Pandit [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03 18:02 Milton Miller
2006-08-03  7:48 Milton Miller
2006-08-03 14:34 ` Grant Likely
2006-08-03 16:27   ` Milton Miller
2006-08-03 16:34     ` Grant Likely
2006-08-03 16:49   ` David H. Lynch Jr.
2006-07-25 22:30 Clint Thomas
2006-07-25 23:38 ` bennett78
2006-07-26  6:15 ` Kalle Pokki
2006-07-26 10:45 ` Andrei Konovalov
2006-07-28  8:03 ` David H. Lynch Jr.
2006-07-28 14:02   ` bennett78
2006-08-02  4:17 ` Grant Likely

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=20060802034907.22411.qmail@web36601.mail.mud.yahoo.com \
    --to=paravpandit@yahoo$(echo .)com \
    --cc=cthomas@Soneticom$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    --cc=miltonm@bga$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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