linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Need suggestions......
@ 2000-04-14 18:23 Ihor Lys
  0 siblings, 0 replies; 13+ messages in thread
From: Ihor Lys @ 2000-04-14 18:23 UTC (permalink / raw)
  To: linuxppc-embedded


Hi Everybody.....

I am currently in the process of figuring out what the minimum external
hardware requirements would be for a new project we are working on.

We currently use a motorola FADS board with an 850SAR for some other
non-linux development, has anyone booted linux on this configuration?

For various reasons we would like to run linux on either a MPC850SR or
or MPC860SR or MPC860T.
The final design of our system will be custom, but as usual, its
probably beasier to start with something semi-standard.
We don't need most of the goofy desktop stuff, (video, HDD, FDD, swap,
etc), but we do need ethernet, serial, and other I/O

Further: Can anyone tell me:
Which SIMPLE SBC boards work with a minimum of fuss.
What kind of driver support is there for perhipherals based on USB
How much ram is really needed for the kernel image itself
What minimum external perhipherals other than I/O are needed/supported?
(RTC? NVRAM?)
Is there any reference as to what external perhipherals might be
supported? Like external UARTs, Net adapters, PCMCIA cards, etc?

Thanks
Ihor



--
------------------------------------------------------
Ihor Lys                             TEL: 617-423-9999
Color Kinetics Inc.                  FAX: 617-423-9998
50 Milk St. 17th Floor               CEL: 617-899-4320
Boston, MA 02109                 www.colorkinetics.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: need suggestions
@ 1999-11-23 21:57 Brian Kuschak
  0 siblings, 0 replies; 13+ messages in thread
From: Brian Kuschak @ 1999-11-23 21:57 UTC (permalink / raw)
  To: Jim Chapman, LiuTao
  Cc: LinuxPPC Developers List, linuxppc-embedded@lists.linuxppc.org


Jim,

Here's yet another way to do it.  We used a section
called .gzimage, but you could just as easily add it
to .text instead.  Instead of using the
link/objcopy/compile/link method in the Makefile, do
this instead:


zvmlinux: $(OBJECTS) ../coffboot/vmlinux.gz
      $(OBJCOPY) $(OBJCOPY_ARGS) -R .gzimage gzimage.o
      $(OBJCOPY) $(OBJCOPY_ARGS) -R .comment
--add-section=.gzimage=../coffboot/vmlinux.gz
--set-section-flags=.gzimage=alloc,load,readonly,data
gzimage.o
      $(LD) $(ZLINKFLAGS) -o $@ $(OBJECTS)
     powerpc-elf-strip --strip-all $@

Create a dummy file called gzimage.c, where the zImage
data will be copied into section .gzimage:

/*
 * gzimage.c
 *
 * dummy file to allow a compressed zImage to be added
 * into a linker section, accessible by the boot code.
 */
char dummydummy;


Then add the following to the vmlinux.lds script, and
reference these symbols in your loader as extern
char[].  Modify the loader to load zImage data from
these addresses instead.  I think this method will
work for initrd as well.

/* For loader only: Put the zImage after everything
 * else
 */
  _gzstart = . ;
  .gzimage : { *(.gzimage) }
  _gzend = . ;



-Brian Kuschak


> ... had to find
> a way to put the
> image section inside the text segment so that the
> image data would be
> copied by the vxworks bootrom. There may be a clever
> way to do that
> using ld scripts...


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: need suggestions
@ 1999-11-23 19:52 Jim Chapman
  1999-11-23 20:54 ` Frank McPherson
  1999-11-24  8:25 ` LiuTao
  0 siblings, 2 replies; 13+ messages in thread
From: Jim Chapman @ 1999-11-23 19:52 UTC (permalink / raw)
  To: LiuTao; +Cc: LinuxPPC Developers List, linuxppc-embedded@lists.linuxppc.org


Re: using a vxworks bootrom to load zImage

I am using a standard vxworks bootrom to load a zImage, but I had to
make a few modifications to the zImage startup code to make it work. For
us, it is useful to share the same target hardware between vxworks and
linux developers, without having to reblow the flash bootrom each time
we switch. And by building BOOTP into the vxworks bootrom, we simply
change the BOOTP server entry to have the target boot vxWorks or zImage
without changing the bootrom. However, once we're rid of vxworks
altogether, then a linux-centric bootrom would be a much better
solution.

It turns out that the vxworks bootrom ELF support doesn't handle named
ELF sections (it's yet another undocumented feature of Wind River code
-- it silently ignores sections that aren't ".text" or ".data"...), and
since the compressed vmlinux image is objcopy'd into a special "image"
section by arch/ppc/mbxboot/Makefile, I had to find a way to put the
image section inside the text segment so that the image data would be
copied by the vxworks bootrom. There may be a clever way to do that
using ld scripts, but I ended up converting the image data to assembly,
and used a couple of public symbols at the start/end of the data so that
(a modified) decompress_kernel() could find the image. The
binary-to-assembly convertor is a simple perl script which does almost
the same thing as vxWorks' binToAsm tool.

The initrd stuff would need similar treatment, but since I don't use
initrd, I haven't implemented it.

If you want more details (and the binToAsm perl script) let me know.

-Jim


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 13+ messages in thread
* need suggestions
@ 1999-11-23  1:42 LiuTao
  1999-11-23  3:46 ` Dan Malek
  0 siblings, 1 reply; 13+ messages in thread
From: LiuTao @ 1999-11-23  1:42 UTC (permalink / raw)
  To: linuxppc


Hi All:

I just completed a board with MPC860, there are 16M SDRAM, 2M Flash,
one ethernet port and two serial ports(SMC) on the board. The board
is running well with vxWorks now.
I want to make a bootloader on the board. With the bootloader, I can
download Linux image through TFTP to SDRAM and run it. I also can 
burn the downloaded image into flash, so next time I can boot Linux
from flash. 
I know that many people did this successfully on various boards. 
Can you give me some suggestions? Can you tell me how to do it?
Thanks!

LiuTao

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-04-14 18:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-14 18:23 Need suggestions Ihor Lys
  -- strict thread matches above, loose matches on Subject: below --
1999-11-23 21:57 need suggestions Brian Kuschak
1999-11-23 19:52 Jim Chapman
1999-11-23 20:54 ` Frank McPherson
1999-11-24  8:25 ` LiuTao
1999-11-23  1:42 LiuTao
1999-11-23  3:46 ` Dan Malek
1999-11-23  3:46   ` LiuTao
1999-11-23  6:14     ` Dan Malek
1999-11-23 18:47       ` Geert Uytterhoeven
1999-11-24  8:34       ` LiuTao
1999-11-24 10:26         ` Magnus Damm
1999-11-24  8:56   ` Neil Russell

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).