Motti Daniel | 1 Sep 08:22 2002

RE: [PPCBoot-users] cross compiler help

I recommend Craig Hollabaugh's book "Embedded Linux hardware, Software, 
and interfacing"
http://search.barnesandnoble.com/booksearch/isbninquiry.asp?endeca=1&ean=9780672322266
it starts by showing how to build a cross compiler, I tried it, it works 
and it compiles ppcboot flawlessly.

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Veli-Pekka Ylönen | 3 Sep 12:38 2002
Picon
Picon

[PPCBoot-users] jffs2 with NAND flash

Hi,

anyone using / working on getting ppcboot to read from NAND flash using
JFFS2?

Veli-Pekka Ylönen

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Kenneth Johansson | 3 Sep 16:44 2002
Picon
Picon

Re: [PPCBoot-users] jffs2 with NAND flash

No not that I know of. 

Assuming that the data format is the same as for NOR flash you could use
my patch and copy the content into ram and point jffs2 to that data.

On Tue, 2002-09-03 at 12:38, Veli-Pekka Ylönen wrote:
> Hi,
> 
> anyone using / working on getting ppcboot to read from NAND flash using
> JFFS2?
> 
> Veli-Pekka Ylönen
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> PPCBoot-users mailing list
> PPCBoot-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ppcboot-users
--

-- 
Kenneth Johansson	
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson <at> etx.ericsson.se
(Continue reading)

Veli-Pekka Ylönen | 3 Sep 17:35 2002
Picon
Picon

Re: [PPCBoot-users] jffs2 with NAND flash

Is that patch available somewhere?
> No not that I know of.
>
> Assuming that the data format is the same as for NOR flash you could use
> my patch and copy the content into ram and point jffs2 to that data.
>
> On Tue, 2002-09-03 at 12:38, Veli-Pekka Ylönen wrote:
> > Hi,
> >
> > anyone using / working on getting ppcboot to read from NAND flash using
> > JFFS2?
> >
> > Veli-Pekka Ylönen
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > PPCBoot-users mailing list
> > PPCBoot-users <at> lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ppcboot-users
>

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
(Continue reading)

Kent Shi | 4 Sep 01:15 2002

RE: [Ppcboot-users] gcc version?

Rich Ireland wrote in 
http://www.geocrawler.com/mail/msg.php3?msg_id=7578463&list=4205:
> I just did a scratch install build of binutils-2.11.92.0.12.3 and 
> gcc-core-2.95.3 on a RedHat 7.0 x86 box and when I run the MAKEALL 
> script on the last release (1.1.3), the assembler chokes on 
> cpu/ppc4xx/start.S with a bunch of unrecognized opcodes.

This is a bug in gcc.  See 
http://gcc.gnu.org/ml/gcc-prs/2002-06/msg00452.html
One work around is to add -Wa,-m403 to the gcc command line.
The fix we are using is to apply the following patch to gcc
(this patch is against gcc 3.0.2, but the same bug is present in
older gcc as well):

diff -Naur gcc-3.0.2.old/gcc/config/rs6000/rs6000.h 
gcc-3.0.2/gcc/config/rs6000/rs6000.h
--- gcc-3.0.2.old/gcc/config/rs6000/rs6000.h	Mon Sep 10 11:06:28 2001
+++ gcc-3.0.2/gcc/config/rs6000/rs6000.h	Tue Sep  3 13:35:43 2002
 <at>  <at>  -100,7 +100,7  <at>  <at> 
  %{mcpu=rsc: -mpwr} \
  %{mcpu=rsc1: -mpwr} \
  %{mcpu=401: -mppc} \
-%{mcpu=403: -mppc} \
+%{mcpu=403: -m403} \
  %{mcpu=505: -mppc} \
  %{mcpu=601: -m601} \
  %{mcpu=602: -mppc} \

Kent Shi

(Continue reading)

Marvin | 4 Sep 03:11 2002
Picon

question

Hello here is some background of what Iam doing. I am
building a board simliar to the MPC8260ADS board and I
would like to change the PPC configuration for
MPC8260ADS board.

 I am searching for all the files in ppcboot that has
 connection with the MPC8260ADS board configuration (I
 am  using grep 8260 *), but I was wandering if any of
 you have a there a better way of doing that (search
 for files that have anything to do with 8260ADS).

 All I need to do is change the memory map, memory
 controller initialization, as well the ethernet
driver
 (please correct me if Iam wrong). 

 I am aware of some of the files that I should change
 such as config_MPC8260ADS.h, ppcboot.h, watchdog.h,
 etc. I would like your input, if there is a better
