Bootable image for Macchatobin Double Shot?
Mark Murray
markm at FreeBSD.org
Sat Apr 25 14:51:15 UTC 2020
Hi
> On 25 Apr 2020, at 15:14, greg at unrelenting.technology wrote:
>
> April 25, 2020 3:21 PM, "Mark Murray" <markm at freebsd.org> wrote:
>
>> I tried a FreeBSD-12 image - boots with ACPI, but PCI not present. With UEFI DTB
>> I get the same hang.
>
> It is present:
>
>> pcib0: <Generic PCI host controller> on acpi0
>> pci0: <PCI bus> on pcib0
Hmm. I saw that but thought it was a meta-device or bus-master or something :-)
> But not the device.
Right :-(
> The thing is, the PCIe controller has a bug (in ECAM mode).
> It doesn't properly filter something, so a device could appear replicated multiple times.
> So the Semihalf engineers decided to do a workaround: move the memory address in ACPI
> so that the OS only sees the last device.
OK - I recall that part of the thread.
> I don't know which devices they tried, but my Radeon RX 480 *does not* get replicated.
> Same with an Intel and Mellanox NIC.
> A Radeon HD 7970 was replicated but only twice, not 32 times.
>
> You can try my EDK2 builds, at least one of them should work. I reverted that workaround.
Thanks!
> https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image.bin
> https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image2.bin
The second has the same binary bits as the one I downloaded from the link in my original post.
The first fails with this at power-up:
BootROM - 2.03
Starting CP-0 IOROM 1.07
Booting from SD 0 (0x29)
SD - wait_for_sd_interrupt: Error interrupt - 00008000
SD - wait_for_sd_interrupt: Error interrupt status 00000003
SD - sd_get_cmd_response: Get command response failed.
SD - sd_init: Failed - ret = 00000081
Error: Failed initializing interface
Error: Failed boot attempt 01. error = 0x0C1
BootROM - 2.03
Starting CP-0 IOROM 1.07
Booting from SD 0 (0x29)
SD - wait_for_sd_interrupt: Error interrupt - 00008000
SD - wait_for_sd_interrupt: Error interrupt status 00000003
SD - sd_get_cmd_response: Get command response failed.
SD - sd_init: Failed - ret = 00000081
Error: Failed initializing interface
Found valid image at boot postion 0x000
lNOTICE: Starting binary extension
NOTICE: SVC: DEV ID: 8040, FREQ Mode: 0x1
NOTICE: SVC: AVS work point changed from 0x28 to 0x28
mv_ddr: mv_ddr-devel-18.12.0-g618dadd (Jun 25 2019 - 14:56:37)
mv_ddr: completed successfully
NOTICE: Cold boot
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v1.5(release):1f8ca7e0-dirty (Marvell-devel-18.12.2)
NOTICE: BL1: Built : 14:57:35, Jun 25 2019
NOTICE: BL1: Booting BL2
NOTICE: BL2: v1.5(release):1f8ca7e0-dirty (Marvell-devel-18.12.2)
NOTICE: BL2: Built : 14:58:37, Jun 25 2019
BL2: Initiating SCP_BL2 transfer to SCP
NOTICE: SCP_BL2 contains 5 concatenated images
NOTICE: Skipping MSS CP3 related image
NOTICE: Skipping MSS CP2 related image
NOTICE: Load image to CP1 MSS AP0
NOTICE: Loading MSS image from addr. 0x40269f4 Size 0x1cd8 to MSS at 0xf4280000
NOTICE: Done
NOTICE: Load image to CP0 MSS AP0
NOTICE: Loading MSS image from addr. 0x40286cc Size 0x1cd8 to MSS at 0xf2280000
NOTICE: Done
NOTICE: Load image to AP0 MSS
NOTICE: Loading MSS image from addr. 0x402a3a4 Size 0x5420 to MSS at 0xf0580000
NOTICE: Done
NOTICE: SCP Image doesn't contain PM firmware
NOTICE: BL1: Booting BL31
lNOTICE: MSS PM is not supported in this build
NOTICE: BL31: v1.5(release):1f8ca7e0-dirty (Marvell-devel-18.12.2)
NOTICE: BL31: Built : 14:59:06, Jun 25 2019
Error: Image at 000BF7FE000 start failed: Invalid Parameter
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/BoardDesc/MvBoardDescDxe/DEBUG/BoardDescDxe.dll 0xBF7FF000
Armada Platform Init
Error: Image at 000BF7DB000 start failed: Not Found
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe/DEBUG/MvI2cDxe.dll 0xBF7DC000
Error: Image at 000BF7CB000 start failed: Not Found
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe/DEBUG/MdioDxe.dll 0xBF7CC000
Succesfully installed protocol interfaces
MvGpioEntryPoint: Cannot locate BoardDesc protocol
Error: Image at 000BF763000 start failed: Not Found
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/Gpio/MvGpioDxe/MvGpioDxe/DEBUG/MvGpioDxe.dll 0xBF764000
Error: Image at 000BF752000 start failed: Not Found
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/NonDiscoverableDxe/NonDiscoverableDxe/DEBUG/NonDiscoverableDxe.dll 0xBF753000
Error: Image at 000BF702000 start failed: 00000001
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe/DEBUG/AcpiPlatform.dll 0xBF703000
Detected w25q32bv SPI NOR flash with page size 256 B, erase size 4 KB, total 4 MB
Error: Image at 000BF6F0000 start failed: Not Found
remove-symbol-file /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/edk2-platforms/Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe/DEBUG/Pp2Dxe.dll 0xBF6F1000
Armada7k8kPciHostBridgeLibConstructor: Cannot locate BoardDesc protocol
ASSERT_EFI_ERROR (Status = Device Error)
ASSERT [PciHostBridgeDxe] /home/greg/src/github.com/tianocore/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_CLANG38/AARCH64/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe/DEBUG/AutoGen.c(436): !EFI_ERROR (Status)
M
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 556 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20200425/6332d6b9/attachment.sig>
More information about the freebsd-arm
mailing list