Updating kernel for Debian Jessie on iMX53 QuickStart

2016-01-11 Thread Mike Thompson
I've got Debian Jessie armhf running on an iMX53 following the instructions here: https://wiki.debian.org/InstallingDebianOn/Freescale/QuickStart It runs fine. However, a major issue I have is that when the kernel is updated with "apt-get upgrade", the VFAT partition that holds the uImage, uIntr

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Andrew Lunn
> Oh, right. This sounds like everything is working fine with SPI - that > commit was supposed to improve throughput with single threaded workloads > by avoiding pointless context switches and it seems it is in fact doing > that. Most likely you are using a bitbanging SPI controller driver and >

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Mark Brown
On Tue, Jan 12, 2016 at 02:19:04AM +0100, Andrew Lunn wrote: > When i played with this, i added a reschedule point at the end of the > drivers transfer_one_message() function, to see if that would help. It > did not, which is why i made a guess it has something to do with a > lock. The SPI core d

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Mark Brown
On Tue, Jan 12, 2016 at 12:43:37AM +0100, Andrew Lunn wrote: > I've done a little testing. What appears to happen is that while the > cat file > /dev/mtdblockX is going on, all access to filesystems on > SATA are blocked. I set off a "find ." and it busily prints > filenames. But as soon as i star

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Mark Brown
On Mon, Jan 11, 2016 at 04:07:21PM -0800, Martin Michlmayr wrote: > * Mark Brown [2016-01-11 23:22]: I've just noticed that you're asking about the kernel SPI subsystem on the Debian ARM list, please don't do things like this - please include the kernel community, you'll be able to get more help

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Andrew Lunn
On Mon, Jan 11, 2016 at 11:22:31PM +, Mark Brown wrote: > On Mon, Jan 11, 2016 at 03:00:59PM -0800, Martin Michlmayr wrote: > > A few months ago Debian users with QNAP devices (ARM Kirkwood) > > reported issues (mostly SATA timeouts) when doing kernel upgrades, > > specifically when the new ram

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Martin Michlmayr
* Mark Brown [2016-01-11 23:22]: > > spi: Pump transfers inside calling context for spi_sync() > > Can you please clarify? You're saying this causes SATA timeouts but > this is a change in the SPI subsystem and you're talking about MTD > devices. You've also not said which kernel version t

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Mark Brown
On Mon, Jan 11, 2016 at 03:00:59PM -0800, Martin Michlmayr wrote: > A few months ago Debian users with QNAP devices (ARM Kirkwood) > reported issues (mostly SATA timeouts) when doing kernel upgrades, > specifically when the new ramdisk was being written to flash. > cat file > /dev/mtdblockX worked

Re: I/O issues with writing to mtdblock devices on kirkwood

2016-01-11 Thread Martin Michlmayr
A few months ago Debian users with QNAP devices (ARM Kirkwood) reported issues (mostly SATA timeouts) when doing kernel upgrades, specifically when the new ramdisk was being written to flash. cat file > /dev/mtdblockX worked fine on a 2 MB flash partition but resulted in SATA timeouts on a 9 MB fl

Re: Cubieboard4, u-boot, flash-kernel

2016-01-11 Thread Vagrant Cascadian
On 2015-12-29, Ian Campbell wrote: > On Tue, 2015-12-29 at 12:15 +0100, Karsten Merker wrote: >> On Mon, Dec 28, 2015 at 02:45:33PM -0800, Vagrant Cascadian wrote: >> > I'm trying to get a Cubieboard4 board booting. >> > >> > It looks like the Cubieboard4 has support in mainline linux since >> at

Re: u-boot images for OpenRD

2016-01-11 Thread Vagrant Cascadian
On 2016-01-11, Albert ARIBAUD wrote: > On Sun, 10 Jan 2016 21:39:13 +0100, Philip Hands wrote: >> Martin Michlmayr writes: >> > * Albert ARIBAUD [2016-01-01 13:58]: ... >> > I see that you've re-introduced OpenRD support upstream, including >> > support for OpenRD-Base and OpenRD-Client. > > Ye

Re: u-boot images for OpenRD

2016-01-11 Thread Albert ARIBAUD
Hello Philip, On Sun, 10 Jan 2016 21:39:13 +0100, Philip Hands wrote: > Martin Michlmayr writes: > > > * Albert ARIBAUD [2016-01-01 13:58]: > >> If there is anything to be changed on mainline U-Boot to make it work, > >> let me know. > > > > Albert, since you so kindly offered your help, there