[meta-freescale] imx6q: Startup script output not shown on serial console

Prasant J pj0585 at gmail.com
Mon Jun 8 07:14:39 PDT 2015


On Mon, Jun 8, 2015 at 5:40 PM, Daiane Angolini <daiane.list at gmail.com> wrote:
> On Mon, Jun 8, 2015 at 5:57 AM, Prasant J <pj0585 at gmail.com> wrote:
>> Hi,
>>
>> I have built the freescale linux image (for my custom board using
>> iMX6Q) fsl_L.3.14.28-1.0.0_ga. While building I added few more
>> packages like rpm, opkg, e2fsprogs, etc.
>>
>> The startup scripts do not show std output on the serial console
>> (ttymxc0). The output is likely redirected to /dev/null. They only sow
>> errors. Which setting (file) has to be modified to get the output on
>> the serial console?
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx6sabresd-common.inc#n6
>
> Take a look in the difference between file imx6sabresd-common.inc and
> imx6sabreauto-common.inc
>
> Maybe it can help you
>

Thanks Daiane for your inputs!

The link you pasted indicates that correct serial port must be specified.

I have ensured that correct serial port is set (/etc/inittab) . I can
see the errors but I cannot see the stdout.
I think there is a setting for verbosity, which is set to quiet. I'm
not sure though.

FYI: I also have installed procps package.

I modified the file /etc/init.d/bootmisc.sh:
original line:  eval /sbin/sysctl -p "${SYSCTL_CONF}" $VERBOSE_REDIR
edited line:    eval /sbin/sysctl -p "${SYSCTL_CONF}"
(VERBOSE_REDIR is set to "1>/dev/null")

After the above modification, I can see script stdout while system
reboot or shutdown, but I cannot see the same during system startup.


Any idea what am I missing?


Regards, Pj


More information about the meta-freescale mailing list