Subject: [PATCH] ARM: tegra: add kexec support to defconfig

From: [email-masked] (Stephen Warren)
Date: Thu, 03 Jan 2013 14:45:02 -0700

On 01/03/2013 02:29 PM, Thierry Reding wrote:
> On Thu, Jan 03, 2013 at 02:18:27PM -0700, Stephen Warren wrote:
>> On 01/03/2013 02:05 PM, Thierry Reding wrote:
>>> On Wed, Jan 02, 2013 at 02:12:21PM -0700, Stephen Warren
>>> wrote:
>>>> From: Stephen Warren <[email-masked]>
>>>> 
>>>> Signed-off-by: Stephen Warren <[email-masked]> --- 
>>>> arch/arm/configs/tegra_defconfig |    1 + 1 file changed, 1 
>>>> insertion(+)
>>>> 
>>>> diff --git a/arch/arm/configs/tegra_defconfig 
>>>> b/arch/arm/configs/tegra_defconfig index 742dc41..e621603
>>>> 100644 --- a/arch/arm/configs/tegra_defconfig +++ 
>>>> b/arch/arm/configs/tegra_defconfig @@ -34,6 +34,7 @@ 
>>>> CONFIG_AEABI=y CONFIG_HIGHMEM=y CONFIG_ZBOOT_ROM_TEXT=0x0 
>>>> CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_KEXEC=y CONFIG_CPU_FREQ=y 
>>>> CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPU_IDLE=y
>>> 
>>> Interesting. What do you plan to use this for? kdump?
>> 
>> I plan to burn a kernel (and a small stub, and a DTB) into flash 
>> instead of U-Boot, and hence not have to rely on any bootloader.
> 
> Why does that require kexec support?

Because I'd be using that kernel plus an initrd to download the "real"
kernel over e.g. TFTP and kexec it.