linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* UPM driver of MPC8260
@ 2004-06-30 13:37 Alireza Sadri
  2004-06-30 14:26 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Alireza Sadri @ 2004-06-30 13:37 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org


Hi all,

I am going to use UPM of my MPC8260; I need it for
handling a burstable SRAM.

I am using Wind River SBCPOWERQUICCII board. So I
think I need the configured UPM driver to be run on my
Linux.

Does ELDK have UPM initialization routines for my
purpose? Can I use this machine in a service then?

Can I have this driver for any other Linux, for
example VxWorks BSP? Can I configure my driver and use
it for SRAM?


Thanks a lot,
Regards.
A.R.Sadri Student of IUT.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: UPM driver of MPC8260
@ 2004-06-30 14:15 Ho Jeffrey-r26191
  0 siblings, 0 replies; 6+ messages in thread
From: Ho Jeffrey-r26191 @ 2004-06-30 14:15 UTC (permalink / raw)
  To: linuxppc-embedded


I think that should be done in your bootcode.
If you are using u-boot, this should be part of your u-boot memory init which will init the upm, and memory map.

Not sure if PQ2 u-boot have upm, I think you can use the MPC8xx upm code as a starting point of your PQ2 upm init.

Regards,
Jeffrey Ho

-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Alireza Sadri
Sent: Wednesday, June 30, 2004 9:38 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: UPM driver of MPC8260



Hi all,

I am going to use UPM of my MPC8260; I need it for
handling a burstable SRAM.

I am using Wind River SBCPOWERQUICCII board. So I
think I need the configured UPM driver to be run on my
Linux.

Does ELDK have UPM initialization routines for my
purpose? Can I use this machine in a service then?

Can I have this driver for any other Linux, for
example VxWorks BSP? Can I configure my driver and use
it for SRAM?


Thanks a lot,
Regards.
A.R.Sadri Student of IUT.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: UPM driver of MPC8260
@ 2004-07-01 12:37 VanBaren, Gerald (AGRE)
  0 siblings, 0 replies; 6+ messages in thread
From: VanBaren, Gerald (AGRE) @ 2004-07-01 12:37 UTC (permalink / raw)
  To: linuxppc-embedded


> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf
> Of Alireza
> Sadri
> Sent: Thursday, July 01, 2004 7:13 AM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: Re: UPM driver of MPC8260
>
>
>
> Hi , thanks for your attentins.
>
> I am not an expert, but i know the meanings of
> programming of the board , ppcboot(bootloader) ,
> kernel , linux,  ELDK(I have compiled it for my
> board), driver , service , and i am familiar with
> MPC8260 as a microprocessor.I was working on hardware
> of this board.
> we made a copy , a customized copy.
>
> now i am working on software ,
> i am going to make my custom SBC8260 standalone , so i
> need to replace the ppcboot of the board with a
> bootable linux image. I want this linux to mount the
> flash, and then i put my own final program on the
> flash , and as a service, linux will run the program
> on any reset.(now,it would be standalone)
>
> so i cannot hold the ppcboot (u-boot) on the flash, i
> need the changes in my linux image , or using a linux
> driver.
>
> Can you please guide me through this process?
> If I have to replace ppcboot , how can have
> bootloader?
> (I know board needs bootloader anyway , but i don't
> know what it is. is it ppcboot? or ELDK makes a
> bootable linux?)
>
> Any other point of view is really wellcome.
>
> Best Regards.

U-boot is the bootloader.  You must have it (or equivalent, but u-boot is probably your easiest option).  If you are truly using ppcboot, you should upgrade to u-boot (it is the successor of ppcboot).

U-boot lives in flash and boots the board.  You can build a linux image and put it also in flash.

READ the ELDK documentation for lots of useful help
  http://www.denx.de/twiki/bin/view/DULG/Faq
  http://www.denx.de/twiki/bin/view/DULG/Manual

U-boot image formats
  http://www.denx.de/twiki/bin/view/DULG/UBootImages

Making a linux image suitable for booting via u-boot
  http://www.denx.de/twiki/bin/view/DULG/LinuxConfiguration

  "The make target uImage uses the tool mkimage (from the U-Boot package) to create a Linux kernel image in arch/ppc/boot/images/uImage which is immediately usable for download and booting with U-Boot."

You should set up a TFTP server and booting your kernel off of the server until you are happy with it.
  http://www.denx.de/twiki/bin/view/DULG/LinuxNfsRoot
The following page is aimed at debian, but may be helpful.
  http://www.denx.de/twiki/bin/view/DULG/DebianOnPowerpcInstallationHowto

At that point, copy the uImage to flash somewhere (where it doesn't overwrite anything important, of course) and boot it directly from flash via u-boot's command prompt.  When you are happy with that, you can use u-boot's environment variables to create an "auto-execute" script to boot linux "hands off."
  http://www.denx.de/twiki/bin/view/DULG/LinuxBootIntro
  http://www.denx.de/twiki/bin/view/DULG/LinuxInFlash

gvb


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

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

end of thread, other threads:[~2004-07-01 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 13:37 UPM driver of MPC8260 Alireza Sadri
2004-06-30 14:26 ` Wolfgang Denk
2004-07-01 11:12   ` Alireza Sadri
2004-07-01 12:18     ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-06-30 14:15 Ho Jeffrey-r26191
2004-07-01 12:37 VanBaren, Gerald (AGRE)

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