summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common/recipes-devtools
AgeCommit message (Collapse)AuthorFilesLines
2021-09-06meta-ampere: mtd-utils: fix flashcp offset apply failThang Q. Nguyen1-19/+17
The patch to support flashcp offset parameter is fail to apply because of new mtd-utils revision. This commit updates the patch to resolve the compilation warning on apply failure. Tested: 1. Compile Mt.Jade OpenBMC without warning about mtd-utils. 2. Flash EDKII firmware using ampere_flash_bios.sh and check Host boots successfully. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I9026ac5bafc07ee5eff7efdf7890d0eef2161c52
2021-08-07meta-ampere: Cleanup for Yocto override syntax changeThang Q. Nguyen1-1/+1
Run convert-overrides.py meta-ampere and update missing changes as below: - Change all _mtjade to :mtjade - Change all _${PN} to :${PN} Tested: 1. Check compilation without problem. 2. Check basic functions like switch UART mux, power control. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I42038b2a98ed1951d6c770bdf49f5fc440f8163e
2021-08-04meta-ampere: mtjade: flash UEFI firmware at 4MB offsetThang Q. Nguyen2-0/+146
UEFI firmware for Ampere Altra-based platform starts at offset 0x400000 but currently the firmware image is flashed start at offset 0. This makes the Host fail to boot. This commit supports offset option for the mtd-util's flashcp utility and update the script to flash UEFI firmware starting at offset 0x400000. Tested: 1. Turn on the Host. 2. Flash UEFI firmware. Wait for the flash complete and check if Host can boot successfully. 4. Turn off the Host. 5. Flash UEFI firmware. Wait for the flash complete. 6. Turn on the Host and check if Host can boot successfully. Signed-off-by: Tung Nguyen <tung.nguyen@amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I0d48bfd0a7b7350b46a98bf10fe4de3887f09f02