For Xavier bundled initramfs, is there a way to get the log output? #566
-
Hi there, I have a question, for Xavier we have the init.sh script running after bundled initramfs bootup (https://github.com/OE4T/meta-tegra/blob/master/recipes-core/initrdscripts/tegra-minimal-init/init-boot.sh). However, I can only find the script output from serial console, after the system fully bootup there is no log saved. Is there a way to save the script's output? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You'd have to put something together yourself for that, or replace the minimal script with a more robust initramfs framework that supports logging. If you roll your own, you could use I/O redirects to log to a file (and make sure that file survives the switch_root) or the kernel log. |
Beta Was this translation helpful? Give feedback.
You'd have to put something together yourself for that, or replace the minimal script with a more robust initramfs framework that supports logging. If you roll your own, you could use I/O redirects to log to a file (and make sure that file survives the switch_root) or the kernel log.