Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-21 Thread Tom Rini
On Wed, Feb 20, 2019 at 10:55:20AM +, Mike Looijmans wrote: > >>> I am aware of two fixes for U-Boot. I will look them up, and reply again > >>> to this thread. > > Browsing through u-boot commits, I found this gem that's disabled by default: > > CONFIG_BLOCK_CACHE=y > > The commit is this

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-21 Thread Burton, Ross
On Thu, 21 Feb 2019 at 10:17, Mike Looijmans wrote: > That'd be best. One would expect that creating a filesystem "offline" would > yield something optimal in terms of the way files are allocated, since > everything about all files is already known when it's written. But because we don't run imag

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-21 Thread Mike Looijmans
On 19-02-19 21:45, Leon Woestenberg wrote: > Hello all, > > On Tue, Feb 19, 2019 at 8:28 PM Andre McCurdy wrote: >> On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg wrote: >>> >>> Hello Mike, >>> >>> sounds familiar. >>> >>> On Tue, 19 Feb 2019 at 17:55, Mike Looijmans >>> wrote: Too

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-21 Thread Mike Looijmans
>>> I am aware of two fixes for U-Boot. I will look them up, and reply again to >>> this thread. Browsing through u-boot commits, I found this gem that's disabled by default: CONFIG_BLOCK_CACHE=y The commit is this one: commit e40cf34a29f1b248643731a11fb1c6f0520d016c Author: Eric Nelson Date:

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-20 Thread Leon Woestenberg
Hello Mike, all, On Wed, Feb 20, 2019 at 11:42 AM Mike Looijmans wrote: > > On 19-02-19 21:45, Leon Woestenberg wrote: > > Hello all, > > > > On Tue, Feb 19, 2019 at 8:28 PM Andre McCurdy wrote: > >> On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg > >> wrote: > >>> > >>> Hello Mike, > >>> > >

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-20 Thread Jack Mitchell
On 19/02/2019 20:45, Leon Woestenberg wrote: > Hello all, > > On Tue, Feb 19, 2019 at 8:28 PM Andre McCurdy wrote: >> On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg wrote: >>> >>> Hello Mike, >>> >>> sounds familiar. >>> >>> On Tue, 19 Feb 2019 at 17:55, Mike Looijmans >>> wrote: >>>

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Leon Woestenberg
Hello all, On Tue, Feb 19, 2019 at 8:28 PM Andre McCurdy wrote: > On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg wrote: >> >> Hello Mike, >> >> sounds familiar. >> >> On Tue, 19 Feb 2019 at 17:55, Mike Looijmans wrote: >>> >>> Took me a while to figure out why my board took 90 seconds to boot

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Andre McCurdy
On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg wrote: > Hello Mike, > > sounds familiar. > > On Tue, 19 Feb 2019 at 17:55, Mike Looijmans > wrote: > >> Took me a while to figure out why my board took 90 seconds to boot >> suddenly. >> >> The issue turned out to be the ext4 partition created by

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Leon Woestenberg
Hello Mike, sounds familiar. On Tue, 19 Feb 2019 at 17:55, Mike Looijmans wrote: > Took me a while to figure out why my board took 90 seconds to boot > suddenly. > > The issue turned out to be the ext4 partition created by wic. I suspect it's not WIC's fault. > ZynqMP> load mmc 0:2 0x10

[OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Mike Looijmans
Took me a while to figure out why my board took 90 seconds to boot suddenly. The issue turned out to be the ext4 partition created by wic. On a "wic" created ext4 disk, this is what u-boot does: ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin 19311092 bytes read in 85529 ms (219.7 KiB/s)