* [U-Boot-Users] Re: Help: Device protect error
@ 2005-11-08 10:12 王 振
2005-11-08 11:57 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: 王 振 @ 2005-11-08 10:12 UTC (permalink / raw)
To: u-boot
hi wd,
I think I hadn't explained my situation clearly in my last post.
I did copy board/pleb2/flash.c as my board's flash.c because this file
provided flash driver for Intel 28F320C3B flash memory and created a
configuration header file for my board. I don't know whether this could be
called 'adapt the flash driver' but in the end I could see u-boot's output
in minicom and the flash memory was correctly recognized. Now the problem
is that 'erase' command doesn't work, I do need some precious hints about
how to solve it.
Besides, I wonder if cfi_flash.c can drive Intel 28F320C3B on my board
because there is no CFI on my board.
Best regard,
Zhen Wang
>From: Wolfgang Denk <wd@denx.de>
>To: ? ? <mailtojarod@hotmail.com>
>CC: u-boot-users at lists.sourceforge.net
>Subject: Re: [U-Boot-Users] Help: Device protect error
>Date: Tue, 08 Nov 2005 09:04:11 +0100
>
>In message <BAY24-F56A5E51FFD0614E46EED4AF640@phx.gbl> you wrote:
> >
> > I checked the last 8KB with "md 003FE000" and I found former data
remained
> > other than FFFFs. Erasing just didn't work correctly. I wonder what's
the
> > problem and shall I revise the flash.c in my board's folder.
>
>You seem to be using a board-specific flash driver. Is there a
>special reason for not using the cfi_flash driver?
>
>And do you think the error will go away if you do not adapt the flash
>driver to your hardware?
>
>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
>Be careful what you wish for. You never know who will be listening.
> - Terry Pratchett, _Soul Music_
_________________________________________________________________
???? MSN Explorer: http://explorer.msn.com/lccn
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Re: Help: Device protect error
2005-11-08 10:12 [U-Boot-Users] Re: Help: Device protect error 王 振
@ 2005-11-08 11:57 ` Wolfgang Denk
2005-11-08 16:55 ` Tolunay Orkun
2005-11-08 23:51 ` Wang Zhen
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-08 11:57 UTC (permalink / raw)
To: u-boot
In message <BAY24-F25B0A140CC305D95B57396AF640@phx.gbl> you wrote:
>
> I did copy board/pleb2/flash.c as my board's flash.c because this file
> provided flash driver for Intel 28F320C3B flash memory and created a
> configuration header file for my board. I don't know whether this could be
> called 'adapt the flash driver' but in the end I could see u-boot's output
No, this is usually not sufficient. For example, are you absolutely
sure that your hardware uses the same bus width?
> in minicom and the flash memory was correctly recognized. Now the problem
> is that 'erase' command doesn't work, I do need some precious hints about
> how to solve it.
debug the flash driver. If you decide to use a special driver it is
your responsibility to make it work on your hardware.
> Besides, I wonder if cfi_flash.c can drive Intel 28F320C3B on my board
> because there is no CFI on my board.
??
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
Systems programmers are the high priests of a low cult.
-- R.S. Barton
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Re: Help: Device protect error
2005-11-08 11:57 ` Wolfgang Denk
@ 2005-11-08 16:55 ` Tolunay Orkun
2005-11-08 23:51 ` Wang Zhen
1 sibling, 0 replies; 6+ messages in thread
From: Tolunay Orkun @ 2005-11-08 16:55 UTC (permalink / raw)
To: u-boot
Wolfgang,
Wolfgang Denk wrote:
>> Besides, I wonder if cfi_flash.c can drive Intel 28F320C3B on my board
>>because there is no CFI on my board.
>
>
> ??
I think he thinks 'CFI' is a brand like Intel, AMD etc. :)
However, using the CFI flash driver might not solve the problem alone
without proposed patches are done and applied to deal with flash chips
that come all sectors locked on power on.
According to the product briefing, this flash comes up with all sectors
locked up initially so this is also probably why his custom flash driver
is also failing the erase attempts (provided that everything else is
correct).
http://www.intel.com/design/flcomp/prodbref/pdfs/298188.pdf
Best regards,
Tolunay
Note: Insert usual reminder for pending patches to cfi_flash.c :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Re: Help: Device protect error
2005-11-08 11:57 ` Wolfgang Denk
2005-11-08 16:55 ` Tolunay Orkun
@ 2005-11-08 23:51 ` Wang Zhen
1 sibling, 0 replies; 6+ messages in thread
From: Wang Zhen @ 2005-11-08 23:51 UTC (permalink / raw)
To: u-boot
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051108/94d0f6ce/attachment.htm
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] RE: Help: Device protect error
@ 2005-11-09 23:52 Zhen Wang
2005-11-10 0:12 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Zhen Wang @ 2005-11-09 23:52 UTC (permalink / raw)
To: u-boot
Hi wd,
I wrote in my last post:
I found that I misunderstood the abbreviation 'cfi' as 'Compact Flash
Interface' after I checked out cfi_flash.c. I will try to drive my flash
memory with it tonight. Thanks a lot.
And sorry for sent it to the list in HTML format, so I decide to use
this gmail email account instead.
Now I can erase the 28F320C3B correctly with cfi_flash.c included.
Thank you very much.
I meant to boot a compressed uClinux zImage with u-boot. And I saw
someone else had succeeded in booting zImage by configuring bootcmd as
'tftpboot\; go 0x0c480000', but I wonder how to configure the tftp
download file name i.e. zImage and tftp download address i.e.
0x0c480000(SDRAM address).
Any hints would be appreciated.
Best regards,
Zhen Wang
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] RE: Help: Device protect error
2005-11-09 23:52 [U-Boot-Users] " Zhen Wang
@ 2005-11-10 0:12 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-11-10 0:12 UTC (permalink / raw)
To: u-boot
In message <43728BD5.8040306@gmail.com> you wrote:
>
> 'tftpboot\; go 0x0c480000', but I wonder how to configure the tftp
> download file name i.e. zImage and tftp download address i.e.
> 0x0c480000(SDRAM address).
> Any hints would be appreciated.
I suggest you start reading the manual?
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 any group of employed individuals the only naturally early riser
is _always_ the office manager, who will _always_ leave reproachful
little notes ... on the desks of their subordinates.
- Terry Pratchett, _Lords and Ladies_
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-10 0:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 10:12 [U-Boot-Users] Re: Help: Device protect error 王 振
2005-11-08 11:57 ` Wolfgang Denk
2005-11-08 16:55 ` Tolunay Orkun
2005-11-08 23:51 ` Wang Zhen
-- strict thread matches above, loose matches on Subject: below --
2005-11-09 23:52 [U-Boot-Users] " Zhen Wang
2005-11-10 0:12 ` 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.