Re: [U-Boot] Flash not Erased

2013-06-20 Thread Jan Schunke
Hello, it turns out that setting #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT solves my problem because it skips x8 detection. I took me some time because I have not found it anywhere in the README. Thanks for your help. Jan On 20.06.2013 08:00, Stefan Roese wrote: > Hi Jan, > > On 19

Re: [U-Boot] Flash not Erased

2013-06-19 Thread Stefan Roese
Hi Jan, On 19.06.2013 17:35, Jan Schunke wrote: > I am trying to compile my own U-Boot for microblaze. > Version: > U-Boot 2013.01-dirty (Jun 19 2013 - 16:26:51) > microblazeel-xilinx-linux-gnu-gcc (crosstool-NG 1.15.3) 4.6.4 20120924 > (prerelease) > GNU ld (crosstool-NG 1.15.3) 2.22.90.20121010

[U-Boot] Flash not Erased

2013-06-19 Thread Jan Schunke
Hello, I am trying to compile my own U-Boot for microblaze. Version: U-Boot 2013.01-dirty (Jun 19 2013 - 16:26:51) microblazeel-xilinx-linux-gnu-gcc (crosstool-NG 1.15.3) 4.6.4 20120924 (prerelease) GNU ld (crosstool-NG 1.15.3) 2.22.90.20121010 I have demo where Flash access works fine. Verion: U

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Angelo Dureghello
Dear Ramesh, you're welcome, happy to help. Anyway, i suggest you to update to ALL the last "master" git tree, since overwriting a single file can bring you to some other misalignment/malfunction. You can find eventually instructions here: http://www.denx.de/en/Software/GIT Best Regards, Ange

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Ramesh K Khokhani
Dureghello [mailto:sysa...@gmail.com] Sent: Wednesday, January 16, 2013 3:56 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-22 Thread Ramesh K Khokhani
ause of our M29W128GL has interface code = 2 (X8X16). Please help me. Thanks a lot. -Original Message- From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Sunday, January 20, 2013 7:59 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-20 Thread Ramesh K Khokhani
From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Sunday, January 20, 2013 7:59 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, i am using last u-boot form git / master. You can get the file fome there, just go

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-20 Thread Angelo Dureghello
Dear Ramesh, i am using last u-boot form git / master. You can get the file fome there, just go to u-boot site, custodians, click "master", selct tree and click on the file. Still, some questions: How is the flash connected, as 8 or 16 bit data port ? Is the flash connected stirght D0/D15 to D0

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-18 Thread Ramesh K Khokhani
Hi Angelo, Still having problem. Can I have your flash_cfi.c code file? Thanks & Regards, Ramesj -Original Message- From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Wednesday, January 16, 2013 3:56 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] F

[U-Boot] Flash Not Erased for M29W128GL

2013-01-17 Thread Ramesh K Khokhani
Hi Angelo, I am having problem with 16MB M29W128GL Flash. I am getting Flash Not Erased when i try to use saveenv command at u-boot command prompt. I have tried manually Byte by Byte wise writing to NOR Flash location so for that i have use following command and getting 2 same byte write on con

Re: [U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Ramesh K Khokhani
esh.khokh...@igatepatni.com From: Fabio Estevam [feste...@gmail.com] Sent: Wednesday, January 16, 2013 10:07 PM To: Ramesh K Khokhani Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Flash Not Erased for M29W128GL On Wed, Jan 16, 2013 at 2:23 PM, Ramesh K Khokhani wr

Re: [U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Fabio Estevam
On Wed, Jan 16, 2013 at 2:23 PM, Ramesh K Khokhani wrote: > Hi Friends, > > I am having problem with 16MB M29W128GL Flash. I am getting Flash Not Erased > when i try to use saveenv command at u-boot command prompt. You forgot to mention which board and U-boot version you are using. Regards, Fa

[U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Ramesh K Khokhani
Hi Friends, I am having problem with 16MB M29W128GL Flash. I am getting Flash Not Erased when i try to use saveenv command at u-boot command prompt. I have tried manually Byte by Byte wise writing to NOR Flash location so for that i have use following command and getting 2 same byte write on co

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-16 Thread Angelo Dureghello
Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing works fine. >From your debug trace seems the correct erasing command (0x30) is sent. But the function you mentioned detect that flash is not erased. Are you using a 16bit port for data co

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Ramesh K Khokhani
& Warm Regards, Ramesh -Original Message- From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Wednesday, January 16, 2013 5:09 AM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, this issue could be conn

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Angelo Dureghello
Dear Ramesh, this issue could be connected to a patch i recently posted to the list, where the erase command is now allowed to be customizable for CFI AMD compatible chips only. Are you using board_flash_get_legacy in your board files ? If yes, could you just add after line 1834 in cfi_flash.c

[U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Ramesh K Khokhani
Hi Friends, I have my custom board with MCF5329 processor and M29W128GL (16MB NOR). I have LTIB package from freescale of M5329EVB board. I am using this package and modified according M29W128GL NOR. Like * FLASH organization */ #define CONFIG_SYS_FLASH_CFI #ifdef CONFIG_SYS_FLASH_CFI # def

Re: [U-Boot] Flash not erased problem.

2012-02-20 Thread Stefan Roese
Hi Sanjoy, On Monday 20 February 2012 13:40:30 Sanjoy Saha - ERS, HCL Tech wrote: > I am using u-Boot [2009.08-CanyonlandsOptimized_2.6.30_1.13-01] in > canyonlands board to flash my ram file system (which I need to do often). > I go in step to erase/tftp/copy the binary in my flash. > > era

[U-Boot] Flash not erased problem.

2012-02-20 Thread Sanjoy Saha - ERS, HCL Tech
Hi, I am using u-Boot [2009.08-CanyonlandsOptimized_2.6.30_1.13-01] in canyonlands board to flash my ram file system (which I need to do often). I go in step to erase/tftp/copy the binary in my flash. era 0xfc20 0xfd5f tftp 0x20 canyonlands/ramdisk.img cp.b ${fileaddr} 0xfc20