On Sat, Oct 14, 2017 at 3:29 PM, <
dar...@gmail.com> wrote:
> Hi Sai, make sure you are using the latest Android NDK, this shrank the
> generated kernel for me. Also, not mentioned in the article, make sure you
> have CONFIG_CC_OPTIMIZE_FOR_SIZE=y (this is not enabled by default).
+Billy, is it something we should mention in the article?
> On Thursday, October 12, 2017 at 10:06:43 PM UTC-4, 王赛 wrote:
>>
>> Hi Dmitry,
>> I build a pixel xl kernel with KASAN+KCOV enabled,
>> but the produced kernel image is too large to flash to pixel boot
>> partition.
>>
>> KASAN+KCOV config:
>> CONFIG_KASAN=y
>> CONFIG_KASAN_INLINE=y
>> CONFIG_KCOV=y
>>
>> prodeuced kernel image size: 29.8 MB
>> boot.img size: 37 MB
>>
>> pixel xl boot partition size: 32 MB
>>
>> Any idea how I can overcome this problem?
>>
>> Thanks,
>>
>> Sai
>>
>> 在 2017年10月10日星期二 UTC+8下午5:03:43,Dmitry Vyukov写道:
>>>
>>> Just noticed this article on
source.android.com:
>>>
>>>
https://source.android.com/devices/tech/debug/kasan-kcov
>>>
>>> Don't know who wrote it, but it goes through configuring, building,
>>> imaging kernel for a Pixel device.
>
> --
> You received this message because you are subscribed to the Google Groups
> "syzkaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
syzkaller+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.