From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 11 Oct 2014 18:22:27 +0200 Subject: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands In-Reply-To: References: <1412527158-32656-1-git-send-email-maxime.hadjinlian@gmail.com> <1412757306.2374.4.camel@clsee-VirtualBox.altera.com> Message-ID: <201410111822.27688.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, October 10, 2014 at 11:16:05 PM, Maxime Hadjinlian wrote: > Hi all, Hi! [...] > >> +CC Altera guys, they might help too. > > > > Hmmm.... quite strange to write for sector aligned. > > Wonder the write related to filesystem access? > > > > Within Cadence QSPI controller, read and write access need to be done > > within a page. But that would be taken care by controller when the > > access beyond the next page. From software perspective, we just tell > > controller the numbers of bytes to be transfer (for indirect transfer > > setup). > > My needs have evolved a bit, and I no longer require this function. > But I wasn't able to right a file tftp into RAM using 'sf update' > without this patch. > I could try to reproduce the errors and maybe dig in a little more. This would be really helpful. Esp. since the Cadence QSPI driver is coming to mainline in next MW. Thank you! Best regards, Marek Vasut