Re: [U-Boot] Performance problems with gunzip

2010-01-25 Thread A. Geisreiter
Nachricht- Von: Detlev Zundel [mailto:d...@denx.de] Gesendet: Freitag, 22. Januar 2010 16:20 An: A. Geisreiter Cc: u-boot@lists.denx.de Betreff: Re: AW: [U-Boot] Performance problems with gunzip Hi Andreas, thanks for the fast response. How do I enable data caches? I fear this is not as easy

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread Detlev Zundel
Hi Andreas, I try to unzip a WinCE kernel with the U-Boot gunzip routine. It is working, but it takes roughly 1min to uncompress a 10MB zip file. I am working with a PXA270 platform. What could be the reason for the worst performance? Very likely the disabled instruction and data caches.

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread A. Geisreiter
Hi Detlev, thanks for the fast response. How do I enable data caches? Regards, Andreas -Ursprüngliche Nachricht- Von: Detlev Zundel [mailto:d...@denx.de] Gesendet: Freitag, 22. Januar 2010 15:45 An: A. Geisreiter Cc: u-boot@lists.denx.de Betreff: Re: [U-Boot] Performance problems

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread Detlev Zundel
Hi Andreas, thanks for the fast response. How do I enable data caches? I fear this is not as easy as flipping a bit in a register. Depending on the platform caches tend to be tied to the MMU, so enabling the caches require setting up correct data structures for the MMU to work. That's the

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread Alessandro Rubini
I fear this is not as easy as flipping a bit in a register. Depending on the platform caches tend to be tied to the MMU, so enabling the caches require setting up correct data structures for the MMU to work. That's the non-trivial work. Not that difficult, either. You just need to fill the

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread Detlev Zundel
Hi Alessandro, I fear this is not as easy as flipping a bit in a register. Depending on the platform caches tend to be tied to the MMU, so enabling the caches require setting up correct data structures for the MMU to work. That's the non-trivial work. Not that difficult, either. I never

Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread Alessandro Rubini
I never said it was difficult, only non-trivial :) Not trivial, actually. I am looking forward to something like this for a long time now and I'm sure other people will value it too, so thanks in advance! It's still not working, but _I_ am working on it again after the weekend. /alessandro