My Morello Board (MB) fails to progress to the UEFI menu,
no "Press ESCAPE for boot options". I have done the following:
1) I have updated the MB internal SDcard to the latestArm M1SDP MCC Firmware v2.3.0Build Date: Apr 19 20222) I have build a bootable USB memory stick with a ready to use binary image copied from www.cheribsd.org
cm770@pursuit2:/camb/carloscheri$ sudo dd if=cheribsd-memstick-arm64-aarch64c-22.05p1.img of=/dev/sdc conv=fsync bs=1M[sudo] password for cm770: 777+1 records in777+1 records out814955008 bytes (815 MB, 777 MiB) copied, 124.943 s, 6.5 MB/s3) I have tried to reboot from the image on mu USB memory but it seems that the Morello Board does not recognise (or detect) the bootable image on my memory stick. It never progresses to the UEFI boot menu.4) I have tried:a) Five different memory sticks with the dowloaded binary image mentiones in 2) and with an image that I have created with cherybuild.by -rw-r--r-- 1 cm770 cm770 773732864 Jul 31 17:57 FreeBSD-14.0-CURRENT-arm64-aarch64c-memstick.img
b) I have created the bootable USB drive from unbunto 18.04 and on MacOS
c) I have tried the bootable USB sticks on a second Morello Board (I have two of them).
d) I have plugged the USD stick on different ports (4 of them) of the Morello Board.
e) I have turned off the Morello Board, waited for several minutes before turning it on again.
I always fails and produces the same outputs. I'm attaching them. 1 to 3 are preliminary steps. The outcomes from the reboot process are at the end 4 to 6.
Can someone tell from the outputs if the problem is :
a) Firmware software on the SDcard
b) Incorrect software of the bootable image
c) Incorrect creation of the bootable image with the dd command. For example, wrong partition of the USB mem stick. I have formatted it on ubunto, single partition, "compatible with all systems and devices (MRB/DOS).
Sun 31 Jul 22:52:10 BST 2022 1) I have produced a bootable USB mem stick cm770@pursuit2:/camb/carloscheri$ lsblk ... sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part /camb sdc 8:32 1 58.2G 0 disk sr0 11:0 1 1024M 0 rom cm770@pursuit2:/camb/carloscheri$ sudo dd if=cheribsd-memstick-arm64-aarch64c-22.05p1.img of=/dev/sdc conv=fsync bs=1M [sudo] password for cm770: 777+1 records in 777+1 records out 814955008 bytes (815 MB, 777 MiB) copied, 124.943 s, 6.5 MB/s 2) sync cm770@pursuit2:/camb/carloscheri$ sync 3) I have upgraded the Morello board internal SDcard cm770@pursuit2:/$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdc 8:32 1 1.9G 0 disk └─sdc1 8:33 1 1.9G 0 part /media/cm770/M1SDP 3.1) mount SDcard cm770@pursuit2:/$ sudo mount /dev/sdc1 /mnt [sudo] password for cm770: cm770@pursuit2:~$ sudo mount /dev/sdc1 /mnt cm770@pursuit2:~$ ls /mnt config.txt ee0364b.txt LIB LICENSES MB SOFTWARE 3.2) Remove old files from SDcard cm770@pursuit2:~$ sudo rm -R /mnt/* 3.3 Copy new files to SDcard cm770@pursuit2:~$ sudo cp -rf /camb/carloscheri/board-firmware-morello-mainline/* /mnt cm770@pursuit2:~$ ls -l /mnt total 192 -rwxr-xr-x 1 root root 1199 Jul 31 23:24 config.txt -rwxr-xr-x 1 root root 215 Jul 31 23:24 ee0364b.txt drwxr-xr-x 2 root root 32768 Jul 31 23:24 LIB drwxr-xr-x 5 root root 32768 Jul 31 23:24 LICENSES drwxr-xr-x 3 root root 32768 Jul 31 23:24 MB drwxr-xr-x 2 root root 32768 Jul 31 23:24 SOFTWARE cm770@pursuit2:~$ sync 3.4 umount SDcard to prevent corruption cm770@pursuit2:~$ sudo umount /dev/sdc1 4) I have plugged to bootable USB stick to one of the USB ports of the Morello board and turned it ON Cmd> Arm M1SDP MCC Boot loader v1.0.0 HBI0364 build 534 MCC: Power On MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 22:27:25 Date : 31:07:2022 Arm M1SDP MCC Firmware v2.3.0 Build Date: Apr 19 2022 Powering up system... MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 22:27:32 Date : 31:07:2022 Switching on ATXPSU... Switching on main power... 12V Rail Check Pass Reading Board File \MB\HBI0364B\io_v010f.txt TOTAL OSCCLKS: 15 PMIC RAM configuration (80_1_86G.bin)... Temperature (deg C) Outlet = 30.9 PMIC = 39.1 SoC = 37.1 IN2 = 33.9 IN1 = 32.9 MidBrd = 39 PCIeSW = 41 MCC = 36.2 FPGA = 35.0 SoC Fan Speed = 9% ALERT off Configuring motherboard (rev B, var A)... Configuring FPGA from file \MB\HBI0364B\io_v010f.bit Address: 0x007E0000 FPGA configuration complete. Config clocks num: 15 OSCCLK0 : 50.000000MHz OSCCLK1 : 50.000000MHz OSCCLK2 : 50.000000MHz OSCCLK3 : 50.000000MHz OSCCLK4 : 50.000000MHz OSCCLK5 : 50.000000MHz OSCCLK6 : 50.000000MHz OSCCLK7 : 50.000000MHz OSCCLK8 : 75.000000MHz OSCCLK9 : 85.000000MHz OSCCLK10 : 12.288000MHz OSCCLK11 : 50.000000MHz OSCCLK12 : 50.000000MHz OSCCLK13 : 50.000000MHz OSCCLK14 : 170.000000MHz OSCCLK setup: PASSED GTXCLK setup: PASSED EEPROM config found File to compare \MB\HBI0364B\pci_v002.bin \MB\HBI0364B\pci_v002.bin UPDATE IN PROGRESS PCIe PEX I2C configuration PCIe I2C R/W test passed... Reading PCIe EEPROM file \MB\HBI0364B\pci_v002.bin DMA TX Handler Address: 0x00000017 PCIe EEPROM programmed Writing SCC 0x014 with ACLK 50000000 Hz Writing SCC 0x00C with 0x00000003 Writing SCC 0x020 with 0x06090805 Writing SCC 0x024 with 0x06060606 Writing SCC 0x028 with 0x00000606 Writing SCC 0x1160 with 0x00000001 Writing SCC 0x1164 with 0x01000000 Writing SCC 0x1168 with 0x00000000 Writing SCC 0x116C with 0x00000000 Writing SCC 0x1180 with 0x00000000 Writing SCC 0x1184 with 0x0000000C Writing SCC 0x1188 with 0x00000000 Writing SCC 0x118C with 0x00000000 Writing SCC 0x1190 with 0x00000000 Writing SCC 0x1194 with 0x00000000 Writing SCC 0x1198 with 0x00000000 Writing SCC 0x119C with 0x00000000 Reading SCC 0xFF8 with 0x0A364A08 Reading SCC 0xFFC with 0x41050000 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 Updating SCP qspi with PCC bios ...... File \MB\HBI0364B\pcc_v055.bin written to MCC memory address 0x65F00000 DMA TX Handler PCC Bios updated from \MB\HBI0364B\pcc_v055.bin Waiting for PCC to copy boot loader from QSPI... Powering down... MCC to access SD card request acknowledged. SPI Write command to PCC: register 3 cmd 0xD003 tx data 0x1 SPI Return data from PCC: register 3 cmd 0x2000 rx data 0x0 Resetting board. Clear ULINK JTAG Arm M1SDP MCC Boot loader v1.0.0 HBI0364 build 534 MCC: Power On MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 22:28:15 Date : 31:07:2022 Powering up system... MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 22:28:20 Date : 31:07:2022 Switching on ATXPSU... Switching on main power... 12V Rail Check Pass Reading Board File \MB\HBI0364B\io_v010f.txt TOTAL OSCCLKS: 15 PMIC RAM configuration (80_1_86G.bin)... Temperature (deg C) Outlet = 30.9 PMIC = 38.4 SoC = 35.1 IN2 = 32.9 IN1 = 32.2 MidBrd = 38 PCIeSW = 40 MCC = 36.2 FPGA = 35.0 SoC Fan Speed = 9% ALERT off Configuring motherboard (rev B, var A)... Configuring FPGA from file \MB\HBI0364B\io_v010f.bit Address: 0x007E0000 FPGA configuration complete. Config clocks num: 15 OSCCLK0 : 50.000000MHz OSCCLK1 : 50.000000MHz OSCCLK2 : 50.000000MHz OSCCLK3 : 50.000000MHz OSCCLK4 : 50.000000MHz OSCCLK5 : 50.000000MHz OSCCLK6 : 50.000000MHz OSCCLK7 : 50.000000MHz OSCCLK8 : 75.000000MHz OSCCLK9 : 85.000000MHz OSCCLK10 : 12.288000MHz OSCCLK11 : 50.000000MHz OSCCLK12 : 50.000000MHz OSCCLK13 : 50.000000MHz OSCCLK14 : 170.000000MHz OSCCLK setup: PASSED GTXCLK setup: PASSED EEPROM config found File to compare \MB\HBI0364B\pci_v002.bin \MB\HBI0364B\pci_v002.bin Writing SCC 0x014 with ACLK 50000000 Hz Writing SCC 0x00C with 0x00000003 Writing SCC 0x020 with 0x06090805 Writing SCC 0x024 with 0x06060606 Writing SCC 0x028 with 0x00000606 Writing SCC 0x1160 with 0x00000001 Writing SCC 0x1164 with 0x01000000 Writing SCC 0x1168 with 0x00000000 Writing SCC 0x116C with 0x00000000 Writing SCC 0x1180 with 0x00000000 Writing SCC 0x1184 with 0x0000000C Writing SCC 0x1188 with 0x00000000 Writing SCC 0x118C with 0x00000000 Writing SCC 0x1190 with 0x00000000 Writing SCC 0x1194 with 0x00000000 Writing SCC 0x1198 with 0x00000000 Writing SCC 0x119C with 0x00000000 Reading SCC 0xFF8 with 0x0A364A08 Reading SCC 0xFFC with 0x41050000 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 Reading images file \MB\HBI0364B\images.txt Updating MCP file File \SOFTWARE\mcp_fw.bin written to MCC memory address 0x64000000 DMA TX Handler Image: mcp_fw updated from \SOFTWARE\mcp_fw.bin Updating SCP file ...... File \SOFTWARE\scp_fw.bin written to MCC memory address 0x64000000 DMA TX Handler Image: scp_fw updated from \SOFTWARE\scp_fw.bin Updating AP QSPI file ....................................................................................... File \SOFTWARE\fip.bin written to MCC memory address 0x66000000 DMA TX Handler Image: fip updated from \SOFTWARE\fip.bin PCIe mac address = 0002 F70098FF PCC mac address = 0002 F70098FE LAN9221 was identified successfully. MAC addrs test: PASSED SMC MAC address 0002-F700-9900 Identifying DDR 0 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E C2 0 Identifying DDR 1 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E BF D8 Setting System LEDs[7:4] Setting PCIe_nPERST/PCIESW_PERSTN PCIe control C2C disabled APUART0 connected to USBPORT_3 SCPUART connected to USBPORT_4 MCPUART connected to USBPORT_5 PL031 Date & Time set = Sun Jul 31 22:29:18 2022 QSPI test (0x6403FEF8):0xFFFFFFFF Releasing SOC_nPOR/SOC_nSRST SPI Write command to PCC: register 3 cmd 0xD003 tx data 0x2 SPI Return data from PCC: register 3 cmd 0x2000 rx data 0x0 USB Serial Number = 500541683016 Cmd> 5) Show Firmware Cmd> ? Arm M1SDP MCC Firmware v2.3.0 Build Date: Apr 19 2022 Build Time: 13:40:34 + command ------------------+ function ---------------------------------+ | CAP "fname" [/A] | captures serial data to a file | | | [/A option appends data to a file] | | FILL "fname" [nnnn] | create a file filled with text | | | [nnnn - number of lines, default=1000] | | TYPE "fname" | displays the content of a text file | | REN "fname1" "fname2" | renames a file 'fname1' to 'fname2' | | COPY "fin" ["fin2"] "fout"| copies a file 'fin' to 'fout' file | | | ['fin2' option merges 'fin' and 'fin2'] | | DEL "fname" | deletes a file | | DIR "[mask]" | displays a list of files in the directory | | FORMAT [label] | formats Flash Memory Card | | USB_INIT | Re-initialize USB | | USB_ON | Enable usb | | USB_OFF | Disable usb | | SHUTDOWN | Shutdown PSU (leave micro running) | | REBOOT | Power cycle system and reboot | | RESET | Reset Board using CB_nRST | | IOFPGA_VERSION | Displays IOFPGA Version | | DEBUG | Enters debug menu | | EEPROM | Enters eeprom menu | | HELP or ? | displays this help | | | | THE FOLLOWING COMMANDS ARE ONLY AVAILABLE IN RUN MODE | | | | CASE_FAN_SPEED "SPEED" | SLOW, MEDIUM, FAST, 0%, 10%, 20%, .. 100% | | READ_AXI "fname" | Read system memory to file 'fname' | | "address" | from address to end address | | "end_address" | | | WRITE_AXI "fname" | Write file 'fname' to system memory | | "address" | at address | +---------------------------+-------------------------------------------+ Cmd> DIR MCC to access SD card request acknowledged. File System Directory... CONFIG.TXT 1.199 31.07.2022 22:24 EE0364B.TXT 215 31.07.2022 22:24 LIB -DIR- 31.07.2022 22:24 LICENSES -DIR- 31.07.2022 22:24 MB -DIR- 31.07.2022 22:24 TRASH-~1 -DIR- 08.06.2022 22:39 SOFTWARE -DIR- 31.07.2022 22:24 LOG.TXT 1.507 01.01.2016 12:00 3 File(s) 2.921 bytes 5 Dir(s) 1.994.489.856 bytes free. Cmd> USB_ON Enabling debug USB... Cmd> 6) I have tried to reboot from bootable USB stick. Cmd> reboot Rebooting... Disabling debug USB.. MCC to access SD card request acknowledged. Clear ULINK JTAG Board rebooting... Powering up system... MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 22:32:36 Date : 31:07:2022 Switching on ATXPSU... Switching on main power... 12V Rail Check Pass Reading Board File \MB\HBI0364B\io_v010f.txt TOTAL OSCCLKS: 15 PMIC RAM configuration (80_1_86G.bin)... Temperature (deg C) Outlet = 30.9 PMIC = 41.9 SoC = 37.0 IN2 = 33.2 IN1 = 34.3 MidBrd = 42 PCIeSW = 49 MCC = 38.4 FPGA = 38.6 SoC Fan Speed = 9% ALERT off Configuring motherboard (rev B, var A)... Configuring FPGA from file \MB\HBI0364B\io_v010f.bit Address: 0x007E0000 FPGA configuration complete. Config clocks num: 15 OSCCLK0 : 50.000000MHz OSCCLK1 : 50.000000MHz OSCCLK2 : 50.000000MHz OSCCLK3 : 50.000000MHz OSCCLK4 : 50.000000MHz OSCCLK5 : 50.000000MHz OSCCLK6 : 50.000000MHz OSCCLK7 : 50.000000MHz OSCCLK8 : 75.000000MHz OSCCLK9 : 85.000000MHz OSCCLK10 : 12.288000MHz OSCCLK11 : 50.000000MHz OSCCLK12 : 50.000000MHz OSCCLK13 : 50.000000MHz OSCCLK14 : 170.000000MHz OSCCLK setup: PASSED GTXCLK setup: PASSED EEPROM config found File to compare \MB\HBI0364B\pci_v002.bin \MB\HBI0364B\pci_v002.bin Writing SCC 0x014 with ACLK 50000000 Hz Writing SCC 0x00C with 0x00000003 Writing SCC 0x020 with 0x06090805 Writing SCC 0x024 with 0x06060606 Writing SCC 0x028 with 0x00000606 Writing SCC 0x1160 with 0x00000001 Writing SCC 0x1164 with 0x01000000 Writing SCC 0x1168 with 0x00000000 Writing SCC 0x116C with 0x00000000 Writing SCC 0x1180 with 0x00000000 Writing SCC 0x1184 with 0x0000000C Writing SCC 0x1188 with 0x00000000 Writing SCC 0x118C with 0x00000000 Writing SCC 0x1190 with 0x00000000 Writing SCC 0x1194 with 0x00000000 Writing SCC 0x1198 with 0x00000000 Writing SCC 0x119C with 0x00000000 Reading SCC 0xFF8 with 0x0A364A08 Reading SCC 0xFFC with 0x41050000 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 Reading images file \MB\HBI0364B\images.txt PCIe mac address = 0002 F70098FF PCC mac address = 0002 F70098FE LAN9221 was identified successfully. MAC addrs test: PASSED SMC MAC address 0002-F700-9900 Identifying DDR 0 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E C2 0 Identifying DDR 1 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E BF D8 Setting System LEDs[7:4] Setting PCIe_nPERST/PCIESW_PERSTN PCIe control C2C disabled APUART0 connected to USBPORT_3 SCPUART connected to USBPORT_4 MCPUART connected to USBPORT_5 PL031 Date & Time set = Sun Jul 31 22:32:55 2022 QSPI test (0x6403FEF8):0xFFFFFFFF Releasing SOC_nPOR/SOC_nSRST SPI Write command to PCC: register 3 cmd 0xD003 tx data 0x2 SPI Return data from PCC: register 3 cmd 0x2000 rx data 0x0 USB Serial Number = 500541683016 Cmd>
As requested, I'm sending the outcomes (attached file) from
1) MCC
2) PCC
3) AP
Let me know if you see something unusual. Thanks!
1 Jul 2022 /* * * 1) minicom -D /dev/ttyUSB0 /* MCC outcome */ * */ Cmd> ? Arm M1SDP MCC Firmware v2.3.0 Build Date: Apr 19 2022 Build Time: 13:40:34 + command ------------------+ function ---------------------------------+ | CAP "fname" [/A] | captures serial data to a file | | | [/A option appends data to a file] | | FILL "fname" [nnnn] | create a file filled with text | | | [nnnn - number of lines, default=1000] | | TYPE "fname" | displays the content of a text file | | REN "fname1" "fname2" | renames a file 'fname1' to 'fname2' | | COPY "fin" ["fin2"] "fout"| copies a file 'fin' to 'fout' file | | | ['fin2' option merges 'fin' and 'fin2'] | | DEL "fname" | deletes a file | | DIR "[mask]" | displays a list of files in the directory | | FORMAT [label] | formats Flash Memory Card | | USB_INIT | Re-initialize USB | | USB_ON | Enable usb | | USB_OFF | Disable usb | | SHUTDOWN | Shutdown PSU (leave micro running) | | REBOOT | Power cycle system and reboot | | RESET | Reset Board using CB_nRST | | IOFPGA_VERSION | Displays IOFPGA Version | | DEBUG | Enters debug menu | | EEPROM | Enters eeprom menu | | HELP or ? | displays this help | | | | THE FOLLOWING COMMANDS ARE ONLY AVAILABLE IN RUN MODE | | | | CASE_FAN_SPEED "SPEED" | SLOW, MEDIUM, FAST, 0%, 10%, 20%, .. 100% | | READ_AXI "fname" | Read system memory to file 'fname' | | "address" | from address to end address | | "end_address" | | | WRITE_AXI "fname" | Write file 'fname' to system memory | | "address" | at address | +---------------------------+-------------------------------------------+ Cmd> Cmd> reboot Rebooting... Disabling debug USB.. MCC to access SD card request acknowledged. Clear ULINK JTAG Board rebooting... Powering up system... MCC to access SD card request acknowledged. Clear ULINK JTAG Time : 13:09:24 Date : 01:08:2022 Switching on ATXPSU... Switching on main power... 12V Rail Check Pass Reading Board File \MB\HBI0364B\io_v010f.txt TOTAL OSCCLKS: 15 PMIC RAM configuration (80_1_86G.bin)... Temperature (deg C) Outlet = 30.4 PMIC = 40.9 SoC = 36.1 IN2 = 32.4 IN1 = 33.9 MidBrd = 41 PCIeSW = 47 MCC = 37.7 FPGA = 37.2 SoC Fan Speed = 9% ALERT off Configuring motherboard (rev B, var A)... Configuring FPGA from file \MB\HBI0364B\io_v010f.bit Address: 0x007E0000 FPGA configuration complete. Config clocks num: 15 OSCCLK0 : 50.000000MHz OSCCLK1 : 50.000000MHz OSCCLK2 : 50.000000MHz OSCCLK3 : 50.000000MHz OSCCLK4 : 50.000000MHz OSCCLK5 : 50.000000MHz OSCCLK6 : 50.000000MHz OSCCLK7 : 50.000000MHz OSCCLK8 : 75.000000MHz OSCCLK9 : 85.000000MHz OSCCLK10 : 12.288000MHz OSCCLK11 : 50.000000MHz OSCCLK12 : 50.000000MHz OSCCLK13 : 50.000000MHz OSCCLK14 : 170.000000MHz OSCCLK setup: PASSED GTXCLK setup: PASSED EEPROM config found File to compare \MB\HBI0364B\pci_v002.bin \MB\HBI0364B\pci_v002.bin Writing SCC 0x014 with ACLK 50000000 Hz Writing SCC 0x00C with 0x00000003 Writing SCC 0x020 with 0x06090805 Writing SCC 0x024 with 0x06060606 Writing SCC 0x028 with 0x00000606 Writing SCC 0x1160 with 0x00000001 Writing SCC 0x1164 with 0x01000000 Writing SCC 0x1168 with 0x00000000 Writing SCC 0x116C with 0x00000000 Writing SCC 0x1180 with 0x00000000 Writing SCC 0x1184 with 0x0000000C Writing SCC 0x1188 with 0x00000000 Writing SCC 0x118C with 0x00000000 Writing SCC 0x1190 with 0x00000000 Writing SCC 0x1194 with 0x00000000 Writing SCC 0x1198 with 0x00000000 Writing SCC 0x119C with 0x00000000 Reading SCC 0xFF8 with 0x0A364A08 Reading SCC 0xFFC with 0x41050000 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 QSPI Controller detected id = 0x4000303 Device ID 0x20, 0xBB, 0x19 Setting QSPI dummy clocks... Dummy clocks already set Device ID 0x20, 0xBB, 0x19 Reading images file \MB\HBI0364B\images.txt PCIe mac address = 0002 F70098FF PCC mac address = 0002 F70098FE LAN9221 was identified successfully. MAC addrs test: PASSED SMC MAC address 0002-F700-9900 Identifying DDR 0 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E C2 0 Identifying DDR 1 Device Information Manufacturer ID = 80 2C Module Part Number = 9ASF1G72PZ-2G9E1 Module Serial Number = F2 E BF D8 Setting System LEDs[7:4] Setting PCIe_nPERST/PCIESW_PERSTN PCIe control C2C disabled APUART0 connected to USBPORT_3 SCPUART connected to USBPORT_4 MCPUART connected to USBPORT_5 PL031 Date & Time set = Mon Aug 1 13:09:43 2022 QSPI test (0x6403FEF8):0xFFFFFFFF Releasing SOC_nPOR/SOC_nSRST SPI Write command to PCC: register 3 cmd 0xD003 tx data 0x2 SPI Return data from PCC: register 3 cmd 0x2000 rx data 0x0 USB Serial Number = 500541683016 Cmd> /* * * 2) minicom -D /dev/ttyUSB1 /* PCC outcome */ * */ F2P_SS_RSTREQ ignored because IOFPGA is powered off. Received reset request from SoC via F2P_SS_RSTREQ. F2P_SS_RSTREQ ignored because IOFPGA is powered off. Received reset request from SoC via F2P_SS_RSTREQ. F2P_SS_RSTREQ ignored because IOFPGA is powered off. F2PCC_INT triggered by IOFPGA, nothing to do here. Sent reg 2000 cmd 0000 data 0000 Received reg D003 cmd 0000 data 0002 MCC Request Command detected PCC FMC GPIO init request PCC FMC GPIO init complete /* * * 3) minicom -D /dev/ttyUSB2 /* AP outcome */ * */ NOTICE: Booting Trusted Firmware NOTICE: BL1: v2.4(debug):37a5f702b NOTICE: BL1: Built : 14:51:05, Jan 27 2021 INFO: BL1: RAM 0x4074000 - 0x407f000 INFO: Using crypto library 'mbed TLS' INFO: Loading image id=6 at address 0x4001010 INFO: Image id=6 loaded: 0x4001010 - 0x40014c6 INFO: Loading image id=31 at address 0x4001010 INFO: Image id=31 loaded: 0x4001010 - 0x4001154 INFO: FCONF: Config file with image ID:31 loaded at address = 0x4001010 INFO: Loading image id=24 at address 0x4001300 INFO: Image id=24 loaded: 0x4001300 - 0x40013e8 INFO: FCONF: Config file with image ID:24 loaded at address = 0x4001300 INFO: BL1: Loading BL2 INFO: Loading image id=1 at address 0x4057000 INFO: Image id=1 loaded: 0x4057000 - 0x406b919 NOTICE: BL1: Booting BL2 INFO: Entry point address = 0x4057000 INFO: SPSR = 0x3c5 INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x4001010 INFO: FCONF: Reading firmware configuration information for: dyn_cfg INFO: FCONF: Reading TB_FW firmware configuration file from: 0x4001300 INFO: FCONF: Reading firmware configuration information for: tbbr NOTICE: BL2: v2.6(debug):morello-master-base-2250-ga5441df74 NOTICE: BL2: Built : 07:00:11, Mar 28 2022 INFO: Using crypto library 'mbed TLS' WARNING: FCONF: Invalid config id 23 WARNING: FCONF: Invalid config id 25 INFO: BL2: Doing platform setup INFO: Zeroing DDR memory range 0x80000000 - 0xFFFFFFFF INFO: BL2: Loading image id 3 INFO: Loading image id=7 at address 0x4045000 INFO: Image id=7 loaded: 0x4045000 - 0x404560e INFO: Loading image id=9 at address 0x4045000 INFO: Image id=9 loaded: 0x4045000 - 0x40454da INFO: Loading image id=13 at address 0x4045000 INFO: Image id=13 loaded: 0x4045000 - 0x4045430 INFO: Loading image id=3 at address 0x4045000 INFO: Image id=3 loaded: 0x4045000 - 0x405115c INFO: BL2: Skip loading image id 23 INFO: BL2: Skip loading image id 25 INFO: BL2: Loading image id 5 INFO: Loading image id=11 at address 0xe0000000 INFO: Image id=11 loaded: 0xe0000000 - 0xe00004ea INFO: Loading image id=15 at address 0xe0000000 INFO: Image id=15 loaded: 0xe0000000 - 0xe0000440 INFO: Loading image id=5 at address 0xe0000000 INFO: Image id=5 loaded: 0xe0000000 - 0xe0200000 INFO: BL2: Loading image id 27 INFO: Loading image id=27 at address 0xfef00000 INFO: Image id=27 loaded: 0xfef00000 - 0xfef00126 INFO: SDS: Detected SDS Memory Region (3520 bytes) NOTICE: BL1: Booting BL31 INFO: Entry point address = 0x4045000 INFO: SPSR = 0x3cd NOTICE: BL31: v2.6(debug):morello-master-base-2250-ga5441df74 NOTICE: BL31: Built : 07:00:11, Mar 28 2022 INFO: SDS: Detected SDS Memory Region (3520 bytes) INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: Maximum SPI INTID supported: 991 INFO: Initializing SCMI driver on channel 0 INFO: SCMI driver initialized INFO: Total DIMM size: 16GB INFO: Zeroing DDR memory range 0x8080000000 - 0x8400000000 INFO: Configuring DMC Bing in server mode INFO: Enabling ECC on DMCs INFO: BL31: Initializing runtime services INFO: BL31: rainier: CPU workaround for 1868343 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0xe0000000 INFO: SPSR = 0x3c9 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000E0039160 EntryPoint=0x000E0039240 PcdPeim.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000E0005160 EntryPoint=0x000E0005240 MemoryInit.efi Memory Init PEIM Loaded Memory Map ---------------------------------------------------------- Description : START - END [ } Generic Watchdog : 0x000000002A440000 - 0x000000002A45FFFF [ } GIC-600 : 0x0000000030000000 - 0x000000003003FFFF [ } GICR-600 : 0x00000000300C0000 - 0x00000000301BFFFF [ } non-secure SRAM : 0x0000000006000000 - 0x000000000600FFFF [ } UART0 : 0x000000002A400000 - 0x000000002A40FFFF [ } DDR Primary : 0x0000000080000000 - 0x00000000FEFFFFFF [ } DDR Secondary : 0x0000008080000000 - 0x00000083FFFFFFFF [ } AP QSPI flash device : 0x000000001A000000 - 0x000000001BFFFFFF [ } Expansion Peripherals : 0x000000001C000000 - 0x000000001D2FFFFF [ } PCIe ECAM Region : 0x00000028C0000000 - 0x00000028CFFFFFFF [ } PCIe MMIO32 & IO Region : 0x0000000060000000 - 0x000000006F3FFFFF [ } PCIe MMIO64 Region : 0x0000000900000000 - 0x00000028BFFFFFFF [ } CCIX ECAM Region : 0x0000004FC0000000 - 0x0000004FCFFFFFFF [ } CCIX MMIO32 & IO Region : 0x0000000070000000 - 0x000000007F3FFFFF [ } CCIX MMIO64 Region : 0x0000003000000000 - 0x0000004FBFFFFFFF [ } Virtual Memory Table setup complete. add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FEFDF160 EntryPoint=0x000FEFDF240 PeiCore.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FEFD7160 EntryPoint=0x000FEFD7240 PcdPeim.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FEFD3160 EntryPoint=0x000FEFD3240 PlatformPei.efi Platform PEIM Loaded add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FEFC8160 EntryPoint=0x000FEFC8240 DxeIpl.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FE7F0160 EntryPoint=0x000FE7F0240 CpuPei.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading PEIM at 0x000FE79D000 EntryPoint=0x000FE79E000 DxeCore.efi Loading DXE CORE at 0x000FE79D000 EntryPoint=0x000FE79E000 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 HOBLIST address in DXE = 0xFE53C018 Memory Allocation 0x00000004 0xE0000000 - 0xE01FFFFF Memory Allocation 0x00000004 0xFEFFF000 - 0xFEFFFFFF Memory Allocation 0x00000004 0xFEFFE000 - 0xFEFFEFFF Memory Allocation 0x00000004 0xFEFFD000 - 0xFEFFDFFF Memory Allocation 0x00000004 0xFEFFC000 - 0xFEFFCFFF Memory Allocation 0x00000004 0xFEFFB000 - 0xFEFFBFFF Memory Allocation 0x00000004 0xFEFFA000 - 0xFEFFAFFF Memory Allocation 0x00000004 0xFEFF9000 - 0xFEFF9FFF Memory Allocation 0x00000004 0xFEFF8000 - 0xFEFF8FFF Memory Allocation 0x00000004 0xFEFF7000 - 0xFEFF7FFF Memory Allocation 0x00000004 0xFEFF6000 - 0xFEFF6FFF Memory Allocation 0x00000004 0xFEFF5000 - 0xFEFF5FFF Memory Allocation 0x00000004 0xFEFF4000 - 0xFEFF4FFF Memory Allocation 0x00000004 0xFE77D000 - 0xFE79CFFF Memory Allocation 0x00000003 0xFEFDF000 - 0xFEFF3FFF Memory Allocation 0x00000003 0xFEFD7000 - 0xFEFDEFFF Memory Allocation 0x00000003 0xFEFD3000 - 0xFEFD6FFF Memory Allocation 0x00000003 0xFEFC8000 - 0xFEFD2FFF Memory Allocation 0x00000004 0xFEFB8000 - 0xFEFC7FFF Memory Allocation 0x00000004 0xFE7F5000 - 0xFEFB7FFF Memory Allocation 0x00000003 0xFE7F0000 - 0xFE7F4FFF Memory Allocation 0x00000003 0xFE79D000 - 0xFE7EFFFF Memory Allocation 0x00000003 0xFE79D000 - 0xFE7EFFFF Memory Allocation 0x00000004 0xFE77D000 - 0xFE79CFFF Memory Allocation 0x00000004 0xFE77C000 - 0xFE77CFFF Memory Allocation 0x00000004 0xF7000000 - 0xF701FFFF FV Hob 0xE0000000 - 0xE01FFFFF FV Hob 0xFE7F5008 - 0xFEFB7F47 FV2 Hob 0xFE7F5008 - 0xFEFB7F47 00000000-0000-0000-0000-000000000000 - 9E21FD93-9C72-4C15-2 FV3 Hob 0xFE7F5008 - 0xFEFB7F47 - 0x0 - 0x1 00000000-0000-0000-0000-000000000000 - 9E21FD93-9C72-4C15-2 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE6C4000 EntryPoint=0x000FE6C503C PcdDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F96B0000 EntryPoint=0x000F96C003C RuntimeDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE6BD000 EntryPoint=0x000FE6BE03C Metronome.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9610000 EntryPoint=0x000F962003C ResetSystemRuntimeDi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE6B0000 EntryPoint=0x000FE6B103C SecurityStubDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE6A2000 EntryPoint=0x000FE6A303C AcpiTableDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE67C000 EntryPoint=0x000FE67D03C HiiDatabase.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE674000 EntryPoint=0x000FE67503C ConfigurationManagei add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE641000 EntryPoint=0x000FE64203C DynamicTableFactoryi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE63A000 EntryPoint=0x000FE63B03C SerialDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE631000 EntryPoint=0x000FE63203C ArmGicDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE61D000 EntryPoint=0x000FE61E03C DevicePathDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE616000 EntryPoint=0x000FE61703C ArmPciCpuIo2Dxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE60F000 EntryPoint=0x000FE61003C DpcDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE607000 EntryPoint=0x000FE60803C HttpUtilitiesDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5F8000 EntryPoint=0x000FE5F903C ArmCpuDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5ED000 EntryPoint=0x000FE5EE03C FaultTolerantWriteDi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5E5000 EntryPoint=0x000FE5E603C DynamicTableManageri add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5DE000 EntryPoint=0x000FE5DF03C GenericWatchdogDxe.i add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5D7000 EntryPoint=0x000FE5D803C ArmTimerDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE5B4000 EntryPoint=0x000FE5B503C SetupBrowser.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE593000 EntryPoint=0x000FE59403C BdsDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE57D000 EntryPoint=0x000FE57E03C httpDynamicCommand.i add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE56B000 EntryPoint=0x000FE56C03C tftpDynamicCommand.i add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9560000 EntryPoint=0x000F957003C CadenceQspiDxe.efi Detected n25q256a SPI NOR flash with page size 256 B, erase size 4 KB, totalB add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE559000 EntryPoint=0x000FE55A03C RamDiskDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F94F2000 EntryPoint=0x000F94F303C DisplayEngine.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000FE546000 EntryPoint=0x000FE54703C PciHostBridgeDxe.efi RootBridge: PcieRoot(0x0) Support/Attr: 0 / 0 DmaAbove4G: Yes NoExtConfSpace: No AllocAttr: 3 (CombineMemPMem Mem64Decode) Bus: 0 - FF Translation=0 Io: 0 - 3FFFFF Translation=0 Mem: 60000000 - 6EFFFFFF Translation=0 MemAbove4G: 900000000 - 28BFFFFFFF Translation=0 PMem: FFFFFFFFFFFFFFFF - 0 Translation=0 PMemAbove4G: FFFFFFFFFFFFFFFF - 0 Translation=0 RootBridge: Acpi(PNP0A09,0x0) Support/Attr: 0 / 0 DmaAbove4G: Yes NoExtConfSpace: No AllocAttr: 3 (CombineMemPMem Mem64Decode) Bus: 0 - FF Translation=0 Io: 0 - 3FFFFF Translation=0 Mem: 70000000 - 7EFFFFFF Translation=0 MemAbove4G: 3000000000 - 4FBFFFFFFF Translation=0 PMem: FFFFFFFFFFFFFFFF - 0 Translation=0 PMemAbove4G: FFFFFFFFFFFFFFFF - 0 Translation=0 add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9490000 EntryPoint=0x000F94A003C VariableRuntimeDxe.i add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9705000 EntryPoint=0x000F970603C PlatformDxe.efi add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F93D0000 EntryPoint=0x000F93E003C RealTimeClock.efi InitializeRealTimeClock: using default timezone/daylight settings add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9330000 EntryPoint=0x000F934003C CapsuleRuntimeDxe.ei add-symbol-file /home/ubuntu/morello-1.4/bsp/uefi/edk2/Build/morellosoc/DEBU0 Loading driver at 0x000F9290000 EntryPoint=0x000F92A003C MonotonicCounterRuni ASSERT [VariableRuntimeDxe] VariableParsing.c(502): NameSizeOfVariable (PtrT0
Hi Carlos,
Looks like you are hitting one of the known issues. Please follow section 'Boot hang in UEFI with ASSERT from VariableRuntimeDxe' in the troubleshooting guide at https://git.morello-project.org/morello/docs/-/blob/morello/mainline/troubleshooting-guide.rst for recover from this error.
Regards,
Manoj
Hi Manoj
As suggested, I have reset the UEFI persistent storage but the MCC is still reluctant to progress to UEFI boot menu.
If you have time to see the attached outputs (MCC, PCC and AP) you will see that the AP is interacting with the USB mem stick (it executes the CheriBSD imge) but for some reason, control is not transferred to the MCC.
Thanks for your time. Any ideas?
Carlos
I've seen the logs and couldn't spot any obvious issues. May I know what you mean by 'control is not transferred to the MCC'?
>>May I know what you mean by 'control is not transferred to the >>MCC'?Ignore that, sorry. I understand better now. I though that the AP would return some control to the MCC console during booting process. The AP console just runs independently (without accepting any keyword input) till it gets stuck. It DOES NOT ACCEPT any keyword input during the booting process, not at:1) Press ESCAPE for boot options ...........2) Welcome to Cheri 1. Boot Multi user [Enter]
2.Boot Single user 7. Boot options3) Console type [xterm]:AP runs wildly till it gets stuck at 3). After point 3 I can switch to MCC console, reboot and get the same result. I have tried
a)- A binary downloaded img
cheribsd-memstick-arm64-aarch64c-22.05p1.img
b) Two img compiled locally with cheribuild.py
FreeBSD-14.0-CURRENT-arm64-aarch64c-memstick.imgFreeBSD-14.0-CURRENT-arm64-aarch64c-mini-memstick.img
I'm using sudo minicom -D /dev/ttyUSB2 configured as "115200 8N1"
I have tried 3 different keywords.
The result is the same.Any ideas would be truly appreciated, even if they don't solve the prob.Carlos
Have you disabled hardware flow control when opening the AP console UART port? Flow control should be disabled in COM port settings for proper operation.
Manoj,
that solves the the problem. Blame me 'cos, Section 6, pag 17 of Morello Development Platform and Software version 1.0 Issue 04 clearly says "No hardware or software flow control".Big thanks for your support.Carlos