All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Linux-mips-kernel]PATCH
       [not found] <3BC24525.8030201@mvista.com>
@ 2001-10-16 18:50 ` Geoffrey Espin
  2001-10-19  6:12   ` [Linux-mips-kernel]PATCH Pete Popov
  0 siblings, 1 reply; 5+ messages in thread
From: Geoffrey Espin @ 2001-10-16 18:50 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips-kernel, linux-mips

Pete,

> I've attached a patch which adds zImage support for the Alchemy pb1000 board. 
> The image is burned in flash and yamon can be used to just jump to that location 
>... 
> Feedback would be appreciated, including whether or not arch/mips/zboot is the 
> most appropriate place to put the zImage support.

It ain't a pretty patch.  I do want to do this for the Korva-Markham
board... either arch/arm/boot/compressed or arch/ppc/boot scheme
would be nice to follow.  I think arch/ppc/boot/mbx/Makefile does
some of the magic offset stuff you need with quick `sh ` scripts
and also includes piggyback initrd stuff!

Geoff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-mips-kernel]PATCH
  2001-10-16 18:50 ` [Linux-mips-kernel]PATCH Geoffrey Espin
@ 2001-10-19  6:12   ` Pete Popov
  2001-10-19 17:27     ` [Linux-mips-kernel]PATCH Geoffrey Espin
  0 siblings, 1 reply; 5+ messages in thread
From: Pete Popov @ 2001-10-19  6:12 UTC (permalink / raw)
  To: Geoffrey Espin; +Cc: linux-mips-kernel, linux-mips

On Tue, 2001-10-16 at 11:50, Geoffrey Espin wrote:
> Pete,
> 
> > I've attached a patch which adds zImage support for the Alchemy pb1000 board. 
> > The image is burned in flash and yamon can be used to just jump to that location 
> >... 
> > Feedback would be appreciated, including whether or not arch/mips/zboot is the 
> > most appropriate place to put the zImage support.
> 
> It ain't a pretty patch.  I do want to do this for the Korva-Markham
> board... either arch/arm/boot/compressed or arch/ppc/boot scheme
> would be nice to follow.  

I ported the code from arch/ppc/boot, so if you like that scheme, what 
is it that you don't like about the patch I sent?  The directory
structure is the same as arch/ppc/boot, and the generic code is the same
as well.

> I think arch/ppc/boot/mbx/Makefile does
> some of the magic offset stuff you need with quick `sh ` scripts
> and also includes piggyback initrd stuff!

I picked arch/ppc/boot/sandpoint, which does the offset stuff with
standard compiler tools, like objdump.  The initrd stuff can be added
easily.

Pete

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-mips-kernel]PATCH
  2001-10-19  6:12   ` [Linux-mips-kernel]PATCH Pete Popov
@ 2001-10-19 17:27     ` Geoffrey Espin
  2001-10-19 18:13       ` [Linux-mips-kernel]PATCH Pete Popov
  0 siblings, 1 reply; 5+ messages in thread
From: Geoffrey Espin @ 2001-10-19 17:27 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips-kernel, linux-mips

Pete,

> I ported the code from arch/ppc/boot, so if you like that scheme, what 
> is it that you don't like about the patch I sent?  The directory
> structure is the same as arch/ppc/boot, and the generic code is the same
> as well.

I see that PPC now has some of the silly utils where $(shell
objdump ...) in the Makefile would be a lot tighter.  Other
superficial but better ways like subdir-$(CONFIG_<board>) are
not used (instead ifdef CONFIG_NEC_PB100 $MAKE -- ugh!).  Not
sure why using CFLAGS/LOADADDR/.. from arch/mips/Makefile is not
done either... dup'ing this is bad.  Use "override CFLAGS" if it
needs to be re-constructed from GCCFLAGS,CPPFLAGS...

Apologies for playing "armchair coder".  I'll try to create Korva
version... but mine does it without benefit of a separate loader
(standalone vrboot style)... which might be a useful standard
build option.

