[meta-xilinx] read-only-fs

Bishop, Mark (STRT) MBishop at smithsinterconnectinc.com
Tue Jan 30 08:21:08 PST 2018


# $SERIAL_CONSOLES_CHECK [3 operations]
#   set? /home/mark/git_repo/temp/tempproject/ZMMP_7045_PetaLinux_PL2015_2/ZMMP_7045_PL2015_2/build/conf/local.conf:26
#     ""
#   set /home/mark/git_repo/temp/tempproject/ZMMP_7045_PetaLinux_PL2015_2/ZMMP_7045_PL2015_2/project-spec/meta-plnx-generated/conf/machine/plnx_arm.conf:17
#     "${SERIAL_CONSOLES}"
#   set /opt/pkg/petalinux/2017.4/components/yocto/source/arm/layers/core/meta/conf/documentation.conf:375
#     [doc] "Similar to SERIAL_CONSOLES except the device is checked for existence before attempting to enable it. Supported only by SysVinit."
# pre-expansion value:
#   "${SERIAL_CONSOLES}"
SERIAL_CONSOLES_CHECK="115200;ttyPS0"

So yeah, it looks like it is getting overwritten.


-----Original Message-----
From: Nathan Rossi [mailto:nathan at nathanrossi.com] 
Sent: Tuesday, January 30, 2018 11:05 AM
To: Bishop, Mark (STRT)
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] read-only-fs

On 31 January 2018 at 01:52, Bishop, Mark (STRT) <MBishop at smithsinterconnectinc.com> wrote:
> Still got the same error with the check disabled.

Just double check that it is set to that value when finished parsing.
Run "bitbake sysvinit-initab -e", and look for its value. It will also tell you where it is being set in the case its being overridden by something else.

Regards,
Nathan

>
> -----Original Message-----
> From: Nathan Rossi [mailto:nathan at nathanrossi.com]
> Sent: Tuesday, January 30, 2018 10:47 AM
> To: Bishop, Mark (STRT)
> Cc: meta-xilinx at yoctoproject.org
> Subject: Re: [meta-xilinx] read-only-fs
>
> On 31 January 2018 at 01:33, Bishop, Mark (STRT) <MBishop at smithsinterconnectinc.com> wrote:
>> I should use a different package/recipe?
>
> If you need the feature then maybe. If you don't know what it does see
> -> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.ht
> -> ml
> -> #var-SERIAL_CONSOLES_CHECK
>
> I'm not sure if petalinux defaults to setting it. But I do know that it is default set for the zcu102 machine in meta-xilinx, and also in the Xilinx release versions of meta-xilinx for all machines.
>
> https://github.com/Xilinx/meta-xilinx/blob/rel-v2017.4/conf/machine/zc
> u102-zynqmp.conf#L17
>
> Setting the value to empty will disable it (in local.conf or your machine.conf). And thus allow the sysinit-initab recipe to skip the runtime postinst requirement.
>
> SERIAL_CONSOLES_CHECK = ""
>
> Regards,
> Nathan
>
>>
>>
>>
>> Sorry, I’m used to BuildRoot and I’m learning Yocto.
>>
>>
>>
>>
>>
>>
>>
>> From: Nathan Rossi [mailto:nathan at nathanrossi.com]
>> Sent: Tuesday, January 30, 2018 10:25 AM
>> To: Bishop, Mark (STRT)
>> Cc: meta-xilinx at yoctoproject.org
>> Subject: Re: [meta-xilinx] read-only-fs
>>
>>
>>
>> On 31 January 2018 at 00:55, Bishop, Mark (STRT) 
>> <MBishop at smithsinterconnectinc.com> wrote:
>>
>> ERROR: petalinux-user-image-1.0-r0 do_rootfs: The following packages 
>> could not be configured offline and rootfs is read-only:
>> ['100-sysvinit-inittab']
>>
>>
>>
>> Probably related to the use of SERIAL_CONSOLES_CHECK? Which can only 
>> be done at runtime, and thus its postinst cannot be run for a read-only image.
>>
>>
>>
>> Regards,
>>
>> Nathan
>>
>>
>>
>>
>>
>>
>> This e-mail contains proprietary information some or all of which may 
>> be legally privileged. It is intended for the recipient only. If an 
>> addressing or transmission error has misdirected this e-mail, please 
>> notify the authority by replying to this e-mail. If you are not the 
>> intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.
>> In addition, information contained in or attached to this e-mail may 
>> be subject to either 22 C.F.R. Parts 120‐130, or 15 C.F.R. Parts 
>> 730-774. These regulations prohibit the release or disclosure of 
>> certain information contained herein to anyone who is not a U.S.
>> citizen or permanent resident alien, without a license first having been issued. Failure to observe such
>> requirements is a violation of U.S. law that carries serious penalties.   ­­
>>
>> --
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>>
>
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx




More information about the meta-xilinx mailing list