sypcr double written
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.
Quoted 3 lines · In message <[email protected]> you wrote:
I saw that in
cpu_init_fthe 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.
Quoted 1 line
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
Signature · 4 lines
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"wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
Quoted 17 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:
I saw that in
cpu_init_fthe 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.
Quoted 1 line
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
Quoted 18 lines · Antonio Di Bacco
wdt_mpc8xx.cis in the kernel, in thedrivers/char/wdt_mpc8xx.cQuoted 15 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:
I saw that in
cpu_init_fthe 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.
Quoted 1 line
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.
Quoted 1 line · In message <[email protected]> you wrote:
wdt_mpc8xx.cis in the kernel, in thedrivers/char/wdt_mpc8xx.c
So what has this to do with U-Boot?
PLEASE STOP TOP-POSTING / FULL-QUOTING!!!!
Wolfgang Denk
Signature · 3 lines
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
Wolfgang Denk Scrive:
Quoted 26 lines
Quoted 1 line · In message <[email protected]> you wrote:
wdt_mpc8xx.cis in the kernel, in thedrivers/char/wdt_mpc8xx.cSo what has this to do with U-Boot?
PLEASE STOP TOP-POSTING / FULL-QUOTING!!!!
Wolfgang Denk
Signature · 14 lines
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&kid7521&bid$8729&dat1642 _______________________________________________ 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.
In message <[email protected]> you wrote:
[Completely irrelevant full quote deleted]
Antonio, will you *please* finally read the netiquette and stop full-quoting? Thanks!
Quoted 4 lines
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
Signature · 4 lines
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
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:
Quoted 15 lines
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
Signature · 4 lines
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
Quoted 1 line · In message <[email protected]> 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.
Quoted 3 lines
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
Signature · 6 lines
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_Quoted 3 lines
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.
Quoted 2 lines
"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.
Quoted 5 lines · In message <[email protected]> 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.hdoesn'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
Signature · 7 lines
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 <[email protected]>