($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
* initramfs and system logs
@ 2024-01-17 13:43 jguittet.opensource
  0 siblings, 0 replies; 2+ messages in thread
From: jguittet.opensource @ 2024-01-17 13:43 UTC (permalink / raw
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

Dear community,

I'm currently building a professional yocto project.
There are 2 variants of the image I'm building: the first one is using classical rootfs on SD card (dev and test purpose). The other one is building an initramfs fitImage (production). I'm using INITRAMFS_IMAGE to indicate the name of the recipe building the initramfs + INITRAMFS_IMAGE_BUNDLE = "1".

Problem I get is that the initramfs image produces no logs (except kernel logs) in the console while the dev with the rootfs on the SD card have logs printed in the console. I don't understand why and where I should patch to have logs. The wanted logs are logs from init.d scripts for example (creating ssh keys, setting hwclock etc) + logs from my own applications that are properly output on the serial console with the "classic" image.

Thanks for any feedbacks!
Joel

[-- Attachment #2: Type: text/html, Size: 3746 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* initramfs and system logs
@ 2024-01-17 13:57 Joel GUITTET
  0 siblings, 0 replies; 2+ messages in thread
From: Joel GUITTET @ 2024-01-17 13:57 UTC (permalink / raw
  To: yocto@lists.yoctoproject.org

Dear community,

I'm currently building a professional yocto project.
There are 2 variants of the image I'm building: the first one is using classical rootfs on SD card (dev and test purpose). The other one is building an initramfs fitImage (production). I'm using INITRAMFS_IMAGE to indicate the name of the recipe building the initramfs + INITRAMFS_IMAGE_BUNDLE = "1".

Problem I get is that the initramfs image produces no logs (except kernel logs) in the console while the dev with the rootfs on the SD card have logs printed in the console. I don't understand why and where I should patch to have logs. The wanted logs are logs from init.d scripts for example (creating ssh keys, setting hwclock etc) + logs from my own applications that are properly output on the serial console with the "classic" image.

Thanks for any feedbacks!
Joel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-17 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 13:57 initramfs and system logs Joel GUITTET
  -- strict thread matches above, loose matches on Subject: below --
2024-01-17 13:43 jguittet.opensource

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).