way
 to know which files to change.

 Thank you

 regards,
 Marv

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
(Continue reading)

Kenneth Johansson | 4 Sep 12:27 2002
Picon
Picon

RE: [PPCBoot-users] jffs2 with NAND flash

On Wed, 2002-09-04 at 08:59, Harnois Anne-Sophie wrote:
> Hi Kenneth,
> 
> You wrote in a message through ppcboot user list : 
> > Assuming that the data format is the same as for NOR flash 
> > you could use
> > my patch and copy the content into ram and point jffs2 to that data.
> 
> 1) Do you mean that you have to apply a patch you wrote to be able to use
> JFFS2 with a NOR flash? 

NO. The code in ppcboot assumes that it can access the disk with normal
pointers in a continuous linear space. This is not true for NAND flash
but ok for NOR unless you have holes in the flash range.

The code in the kernel handles this better. 

> 2) Do you know for which hardware JFFS2 was written? 

The code in the kernel is written for NOR flash first but is supposed to
work with NAND flash I have not tried.

> 3) I intend to use JFFS2 with ppcoot and linux and our boards are equipped
> with AMD NOR flash (AM29LV640 : 16-bits accessible). Do you think JFFS2 will
> work with our Flashes?

No problem. If you feel unsure about jffs2 just put the kernel on a
static address to start with. 

For more info on NAND/NOR
(Continue reading)

Jon Hjartar | 4 Sep 16:05 2002
Picon
Picon

[PPCBoot-users] Re: Linux on 8260 using ELDK..Help?!?

>
>
>Kernel command line: root=/dev/nfs rw console=ttyS0 nfsroot=192.168.1.58:/usr/lo
>cal/eldk/ppc_82xx ip=192.168.1.246:192.168.1.
>
Probably won't bring his machine down, but sholdn't there be a secondary 
configure parameter with console=, like: console=ttyS0, 9600 or does 
console have a default parameter?

--

-- 
Jón F. Hjartar
Mobile +45-26177133

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Harnois Anne-Sophie | 4 Sep 16:13 2002
Picon

[Ppcboot-users] Questions about JFFS2?

Hi,

I have to download a package of softwares inside flash.
This package contains :
- Linux image
- FPGA code
- DSP code
- scripts
- others softwares...

Besides, in this application, all of the softwares have to be :
- sawn from Ppcboot and
- updated from Linux. 
So JFFS2 is the solution.

I would like to create 2 partitions in my flash :
- one for Ppcboot
- the remaining for a JFFS2 partition for storing the package.

Then Ppcboot will be able to launch Linux from JFFS2. 
And if a software update is required, it will be done when Linux is running
as JFFS2 is write-accessible.

I know that some of you have already booted a JFFS2 stored Linux from
Ppcboot. 
Does someone have the same JFFS2 configuration? (here the root file system
is not in JFFS2)
Is it really reliable? 
Does Linux decompression from JFFS2 happen always correctly? Is it always
ok? Dave Ellis wrote in a ppcboot message that it works most of the time
(Continue reading)

Dave Ellis | 4 Sep 17:39 2002

RE: [Ppcboot-users] Questions about JFFS2?

Harnois Anne-Sophie [mailto:anne-sophie.harnois <at> nextream.fr] wrote:

> I would like to create 2 partitions in my flash :
> - one for Ppcboot
> - the remaining for a JFFS2 partition for storing the package.
> 
> Then Ppcboot will be able to launch Linux from JFFS2. 
> And if a software update is required, it will be done when 
> Linux is running as JFFS2 is write-accessible.
> 
> I know that some of you have already booted a JFFS2 stored 
> Linux from Ppcboot. 
> Does someone have the same JFFS2 configuration? (here the 
> root file system is not in JFFS2) Is it really reliable? 

Mine is almost the same, I have 3 partitions:
- one for PPCBoot
- one unused (for now)
- a JFFS2 partition, it holds kernel image and root file system.
It works well.

> Does Linux decompression from JFFS2 happen always correctly? 
> Is it always ok? Dave Ellis wrote in a ppcboot message that 
> it works most of the time with PPCBoot 1.1.5 and his 2.4.18 
> kernel bus some of his testers say it sometimes hangs while 
> bootm is uncompressing the kernel (2002.06.25). ??

We found out the problem was happening after the kernel started.
PPCBoot and JFFS2 were not causing the problem.

(Continue reading)


Gmane