[U-Boot] CFI flash broken for 8-bit bus

2018-04-20 Thread Radovan Prodanovic
Has the pending patch for the issue described below ever been released? Am observing the same issue in the U-Boot version 2015-10. On 2011/03/18 6:02 AM, Aaron Williams wrote: > Hi, > > I am running into issues in that the CFI code is broken for flash with an 8- > bit bus. The problem is that t

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-04-01 Thread Aaron Williams
I'll post the patches as soon as I figure out how to get git to do it. The patches are fairly clean and works well for both an 8-bit bus and a 16-bit bus. My biggest obstical is that I'm not all that familiar with GIT and we use SVN internally. -Aaron On Wednesday, March 30, 2011 01:01:42 AM

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-30 Thread Albert ARIBAUD
Le 30/03/2011 10:01, Rogan Dawes a écrit : > On 2011/03/26 8:32 AM, Aaron Williams wrote: >> I am still doing some testing and just added a fix today so that if a flash >> chip that supports both 8 and 16-bits is on an 8-bit bus the interface is set >> to 8-bits. I'll try and get patches out next w

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-30 Thread Rogan Dawes
On 2011/03/26 8:32 AM, Aaron Williams wrote: > I am still doing some testing and just added a fix today so that if a flash > chip that supports both 8 and 16-bits is on an 8-bit bus the interface is set > to 8-bits. I'll try and get patches out next week. > > So far it's working fairly well on a

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-25 Thread Aaron Williams
I am still doing some testing and just added a fix today so that if a flash chip that supports both 8 and 16-bits is on an 8-bit bus the interface is set to 8-bits. I'll try and get patches out next week. So far it's working fairly well on all of our boards, most of which have an 8- bit bus but

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-24 Thread Rogan Dawes
On 2011/03/24 5:07 AM, Aaron Williams wrote: > I have it working on our 8-bit boards properly now, though I've only done > some > limited testing. > > I basically put in the correct addresses into cfi_flash.h and updated various > addresses for 8-bit support. The problem was that the CFI code w

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-23 Thread Stefan Roese
Hi Aaron, On Thursday 24 March 2011 04:07:21 Aaron Williams wrote: > I have it working on our 8-bit boards properly now, though I've only done > some limited testing. Good. > I basically put in the correct addresses into cfi_flash.h and updated > various addresses for 8-bit support. The problem

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-23 Thread Aaron Williams
I have it working on our 8-bit boards properly now, though I've only done some limited testing. I basically put in the correct addresses into cfi_flash.h and updated various addresses for 8-bit support. The problem was that the CFI code was written using the 16-bit addresses which don't work fo

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-18 Thread Aaron Williams
I don't think that will work. Multiplying the offsets by two won't always work (i.e. offset 2AA * 2 != 555). I think this will require a more substantial fix. I started working on something but it may take me a few days, though I have both an 8-bit and a 16-bit board to play with (though no 8-bit c

Re: [U-Boot] CFI flash broken for 8-bit bus

2011-03-18 Thread Rogan Dawes
On 2011/03/18 6:02 AM, Aaron Williams wrote: > Hi, > > I am running into issues in that the CFI code is broken for flash with an 8- > bit bus. The problem is that the CFI code uses the wrong addresses for 8-bits > vs 16-bits. > > The CFI function flash_map incorrectly calculates the byte offset

[U-Boot] CFI flash broken for 8-bit bus

2011-03-17 Thread Aaron Williams
Hi, I am running into issues in that the CFI code is broken for flash with an 8- bit bus. The problem is that the CFI code uses the wrong addresses for 8-bits vs 16-bits. The CFI function flash_map incorrectly calculates the byte offset with Spansion flash. In our case, we have an 8-bit Spansi