OESF Portables Forum
Model Specific Forums => Cosmo Communicator => Cosmo Communicator - Linux => Topic started by: cam1965 on June 10, 2021, 08:52:44 pm
-
Hi.
How to pass a comand line to kernel ?
I would like to pass apparmor=1 security=apparmor to my kernel.
For example :
mkbootimg --kernel cosmo/arch/arm64/boot/Image.gz-dtb --ramdisk initramfs-4.4.146 --base 0x40078000 --second_offset 0x00e88000 --cmdline "bootopt=64S3,32N2,64N2 log_buf_len=4M" --kernel_offset 0x00008000 --ramdisk_offset 0x14f88000 --tags_offset 0x13f88000 --pagesize 2048 -o linux-boot.img.
I have tried to put something like this --cmdline "bootopt=64S3,32N2,64N2 log_buf_len=4M" apparmor=1 security=apparmor.
But the kernel didn´t boot correctly.
Any help ?
Thanks.
-
Just for curiousity: Does it help to put the quot to the end of the command line like below?
--cmdline "bootopt=64S3,32N2,64N2 log_buf_len=4M apparmor=1 security=apparmor"
-
Just for curiousity: Does it help to put the quot to the end of the command line like below?
--cmdline "bootopt=64S3,32N2,64N2 log_buf_len=4M apparmor=1 security=apparmor"
I did this also in my previous tests
But the kernel still doesn´t boot correctly. In both, it stops at the debian logo.
Thank you.