[U-Boot] [PATCH 04/12] tools/env: Reduce the impact on real-time processes

Joe Hershberger joe.hershberger at gmail.com
Thu Aug 23 18:26:08 CEST 2012


Hi Mike,

On Wed, Aug 22, 2012 at 10:30 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Friday 17 August 2012 16:49:38 Joe Hershberger wrote:
>> +             * Break reads up into very small chunks so fw_printenv doesn't
>> +             * block the kernel long enough to starve other kernel tasks.
>
> err, this sounds like a bug in your kernel driver.  why should userspace be
> working around buggy drivers ?

The problem is something to do with the mtd driver blocking some
resource on large reads that starves USB transfers.  We never fully
investigated it.  It's true that this is a work-around.  Is that so
bad?  Maybe so.

-Joe


More information about the U-Boot mailing list