Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: Writting flash.
       [not found] ` <3A3F3C6E.39C64947@mips.com>
@ 2000-12-20  2:41   ` Nicu Popovici
  2000-12-20 10:28     ` Carsten Langgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Nicu Popovici @ 2000-12-20  2:41 UTC (permalink / raw)
  To: Carsten Langgaard, linux-mips

Hello Carsten,

I folowed the ATLAS instructions but when I do cat flashimage > /dev/lp0 it get
stucked at the first write . I will send you what message I get when I run strace
cat flashimage > /dev/lp0.

open("claudiuwright", O_RDONLY|O_LARGEFILE) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=2479223, ...}) = 0
read(3, "!R\n@1c000000\n>UploadSS\n!E\n000000"..., 512) = 512
write(1, "!R\n@1c000000\n>UploadSS\n!E\n000000"..., 512

Do you have any ideea ?

Please try to give me a clue because in the ATLAS docs says that I have to set the
parallel prot to Generic text only and I do not know how to do that. Second I guess
that it stucks from other reasons .

Best Regards,
Nicu

Carsten Langgaard wrote:

> It should be straight forward, just follow the Atlas documentation.
> I don't think you need to do anything with the parallel port, except that you
> need parallel port support on you linux PC, of course.
>
> /Carsten
>
> POPOVICI Nicolae wrote:
>
> > Hello Carlsten,
> >
> >  My address is actually octavpo@isratech.ro but I need an answer to my
> > problem.
> > So I have to write the system flash on an ATLAS board. PLease tell me how do I
> > do that. I read the manuals that come with the board and there it says that I
> > have to set the parallel port to "Generic text only". How do I do that on a
> > LINUX machine ? Then I just copy the file that I want to write in system flash
> > to the parallel port , am I correct ?
> > I do not have to convert the file that I want to write in FLASH in a text only
> > format !!!! Am I correct ?
> >
> > Please try to tell me how can I write the system flash with as much details as
> > you can.
> >
> > Regards,
> > Nicu
> >
> >
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> --
> _    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
> |\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
> | \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
>   TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
>                    Denmark             http://www.mips.com

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

* Re: Writting flash.
  2000-12-20  2:41   ` Writting flash Nicu Popovici
@ 2000-12-20 10:28     ` Carsten Langgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Langgaard @ 2000-12-20 10:28 UTC (permalink / raw)
  To: Nicu Popovici; +Cc: linux-mips

Nicu Popovici wrote:

> Hello Carsten,
>
> I folowed the ATLAS instructions but when I do cat flashimage > /dev/lp0 it get
> stucked at the first write . I will send you what message I get when I run strace
> cat flashimage > /dev/lp0.
>
> open("claudiuwright", O_RDONLY|O_LARGEFILE) = 3
> fstat(3, {st_mode=S_IFREG|0664, st_size=2479223, ...}) = 0
> read(3, "!R\n@1c000000\n>UploadSS\n!E\n000000"..., 512) = 512
> write(1, "!R\n@1c000000\n>UploadSS\n!E\n000000"..., 512
>
> Do you have any ideea ?
>
> Please try to give me a clue because in the ATLAS docs says that I have to set the
> parallel prot to Generic text only and I do not know how to do that. Second I guess
> that it stucks from other reasons .

I think you can set the parallel port to Generic text only in the BIOS.
You also need to set switch S5-1 on the Atlas board, if set the display shows
something like "Flash  DL"
Remember to delete the flash before writing to it, see the script on the Atlas CD.


> Best Regards,
> Nicu
>
> Carsten Langgaard wrote:
>
> > It should be straight forward, just follow the Atlas documentation.
> > I don't think you need to do anything with the parallel port, except that you
> > need parallel port support on you linux PC, of course.
> >
> > /Carsten
> >
> > POPOVICI Nicolae wrote:
> >
> > > Hello Carlsten,
> > >
> > >  My address is actually octavpo@isratech.ro but I need an answer to my
> > > problem.
> > > So I have to write the system flash on an ATLAS board. PLease tell me how do I
> > > do that. I read the manuals that come with the board and there it says that I
> > > have to set the parallel port to "Generic text only". How do I do that on a
> > > LINUX machine ? Then I just copy the file that I want to write in system flash
> > > to the parallel port , am I correct ?
> > > I do not have to convert the file that I want to write in FLASH in a text only
> > > format !!!! Am I correct ?
> > >
> > > Please try to tell me how can I write the system flash with as much details as
> > > you can.
> > >
> > > Regards,
> > > Nicu
> > >
> > >
> > >
> > > ____________________________________________________________________
> > > Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> > --
> > _    _ ____  ___   Carsten Langgaard  Mailto:carstenl@mips.com
> > |\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
> > | \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
> >   TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
> >                    Denmark            http://www.mips.com

--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

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

end of thread, other threads:[~2000-12-20 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20001219091316.10085.qmail@nw175.netaddress.usa.net>
     [not found] ` <3A3F3C6E.39C64947@mips.com>
2000-12-20  2:41   ` Writting flash Nicu Popovici
2000-12-20 10:28     ` Carsten Langgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox