[meta-xilinx] read-only-fs

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


Changing the that file gets me a good build but I'm concerned with changing anything in a directory that is called 'generated' for when I move this to a build server.  Looking for the 'right' way to fix it.

-----Original Message-----
From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of Bishop, Mark (STRT)
Sent: Tuesday, January 30, 2018 11:26 AM
To: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] read-only-fs

How do I disable this:
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
in plnx_arm.conf

I thought my local.conf would override everything.


-----Original Message-----
From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of Bishop, Mark (STRT)
Sent: Tuesday, January 30, 2018 11:21 AM
To: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] read-only-fs

# $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
>>
>>
>>
>>
>> --
>> _______________________________________________
>> 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


--
_______________________________________________
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