Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2017 13:14:11 +0200
From:      Johnny Sorocil <jsorocil@gmail.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Orange Pi Zero support
Message-ID:  <CADxA8SqcFQhL93U9Zim22szDEWN02nGGzp4yr3TgOaCYb0XmzA@mail.gmail.com>
In-Reply-To: <CADxA8SqYebBzVwnuGSyn3ZzWKs2JuruUmpVW4HWt4N%2BBojdETg@mail.gmail.com>
References:  <CADxA8SoTM2WWUhGZ=B-7Y7QthyaWRU2Si94Cw41ccCyQHA846w@mail.gmail.com> <20170624171539.3b6a73b245b05e649a62933c@bidouilliste.com> <20170624184259.d2b7d2e6fbe6120cde572a33@bidouilliste.com> <CADxA8SqYebBzVwnuGSyn3ZzWKs2JuruUmpVW4HWt4N%2BBojdETg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have built -CURRENT (63fd4c37fb976e1c00408fd95f168af12088f92b) but I am
unable to boot the board with sun8i-h2-plus-orangepi-zero.dtb (there is
nothing on serial console).
If sun8i-h3-orangepi-one.dtb is loaded, then board boots normally.

Steps to reproduce:
rm -rf /usr/obj
make -j4 TARGET_ARCH=armv6 SRCCONF=/dev/null __MAKE_CONF=/dev/null
buildworld
make -j4 TARGET_ARCH=armv6 SRCCONF=/dev/null __MAKE_CONF=/dev/null
KERNCONF=ALLWINNER buildkernel
make -j4 TARGET_ARCH=armv6 SRCCONF=/dev/null __MAKE_CONF=/dev/null
KERNCONF=ALLWINNER DESTDIR=/mnt/sd2/ installkernel
make -j4 TARGET_ARCH=armv6 SRCCONF=/dev/null __MAKE_CONF=/dev/null
KERNCONF=ALLWINNER DESTDIR=/mnt/sd2/ installworld
cp -f /usr/obj/arm.armv6/usr/src/sys/boot/arm/uboot/ubldr{,.bin} /mnt/sd1
umount /mnt/sd1 ; umount /mnt/sd2
dd if=/usr/local/share/u-boot/u-boot-orangepi-one/u-boot-sunxi-with-spl.bin
conv=notrunc,sync of=/dev/mmcsd0 bs=1024 seek=8

  loader> load -t dtb sun8i-h2-plus-orangepi-zero.dtb
  loader> boot
  Booting...
  Using DTB from loaded file '/boot/dtb/sun8i-h2-plus-orangepi-zero.dtb'.
  Kernel entry at 0x42200100...
  Kernel args: (null)
and it will hang

If H3 dtb file is used:
loader> load -t dtb sun8i-h3-orangepi-one.dtb
loader> boot
Booting...

Using DTB from loaded file
'/boot/dtb/sun8i-h3-orangepi-one.dtb'.

Kernel entry at
0x42200100...

Kernel args:
(null)

KDB: debugger backends:
ddb

KDB: current backend:
ddb

Copyright (c) 1992-2017 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 12.0-CURRENT #0 63fd4c37fb9(master): Sun Jun 25 12:03:35 CEST
2017
    root@innovator:/usr/obj/arm.armv6/usr/src/sys/ALLWINNER
arm

FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
<...>



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