public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ard.biesheuvel@arm.com>
To: Pete Batard <pete@akeo.ie>, devel@edk2.groups.io
Cc: leif@nuviainc.com, awarkentin@vmware.com
Subject: Re: [edk2-non-osi][PATCH 1/1] Platform/RPi/TrustedFirmware: Update TF-A binaries to v2.3 release
Date: Tue, 21 Apr 2020 14:20:49 +0200	[thread overview]
Message-ID: <9bcf3dcc-71a3-49c8-5a88-ea2d5a11432d@arm.com> (raw)
In-Reply-To: <20200421112931.11752-1-pete@akeo.ie>

On 4/21/20 1:29 PM, Pete Batard wrote:
> With the v2.3 release of TF-A, that integrates automatic PL011 vs miniUART
> switching, we can remove the dual bl31 binaries we were using for RPi4,
> and of course, we also take this opportunity to update the RPi3 binaries
> to the latest.
> 
> Note that these binaries were built in an open and verifiable manner
> through an AppVeyor build script (https://github.com/pbatard/pitf).
> 
> Signed-off-by: Pete Batard <pete@akeo.ie>
> ---
>   Platform/RaspberryPi/RPi3/TrustedFirmware/Readme.md         |  16 ++++++++--------
>   Platform/RaspberryPi/RPi3/TrustedFirmware/bl1.bin           | Bin 18776 -> 18837 bytes
>   Platform/RaspberryPi/RPi3/TrustedFirmware/fip.bin           | Bin 45792 -> 53972 bytes
>   Platform/RaspberryPi/RPi4/TrustedFirmware/Readme.md         |  16 ++++++++++------
>   Platform/RaspberryPi/RPi4/TrustedFirmware/bl31.bin          | Bin 0 -> 41067 bytes
>   Platform/RaspberryPi/RPi4/TrustedFirmware/bl31_miniuart.bin | Bin 41072 -> 0 bytes
>   Platform/RaspberryPi/RPi4/TrustedFirmware/bl31_pl011.bin    | Bin 41072 -> 0 bytes
>   7 files changed, 18 insertions(+), 14 deletions(-)
> 

I gave these a spin, and my RPi3 isn't booting. I then went back to your 
v1.21 release, and it doesn't boot either. Log of my DEBUG build below - 
any thoughts?




Raspberry Pi Bootcode
Read File: config.txt, 93
Read File: start.elf, 2884708 (bytes)
Read File: fixup.dat, 6746 (bytes)
MESS:00:00:01.526885:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.531096:0: brfs: File read: 93 bytes
MESS:00:00:01.587076:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.591292:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK 
not defined
MESS:00:00:01.795773:0: gpioman: gpioman_get_pin_num: pin 
DISPLAY_DSI_PORT not defined
MESS:00:00:01.803201:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK 
not defined
MESS:00:00:01.809220:0: *** Restart logging
MESS:00:00:01.813107:0: brfs: File read: 93 bytes
MESS:00:00:01.834674:0: hdmi: HDMI:hdmi_get_state is deprecated, use 
hdmi_get_display_state instead
MESS:00:00:01.853083:0: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb
MESS:00:00:01.857754:0: Loading 'bcm2710-rpi-3-b.dtb' to 0x100 size 0x675f
MESS:00:00:02.073260:0: brfs: File read: 26463 bytes
MESS:00:00:02.079132:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.084442:0: brfs: File read: 93 bytes
MESS:00:00:02.089923:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:02.093917:0: Read command line from file 'cmdline.txt':
MESS:00:00:02.099785:0: 'console=serial0,115200 console=tty1 
root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes 
rootwait quiet splash plymouth.ignore-serial-consoles'
MESS:00:00:04.177869:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE 
not defined
MESS:00:00:04.347941:0: brfs: File read: 160 bytes
MESS:00:00:04.484887:0: brfs: File read: /mfs/sd/RPI_EFI.fd
MESS:00:00:04.488762:0: Loading 'RPI_EFI.fd' to 0x0 size 0x200000
MESS:00:00:04.494604:0: brfs: File read: 2097152 bytes
MESS:00:00:05.334051:0: brfs: File read: /mfs/sd/kernel8.img
MESS:00:00:05.338010:0: Loading 'kernel8.img' to 0x80000 size 0xc9e200
MESS:00:00:05.344269:0: Device tree loaded to 0x2eff9400 (size 0x6b8a)
MESS:00:00:05.351740:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:05.358222:0: uart: Baud rate change done...
MESS:00:00:05.361652:0: uart: Baud rateNOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.3():v2.3
NOTICE:  BL1: Built : 10:40:46, Apr 21 2020
NOTICE:  rpi3: Detected: Raspberry Pi 3 Model B (1GB, Embest, China) 
[0x00a22082]
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.3():v2.3
NOTICE:  BL2: Built : 10:40:42, Apr 21 2020
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v2.3():v2.3
NOTICE:  BL31: Built : 10:40:44, Apr 21 2020
UEFI firmware (version EDK2-DEV built at 14:02:06 on Apr 21 2020)
Board Rev: 0xA22082
Base RAM : 0x00000000 (Size 0x3B400000)
VideoCore: 0x3B400000 (Size 0x04C00000)
FD:
         PhysicalBase: 0x0
         VirtualBase: 0x0
         Length: 0x1E0000
FD Variables:
         PhysicalBase: 0x1E0000
         VirtualBase: 0x1E0000
         Length: 0x20000
TF-A RAM:
         PhysicalBase: 0x200000
         VirtualBase: 0x200000
         Length: 0x200000
Base System RAM:
         PhysicalBase: 0x400000
         VirtualBase: 0x400000
         Length: 0x3B000000
GPU Reserved:
         PhysicalBase: 0x3B400000
         VirtualBase: 0x3B400000
         Length: 0x3C00000
SoC Reserved (283x):
         PhysicalBase: 0x3F000000
         VirtualBase: 0x3F000000
         Length: 0x2000000
Decompress Failed - Invalid Parameter

ASSERT_EFI_ERROR (Status = Not Found)
ASSERT [ArmPlatformPrePiUniCore] 
/home/ardbie01/build/edk2/ArmPlatformPkg/PrePi/PrePi.c(152): !EFI_ERROR 
(Status)

  reply	other threads:[~2020-04-21 12:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 11:29 [edk2-non-osi][PATCH 1/1] Platform/RPi/TrustedFirmware: Update TF-A binaries to v2.3 release Pete Batard
2020-04-21 12:20 ` Ard Biesheuvel [this message]
2020-04-21 12:29   ` Pete Batard
2020-04-21 12:52     ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bcf3dcc-71a3-49c8-5a88-ea2d5a11432d@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox