The Xavier linux kernel can Support kasan?

1、I open the config CONFIG_KASAN and CONFIG_KASAN_INLINE
2、build kernel
3、change the kernel partition size :97108864
4、flash_no_rootfs
5、flash -r jetson-xavier mmcblk0p1 flash all image

but the system can not open,the log is:

[0006.272] I> Add storage-sdmmc to plugin-manager/misc-data
[0006.277] W> Unknown storage device
[0006.280] I> Add serial number:0423818076223 as DT property
[0006.287] I> Plugin-manager override starting
[0006.290]
[0006.291] -----------------------------------------------
[0006.296] Synchronous Exception: DATA ABORT (FAR: 41b)
[0006.301] -----------------------------------------------
[0006.307] PAR_ELX: 0x80f
[0006.309]
[0006.310] ESR 0x96000047: ec 0x25, il 0x1, iss 0x47
[0006.315] -----------------------------------------------
[0006.320] [Stack Trace]
[0006.322]
[0006.324] => pc:0xA063EC3C, sp:0xA0692FB0
[0006.327] => pc:0xA064A75C, sp:0xA06931E0
[0006.331] => pc:0xA063CF74, sp:0xA06931F0
[0006.335] => pc:0xA063EAB4, sp:0xA0693330
[0006.339] => pc:0xA060F2F0, sp:0xA06933A0
[0006.343] => pc:0xA060F3B8, sp:0xA06934D0
[0006.347] => pc:0xA060F1B8, sp:0xA0693520
[0006.351] => pc:0xA060E72C, sp:0xA0693550
[0006.354] => pc:0xA060E700, sp:0xA0693560
[0006.358] -----------------------------------------------
[0006.364] iframe 0xa0692ec0:
[0006.366] x0 0x a82d0000 x1 0x 46930 x2 0x a8316930 x3 0xffffff900c8fe640
[0006.375] x4 0x a068d000 x5 0xffffff900acc81f8 x6 0x 403 x7 0x a068d430
[0006.384] x8 0x a068d030 x9 0x 2f680 x10 0x 2f650 x11 0x a06931ac
[0006.394] x12 0x 90000000 x13 0x 0 x14 0x a0664388 x15 0x 0
[0006.403] x16 0x 1500 x17 0x 0 x18 0x 0 x19 0x d
[0006.412] x20 0x a0654000 x21 0x 46911 x22 0x 90000000 x23 0x 2f650
[0006.421] x24 0x 5 x25 0x 0 x26 0x a0693538 x27 0x 0
[0006.430] x28 0x 0 x29 0x a06931e0 lr 0x a063eccc sp 0x a0692fb0
[0006.439] elr 0x a063ec3c
[0006.442] spsr 0x a0000209
[0006.445] -----------------------------------------------
[0006.450] panic (caller 0xa0601238): die
[0006.454] HALT: spinning forever…

please,help me see.This kernel should support kasan, but not now.What restrictions does xavier make?

Could you tell which release you are using?

Please try with below change & share flash+boot logs if the problem still comes.

$ git diff
diff --git a/common/include/soc/t194/tegrabl_sdram_usage.h b/common/include/soc/t194/tegrabl_sdram_usage.h
index 3ca7102…839dbcb 100644
— a/common/include/soc/t194/tegrabl_sdram_usage.h
+++ b/common/include/soc/t194/tegrabl_sdram_usage.h
@@ -60,7 +60,7 @@

#define EKS_MAXIMUM_CODE_SIZE (20 * 1024)

-#define BOOT_IMAGE_MAX_SIZE 0x04000000U /* 64 MB /
+#define BOOT_IMAGE_MAX_SIZE 0x05000000U /
64 MB */

That actually won’t be enough – 0x05000000U is only 80 MB, and the log at the top says:

97108864

So you may need need at least 0x06000000U size.
(97108864 == 0x5C9C380)

I found the problem, the current adjustment of the kernel partition, if the partition is too large, this problem will occur, I will now reduce the kernel image size, is ok.