[Buildroot] [PATCH 1/1] fs/cpio: make initramfs init script survive 'console=' kernel argument
Timo Ketola
Timo.Ketola at exertus.fi
Tue Sep 24 05:24:32 UTC 2019
Hi there,
I tested this as per Arnout's suggestion by booting with 'console=' /
'console=ttymxc0,115200' and with / without initramfs. The result
depends only on console setting:
# cat /proc/cmdline; ls -l /proc/1/fd
console=
total 0
lrwx------ 1 root root 64 Sep 24 05:01 0 -> /dev/null
lrwx------ 1 root root 64 Sep 24 05:01 1 -> /dev/null
lrwx------ 1 root root 64 Sep 24 05:01 2 -> /dev/null
# cat /proc/cmdline; ls -l /proc/1/fd
console=ttymxc0,115200
total 0
lrwx------ 1 root root 64 Sep 24 05:20 0 -> /dev/console
lrwx------ 1 root root 64 Sep 24 05:20 1 -> /dev/console
lrwx------ 1 root root 64 Sep 24 05:20 2 -> /dev/console
--
Timo
More information about the buildroot
mailing list