Wolfgang Denk | 2 Jun 23:01 2002
Picon
Picon

[Ppcboot-users] [FYI] Free Embedded Linux Development Kit released


Olching, Germany - June 1, 2002

DENX Software Engineering announces the first release of a new
Embedded Linux Development Kit (ELDK).

Our ELDK provides a complete and powerful software development
environment for Embedded and Real-Time Systems:

This version of ELDK runs on x86/Linux, x86/FreeBSD and on
SPARC/Solaris host operating systems and supports a wide range of
PowerPC target processors (8xx, 82xx, 7xx, 74xx, 4xx). It consists
of:

o Cross Development Tools (Compiler, Assembler, Linker etc.) to
  develop software for the target system.
o Native tools (Shell, commands and libraries) that will run on the
  target system.
o PPCBoot Firmware that can easily be ported to new boards and
  processors.
o Linux kernel including all device drivers, board-support functions
  etc.
o RTAI (Real Time Application Interface) Extension for systems
  requiring hard real-time responses.
o SELF (Simple Embedded Linux Framework) as fundament to build your
  embedded systems on.

All components are available with complete source code, most of it
under GPL. Also, detailed instructions to rebuild all the tools and
packages from scratch are included.
(Continue reading)

Norm Legare | 4 Jun 20:21 2002
Picon

Re: [Ppcboot-users] Can't get ppcboot to work on MBX860

Hello All,

I am also trying to get ppcboot to work on an MBX860.
I have compiled it and tried to do a serial download,
but it just hangs.  My question is: should the example
app hello_world, that is supplied and built with ppcboot,
work (i.e. run successfully, it downloads ok) with 
Motorola's boot monitor, EPPCBug?

TIA,
Norm

--- Wolfgang Denk <wd <at> denx.de> wrote:
> In message <000001c20815$6bf52ac0$9600000a <at> lan> you wrote:
> >
> > I'm trying to get ppcboot to work on a MBX860. I followed the
> ...
> > I'm using ppcboot 1.1.5, compiled from sources on a x86 using
> binutils
> > 2.12, gcc 2.95.3.
> 
> Are you sure your cross tools are working, i. e. did you  ever  build
> any running software with these tools?
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
> To know how another being, another creature feels -  that  is  impos-
(Continue reading)

Wolfgang Denk | 4 Jun 20:55 2002
Picon
Picon

Re: [Ppcboot-users] Can't get ppcboot to work on MBX860

Dear Norm,

in message <20020604182133.27648.qmail <at> web13403.mail.yahoo.com> you wrote:
> 
> I am also trying to get ppcboot to work on an MBX860.
> I have compiled it and tried to do a serial download,
> but it just hangs.  My question is: should the example
> app hello_world, that is supplied and built with ppcboot,
> work (i.e. run successfully, it downloads ok) with 
> Motorola's boot monitor, EPPCBug?

No, of course not. It is an application that relies  on  the  PPCboot
environment, argument passing and services.

It will ONLY run when started under and by PPCBoot.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
I must follow the people.  Am I not their leader? - Benjamin Disraeli
Wolfgang Denk | 4 Jun 20:55 2002
Picon
Picon

Re: [Ppcboot-users] Can't get ppcboot to work on MBX860

Dear Norm,

in message <20020604182133.27648.qmail <at> web13403.mail.yahoo.com> you wrote:
> 
> I am also trying to get ppcboot to work on an MBX860.
> I have compiled it and tried to do a serial download,
> but it just hangs.  My question is: should the example
> app hello_world, that is supplied and built with ppcboot,
> work (i.e. run successfully, it downloads ok) with 
> Motorola's boot monitor, EPPCBug?

No, of course not. It is an application that relies  on  the  PPCboot
environment, argument passing and services.

It will ONLY run when started under and by PPCBoot.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
I must follow the people.  Am I not their leader? - Benjamin Disraeli

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Scott Iveland | 5 Jun 19:57 2002

Re: [Ppcboot-users] problems when rebooting kernel

Dan,

I noticed you mentioned
"I do this to boot new kernels from a currently running kernel."

I have a need to do just that on a custom 8260 board.
I was just going to start looking into this subject when I noticed your
comment. Could you please point me to any information that would
detail a method/pitfalls for booting a kernel from a kernel?

Thanks,

Scott Iveland

If you could
Dan Malek wrote:

> Tom Rini wrote:
>
> > But in this case isn't it consistent for current PPCBoot at 0xfff00110?
> > That's the impression I got from talking with Murray Jensen about his
> > patch to do something similar (and add in Hymod support).
>
> Could be.  There has just been a higher level of activity lately and it
> has made me think we should discuss it a little.  All I usually see is:
>
> #elif defined(MY_SPECIAL_BOARD)
>         startaddr = 0xsomeaddress;
>
> ...so it made me think we could probably just define some constant in
(Continue reading)

Dan Malek | 5 Jun 20:41 2002

Re: [Ppcboot-users] problems when rebooting kernel

Scott Iveland wrote:

> .... Could you please point me to any information that would
> detail a method/pitfalls for booting a kernel from a kernel?

It's actually a trivial hack that comes from my lack of desire to
implement complex boot roms :-)

I build a "special" kernel that has a hardcoded amount of memory
reserved (like 8M or something).  I just do this by subtracting out
of the total memory reported by a board descriptor (or however the
memory is reported).  I then have a simple program that mmap()'s
this space, copies a kernel image into it, then calls the reboot system
call with a specified start address (the 'startaddr=' thing you see
in the code now).

There have been discussions and patches that will do this from a fully
running system by reallocating and coalescing contiguous physical pages,
but I have never done that.

I only do this instead of writing boot roms.  On something like the 82xx
which has a fairly stable kernel, I write a couple of Kbytes of processor
initialization code and then just start up Linux from flash with an initrd.
With an autoconfig network and NFS mount, you can make this fit into 512K bytes
of space.  I then use this kernel to provide all of the networking services
or other drivers I need to boot another kernel that you want for the real
system operation.  I never load a new kernel from this "real" one I want to use.

I'm not sure I would recommend booting a kernel from a running kernel as
standard practice.  You have to be careful of the state of all of the peripherals,
(Continue reading)

Wolfgang Denk | 5 Jun 21:25 2002
Picon
Picon

Re: [Ppcboot-users] problems when rebooting kernel

Scott,

in message <3CFE510E.39B037FC <at> occamnetworks.com> you wrote:
> 
> I noticed you mentioned
> "I do this to boot new kernels from a currently running kernel."
> 
> I have a need to do just that on a custom 8260 board.
> I was just going to start looking into this subject when I noticed your
> comment. Could you please point me to any information that would
> detail a method/pitfalls for booting a kernel from a kernel?

You may want to check the "relf" patch (reload ELF  file)  maintained
by Magnus Damm <damm <at> opensource.se>

We used it sometimes on MPC8xx, and extended it for x86.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
"If anything can go wrong, it will."                   - Edsel Murphy
Wolfgang Denk | 5 Jun 21:25 2002
Picon
Picon

Re: [Ppcboot-users] problems when rebooting kernel

Scott,

in message <3CFE510E.39B037FC <at> occamnetworks.com> you wrote:
> 
> I noticed you mentioned
> "I do this to boot new kernels from a currently running kernel."
> 
> I have a need to do just that on a custom 8260 board.
> I was just going to start looking into this subject when I noticed your
> comment. Could you please point me to any information that would
> detail a method/pitfalls for booting a kernel from a kernel?

You may want to check the "relf" patch (reload ELF  file)  maintained
by Magnus Damm <damm <at> opensource.se>

We used it sometimes on MPC8xx, and extended it for x86.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
"If anything can go wrong, it will."                   - Edsel Murphy

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Scott Iveland | 5 Jun 21:44 2002

Re: [Ppcboot-users] problems when rebooting kernel

Dan Malek wrote:

> Scott Iveland wrote:
>
> > .... Could you please point me to any information that would
> > detail a method/pitfalls for booting a kernel from a kernel?
>
> It's actually a trivial hack that comes from my lack of desire to
> implement complex boot roms :-)

Dan, Thanks for the responce.

That is the exact same reason I want to do this. I don't want to
port drivers for complex chips to both linux and ppcboot. I want to implement
a small kernel that lives in boot ROM that is launched via PPCBOOT.
The small kernel would configure enough of the board to get network
connectivity and download the "real" kernel and then launch that kernel.

>
>
> I build a "special" kernel that has a hardcoded amount of memory
> reserved (like 8M or something).  I just do this by subtracting out
> of the total memory reported by a board descriptor (or however the
> memory is reported).  I then have a simple program that mmap()'s
> this space, copies a kernel image into it, then calls the reboot system
> call with a specified start address (the 'startaddr=' thing you see
> in the code now).
>
> There have been discussions and patches that will do this from a fully
> running system by reallocating and coalescing contiguous physical pages,
(Continue reading)

Khai Trinh | 5 Jun 23:47 2002
Picon

Re: [Ppcboot-users] [FYI] Free Embedded Linux Development Kit released

How do you go sbout downloading the ELDK and install?
The installation procedure is described but not the
downloading part. I went to the specified web site
below and want to download the linux-x86 ppc4xx
version but not able to.

Thanks,
--Khai
--- Wolfgang Denk <wd <at> denx.de> wrote:
> 
> Olching, Germany - June 1, 2002
> 
> DENX Software Engineering announces the first
> release of a new
> Embedded Linux Development Kit (ELDK).
> 
> Our ELDK provides a complete and powerful software
> development
> environment for Embedded and Real-Time Systems:
> 
> This version of ELDK runs on x86/Linux, x86/FreeBSD
> and on
> SPARC/Solaris host operating systems and supports a
> wide range of
> PowerPC target processors (8xx, 82xx, 7xx, 74xx,
> 4xx). It consists
> of:
> 
> o Cross Development Tools (Compiler, Assembler,
> Linker etc.) to
(Continue reading)


Gmane