Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 17:33:03 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: allwinner h5/nanopi-neo2 anyone?
Message-ID:  <2FD029F1-6B35-4560-B875-7EF7F684F153@cs.huji.ac.il>
In-Reply-To: <6F85A0A9-4F4C-46F0-A64B-615F374BD0F0@cs.huji.ac.il>
References:  <01D543AD-B433-4464-84F2-E776F436DB0D@cs.huji.ac.il> <20180502075932.af91c898f72180b288040cd2@bidouilliste.com> <9C2B4C3A-B8F9-4B9D-AA99-F7568D6E64CE@cs.huji.ac.il> <62AC68D6-5D6E-43C4-875E-2922DBE78533@cs.huji.ac.il> <de0ff134600199c2909aaa903053c19d@megadrive.org> <8A67CAD7-00D6-45DF-B9D7-4ED282167BE9@cs.huji.ac.il> <20180502151718.743609a6ee1fd444a08d986d@bidouilliste.com> <6F85A0A9-4F4C-46F0-A64B-615F374BD0F0@cs.huji.ac.il>

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


> On 2 May 2018, at 16:36, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>=20
>=20
>> On 2 May 2018, at 16:17, Emmanuel Vadot <manu@bidouilliste.com> =
wrote:
>>=20
>> On Wed, 2 May 2018 15:54:05 +0300
>> Daniel Braniss <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> =
wrote:
>>=20
>>>=20
>>>=20
>>>> On 2 May 2018, at 15:09, Emmanuel Vadot <manu@bidouilliste.com> =
wrote:
>>>>=20
>>>> On 2018-05-02 10:48, Daniel Braniss wrote:
>>>>>> On 2 May 2018, at 09:10, Daniel Braniss <danny@cs.huji.ac.il> =
wrote:
>>>>>> On 2 May 2018, at 08:59, Emmanuel Vadot <manu@bidouilliste.com>
>>>>>> wrote:
>>>>>> On Mon, 30 Apr 2018 11:10:44 +0300
>>>>>> Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>>>>> Hi,
>>>>>> I just got one (actually 2) of these, any hints as to how I can =
run
>>>>>> FreeBSD on it?
>>>>>> it?s a H5 allwinner.
>>>>>> thanks,
>>>>>> danny
>>>>>> _______________________________________________
>>>>>> freebsd-arm@freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm [1]
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-arm-unsubscribe@freebsd.org"
>>>>>> Hi,
>>>>>> I have one too I think, it's just a matter of doing a u-boot =
ports
>>>>>> for
>>>>>> it, you can take the pine64 or orangepi-pc2 as example.
>>>>>> Then just take the latest snapshot and overwrite u-boot or roll =
you
>>>>>> own sdcard image.
>>>>> great, ill give it a spin.
>>>>> thanks,
>>>>> danny
>>>>> his is what I did:
>>>>> used crochet to build an image based on pine64.
>>>>> installed u-boot-orangepi-pc2 instead of pin64
>>>>> and success!
>>>>> FreeBSD booted!
>>>>> cheers,
>>>>> danny
>>>>=20
>>>> That's really wrong, you are using wrong data to initialize the =
board and also passing wrong dtb to the kernel.
>>>> It worked because both boards are using the same kind of dram (and =
at the same speed).
>>>=20
>>> you are correct, on the other hand, the pine64 u-boot did nothing, =
this one at least seems to work,
>>> even the ethernet, though there are several things missing, like =
there is no real/available memory message.
>>=20
>> You misunderstood me, what I wanted to say is take the u-boot
>> ports for pine64 or orangepi-pc2 as template and do a new
>> u-boot-nanopi-neo2 ports.
> ok, re-read, and i guess something got lost in the translation :-)


ok, made a u-boot for the nanopi-neo2, but now I don=E2=80=99t have =
ethernet!  it did have one when I used the orange-pc2
win some, lose some :-(

this is the current console:


U-Boot SPL 2018.03 (May 02 2018 - 16:32:12 +0300)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2018.03 (May 02 2018 - 16:32:12 +0300) Allwinner Technology

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

Failed (-5)
Loading Environment from MMC... *** Warning - bad CRC, using default =
environment

>>> FreeBSD EFI boot block
Loader path: /boot/loader.efi

  Initializing modules: UFS
  Load Path: /\efi\boot\bootaa64.efi
  Load Device: =
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/USB(0x6,0x0)/HD(1,0x01,0,0x40=
3b,0x1ffe0)
  Probing 3 block devices.....* done
   UFS found 1 partition
Consoles: EFI console =20
Command line arguments: loader.efi
Image base: 0x58ebe040
EFI version: 2.70
EFI Firmware: Das U-Boot (rev 0.00)

FreeBSD/arm64 EFI loader, Revision 1.1
(Wed May  2 11:16:07 IDT 2018 danny@pe-44)
=E2=80=A6

>=20
>>=20
>>> Also, this u-boot is booting efi, and the treatment of the dtb is =
new to me :-(
>>=20
>> That doesn't change much for dtb, it's just that by default when
>> booting EFI we use the dtb provided by u-boot (if any).
>>=20
>>> So, is there a u-boot for this board or should I use the one from =
linux/debian?
>>> cheers,
>>> 	danny
>>>>=20
>>>>>>> Cheers,
>>>>>>> --
>>>>>>> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
>>>>>> _______________________________________________
>>>>>> freebsd-arm@freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm [1]
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-arm-unsubscribe@freebsd.org"
>>>>> Links:
>>>>> ------
>>>>> [1] https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>>=20
>>>> --=20
>>>> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
>>=20
>>=20
>> --=20
>> Emmanuel Vadot <manu@bidouilliste.com <mailto:manu@bidouilliste.com>> =
<manu@freebsd.org <mailto:manu@freebsd.org>>
>=20
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FD029F1-6B35-4560-B875-7EF7F684F153>