Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 09:45:28 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        freebsd-arm <freeBSD-arm@freebsd.org>
Subject:   any progress with OrangePi Plus / AllWinner H3 ?
Message-ID:  <0A7A3F1D-2853-4DA4-A8A1-52C38A6ED093@cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_A7DD64EA-6AE1-4DAB-BC87-21A89BE632FC
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Hi,
I still have no luck booting it.

It hangs while trying to access the a10_mmc0:

--Apple-Mail=_A7DD64EA-6AE1-4DAB-BC87-21A89BE632FC
Content-Disposition: attachment;
	filename=o.txt
Content-Type: text/plain;
	name="o.txt"
Content-Transfer-Encoding: quoted-printable

Booting from: mmc 0 ubldr.bin
reading ubldr.bin
223912 bytes read in 70 ms (3 MiB/s)
## No elf image at address 0x42000000
## Starting application at 0x42000000 ...
Consoles: U-Boot console =20
Compatible U-Boot API signature found @0x7bf4a7b0

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root@releng2.nyi.freebsd.org, Sat May 28 13:31:32 UTC 2016)

DRAM: 1024MB
MMC Device 1 not found
Number of U-Boot devices: 1
U-Boot env: loaderdev=3D'mmc 0'
Found U-Boot device: disk
  Checking unit=3D0 slice=3D<auto> partition=3D<auto>... good.
Booting from disk0s2:
/boot/kernel/kernel text=3D0x5ff320 data=3D0x587e4+0x1274dc =
syms=3D[0x4+0x8e320+0x4+0xa2e72]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...              =20
/boot/dtb/orangepi-pc.dtb size=3D0x2e5a
Loaded DTB from file 'orangepi-pc.dtb'.
Kernel entry at 0x0x42200180...
Kernel args: (null)
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights =
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-ALPHA3 #5 r301916M: Wed Jun 15 09:53:26 IDT 2016
    =
danny@rnd:/home/obj/rnd/armv6/orangepi/arm.armv6/r+d/vanilla/11/src/sys/AL=
LWINNER arm
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on =
LLVM 3.8.0)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
CPU: Cortex A7 rev 5 (Cortex-A core)
 Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
 WB enabled LABT branch prediction disabled
LoUU:2 LoC:3 LoUIS:2=20
Cache level 1:=20
 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc
 32KB/32B 2-way instruction cache Read-Alloc
Cache level 2:=20
 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc
real memory  =3D 1073741824 (1024 MB)
avail memory =3D 1036029952 (988 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
aw_ccu0: <Allwinner Clock Control Unit> on ofwbus0
clk_fixed0: <Fixed clock> on aw_ccu0
clk_fixed1: <Fixed clock> on aw_ccu0
aw_pll0: <Allwinner PLL Clock> mem 0x1c20000-0x1c20003 on aw_ccu0
clk_fixed2: <Fixed clock> on aw_ccu0
aw_pll1: <Allwinner PLL Clock> mem 0x1c20028-0x1c2002b on aw_ccu0
clk_fixed3: <Fixed factor clock> on aw_ccu0
clk_fixed4: <Fixed clock> on aw_ccu0
aw_cpuclk0: <Allwinner CPU Clock> mem 0x1c20050-0x1c20053 on aw_ccu0
aw_axiclk0: <Allwinner AXI Clock> mem 0x1c20050-0x1c20053 on aw_ccu0
aw_ahbclk0: <Allwinner AHB Clock> mem 0x1c20054-0x1c20057 on aw_ccu0
aw_ahbclk1: <Allwinner AHB Clock> mem 0x1c2005c-0x1c2005f on aw_ccu0
aw_apbclk0: <Allwinner APB Clock> mem 0x1c20054-0x1c20057 on aw_ccu0
aw_apbclk1: <Allwinner APB Clock> mem 0x1c20058-0x1c2005b on aw_ccu0
aw_gate0: <Allwinner Bus Clock Gates> mem 0x1c20060-0x1c20073 on aw_ccu0
aw_mmcclk0: <Allwinner MMC Clock> mem 0x1c20088-0x1c2008b on aw_ccu0
aw_mmcclk1: <Allwinner MMC Clock> mem 0x1c2008c-0x1c2008f on aw_ccu0
aw_mmcclk2: <Allwinner MMC Clock> mem 0x1c20090-0x1c20093 on aw_ccu0
simplebus0: <Flattened device tree simple bus> on ofwbus0
aw_reset0: <Allwinner Module Resets> mem 0x1c202c0-0x1c202cb on =
simplebus0
aw_reset1: <Allwinner Module Resets> mem 0x1c202d0-0x1c202d3 on =
simplebus0
aw_reset2: <Allwinner Module Resets> mem 0x1c202d8-0x1c202db on =
simplebus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff on =
simplebus0
gpio0: cannot allocate interrupt
device_attach: gpio0 attach returned 6
gic0: <ARM Generic Interrupt Controller> mem =
0x1c81000-0x1c81fff,0x1c82000-0x1c82fff,0x1c84000-0x1c85fff,0x1c86000-0x1c=
87fff on simplebus0
gic0: pn 0x10, arch 0x2, rev 0x1, implementer 0x43b irqs 160
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff on =
simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
generic_timer0: <ARMv7 Generic Timer> on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
rtc0: <Allwinner RTC> mem 0x1f00000-0x1f00053 on simplebus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
a10_mmc0: <Allwinner Integrated MMC/SD controller> mem =
0x1c0f000-0x1c0ffff on simplebus0
mmc0: <MMC/SD bus> on a10_mmc0
gpioc0: <GPIO controller> on gpio0
aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf on simplebus0
=C3=BC=C3=BCuart0: <Non-standard ns8250 class UART with FIFOs> mem =
0x1c28000-0x1c283ff on simplebus0
uart0: console (961538,n,8,1)
cryptosoft0: <software crypto>
Timecounters tick every 10.000 msec
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: controller timeout
a10_mmc0: timeout updating clock
mmc0: No compatible cards found on bus
Release APs
WARNING: WITNESS option enabled, expect reduced performance.

Loader variables:

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:tank
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>=20

--Apple-Mail=_A7DD64EA-6AE1-4DAB-BC87-21A89BE632FC
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii



thanks,
	danny


--Apple-Mail=_A7DD64EA-6AE1-4DAB-BC87-21A89BE632FC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A7A3F1D-2853-4DA4-A8A1-52C38A6ED093>