Seems to me this is way more important than vrxx stuff... which
is already done and over... compression/initrd is in its infancy.

Geoff
-- 
Geoffrey Espin espin@idiom.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-mips-kernel]PATCH
  2001-10-19 17:27     ` [Linux-mips-kernel]PATCH Geoffrey Espin
@ 2001-10-19 18:13       ` Pete Popov
  2001-10-19 23:58         ` [Linux-mips-kernel]PATCH Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: Pete Popov @ 2001-10-19 18:13 UTC (permalink / raw)
  To: Geoffrey Espin; +Cc: linux-mips-kernel, linux-mips

On Fri, 2001-10-19 at 10:27, Geoffrey Espin wrote:
> Pete,
> 
> > I ported the code from arch/ppc/boot, so if you like that scheme, what 
> > is it that you don't like about the patch I sent?  The directory
> > structure is the same as arch/ppc/boot, and the generic code is the same
> > as well.
> 
> I see that PPC now has some of the silly utils where $(shell
> objdump ...) in the Makefile would be a lot tighter.  

Are you talking about the utils in boot/utils?  I suppose you can get
rid of those and put everything in the makefile, but I'm not sure it
would be cleaner.

> Other
> superficial but better ways like subdir-$(CONFIG_<board>) are
> not used (instead ifdef CONFIG_NEC_PB100 $MAKE -- ugh!).  Not
> sure why using CFLAGS/LOADADDR/.. from arch/mips/Makefile is not
> done either... dup'ing this is bad.  

Yes, it is. I tried inheriting LOADADDR from arch/mips/Makefile, but it
didn't work and I didn't want to spend more time on it. I figured we can
clean that up later.

> Use "override CFLAGS" if it
> needs to be re-constructed from GCCFLAGS,CPPFLAGS...
> 
> Apologies for playing "armchair coder".  I'll try to create Korva
> version... but mine does it without benefit of a separate loader
> (standalone vrboot style)... which might be a useful standard
> build option.
> 
> Seems to me this is way more important than vrxx stuff... which
> is already done and over... compression/initrd is in its infancy.

Certainly on embedded mips boards it is. It seems like every other arch
already has compression and initrd support.  What I was shooting for
with that ppc patch is a reasonable start at having compression / kernel
loader support.  

Pete

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-mips-kernel]PATCH
  2001-10-19 18:13       ` [Linux-mips-kernel]PATCH Pete Popov
@ 2001-10-19 23:58         ` Keith Owens
  0 siblings, 0 replies; 5+ messages in thread
From: Keith Owens @ 2001-10-19 23:58 UTC (permalink / raw)
  To: linux-mips-kernel, linux-mips

On 19 Oct 2001 11:13:49 -0700, 
Pete Popov <ppopov@mvista.com> wrote:
>On Fri, 2001-10-19 at 10:27, Geoffrey Espin wrote:
>> I see that PPC now has some of the silly utils where $(shell
>> objdump ...) in the Makefile would be a lot tighter.  
>
>Are you talking about the utils in boot/utils?  I suppose you can get
>rid of those and put everything in the makefile, but I'm not sure it
>would be cleaner.

FWIW, the entire kernel build system is being redesigned from scratch
for 2.5.  In particular all the boot loader stuff is being cleaned up
and standardized across architectures (as much as possible).

http://sourceforge.net/projects/kbuild

Keith Owens, kbuild maintainer (who will soon be bugging this list to
test MIPS specific kbuild 2.5 changes).

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-19 23:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3BC24525.8030201@mvista.com>
2001-10-16 18:50 ` [Linux-mips-kernel]PATCH Geoffrey Espin
2001-10-19  6:12   ` [Linux-mips-kernel]PATCH Pete Popov
2001-10-19 17:27     ` [Linux-mips-kernel]PATCH Geoffrey Espin
2001-10-19 18:13       ` [Linux-mips-kernel]PATCH Pete Popov
2001-10-19 23:58         ` [Linux-mips-kernel]PATCH Keith Owens

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.