* [U-Boot-Users] about sector lock in u-boot flash.c
@ 2007-03-23 12:45 chark_uboot at 126.com
2007-03-23 13:02 ` Ben Warren
0 siblings, 1 reply; 2+ messages in thread
From: chark_uboot at 126.com @ 2007-03-23 12:45 UTC (permalink / raw)
To: u-boot
hi all,
I use a AT49BV1614A (2MB) as my flash memory,after write the u-boot.bin into it,I can't write/erase the flash, even chip erase command.this u-boot.bin is compiled from u-boot-1.1.3 #make chk4510_config;#make(chk4510 is a board I make some changes from evb4510),
I find there's a flash_protect program in flash.h:
#if defined(CFG_FLASH_PROTECTION)
extern int flash_real_protect(flash_info_t *info, long sector, int prot);
but I can't find the flash_real_protect,I want to figure out how to unprotect my flash
thks for help:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070323/73d11dd0/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] about sector lock in u-boot flash.c
2007-03-23 12:45 [U-Boot-Users] about sector lock in u-boot flash.c chark_uboot at 126.com
@ 2007-03-23 13:02 ` Ben Warren
0 siblings, 0 replies; 2+ messages in thread
From: Ben Warren @ 2007-03-23 13:02 UTC (permalink / raw)
To: u-boot
--- chark_uboot at 126.com wrote:
> hi all,
> I use a AT49BV1614A (2MB) as my flash memory,after
> write the u-boot.bin into it,I can't write/erase the
> flash, even chip erase command.this u-boot.bin is
> compiled from u-boot-1.1.3 #make
> chk4510_config;#make(chk4510 is a board I make some
> changes from evb4510),
> I find there's a flash_protect program in flash.h:
> #if defined(CFG_FLASH_PROTECTION)
> extern int flash_real_protect(flash_info_t *info,
> long sector, int prot);
> but I can't find the flash_real_protect,I want to
> figure out how to unprotect my flash
> thks for help:)
First step - get the latest U-boot. MUCH has changed
in the flash code since 1.1.3
regards,
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-23 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23 12:45 [U-Boot-Users] about sector lock in u-boot flash.c chark_uboot at 126.com
2007-03-23 13:02 ` Ben Warren
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.