[U-Boot-Users] Intel 28F256J3C

Hi all,
I try to make u-boot work on my board which is similar with OMAP5912OSK. But the flash we using is 28F256J3C. I have already added 28F256J3C's manufacture code and device id in the proper position of u-boot. But there are several questions I can't figure out. 1) How many sectors does 28F256J3C have? 256 or 259? How to divide 259 sectors in OSK which have two 16M flash. 2) What's the meaning of "Internal FLASH identification codes" in flash.h file. It defines like this: #define FLASH_28F320J3A 0x00C0 /* INTEL 28F320J3A ( 32M = 128K x 32)*/ #define FLASH_28F640J3A 0x00C2 /* INTEL 28F640J3A ( 64M = 128K x 64)*/ #define FLASH_28F128J3A 0x00C4 /* INTEL 28F128J3A (128M = 128K x 128)*/ But I can't find this kind of information on 28F256J3C's datasheet. And what the code should be in 28F256J3C? 3) Should I modify the read manufacture and device id command? I have some trouble with the following codes: /* Write auto select command: read Manufacturer ID */ addr[0x5555] = (FPW) 0x00AA00AA; addr[0x2AAA] = (FPW) 0x00550055; addr[0x5555] = (FPW) 0x00900090; Sorry for my English. Any help will be appreciated. Thank in advance.
Best Regard, xuxian

In message 447d42b2.45c5968f.442a.ffff9351@mx.gmail.com you wrote:
I try to make u-boot work on my board which is similar with OMAP5912OSK. But the flash we using is 28F256J3C. I have already added 28F256J3C's manufacture code and device id in the proper position of u-boot. But there are several questions I can't figure out.
Any reason for not using the CFI driver?
- How many sectors does 28F256J3C have? 256 or 259? How to divide 259
sectors in OSK which have two 16M flash.
How about reading the chip manual?
- What's the meaning of "Internal FLASH identification codes" in flash.h
file. It defines like this:
How about reading the comments in this file:
/*----------------------------------------------------------------------- * Internal FLASH identification codes * * Be careful when adding new type! Odd numbers are "bottom boot sector" types! */
But I can't find this kind of information on 28F256J3C's datasheet. And what the code should be in 28F256J3C?
Do you really expect to find U-Boot internal information in the chip manual? I'm afraid we are not *that* prominent yet.
- Should I modify the read manufacture and device id command? I have some
trouble with the following codes: /* Write auto select command: read Manufacturer ID */ addr[0x5555] = (FPW) 0x00AA00AA; addr[0x2AAA] = (FPW) 0x00550055; addr[0x5555] = (FPW) 0x00900090;
Probably this is not the command sequence expected by your flash chips. Please read the chip manual.
Best regards,
Wolfgang Denk

Hi Xuxian,
On Wednesday 31 May 2006 09:48, Wolfgang Denk wrote:
In message 447d42b2.45c5968f.442a.ffff9351@mx.gmail.com you wrote:
I try to make u-boot work on my board which is similar with OMAP5912OSK. But the flash we using is 28F256J3C. I have already added 28F256J3C's manufacture code and device id in the proper position of u-boot. But there are several questions I can't figure out.
Any reason for not using the CFI driver?
Please take Wolfgangs advice and use the common CFI flash driver. The current U-Boot OMAP5912OSK port also uses this driver. It should work without any changes with your flash type.
Best regards, Stefan

Hi,
I would like to update the U-Boot of my embedded jukebox. It has a PPC 405 CPU without FPU. I was reading the documentation on the denx site and the README in the source distribution, but I did not really find out which configuration would best fit me. Can you please point me to some good documentation? What are TQM8xxl boards and how do I find out, whether or not I have one?
Thanks, Norman

Hi Norman,
On Wednesday 31 May 2006 09:52, Norman Baier wrote:
I would like to update the U-Boot of my embedded jukebox. It has a PPC 405 CPU without FPU.
Which one? 405GR, 405GPr, 405CR, 405EP? Or something else? It's not easy to recommened a board that fits your need the best without any knowledge about it.
Also good to know would be what kind of FLASH you use (type and width), and how the SDRAM is connected to your CPU (DIMM module or onboard).
With such informations you can look through the different 405 board config files and chose the one that fits the best to your custom design.
I was reading the documentation on the denx site and the README in the source distribution, but I did not really find out which configuration would best fit me. Can you please point me to some good documentation? What are TQM8xxl boards and how do I find out, whether or not I have one?
TQM8xxl are MPC8xx based CPU modules from TQ Components.
Best regards, Stefan

In message 20060531075245.64790@gmx.net you wrote:
I would like to update the U-Boot of my embedded jukebox. It has a
You mention "update", i. e. there is already a version of U-Boot installed.
PPC 405 CPU without FPU. I was reading the documentation on the denx site and the README in the source distribution, but I did not really find out which configuration would best fit me.
Why dopn;t you just check with the source tree you received for your device? You did receive one, or at least a link where you can download it, right?
What's the name of your device?
Can you please point me to some good documentation? What are TQM8xxl boards and how do I find out, whether or not I have one?
TQM8xxL modues are MPC8xx based systems; they have nothing to do with your 405 based system.
Best regards,
Wolfgang Denk

I would like to update the U-Boot of my embedded jukebox. It has a
You mention "update", i. e. there is already a version of U-Boot installed.
Yes.
PPC 405 CPU without FPU. I was reading the documentation on the denx site and the README in the source distribution, but I did not really find out which configuration would best fit me.
Why don't you just check with the source tree you received for your device? You did receive one, or at least a link where you can download it, right?
I do not think they want me to have the source.
What's the name of your device?
Hermstedt hifidelio.
Thanks for the answer, Norman

In message 20060531121531.64790@gmx.net you wrote:
Why don't you just check with the source tree you received for your device? You did receive one, or at least a link where you can download it, right?
I do not think they want me to have the source.
They may not want it, but they HAVE TO. The software is licensed under GPL so they have no choice. If you didn't receive the source code, was then your product accompanied "with a written offer, valid for at least three years, to give your (and actually any third party) a complete machine-readable copy of the corresponding source code ?
Please let me know if this was not the case. I take such things seriously.
Best regards,
Wolfgang Denk

I do not think they want me to have the source.
They may not want it, but they HAVE TO. The software is licensed under GPL so they have no choice. If you didn't receive the source code, was then your product accompanied "with a written offer, valid for at least three years, to give your (and actually any third party) a complete machine-readable copy of the corresponding source code ?
Please let me know if this was not the case. I take such things seriously.
They have introduced a harddisk lock in their newest revision, that's why I suppose they will not react in any way to my inquiries. As an individual I am not in a position to negotiate either. The device itself is not accompanied by any written offer or any other advanced documentation or support.
The manufacurer's web page is at:
the product is the hifidelio. The web page is currently down, though.
What I thought to have understood from your and Mr. Roese's mail is that with the information at hand nobody will be able to point me to a valid configuration?
Sincerely,
Norman

In message 20060531130723.93100@gmx.net you wrote:
They have introduced a harddisk lock in their newest revision, that's why I suppose they will not react in any way to my inquiries.
They have to. It's law.
As an individual I am not in a position to negotiate either.
You don't have to negotiate. Please just ask. If they don't give you the full sources, I will take care of it.
The device itself is not accompanied by any written offer or any other advanced documentation or support.
OK. So they are already violating the GPL.
The manufacurer's web page is at: http://www.hermstedt.de the product is the hifidelio. The web page is currently down, though.
Indeed. Not a good sign, problably. Do you have any written information (snail mail address, phone numbers etc.?) [Please send this to wd@denx.de - no need to bother the list.]
What I thought to have understood from your and Mr. Roese's mail is that with the information at hand nobody will be able to point me to a valid configuration?
Right. You would need a detailed documentation of the hardware, ideally including the schematics, but I guess you don;t get this easier than the U-Boot sources.
Best regards,
Wolfgang Denk

Norman Baier wrote:
Why don't you just check with the source tree you received for your device? You did receive one, or at least a link where you can download it, right?
I do not think they want me to have the source.
Since U-Boot license is GPL, they are required to deliver the source code free of charge upon request (except a reasonable amount for preparation of media and shipping).
While not disputing your right to update, what is your incentive to update U-Boot code since it is unlikely to add any new features that you might need in your Jukebox? If it is working fine, there is no real good reason, I would recommend not to update boot loader.
Tolunay

Am Mittwoch, 31. Mai 2006 22:11 schrieb Tolunay Orkun:
Since U-Boot license is GPL, they are required to deliver the source code free of charge upon request (except a reasonable amount for preparation of media and shipping).
In the meantime I have sent 2 e-mails. They have reacted on the 2nd and promised to give me the source. I am curious on what I will get...
While not disputing your right to update, what is your incentive to update U-Boot code since it is unlikely to add any new features that you might need in your Jukebox? If it is working fine, there is no real good reason, I would recommend not to update boot loader.
I always need to have the latest version installed, don't you? ;-) As I have written in another mail in the same thread, there is a Hardware lock in the "original" U-Boot, probably with a similar philosophy behind like the image lock Rohit Sharma proposed these days on this list and I don't see why my jukebox should only work with a TravelStar 80GB hard disk and not with any other HD, especially my newly bought 160GB... I am sure I will find the explanation right beside the "if" being responsible for the lock. Good software writers always explain with comments what they are doing!
Norman

Am Dienstag, 6. Juni 2006 22:51 schrieb Norman Urs Baier:
In the meantime I have sent 2 e-mails. They have reacted on the 2nd and promised to give me the source. I am curious on what I will get...
They have sent me a source tarball. I make it available to the readers of the list at: http://www.normiboy.ch/tute/u-boot-0.4.0wmc.tgz inside should be either a 0.4.7 or a 0.4.8 u-boot, I did not check that yet.
An integration into the official source might be appropriate, maybe I will find time to do something,
Greets, Norman
participants (7)
-
Norman Baier
-
Norman Urs Baier
-
Norman Urs Baier
-
Stefan Roese
-
Tolunay Orkun
-
Wolfgang Denk
-
xuxian