Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 02:29:54 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Warner Losh <imp@bsdimp.com>
Cc:        ticso@cicely.de, freebsd-arm@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de>
Subject:   Re: 12-RELEASE loader fails on Orange Pi R1 (maybe 256MB related)
Message-ID:  <20190127012954.GK74542@cicely7.cicely.de>
In-Reply-To: <20190126050119.GJ74542@cicely7.cicely.de>
References:  <20190126030330.GI74542@cicely7.cicely.de> <CANCZdfpmkMQtmSL_3add=6Z9ybSE-nmHC8_4%2BxKtofVTTuze_w@mail.gmail.com> <20190126050119.GJ74542@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 26, 2019 at 06:01:20AM +0100, Bernd Walter wrote:
> On Fri, Jan 25, 2019 at 09:36:44PM -0700, Warner Losh wrote:
> > On Fri, Jan 25, 2019, 9:08 PM Bernd Walter <ticso@cicely7.cicely.de wrote:
> > >
> > > It might be because my R1 is a 256MB, while the tested zero is 512MB.
> > > I can test a 256MB zero in a few days, but don't have a 256MB zero at home.
> > >
> > 
> > Maybe it is the block cache code? It hovers up a ton of memory.... it was
> > fixed on i386, though, I thought...
> 
> Ok, then I will pick up a 256MB Orange Pi zero tomorrow and test with it.

Absolutely - it is related to 256MB.
This is the same card, which booted on a 512MB zero, now inserted into
a 256MB zero:
U-Boot SPL 2018.11 (Jan 20 2019 - 22:15:19 +0100)
DRAM: 256 MiB
Trying to boot from MMC1


U-Boot 2018.11 (Jan 20 2019 - 22:15:19 +0100) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM:  256 MiB
MMC:   SUNXI SD/MMC: 0
Loading Environment from FAT... *** 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
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
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
25259 bytes read in 3 ms (8 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disks on usb...
Disk usb0 not ready
Disk usb1 not ready
Disk usb2 not ready
Disk usb3 not ready
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 3 disks
587736 bytes read in 29 ms (19.3 MiB/s)
## Starting EFI application at 42000000 ...
Consoles: EFI console  
failed to allocate staging area: 14
failed to allocate staging area
## Application terminated, r = 5
EFI LOAD FAILED: continuing...

Device 0: device type unknown
... is now current device
ethernet@1c30000 Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 10.1.1.156 (1045 ms)
...

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190127012954.GK74542>