Hi,

Trying the latest snapshot on Banana Pi and Orange Pi One stopped
before running the EFI workload.

I suspect it's something obvious when modifying the image, but this used
to work to boot the boards without miniroot just fine.

http://marc.info/?l=openbsd-arm&m=148288574314135&w=2

I'd appreciate any pointer to something that is really obvious that I
missed from following the commit messages.

Thank you.

### Creating/modifying images

## Banana Pi:

# cp miniroot-cubie-60.fs miniroot-bananapi-60.fs
# vnconfig vnd0 miniroot-bananapi-60.fs
# mkdir -p /mnt/vnd0i
# mount /dev/vnd0i /mnt/vnd0i
# rm -rf /mnt/vnd0i/sun7i-a20-cubieboard2.dtb
# cp /usr/local/share/dtb/arm/sun7i-a20-bananapi.dtb /mnt/vnd0i
# dd if=/usr/local/share/u-boot/Bananapi/u-boot-sunxi-with-spl.bin \
> of=/dev/rvnd0c bs=1024 seek=8 conv=notrunc
481+1 records in
481+1 records out
493157 bytes transferred in 0.008 secs (56979434 bytes/sec)
# umount /dev/vnd0i
# vnconfig -u vnd0

## Orange Pi:

# cp miniroot-cubie-60.fs miniroot-orangepione-60.fs
# vnconfig vnd0 miniroot-orangepione-60.fs
# mkdir -p /mnt/vnd0i
# mount /dev/vnd0i /mnt/vnd0i
# rm -rf /mnt/vnd0i/sun7i-a20-cubieboard2.dtb
# cp /usr/local/share/dtb/arm/sun8i-h3-orangepi-one.dtb /mnt/vnd0i
# dd if=/usr/local/share/u-boot/orangepi_one/u-boot-sunxi-with-spl.bin \
> of=/dev/rvnd0c bs=1024 seek=8 conv=notrunc
410+1 records in
410+1 records out
420367 bytes transferred in 0.011 secs (38045705 bytes/sec)
# umount /dev/vnd0i
# vnconfig -u vnd0

### Booting

## Banana Pi:

U-Boot SPL 2017.01 (Feb 24 2017 - 16:56:18)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1

U-Boot 2017.01 (Feb 24 2017 - 16:56:18 -0700) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /sun7i-a20-bananapi.dtb
data abort
pc : [<7ef8939c>]          lr : [<7ef89308>]
reloc pc : [<4a03339c>]    lr : [<4a033308>]
sp : 7af2acd8  ip : 01c0f000     fp : 00000000
r10: 00002000  r9 : 7af35ee0     r8 : 7af2b7c0
r7 : 00000000  r6 : 7af2ad78     r5 : 00000800  r4 : 00000101
r3 : 00000181  r2 : 7af67840     r1 : 00000800  r0 : 00000000
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

## Orange Pi:

U-Boot SPL 2017.01 (Feb 24 2017 - 17:23:29)
DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2017.01 (Feb 24 2017 - 17:23:29 -0700) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /sun8i-h3-orangepi-one.dtb
data abort
pc : [<5ff8d3a0>]          lr : [<5ff82af0>]
reloc pc : [<4a02b3a0>]    lr : [<4a020af0>]
sp : 5bf3c638  ip : 01c0f000     fp : 5bf77680
r10: 00000001  r9 : 5bf41ee8     r8 : 00000000
r7 : 00000000  r6 : 5bf3c6d8     r5 : 00000002  r4 : 000001c5
r3 : 000002a7  r2 : 5bf77680     r1 : 5bf3c5ec  r0 : 00000002
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

-- 
db

Reply via email to