~robertliu/+git/sa8155p-gadget:interfaces-for-post-boot-init

Last commit made on 2022-04-27
Get this branch:
git clone -b interfaces-for-post-boot-init https://git.launchpad.net/~robertliu/+git/sa8155p-gadget
Only Robert Liu can upload to this branch. If you are Robert Liu please log in for upload directions.

Branch merges

Branch information

Name:
interfaces-for-post-boot-init
Repository:
lp:~robertliu/+git/sa8155p-gadget

Recent commits

e1876d1... by Robert Liu

snap: use cpu-control and power-control interfaces for some entries of post-boot-init

Signed-off-by: Robert Liu <email address hidden>

b56e36d... by Robert Liu

Merge remote-tracking branch 'robert/add-ice-custom-devices' into uc20

MP: https://code.launchpad.net/~robertliu/+git/sa8155p-gadget/+merge/417724
while I was testing a strictly confined kernel snap, I found that fde-setup failed to access /dev/iceufs. Obviously, we need to add a slot for this device.

error logs:
[ 51.306573] fde-setup[2729]: ERR:Error::Failed to open /dev/iceufs device
[ 51.306952] fde-setup[2729]: ERR:Error::ioctl call to wipe the encryption key for usage 3 failed with ret = -7, errno = 1
[ 51.307181] fde-setup[2729]: ERR:Error::Failed to open /dev/iceufs device

Signed-off-by: Robert Liu <email address hidden>

f744cfe... by Robert Liu

snaps: add ice-cusom-devices slot for ICE FDE APIs

Signed-off-by: Robert Liu <email address hidden>

5c5d9df... by Robert Liu

snap: bump version

Signed-off-by: Robert Liu <email address hidden>

0948e07... by Robert Liu

Merge remote-tracking branch 'robert/add-gnss-custom-devices' into uc20

MP: https://code.launchpad.net/~robertliu/+git/sa8155p-gadget/+merge/417146

Signed-off-by: Robert Liu <email address hidden>

5a75a6a... by Robert Liu

Merge remote-tracking branch 'robert/revert-logfs-format' into uc20

MP: https://code.launchpad.net/~robertliu/+git/sa8155p-gadget/+merge/417075
It's necessary to pre-format the logfs partition, otherwise snapd with support
multi-volume boot assets updateing will complains the format is not match.

Signed-off-by: Robert Liu <email address hidden>

a4416ae... by Robert Liu

Merge remote-tracking branch 'robert/expand-paths-of-soc-files' into uc20

MP: https://code.launchpad.net/~robertliu/+git/sa8155p-gadget/+merge/417074
Per suggestions of security reviews, expands/limits the access to /sys/devices/platform/soc.

Signed-off-by: Robert Liu <email address hidden>

4737e77... by Robert Liu

snaps: add gnss-custom-devices slot for misc. GNSS devices

Signed-off-by: Robert Liu <email address hidden>

3ee0c09... by Robert Liu

Revert "gadget: set filesystem type for logfs and remove content file"

This reverts commit c1abaedf429667154f2f10777af619a7a9e24a0a.

While testing snapd with support of multi-volume boot assets updating,
snapd complains that the logfs partitions is not in vfat format and
fails to install.
Because neither fastboot nor abl formats the logfs partition, we still
need to flash a content image to the partition to avoid the above issue.

bd96dc2... by Robert Liu

snap: expand necessary paths in /sys/devices/platform/soc

To limit the access to only those folders that init-post-boot.sh needs,
this commit expands the necessary paths in /sys/devices/platform/soc.

Signed-off-by: Robert Liu <email address hidden>