#
15513dbb |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
beautysh: re-format
beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: I82c8272c4
beautysh: re-format
beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: I82c8272c4838e848615995a864dff3301d53925f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
c1a97bf8 |
| 21-Apr-2021 |
Adriana Kobylak <anoo@us.ibm.com> |
generate-ubi: fix shellcheck warnings Tested: Flashed the generated witherspoon.ubi.mtd file to a witherspoon PNOR chip and verified the ubi volumes were present. Change
generate-ubi: fix shellcheck warnings Tested: Flashed the generated witherspoon.ubi.mtd file to a witherspoon PNOR chip and verified the ubi volumes were present. Change-Id: I2df088b217d0ed2f34f56b43c15fc9c6cb062338 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
dcb3fd79 |
| 20-Feb-2019 |
Lei YU <mine260309@gmail.com> |
Static layout: Generate tar.gz for static layout pnor Add --image_type option to specify the image type of generated PNOR in tarball. Support "squashfs" and "static" image types.
Static layout: Generate tar.gz for static layout pnor Add --image_type option to specify the image type of generated PNOR in tarball. Support "squashfs" and "static" image types. Rename `generate-squashfs` to `generate-tar` to reflect that this util is to generate a tarball instead of squashfs. Example of usage: # Generate unsigned tarball for Witherspoon ./generate-tar -i squashfs witherspoon.pnor # Generate signed tarball with default key for Witherspoon ./generate-tar -i squashfs -s -- witherspoon.pnor # Generate unsigned tarball for Romulus ./generate-tar -i static romulus.pnor # Generate signed tarball with default key for Romulus ./generate-tar -i static -s -- romulus.pnor Tested: Verify the generated tarball contains correct files. Change-Id: Ibb66605663b28888bd643baf92d6e4bdbf60c206 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
0e30f86c |
| 25-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Always clean up the scratch dir The scratch directory, holding the extracted squashfs image and the temporary UBI image, can be quite large, >40MB. Use trap to make sure it always ge
Always clean up the scratch dir The scratch directory, holding the extracted squashfs image and the temporary UBI image, can be quite large, >40MB. Use trap to make sure it always gets cleaned up. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I0289036dcf2bbf40fc76cf5ebf9dde1d47379435
show more ...
|
#
8f618671 |
| 25-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Pass in the size of the UBI image Allow user to pass in the size of the PNOR UBI image. Default is 128. Change-Id: Ifbd7ff0e9185e4d445f39be144f07eb907f0051e Signed-off-by: G
Pass in the size of the UBI image Allow user to pass in the size of the PNOR UBI image. Default is 128. Change-Id: Ifbd7ff0e9185e4d445f39be144f07eb907f0051e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
927ac0fa |
| 23-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create UBI image Create a 128MiB UBI image with 3 volumes: a static pnor-ro-<versionId>, a dynamic pnor-rw-<versionId>, and a dynamic pnor-prsv. The pnor-ro-<versionId> is create
Create UBI image Create a 128MiB UBI image with 3 volumes: a static pnor-ro-<versionId>, a dynamic pnor-rw-<versionId>, and a dynamic pnor-prsv. The pnor-ro-<versionId> is created from the squashfs file. pnor-rw-<versionId> and pnor-prsv are both empty and size 16MiB and 2MiB respectively. A future enhancement would be to pass in the size of the image. Resolves openbmc/openbmc#2509 Change-Id: Ia8d9f3d8c72487eac06d7a5be5e856b1b07de7b1 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
f8210842 |
| 23-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Untar tarball and check for squashfs file Untar the tarball and then check for existence of pnor.xz.squashfs file. A PNOR SquashFS Tarball must have a pnor.xz.squashfs file. A si
Untar tarball and check for squashfs file Untar the tarball and then check for existence of pnor.xz.squashfs file. A PNOR SquashFS Tarball must have a pnor.xz.squashfs file. A similar check is done is in the openpower item updater. Change-Id: Id6e63ee088941044ecc22282bd5abd6358d17d87 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
6a3e4e45 |
| 23-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Basic generate-ubi script. The generate-ubi script generates a UBI, Unsorted Block Images, PNOR image from a PNOR SquashFS Tarball. The PNOR SquashFS Tarball is generated from the
Basic generate-ubi script. The generate-ubi script generates a UBI, Unsorted Block Images, PNOR image from a PNOR SquashFS Tarball. The PNOR SquashFS Tarball is generated from the generate-squashfs script. This commit is help text and taking arguments. More to come. Change-Id: I645e8292624d1663393035dc041415b378ac9386 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|