#14 Doesn't work on NanoPi Neo 2
Closed: Invalid 2 years ago Opened 2 years ago by kallisti5.

The choice of spl + devtree doesn't seem to work on the NanoPi Neo 2.

Based on the AllWinnerA64... if you follow the provided instructions, the SPL never find u-boot...

U-Boot SPL 2017.11-00118-gd9d76023ea (Nov 24 2017 - 15:15:52)
DRAM: 512 MiB
Trying to boot from MMC1
"Synchronous Abort" handler, esr 0x02000000
ELR:     44000
LR:      125d4
x 0: 0000000000044000 x 1: 0000000000000006
x 2: 0000000000000006 x 3: 0000000000000073
x 4: 0000000000000009 x 5: 0000000000000073
x 6: 0000000049fffd6e x 7: 0000000000000003
x 8: 00000000000002ac x 9: 0000002000000000
x10: 000000004fdffc0c x11: 0000000049fffa00
x12: 0000000000000271 x13: 0000000000000264
x14: 000000004fdffc4c x15: 0000000049fffa00
x16: 0400260102200000 x17: 0080230000080004
x18: 000000004fdffe90 x19: 0000000000017758
x20: 0000000000017710 x21: 0000000000000000
x22: 000000000001706f x23: 000000004fdffe48
x24: 0000000000017057 x25: 0000000000017000
x26: 00000000deadbeef x27: 2808020668720080
x28: 2901002084100004 x29: 000000004fdffdd0

If you place u-boot.img at 1024 * 8 though, you at least get into u-boot and try to load Fedora's EFI...

U-Boot SPL 2017.11-00118-gd9d76023ea (Nov 24 2017 - 15:15:52)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2017.11-00118-gd9d76023ea (Nov 24 2017 - 15:15:52 -0600) Allwinner Technology

CPU:   Allwinner H5 (SUN50I)
Model: FriendlyARM NanoPi NEO 2
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 5 disks
reading efi/boot/bootaa64.efi
868376 bytes read in 71 ms (11.7 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 40080000 ...
reading /efi/boot/fbaa64.efi
"Synchronous Abort" handler, esr 0x02000000
ELR:     58e33120
LR:      58e62ff4
x0 : 0000000059f29888 x1 : 000000005dfb9c00
x2 : 0000000058e33120 x3 : 00000000000101d0
x4 : 0000000000000000 x5 : 0000000000000072
x6 : 0000000000000015 x7 : 0000000059f29448
x8 : 0000000059f3fe60 x9 : 000000006ed9eba1
x10: 0000000000000001 x11: 0000000000002400
x12: 00000000b1440168 x13: 00000000de7948e4
x14: 0000000014165850 x15: 0000000000000002
x16: 00000000db749e43 x17: 0000000014165850
x18: 000000003bc7cf8e x19: 0000000000000000
x20: 0000000059f29888 x21: 000000005dfb9c00
x22: 0000000040080000 x23: 0000000059f2b818
x24: 0000000000000003 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000059f3e530 x29: 0000000059f29670

I should mention i'm using a locally compiled u-boot, and not the one included in the F27 bootmedia since F27 doesn't seem to include the H5/NanoPi NEO image.

This is the wrong place to report this, it's nothing to do with this tool

Metadata Update from @pbrobinson:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata