안치훈 | 1 Jun 07:17 2001
Picon

[Ppcboot-users] Beginning of PPCBoot

I have just decided to try to port PPCBoot into a custom board which has
MPC860sar, serial SMC1, ethernet SCC2, intel 320 4M Flash memory, 16M SDRAM, 2K NVRAM.
 
I think PPCBoot is usually for specific board like RPXlite, FADS etc.
But the board what I have is a custom board and I have to config variables, register value...
 
I'm beginner for the PPCboot.
Could you tell me which files I have to modify and which board is similar to my custom board? I have the source code of vxWorks rom monitor, so I think It can be a reference.
 
 
Wolfgang Denk | 1 Jun 08:30 2001
Picon
Picon

Re: [Ppcboot-users] Beginning of PPCBoot

In message <001f01c0ea5a$202adc90$a62371d3 <at> curly> you wrote:
> 
> ------=_NextPart_000_001C_01C0EAA5.90034250
> Content-Type: text/plain;
> 	charset="ks_c_5601-1987"
> Content-Transfer-Encoding: base64
> 
> SSBoYXZlIGp1c3QgZGVjaWRlZCB0byB0cnkgdG8gcG9ydCBQUENCb290IGludG8gYSBjdXN0b20g
> Ym9hcmQgd2hpY2ggaGFzIA0KTVBDODYwc2FyLCBzZXJpYWwgU01DMSwgZXRoZXJuZXQgU0NDMiwg
...

Please do not send base64 encoded messages. They are not  searchable,
they are not readable. They will be ignored.

> ------=_NextPart_000_001C_01C0EAA5.90034250
> Content-Type: text/html;
> 	charset="ks_c_5601-1987"
> Content-Transfer-Encoding: base64
> 
> PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
> L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWtz

Please do not setnd HTML messages. They are not searchable, they  are
not readable. They will be ignored.

THIS IS ALREADY THE SECOND REQUEST TO YOU! PLEASE  SEND  PLAIN  ASCII
TEXT TO THIS LIST!

> I have just decided to try to port PPCBoot into a custom board which
> has MPC860sar, serial SMC1, ethernet SCC2, intel 320 4M Flash memory,
> 16M SDRAM, 2K NVRAM.

Sounds pretty common...

> I think PPCBoot is usually for specific board like RPXlite, FADS etc.

No. All boards that PPCBoot was ported to started as "custom  boards"
like  yours. Until somebody adapted PPCBoot, and send me the patches.
Then  a  new  "standard"  configuration  was  added  to  the  PPCBoot
distribution.

> But the board what I have is a custom board and I have to config
> variables, register value...

Right.

> Could you tell me which files I have to modify and which board is
> similar to my custom board? I have the source code of vxWorks rom
> monitor, so I think It can be a reference.

The best documentation you can get so far is the  README  that  comes
with the PPCBoot sources, and the source cod eitself, of course.

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
That's the thing about people who think  they  hate  computers.  What
they really hate is lousy programmers.
- Larry Niven and Jerry Pournelle in "Oath of Fealty"
Wolfgang Denk | 1 Jun 08:30 2001
Picon
Picon

Re: [Ppcboot-users] Beginning of PPCBoot

In message <001f01c0ea5a$202adc90$a62371d3 <at> curly> you wrote:
> 
> ------=_NextPart_000_001C_01C0EAA5.90034250
> Content-Type: text/plain;
> 	charset="ks_c_5601-1987"
> Content-Transfer-Encoding: base64
> 
> SSBoYXZlIGp1c3QgZGVjaWRlZCB0byB0cnkgdG8gcG9ydCBQUENCb290IGludG8gYSBjdXN0b20g
> Ym9hcmQgd2hpY2ggaGFzIA0KTVBDODYwc2FyLCBzZXJpYWwgU01DMSwgZXRoZXJuZXQgU0NDMiwg
...

Please do not send base64 encoded messages. They are not  searchable,
they are not readable. They will be ignored.

> ------=_NextPart_000_001C_01C0EAA5.90034250
> Content-Type: text/html;
> 	charset="ks_c_5601-1987"
> Content-Transfer-Encoding: base64
> 
> PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
> L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWtz

Please do not setnd HTML messages. They are not searchable, they  are
not readable. They will be ignored.

THIS IS ALREADY THE SECOND REQUEST TO YOU! PLEASE  SEND  PLAIN  ASCII
TEXT TO THIS LIST!

> I have just decided to try to port PPCBoot into a custom board which
> has MPC860sar, serial SMC1, ethernet SCC2, intel 320 4M Flash memory,
> 16M SDRAM, 2K NVRAM.

Sounds pretty common...

> I think PPCBoot is usually for specific board like RPXlite, FADS etc.

No. All boards that PPCBoot was ported to started as "custom  boards"
like  yours. Until somebody adapted PPCBoot, and send me the patches.
Then  a  new  "standard"  configuration  was  added  to  the  PPCBoot
distribution.

> But the board what I have is a custom board and I have to config
> variables, register value...

Right.

> Could you tell me which files I have to modify and which board is
> similar to my custom board? I have the source code of vxWorks rom
> monitor, so I think It can be a reference.

The best documentation you can get so far is the  README  that  comes
with the PPCBoot sources, and the source cod eitself, of course.

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
That's the thing about people who think  they  hate  computers.  What
they really hate is lousy programmers.
- Larry Niven and Jerry Pournelle in "Oath of Fealty"
Matthias Brukner | 1 Jun 21:18 2001
Picon

Re: AW: [Ppcboot-users] IBM's IOP480

Hello Stefan,

Friday, May 25, 2001, 8:58:01 AM, you wrote:

> Hi Any,

>> I wanted to know if someone has used ppcboot with
>> IBM's IOP480. I saw some stuff abou iop in config
>> options. Has someone successfully used it. How
>> functional it is?

> Yes, you are right. We are successfully using PPCBoot on our CompactPCI
> board (ADCIOP) with a PLX IOP480 (I assume that is the cpu you are referring
> to). It is pretty functional, the only thing missing is, that the IOP480
> doesn't have an ethernet interface. Therefore all PPCBoot network stuff
> isn't available. Everything else works fine.

> P.S.: Please take a look into the mailing-list a few days back. Matthias
> Brucker asked for PPCBoot support for the IOP480RDK. It should be pretty
> easy to port the ADCIOP stuff to the IOP480RDK.

Yes indeed, it's not that hard once you understand that the 8bit flash
has to be accessed little endian style when trying to program it (i.e.
address X in a CPU view is address X xor 3 on the flash address lines
and vise versa). I didn't finish the port yet though. Mainly because
I'm quite satisfied with what it does right now. I will of course
submit my code to the community once it's finished.

regards
Matthias

--

-- 
Matthias Brukner
Trajet GmbH
Rebenring 33
D-38106 Braunschweig
Wolfgang Denk | 2 Jun 02:15 2001
Picon
Picon

[Ppcboot-users] New test release of PPCBoot

A new test version of  PPCBoot,  labeled  as  PPCBOOT_1_0_0_PRE1,  is
available on the CVS server for testing.

The major new feature is the addition of the BedBug embedded
debugger, contributed by Bill Pitts, see
http://www.mindspring.com/~wlp/bedbug.html

======================================================================
Modifications for 1.0.0:
======================================================================

* Added bedbug (http://www.mindspring.com/~wlp/bedbug.html) embedded
  disasssembler/debugger/...
  Patch by Bill Pitts: 08 May 2001

* Added TQM8260 Configuration

* Patch for ERIC configuration and embedded flash environment
  by Swen Anderson: 30 May 2001

======================================================================

For those on 4xx systems that can use bedbug right now:
	Please *test* it.

For those on other systems: bedbug has not yer ported to your system.
	Feel free to port it and send me the patches :-)

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
Systems programmers are the high priests of a low cult.
                                                       -- R.S. Barton
Josh Huber | 2 Jun 22:54 2001

Re: [Ppcboot-users] executing multipule commands at start up.

Rod Boyce <rod_boyce <at> DMCWave.com> writes:

> Sometimes I guess I should read the code as well.  I have answered my own
> question by looking up the command parser.  Apologies to all wasting energy
> answering my question.  I discovered I can just escape the semicolon in the
> setenv command.

you can also use the askenv command.

--

-- 
Josh Huber
Michael Habermann | 3 Jun 02:46 2001
Picon
Picon

Re: [Ppcboot-users] Mvista Kernel and PPCboot on FADS


Dave Ellis had sent me a patch to use the kernel 2.4.4 of ftp.denx.de for 
the FADS.
I attach it for you again so you don't need to extract it from the mailing 
lists web interface.

Here is the original thread:
http://www.geocrawler.com/archives/3/4205/2001/6/100/5884772/

At 09:46 AM 8/31/2001 -0300, Borracini Evandro-R45188 wrote:
>Hello,
>
>I am trying to boot the Hard Hat Linux 2.4.2 on my 860T FADS board without 
>success.
>
>After the bootp command on PPCboot the system returns:
>
>=>bootp
>BOOTP broadcast 1
>ARP broadcast 1
>TFTP from server 199.10.243.100; our IP address is 199.10.243.101
>Filename 'fadsbootfile'.
>Load address: 0x100000
>Loading: 
>#######################################################################
>done
>Bytes transferred = 448951 (6d9b7 hex)
>Automatic boot of image at addr 0x00100000 ...
>## Booting Linux kernel at 00100000 ...
>    Image Name:   2.4.2 for NFS on FADS
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    448887 Bytes = 438 kB = 0 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
>
>And hangs there.
>
>Does anyone have any clue?
>
>
>Thanks in advance and best regards
>
>Evandro
>
>_______________________________________________
>Ppcboot-users mailing list
>Ppcboot-users <at> lists.sourceforge.net
>http://lists.sourceforge.net/lists/listinfo/ppcboot-users
Attachment (fads860_defconfig): application/octet-stream, 11 KiB
Attachment (fadsnc.patch): application/octet-stream, 6370 bytes
Dave Ellis | 3 Jun 23:56 2001

RE: [Ppcboot-users] Want FADS patch for kernel

On Friday, June 01, 2001 Michael Habermann wrote:

> I've tried to boot linux a long time on the FADS, but I'm still not 
> successfull. Could you please give me a hint, which kernel to 
> use and which 
> modifications you made to the PPCBoot config?

I haven't used this kernel too much yet, but it seems solid so far
(Thanks Wolfgang!). The FADS modifications are cleaner than with
some of the older MontaVista kernels I had been using.

Wolfgang's Linux 2.4.4 kernel source:
ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2001-05-12.tar.bz2

Use the attached patch (fadsnc.patch), build it with fads860_defconfig
(also attached). I use this:

   make zImage 2>&1 | tee make.out
   mkimage -n '2.4.4-2001-05-12 NFS SCC1 FADS 860T' \
         -A ppc -O linux -T kernel -C gzip -a 00000000 -e 00000000 \
         -d arch/ppc/coffboot/vmlinux.gz image
   # /tftpboot/image links to this target:
   cp image /opt/hardhat/devkit/ppc/8xx/target/boot

to build the image file and then boot it with bootp.

> PPCBoot 0.9.2 works on my system with 4 and 8 MB of RAM but 
> not with 16MB.

Sorry, but I can't help much with this. I don't have 16MB for my 
FADS and my real target board uses only SDRAM.

Dave Ellis

----------------------------------------
Dave Ellis - Director of Engineering
SIXNET  "Programmable I/O for Windows" 
PO Box 767
Clifton Park, NY  12065
Tel. +1 (518) 877-5173
Fax. +1 (518) 877-8346
Mail: mailto:dge <at> sixnetio.com
product info at http://www.sixnetio.com
----------------------------------------

Attachment (fads860_defconfig): application/octet-stream, 10 KiB
Attachment (fadsnc.patch): application/octet-stream, 5234 bytes
Michael Habermann | 4 Jun 08:19 2001
Picon
Picon

RE: [Ppcboot-users] Want FADS patch for kernel

At 05:56 PM 6/3/2001 -0400, Dave Ellis wrote:

>Use the attached patch (fadsnc.patch), build it with fads860_defconfig
>(also attached). I use this:

Thank you very much. This one works.

Where did you get this patch? Or has it been made by you?
Barreyra, Bruno R | 4 Jun 23:17 2001
Picon

RE: [Ppcboot-users] Want FADS patch for kernel

> I haven't used this kernel too much yet, but it seems solid so far
> (Thanks Wolfgang!). The FADS modifications are cleaner than with
> some of the older MontaVista kernels I had been using.

> Wolfgang's Linux 2.4.4 kernel source:
> ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2001-05-12.tar.bz2

Wolfgang, I was just wondering, is this that patch I wrote and sent you?

[]'s Bruno R. Barreyra
bruno.r.barreyra <at> intel.com
barreyra <at> ufl.edu

Gmane