summaryrefslogtreecommitdiff
path: root/meta-aspeed/classes/otptool.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2025-06-06meta-aspeed:otp: Fix syntax incompatible with dash shellJamin Lin1-1/+6
Some Ubuntu systems use Dash as the default /bin/sh shell, which does not support certain Bash-specific syntax like command substitution within a variable assignment when using conditional expressions. To ensure compatibility, this patch rewrites the expression using a standard POSIX-compliant if-statement to assign the value to "otptool_user_folder". Change-Id: Id67650b1f2d047c9ac77bd68ec2305466ee22844 Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
2023-01-10meta-aspeed: u-boot-aspeed-sdk: Add eMMC ABR ROM patchNeal Liu1-0/+3
Address errata 80 from E2600-11.pdf in a ROM patch for integration into the OTP image. A otptool configuration file is provided as an example Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> [AJ: Take 098e7ba124184 from https://github.com/AspeedTech-BMC/openbmc] Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I936c60f9db8e36f3213f426aebeb62b72015303c
2022-08-09meta-aspeed: otptool: Multiple configurationsAndrew Jeffery1-24/+35
Enable generating multiple OTP binaries by specifying multiple OTP configuration files. Change-Id: I1ce81cd2c1d0f501578b927eb31cce5a37cdcf1f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2022-08-09meta-aspeed: otptool: Embed config name in OTP image output filenameAndrew Jeffery1-4/+8
We're moving towards support for generating multiple OTP binaries per platform configuration, so allow for differentiation in the file paths. Change-Id: Iff01e524013fbf8cfdec0f8d7e7a599ee457514d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2022-02-16meta-aspeed: otp: create otp imageJamin Lin1-0/+60
1. Add otptool.bbclass to create otp image. 2. Update u-boot recipe to "inherit otptool.bbclass" for otp image creation in the u-boot tasks. 3. Update socsec tool for SPL and OTP image verification if verify failed u-boot should be built failed. 4. Use OE logging utilities. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: I0ba5da4d112b49d182bdf2751614afe62850eac3