From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Date: Mon, 14 Feb 2005 01:36:39 -0700 Subject: [U-Boot-Users] decrease boot time In-Reply-To: <20050213130215.GA13453@synertronixx3> References: <20050211223035.GA10412@ku-gbr.de> <528646bc05021115281ab37f30@mail.gmail.com> <20050212200503.GA11316@ku-gbr.de> <528646bc05021213026ed990ce@mail.gmail.com> <20050213130215.GA13453@synertronixx3> Message-ID: <528646bc05021400363422c49a@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 13 Feb 2005 14:02:16 +0100, Konstantin Kletschke wrote: > Am 2005-02-12 14:02 -0700 schrieb Grant Likely: > > > arch/arm/boot/compressed/head.S. You will see a branch to cache_on at > > line 287 before decompress_kernel at line 310. (2.6.10) According to > > the comment on line 422 the page tables are setup for wherever the > > compressed image is; including if it is in FLASH. > > Yes I see. But I don't understand the assembler code really yet. Do you > mean "add r0, r3, r2, lsl #2" by line 422, where addresses above > 0x10040000 (there my kernel lives) are added to cacheable area? Sorry; I meant line 412. That block of code adds a cache mapping to where the PC is currently running. This means that the compressed image is cached. Note: this cache enable is for uncompressing the kernel; the caches are reconfigured inside the kernel itself. > > > Linux can spew a lot of log messages; I suspect your time difference > > would be more bounded by the baud rate of the port rather than the > > serial device driver itself. U-boot on the other had is quite a bit > > T thought also and measured and my result is the same. ??? Cheers, g.