From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7070071582434000896 Date: Tue, 1 Mar 2022 02:08:37 -0800 (PST) From: "vijaikumar....@gmail.com" To: isar-users Message-Id: <5206ee9d-9895-4988-be2e-742c6f3edd10n@googlegroups.com> Subject: rpi target build fails MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_522_1809510795.1646129317611" X-TUID: YgMpS0TDdNgK ------=_Part_522_1809510795.1646129317611 Content-Type: multipart/alternative; boundary="----=_Part_523_1778529224.1646129317611" ------=_Part_523_1778529224.1646129317611 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Currently the rpi target build fails. There are 2 issues. 1. /sbin is not added by default PATH in vanilla debian distributions for normal users. So parted and mkfs cannot be used out of the box. 2. mkfs.vfat has a label limit of 11 characters, we are currently passing in the machine name which is longer and errors out as below. | Sector size (logical/physical): 512B/512B | Partition Table: msdos | Disk Flags: | | Number Start End Size Type File system Flags | 1 4194kB 88.1MB 83.9MB primary boot, lba | 2 88.1MB 524MB 436MB primary | | mkfs.vfat: Label can be no longer than 11 characters | mkfs.fat 4.2 (2021-01-31) | WARNING: exit code 1 from a shell command. | ERROR: Task (mc:rpi-arm64-v8-bullseye:/home/gomti/vijai_workspace/isar-upstream/isar/meta-isar/recipes-core/images/isar-image-base.bb:do_rpi_sdimg) failed with exit code '1' I currently donot have any boards to test. So just bringing it to notice here. For 1 we should probably bring back adding /sbin to path in isar-init-build-env. Thanks, Vijai Kumar K ------=_Part_523_1778529224.1646129317611 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,

Currently the rpi target build fails.

=
There are 2 issues.
1. /sbin is not added by default P= ATH in vanilla debian distributions for normal users. So parted and mkfs ca= nnot be used out of the box.
2. mkfs.vfat has a label limit of 11= characters, we are currently passing in the machine name which is longer a= nd errors out as below.
| Sector size (logical/physical): 512B/51= 2B
| Partition Table: msdos
| Disk Flags:
|
| Number  Star= t   End     Size    Type     File system=  Flags
|  1      4194kB  88.1MB  83.= 9MB  primary               boot, lb= a
|  2      88.1MB  524MB   436MB   p= rimary
|
| mkfs.vfat: Label can be no longer than 11 characters
| = mkfs.fat 4.2 (2021-01-31)
| WARNING: exit code 1 from a shell command.|
ERROR: Task (mc:rpi-arm64-v8-bullseye:/home/gomti/vijai_workspace/is= ar-upstream/isar/meta-isar/recipes-core/images/isar-image-base.bb:do_rpi_sd= img) failed with exit code '1'

I currently don= ot have any boards to test. So just bringing it to notice here.
<= br>
For 1 we should probably bring back adding /sbin to path in i= sar-init-build-env.

Thanks,
Vijai Kumar = K
------=_Part_523_1778529224.1646129317611-- ------=_Part_522_1809510795.1646129317611--