allwinner h5/nanopi-neo2 anyone?
Daniel Braniss
danny at cs.huji.ac.il
Wed May 2 14:33:11 UTC 2018
> On 2 May 2018, at 16:36, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>
>
>
>> On 2 May 2018, at 16:17, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>>
>> On Wed, 2 May 2018 15:54:05 +0300
>> Daniel Braniss <danny at cs.huji.ac.il <mailto:danny at cs.huji.ac.il>> wrote:
>>
>>>
>>>
>>>> On 2 May 2018, at 15:09, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>>>>
>>>> On 2018-05-02 10:48, Daniel Braniss wrote:
>>>>>> On 2 May 2018, at 09:10, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>>>>>> On 2 May 2018, at 08:59, Emmanuel Vadot <manu at bidouilliste.com>
>>>>>> wrote:
>>>>>> On Mon, 30 Apr 2018 11:10:44 +0300
>>>>>> Daniel Braniss <danny at 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 at freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm [1]
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-arm-unsubscribe at 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
>>>>
>>>> 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).
>>>
>>> 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.
>>
>> 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’t 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,0x403b,0x1ffe0)
Probing 3 block devices.....* done
UFS found 1 partition
Consoles: EFI console
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 at pe-44)
…
>
>>
>>> Also, this u-boot is booting efi, and the treatment of the dtb is new to me :-(
>>
>> 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).
>>
>>> So, is there a u-boot for this board or should I use the one from linux/debian?
>>> cheers,
>>> danny
>>>>
>>>>>>> Cheers,
>>>>>>> --
>>>>>>> Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
>>>>>> _______________________________________________
>>>>>> freebsd-arm at freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm [1]
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-arm-unsubscribe at freebsd.org"
>>>>> Links:
>>>>> ------
>>>>> [1] https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>>
>>>> --
>>>> Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
>>
>>
>> --
>> Emmanuel Vadot <manu at bidouilliste.com <mailto:manu at bidouilliste.com>> <manu at freebsd.org <mailto:manu at freebsd.org>>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list