head -r323246 Pine64+ 2GB context: boot1.efi (as bootaa64.efi), I had to revert to an older one that I had around; more
Mark Millard
markmi at dsl-only.net
Sun Sep 10 21:18:32 UTC 2017
On 2017-Sep-10, at 1:17 PM, Warner Losh <imp at bsdimp.com> wrote:
> On Sun, Sep 10, 2017 at 2:34 AM, Mark Millard <markmi at dsl-only.net> wrote:
> When I attempted to use the result of:
>
> # cp -aRx /usr/obj/DESTDIRs/clang-cortexA53-installworld/boot/boot1.efi /mnt/EFI/BOOT/
>
> the pine64+ boot sequence got over and over
> a sequence like:
>
> U-Boot 2017.07 (Sep 06 2017 - 07:49:12 +0000) Allwinner Technology
>
> CPU: Allwinner A64 (SUN50I)
> Model: Pine64+
> DRAM: 2 GiB
> MMC: SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: serial
> . . .
> >> FreeBSD EFI boot block
> Loader path: /boot/loader.efi
>
> Initializing modules: ZFS UFS
> Load Path:
> "Synchronous Abort" handler, esr 0x96000004
> ELR: bdf90b30
> LR: bdf8fb6c
> x0 : 0000000000000000 x1 : 0000000000000000
> x2 : 00000000bdffc000 x3 : 0000000040000000
> x4 : 00000000b9f34d40 x5 : 0000000000000000
> x6 : 0000000000000015 x7 : 0000000000000000
> x8 : 00000000bdfa59b8 x9 : 000000000000001c
> x10: 0000000000000002 x11: 0000000000000000
> x12: 0000000000000000 x13: 0000000000000000
> x14: 0000000000000000 x15: 0000000000000000
> x16: 0000000000000000 x17: 0000000000000000
> x18: 00000000b9f39df8 x19: 0000000000000000
> x20: 0000000000000000 x21: 0000000000000002
> x22: 00000000b8f34c98 x23: 00000000b8f34c88
> x24: 00000000b8f34ca0 x25: 00000000000007d0
> x26: 00000000b8f34c90 x27: 00000000b8f2f198
> x28: 0000000000000000 x29: 00000000b9f34de0
>
> Resetting CPU ...
>
> resetting ...
>
> It would be super helpful if you could bisect the change that caused this.
I'm doing some other experiments first but I'll
probably take a stab at it if things seem stable
enough. Pine64+ has multiple problems currently.
(It regressed some time back.)
Unfortunately I do not have a known way to reproduce
the older boot1.efi file fully. I'll have to explore
that part to have a known-good low bound. If I'm
lucky the first try from the general time frame will
happen to work.
Do to other issues I'm jumping from pre-INO64 to modern
without having tracked in the middle.
I will note that the older boot1.efi (as bootaa64.efi)
output is different (no "Load Path:"):
>> FreeBSD EFI boot block
Loader path: /boot/loader.efi
Initializing modules: ZFS UFS
Probing 3 block devices.....* done
ZFS found no pools
UFS found 1 partition
Consoles: EFI console
Command line arguments: loader.efi
Image base: 0xb6dbb008
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)
The failing one has garbage (invisible)
text after "Load Path:".
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-toolchain
mailing list