Hi Community!
I have using IMX8MM and yocto Linux 4.19.
I want to set page size to 64KB.
So, I set "PAGE SIZE" to 64kB from "kernel config"-> "kernel Features"->"Page size". But bitbake failed.
Is there something wrong with the procedure?
The bitbake command "fails with do_compile. I got a compile error in the following places.
```
$ cat /path/to/tmp/work/imx8mm_var_dart-poky-linux/linux-xxxxx/4.19.35-r0/temp/log.do_compile.5214 | grep error
CC drivers/crypto/caam/error.o
CC lib/fdt_strerror.o
/path/to/tmp/work-shared/imx8mm-var-dart/kernel-source/drivers/mxc/hantro_845_h1/hx280enc.c:496:23: error: implicit declaration of function 'compat_ptr'; did you mean 'compat_lr'? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
```
Best Regards,
T.Kashiwagi
Solved! Go to Solution.
Hi
If you want to use page size 64K, you need change a lot of kernel source code.Defalut page size of many linux source code is 4KB and the EVK doesn't match page size 64KB.
BR
Zhiming
Hi
If you want to use page size 64K, you need change a lot of kernel source code.Defalut page size of many linux source code is 4KB and the EVK doesn't match page size 64KB.
BR
Zhiming
Hi Zhiming-san
Thank you for reply.
> If you want to use page size 64K, you need change a lot of kernel source code.Defalut page size of many linux source code is 4KB and the EVK doesn't match page size 64KB.
OK.... I leave the page size setting at 4KB.
Best Regards,
T.Kashiwagi