Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
24 stars 0 forks source link

[edk2 rebase - task 3] Migrating commit to a fresh edk2 branch #434

Open miczyg1 opened 1 year ago

miczyg1 commented 1 year ago

Here is a list containing a diff against the upstream edk2: https://paste.dasharo.com/?15d7c69a16f148ca#HA1yxMydgvQtGa7pac1RwitbZFGcahyNdHRig6x67cty)

I have marked each commit (on the begining of the line) with a symbol:

There are also commits marked for quashing or to be migrated to DasharoModulePkg to make future rebases easier.

Third task bases on the paste created in task 2 which will already contain a complete list of commits that are 100% known to be dropped or migrated. One has to create a new branch based on the upstream edk2 and start applying/cherry-picking the commits (with squashing if needed) to the new branch. Of course git conflicts will appear and they must be solved with utmost care. The task ends if all commits marked with + are migrated (one may likely need also some code from the commits marked with -, be sure to check it if git has major problems) and the images are buildable.

krystian-hebel commented 1 year ago

@miczyg1 I suggest starting with building clean edk2 before rebasing. There were some changes to the toolchain requirements, Docker images we're using may no longer be able to build it.

miczyg1 commented 10 months ago

Updated diff https://paste.dasharo.com/?778383f1dc1e8819#6gyZdKvzfAToYscQj9HTh4GLweBnzQZMLPSRL75SAy6w

miczyg1 commented 10 months ago

@miczyg1 I suggest starting with building clean edk2 before rebasing. There were some changes to the toolchain requirements, Docker images we're using may no longer be able to build it.

Upstream edk2 checked and it builds with the newest coreboot-sdk. Moreover it boots Linux