ci: earlycon enablement through command line for early bootup logs#1610
ci: earlycon enablement through command line for early bootup logs#1610sampnimm2629 wants to merge 1 commit intoqualcomm-linux:masterfrom
Conversation
Enable earlycon to get the early console logs to debug early bootup crashes in CI testing. Signed-off-by: sampnimm <sampnimm@qti.qualcomm.com>
+1 for this change. We need earlycon to debug early boot issue |
| " | ||
| cmdline: | | ||
| KERNEL_CMDLINE_EXTRA:append = " qcom_scm.download_mode=1" | ||
| KERNEL_CMDLINE_EXTRA:append = " earlycon qcom_geni_serial.con_enabled=1 qcom_scm.download_mode=1" |
There was a problem hiding this comment.
this is likely not the right place to enable it. this would apply to all builds, all boards, every user.
If that's the case, then it should be explained why in the commit message.
what is the need here?
There was a problem hiding this comment.
this is likely not the right place to enable it. this would apply to all builds, all boards, every user. If that's the case, then it should be explained why in the commit message. what is the need here?
We need this to enable for all targets there in Lava CI, which will help us to get early console logs to debug early bootup crashes.
There was a problem hiding this comment.
Please point out the jobs that failed early enough to be debuggable only with the help of earlycon.
|
Please point out failed jobs which require this to be enabled. |
lumag
left a comment
There was a problem hiding this comment.
No, earlycon is not a tool to debug production builds. By the time the kernel hits meta-qcom it should be stable enough to not require such debugging techniques.
|
Yeah, please point out to the failed jobs so we can at least understand what happened here. Also, this was removed before as part of #867. |
|
We have seen bootup crashes on Kaanapli, with earlycon disabled logs it was looking like device stuck in UEFI end and not able to get any useful data with respect to crash. |
No, it doesn't. EBS (ExitBootServices) means that the UEFI has mostly ended.
You've added boot logs. I've asked for the CI jobs. As I wrote earlier, the kernel must be stable enough before it reaches meta-qcom. Which means that you (or other kernel engineers) will be doing your own kernel builds. If you need, please enable earlycon as a part of your build. |
|
This pull request has been marked as stale due to 30 days of inactivity. To prevent automatic closure in 5 days, remove the stale label or add a comment. You can reopen a closed pull request at any time. |
Enable earlycon to get the early console logs to debug early bootup crashes in CI testing.