From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Fri, 30 Nov 2012 08:21:39 +0000 Subject: [PATCH 1/2] Boottime: A tool for automatic measurement of kernel/bootloader boot time In-Reply-To: References: <1352973847-21605-1-git-send-email-lee.jones@linaro.org> <1352973847-21605-2-git-send-email-lee.jones@linaro.org> <20121115112543.GC21682@gmail.com> <20121120161638.GD28265@gmail.com> Message-ID: <20121130082139.GA26023@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 29 Nov 2012, Simon Glass wrote: > Hi, > > On Tue, Nov 20, 2012 at 8:16 AM, Lee Jones wrote: > >> > > +/* for automatic boot timing testcases */ > >> > > +#define ATAG_BOOTTIME 0x41000403 > >> > Where can I refer this ATAG usage? can you point out the reference URL > >> > or patches? > >> > >> I assumed this would be in Mainline u-boot, but apparently not. > >> On closer inspection of the internal ST-Ericsson u-boot, this > >> functionality appears to be provided by patches which currently > >> exist as delta. So in essence, the bootloader you use will have > >> to be patched in a similar way for you to retrieve information > >> surrounding bootloader boot times. > >> > >> And there was me thinking it was magic. ;) > > > > Okay, so I'm going through the motions of upstreaming this magic > > now. Please see the link below for reference: > > > > http://marc.info/?l=u-boot&m=135342273317337&w=2 > > Given that U-Boot has bootstage, would it make sense to upstream that > to the kernel? Some RFC patches were sent before this went into U-Boot > to sound out the interest. Right. As Simon and I have already discussed, I am pulling the u-boot and kernel boottime components in lieu of bootstage. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog