Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darwin48V: Configure Aboot configuration on upgrade #316

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geoffhanson
Copy link
Contributor

When upgrading to the official Aboot 7.5.3 version, existing fw_util scripts configure the aboot_conf section from the Aboot image. Since boot methods are built into the image, this is not an issue for Darwin. But for Darwin48V, the DMI_BOARD_NAME needs to be configured in order for dmidecode to show the right thing.

In addition to the Darwin48V change, there is a change to the Darwin config to fix an issue where fw_util was not working with certain SPI chips. The issue was the and/or operators in the command did not contain parenthesis, so the chip type N25Q128..3E was being used unconditionally.

Test Plan

  1. Tested the upgrade on a Darwin48V system. Verified that after the upgrade, dmidecode -t 2 showed DARWIN48V.

  2. Tested the upgrade on a Darwin system. Verified that after the upgrade, dmidecode -t 2 showed DARWIN.

  3. Tested the upgrade on a Darwin system with a MX25L12805D SPI chip. Verified the upgrade succeeded.

When upgrading to the official Aboot 7.5.3 version, existing fw_util
scripts configure the aboot_conf section from the Aboot image.
Since boot methods are built into the image, this is not an issue
for Darwin. But for Darwin48V, the DMI_BOARD_NAME needs to be configured in
order for dmidecode to show the right thing.

In addition to the Darwin48V change, there is a change to the Darwin config
to fix an issue where fw_util was not working with certain SPI chips. The
issue was the and/or operators in the command did not contain parenthesis,
so the chip type N25Q128..3E was being used unconditionally.

Test Plan

1. Tested the upgrade on a Darwin48V system. Verified that after the upgrade,
dmidecode -t 2 showed DARWIN48V.

2. Tested the upgrade on a Darwin system. Verified that after the upgrade,
dmidecode -t 2 showed DARWIN.

3. Tested the upgrade on a Darwin system with a MX25L12805D SPI chip.
Verified the upgrade succeeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants