rpi target build fails

6 views
Skip to first unread message

vijaikumar....@gmail.com

unread,
Mar 1, 2022, 5:08:37 AM3/1/22
to isar-users
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

Anton Mikanovich

unread,
Mar 2, 2022, 3:40:24 AM3/2/22
to vijaikumar....@gmail.com, isar-users
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/5206ee9d-9895-4988-be2e-742c6f3edd10n%40googlegroups.com.

Hello, Vijai.
Thanks for reporting.
We are looking into this and other new rpi-related issues currently.

Because of blocking CI proposed a patch '[PATCH] CI: Protect rpi targets by KFAIL', will try to merge it ASAP.

Anton Mikanovich

unread,
Mar 4, 2022, 12:45:52 PM3/4/22
to vijaikumar....@gmail.com, isar-users
01.03.2022 13:08, vijaikumar....@gmail.com wrote:
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/5206ee9d-9895-4988-be2e-742c6f3edd10n%40googlegroups.com.


Can you give the details of both issues (host distro, environment, Isar commit, target, etc)?

P.S. I will be out of office next week, will back 2022-03-14


vijai kumar

unread,
Mar 7, 2022, 12:06:01 AM3/7/22
to Anton Mikanovich, isar-users
Host: Debian bullseye(11.0)
Commit: 6a54a4212a56070a18b1c9f9ce64eec69357dd48 + some local changes.
target: mc:rpi-arm64-v8-bullseye:isar-image-base
env: PATH is "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"

Anton Mikanovich

unread,
Mar 15, 2022, 12:13:34 PM3/15/22
to vijai kumar, isar-users
07.03.2022 08:05, vijai kumar wrote:
> Host: Debian bullseye(11.0)
> Commit: 6a54a4212a56070a18b1c9f9ce64eec69357dd48 + some local changes.
> target: mc:rpi-arm64-v8-bullseye:isar-image-base
> env: PATH is "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"

I've just send my proposal as '[PATCH 0/2] Fix rpi targets build on
Bullseye'.
Please look into.


Reply all
Reply to author
Forward
0 new messages