-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch away from FIT payload #106
Switch away from FIT payload #106
Conversation
a2a0faf
to
64c091f
Compare
6cab1de
to
d6010ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Rebase please
- Memory range containing CBMEM is not reserved, probably applies to all ranges normally reserved by coreboot
- No
/firmware/coreboot
node in device tree (required bycbmem
util)
Build it as ELF instead. Change-Id: I2d2e98fdd2f5be38438a2992c1f7d145384e2e12 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
64c091f
to
cc475c9
Compare
@krystian-hebel Copied two functions from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This confirms what I wrote on the mailing list about choosing FIT 🙂
I added some comments about stripping unnecessary parts from that code. Memory ranges walk will have to be significantly changed, but "coreboot" node is mostly the same as for FIT. Doesn't make sense to create a separate file just for that, though. Moving it to device_tree.c
could help, but I don't know if upstream would be OK with it.
bc0880b
to
418b993
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, ARCH_PPC64
can be now removed from config FIT_PAYLOAD
in payloads/Kconfig
EDIT: and PAYLOAD_FIT_SUPPORT
, and probably PAYLOAD_SKIBOOT
in that file can be removed from list of non-compressable payloads.
Change-Id: I447ad54cfabf1753c679e4645b4f8694db1a9dd7 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Change-Id: Id1d1bf193c507d11cefbd05461a5fbef958276bd Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
418b993
to
8800f36
Compare
Also removed 6 sensors from |
compatible = "ibm,opal-i2c\0ibm,power8-i2c-port\0ibm,power9-i2c-port"; | ||
reg = <0x00>; | ||
|
||
eeprom@50 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SergiiDmytruk I removed those SPD nodes for CPU0 when I thought that only installed DIMMs have them, but apparently they are always present. Can you add them back, please? You can read them from https://github.com/3mdeb/openpower-coreboot-docs/blob/main/logs/fdt.bin to skip flashing Hostboot and dumping FDT from it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added them back.
Load and set up FDT ourselves. Change-Id: Id3380fb706d427ec8bb8083515e11ce93600c6f9 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
They were removed based on an assumption that only installed DIMMs have them which turned out to be false. Change-Id: Ib971e4b40957f2b99fa9c65501082bc7da3cd6e1 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
8800f36
to
236fe66
Compare
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
* Start with PCI initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Phase 1 of initialization Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code a bit Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Enable RI/DI for PCIe Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * First half of Phase2 (PEC init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Second half of Phase2 (PHB init) Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Reorganize code into isteps in romstage Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove bad check for dying Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Small code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 10.10 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Non-functional code improvements Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Use udelay() where appropriate Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fixes for istep 14.3 * Small changes for consistency. * Access some registers through a nest chiplet ID. * Fix a bug in PEC initialization (ATTR_PROC_PCIE_CACHE_INJ_MODE). Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Fix value of MBOX_SCRATCH_REG6_GROUP_PUMP_MODE Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Remove non-breaking spaces in istep_14_3.c Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> * Invoke istep_10_* earlier in romstage Change-Id: I229f3b40d1f8b115eaa1d9d9b9e813a43ee807ae Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This makes skiboot an ELF payload.
Two DTB files are prepared for two configurations and included into CBFS during build. In sources 2-CPU version incudes 1-CPU file, so it should be easy to maintain. Can switch to DT overlays for greater flexibility and saving some space, code supports them and
dtc
probably does too.