RE: [cip-dev] [isar-cip-core][PATCH] Add support Plat'Home OpenBlocks IoT VX2

kazuhiro3.hayashi
2023-09-26T13:12:33Z

Hello Jan,

[...]
> >>>> diff --git a/wic/openblocks-iot-vx2.wks b/wic/openblocks-iot-vx2.wks
> >>>> new file mode 100644 index 0000000..3050684
> >>>> --- /dev/null
> >>>> +++ b/wic/openblocks-iot-vx2.wks
> >>>> @@ -0,0 +1,15 @@
> >>>> +#
> >>>> +# CIP Core, generic profile
> >>>> +#
> >>>> +# Copyright (c) Siemens AG, 2019
> >>>> +#
> >>>> +# SPDX-License-Identifier: MIT
> >>>> +#
> >>>> +# Based wic/simatic-ipc227e.wks
> >>>> +#
> >>>> +
> >>>> +part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi"
> >>>> +--label efi --part-type EF00 --align 1024
> >>>> +
> >>>> +part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default"
> >>>> +--label platform --align 1024 --use-uuid
> >>>> +
> >>>> +bootloader --ptable gpt --timeout 2 --append "console=ttyS0,115200"
> >>>
> >>> I wonder if we should (and could) consolidate the x86 configs. Or does
> >>> this target come with any specialties?
> >>
> >> I think it can be integrated if the serial port and baud rate are the same.
> >> (There may be other settings as well.)
> >> And the partition scheme is a reference, so I think the same settings are fine.
> >> This time ipc227e and vx2 happened to have the same settings, so they ended
> >> up in the same config file.
> >>
> >
> > Ping？
> >
>
> Sounded to me like you wanted to send v2, given that you confirmed we
> can consolidate things. Or did I misunderstand this?

Sorry for interrupting you.
Do you expect consolidating .wks only? or other configs/yamls as well?
i.e. Introduce a common machine definition like "x86-generic" and
use it for both IPC227E & OpenBlocks IoT VX2

Kazu

>
> Jan
>
> --
> Siemens AG, Technology
> Linux Expert Center