* [U-Boot-Users] sypcr double written
@ 2006-05-23 19:24 Antonio Di Bacco
2006-05-23 20:31 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: Antonio Di Bacco @ 2006-05-23 19:24 UTC (permalink / raw)
To: u-boot
I saw that in cpu_init_f the sypcr is written and it is also written in the
init of wdt_mpc8xx.o but this should not be possible according to the MPC885
Reference Manual.
For sure there is an explanation for this, anyone knows?
Bye,
Antonio.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] sypcr double written
2006-05-23 19:24 [U-Boot-Users] sypcr double written Antonio Di Bacco
@ 2006-05-23 20:31 ` Wolfgang Denk
2006-05-23 20:40 ` Antonio Di Bacco
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2006-05-23 20:31 UTC (permalink / raw)
To: u-boot
In message <200605232124.05181.antonio.dibacco@aruba.it> you wrote:
> I saw that in cpu_init_f the sypcr is written and it is also written in the
> init of wdt_mpc8xx.o but this should not be possible according to the MPC885
> Reference Manual.
It is not possible, but then: what's wdt_mpc8xx.o? This is not part
of U-Boot.
> For sure there is an explanation for this, anyone knows?
Um... and if you're talking about any Linux kernel code - who says
that it's been booted by U-Boot, or that the boot loader initialized
the SYPCR?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Plan to throw one away. You will anyway."
- Fred Brooks, "The Mythical Man Month"
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] sypcr double written
2006-05-23 20:31 ` Wolfgang Denk
@ 2006-05-23 20:40 ` Antonio Di Bacco
2006-05-23 20:47 ` Jerry Van Baren
2006-05-23 21:10 ` Wolfgang Denk
0 siblings, 2 replies; 11+ messages in thread
From: Antonio Di Bacco @ 2006-05-23 20:40 UTC (permalink / raw)
To: u-boot
wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
On Tuesday 23 May 2006 22:31, Wolfgang Denk wrote:
> In message <200605232124.05181.antonio.dibacco@aruba.it> you wrote:
> > I saw that in cpu_init_f the sypcr is written and it is also written in
> > the init of wdt_mpc8xx.o but this should not be possible according to the
> > MPC885 Reference Manual.
>
> It is not possible, but then: what's wdt_mpc8xx.o? This is not part
> of U-Boot.
>
> > For sure there is an explanation for this, anyone knows?
>
> Um... and if you're talking about any Linux kernel code - who says
> that it's been booted by U-Boot, or that the boot loader initialized
> the SYPCR?
>
> Best regards,
>
> Wolfgang Denk
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] sypcr double written
2006-05-23 20:40 ` Antonio Di Bacco
@ 2006-05-23 20:47 ` Jerry Van Baren
2006-05-23 21:10 ` Wolfgang Denk
1 sibling, 0 replies; 11+ messages in thread
From: Jerry Van Baren @ 2006-05-23 20:47 UTC (permalink / raw)
To: u-boot
Antonio Di Bacco wrote:
> wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
>
> On Tuesday 23 May 2006 22:31, Wolfgang Denk wrote:
>> In message <200605232124.05181.antonio.dibacco@aruba.it> you wrote:
>>> I saw that in cpu_init_f the sypcr is written and it is also written in
>>> the init of wdt_mpc8xx.o but this should not be possible according to the
>>> MPC885 Reference Manual.
>> It is not possible, but then: what's wdt_mpc8xx.o? This is not part
>> of U-Boot.
>>
>>> For sure there is an explanation for this, anyone knows?
>> Um... and if you're talking about any Linux kernel code - who says
>> that it's been booted by U-Boot, or that the boot loader initialized
>> the SYPCR?
>>
>> Best regards,
>>
>> Wolfgang Denk
Well, strictly speaking it _is_ possible to write the SYPCR more than
once, it just doesn't do anything because the CPU ignores all but the
first write. Whatever wdt_mpc8xx.o writes is ignored in this case.
Best regards,
gvb
P.S. Please don't top post.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] sypcr double written
2006-05-23 20:40 ` Antonio Di Bacco
2006-05-23 20:47 ` Jerry Van Baren
@ 2006-05-23 21:10 ` Wolfgang Denk
2006-05-24 11:59 ` [U-Boot-Users] " antonio.dibacco
1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2006-05-23 21:10 UTC (permalink / raw)
To: u-boot
In message <200605232240.05529.antonio.dibacco@aruba.it> you wrote:
> wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
So what has this to do with U-Boot?
PLEASE STOP TOP-POSTING / FULL-QUOTING!!!!
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Ada is PL/I trying to be Smalltalk. - Codoso diBlini
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-23 21:10 ` Wolfgang Denk
@ 2006-05-24 11:59 ` antonio.dibacco
2006-05-24 13:00 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: antonio.dibacco @ 2006-05-24 11:59 UTC (permalink / raw)
To: u-boot
Wolfgang Denk Scrive:
> In message <200605232240.05529.antonio.dibacco@aruba.it> you wrote:
>> wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
>
> So what has this to do with U-Boot?
>
>
> PLEASE STOP TOP-POSTING / FULL-QUOTING!!!!
>
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "Ada is PL/I trying to be Smalltalk. - Codoso diBlini
>
>
> -------------------------------------------------------
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmdlnk&kid\x107521&bid$8729&dat\x121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
I discovered a possible problem, just at the beginning, when the environment
is not setup and thus ethaddr and eth1addr are not set, I call saveenv two
times consecutively without resetting the watchdog. Probably the watchdog
lasts for one saveenv but not for two consecutive saveenv.
Thank you,
Antonio.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-24 11:59 ` [U-Boot-Users] " antonio.dibacco
@ 2006-05-24 13:00 ` Wolfgang Denk
2006-05-24 13:52 ` antonio.dibacco
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2006-05-24 13:00 UTC (permalink / raw)
To: u-boot
In message <20060524115904.7705.qmail@mx1.aruba.it> you wrote:
[Completely irrelevant full quote deleted]
Antonio, will you *please* finally read the netiquette and stop
full-quoting? Thanks!
> I discovered a possible problem, just at the beginning, when the environment
> is not setup and thus ethaddr and eth1addr are not set, I call saveenv two
> times consecutively without resetting the watchdog. Probably the watchdog
> lasts for one saveenv but not for two consecutive saveenv.
It should not matter how often you call it. If the watchdog resets
here, then you have a bug in your flash driver.
Let me guess: you don't use the CFI driver, but your own custom code?
And you don't use udelay() for delays?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Marriage is like a cage; one sees the birds outside desperate to get
in, and those inside desperate to get out." - Montaigne
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-24 13:00 ` Wolfgang Denk
@ 2006-05-24 13:52 ` antonio.dibacco
2006-05-24 16:27 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: antonio.dibacco @ 2006-05-24 13:52 UTC (permalink / raw)
To: u-boot
I hope this is not full quote! Below there is only what you have written.
I don't use any custom driver, I think the u-boot probes for the flash type
and uses what is better. Anyway in saveenv I didn't see any
WATCHDOG_RESET().
Furthermore I will do the same test on a evaluation board that for sure
works and I will try to do several saveenv.
Bye,
Antonio.
Wolfgang Denk Scrive:
> It should not matter how often you call it. If the watchdog resets
> here, then you have a bug in your flash driver.
>
> Let me guess: you don't use the CFI driver, but your own custom code?
> And you don't use udelay() for delays?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "Marriage is like a cage; one sees the birds outside desperate to get
> in, and those inside desperate to get out." - Montaigne
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-24 13:52 ` antonio.dibacco
@ 2006-05-24 16:27 ` Wolfgang Denk
2006-05-25 19:39 ` Antonio Di Bacco
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2006-05-24 16:27 UTC (permalink / raw)
To: u-boot
In message <20060524135205.2982.qmail@mx1.aruba.it> you wrote:
> I hope this is not full quote! Below there is only what you have written.
It's even worse.It's a top post / fuull quote again.
PLEASE READ THE NETIQUETTE! This is tha last time I ask you to do
this, and to play by the rules. If you continue to ignore the rules
and post such unreadable messages I will just ignore your postings.
Don't expect any more help from me then.
> I don't use any custom driver, I think the u-boot probes for the flash type
> and uses what is better. Anyway in saveenv I didn't see any
> WATCHDOG_RESET().
"U-Boot" does not probe anything. It's the flash driver in U-Boot
that deals with flash, and my question was which one you use. Sorry,
but if you cannot even answer this question, then I have no way of
helping you anyway.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
They weren't that important. They were merely at the top. The people
who really run organizations are usually found several levels down,
where it's still possible to get things done.
- Terry Pratchett, _Small Gods_
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-24 16:27 ` Wolfgang Denk
@ 2006-05-25 19:39 ` Antonio Di Bacco
2006-05-28 22:20 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: Antonio Di Bacco @ 2006-05-25 19:39 UTC (permalink / raw)
To: u-boot
> It's even worse.It's a top post / fuull quote again.
>
> PLEASE READ THE NETIQUETTE! ......
I didn't mean to hurt you, what I did was not by intention. I have a great
esteem for you, for what you do and an example to follow for me.
Now I read something about how awful is top-posting. I will always answer
inline.
> "U-Boot" does not probe anything. It's the flash driver in U-Boot
> that deals with flash, and my question was which one you use. ...
This is my first experience with u-boot and linux. I know that some questions
are annoying. Anyway I didn't choose any flash driver. My u-boot
configuration file: include/configs/MYBOARD.h doesn't contain anything about
a possible flash driver then I believe that a CFI driver is being used. I'm
going to put a trace inside WATCHDOG_RESET() just to see if it is being
called.
Sorry again,
Bye,
Antonio.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot-Users] Re: sypcr double written
2006-05-25 19:39 ` Antonio Di Bacco
@ 2006-05-28 22:20 ` Wolfgang Denk
0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Denk @ 2006-05-28 22:20 UTC (permalink / raw)
To: u-boot
In message <200605252139.24859.antonio.dibacco@aruba.it> you wrote:
>
> This is my first experience with u-boot and linux. I know that some questions
> are annoying. Anyway I didn't choose any flash driver. My u-boot
> configuration file: include/configs/MYBOARD.h doesn't contain anything about
> a possible flash driver then I believe that a CFI driver is being used. I'm
No. In this case a proprietary flash driver is being used. And you
should know this, as you must have put a file board/MYBOARD/flash.c
in your board specific directory, and you must have adapted it for
your hardware, so your eally should remember.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In a business, marketroids, salespukes, and lawyers have different
goals from those who actually do work and produce something. Usually,
is is the former who triumph over the latter, due to the simple rule
that those who print the money make the rules.
-- Tom Christiansen in <5jdcls$b04$2@csnews.cs.colorado.edu>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-05-28 22:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 19:24 [U-Boot-Users] sypcr double written Antonio Di Bacco
2006-05-23 20:31 ` Wolfgang Denk
2006-05-23 20:40 ` Antonio Di Bacco
2006-05-23 20:47 ` Jerry Van Baren
2006-05-23 21:10 ` Wolfgang Denk
2006-05-24 11:59 ` [U-Boot-Users] " antonio.dibacco
2006-05-24 13:00 ` Wolfgang Denk
2006-05-24 13:52 ` antonio.dibacco
2006-05-24 16:27 ` Wolfgang Denk
2006-05-25 19:39 ` Antonio Di Bacco
2006-05-28 22:20 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.