BPI-R2 FreeBSD support/ZRouter.org support

Have you uploaded these fixes too?

Better for FreeNAS :slight_smile: but yes, pfSense possible too. Have to done SMP and Nic first.

It is FreeBSD changes, not U-Boot. Too dirty yet to commit :slight_smile:

Any chance to get usb working on uboot?

Have you an idea to initialize hifsys independend from ethsys (seems wrong for me)

It’s not so hard. Since XHCI supported. Only IP core power-up bits required and code to init PHYs.

IIRC, ethsys init called by FDT support code on its compatible property. So you need to make similar, but with hifsys compatible string and move code for it from ethsys.

I tried to do this (see my sata2-branch/uboot-thread),but probe isn’t called…

compatible string matches and code is buildin…but it seem that an additional trigger is needed. I guess without this change we have no luck getting the code upstream.

Can you look at it and answer in uboot-thread so we can stop off-topic here?

Hooray!

SMP works.

Ethernet in progress.

1 Like

Ethernet works.

somehow :slight_smile:

yet :slight_smile:

Ethernet - just works.

2 Likes

Can the ARM version of FreeBSD run successfully on the BPI-R2 board ?

Are these changes pushed in the main FreeBSD repository ?

Is there any available image ?

Yes, it run fine. But with few problems. Main is:

  • Ethernet interface have pure performance yet.
  • No SD/MMC controller driver.

Not yet.

Currently not. But possible.

1 Like

Where’s your source code? if source code looks dirty it doesn’t matter.

Will you be interested in Uploading you work somewhere on git ?

I am really interested in doing some experiment with R2 and FreeBSD as this will help in porting OpnSense.

Thanks

Nope, only locally yet. Wait a bit :slight_smile:

It will be in HEAD soon. Let me just done some important tasks. And welcome on BPI forum :slight_smile:

Thank You. I am on BPI COZ I see a good demand in security appliance for SME while they dont have a big budget, So I thought of doing some R&D to add some support to these development board where the manufacturers are doing so much to work on such lovely hardware designs while there seem to be less software side support, so maybe community support can help with the software-side.

Do you have any timeline to push it to the HEAD?

BTW Do you think BPI-R64 support can be added to your work ? or do they have a major hardware change?

Coz I plan to buy R64 for testing as it is on the cheaper side.

Also is there any resource on R64 & R2 u-boot and kernel load methods which I can go through to learn about the BPI approach as this is the first time I will work on MTK board.

Thanks.

Don’t know what is COZ and SME, but yes, looking on how linux support done I see lack of time to make it better.

Since FDT devices in .dts files of BPI-R2 a bit reordered (dependency come later), I want to rework FreeBSD FDT support to track dependency. Not sure how fast it would be, looking on that have to be accepted by many FreeBSD developers.

COZ = imho because

SME = any of this: https://en.wikipedia.org/wiki/SME, imho Small and medium-sized enterprises ( SMEs )

1 Like

My Bad, COZ = Because :smiley: and SME = Small and Medium Enterprises.

Can we not have your built as a custom FreeBSD for BPI R2 until it is accepted and merged by the FreeBSD Developers?