[oe] [Angstrom-devel] Tosa kernel bloat

Junqian Gordon Xu xjqian at gmail.com
Tue Jan 1 13:34:52 UTC 2008


On 12/28/2007 07:04 AM, cyril Romain wrote:
> Koen Kooi wrote:
>> Junqian Gordon Xu schreef:
>>> Tosa kernel is bloated with the recent patch and change to
>> defconfig-tosa
>>
>> Is that also the case in the angstrom stable branch?
> Yes.
> This is the case for linux-rp-2.6.23-r12 (angstrom stable branch) and
> linux-rp-2.6.23-r14: (angstrom dev branch)
> The tosa kernel compiled fine with linux-rp-2.6.23-r10 (metadata from
> december, 8th)

Since there is little to trim down for tosa kernel (WM9712 and tosa_ts 
are possible targets, but need to patch kernel to make those 
modularizable). The only option for now is to disable KEXEC and ATAGS. 
Please review the patch for both stable and dev.

Regards
Gordon

# old_revision [93692aaac63b82b355275bee987480a1232079a1]
#
# patch "packages/linux/linux-rp-2.6.23/defconfig-tosa"
#  from [1980d93e930a1fd5959d13384211a7f445751136]
#    to [f7677a83e981b7570f63b19ba6fde79500d32e64]
#
============================================================
--- packages/linux/linux-rp-2.6.23/defconfig-tosa 
1980d93e930a1fd5959d13384211a7f445751136
+++ packages/linux/linux-rp-2.6.23/defconfig-tosa 
f7677a83e981b7570f63b19ba6fde79500d32e64
@@ -142,8 +142,8 @@ CONFIG_XSCALE_PMU=y
  #
  CONFIG_ARM_THUMB=y
  CONFIG_XSCALE_PMU=y
-CONFIG_KEXEC=y
-CONFIG_ATAGS_PROC=y
+# CONFIG_KEXEC is not set
+# CONFIG_ATAGS_PROC is not set
  CONFIG_SHARP_PARAM=y
  CONFIG_SHARPSL_PM=y
  CONFIG_SHARP_SCOOP=y




More information about the Openembedded-devel mailing list