Hi,
While waiting for my Orange Pi Zero to arrive I decided to get a Freebsd sd card image for it.
This board is not officially listed in Crochet however my first attempt to build a "OrangePi-Plus2E" image failed as well as the patched up Orange Pi Zero profile I made, same error while buildkernel for both.
I tried creating an empty folder with that name GENERIC, result was "do not know how to make all". There is a file in the source tree of that name, this is the default kernelconf used. I tried a custom kernelconf (GENERIC with stripped down driver support) and the GENERIC part in the path was replaced with the kernelconf filename and resulted in the same error so the KERNELCONF value has something to do with it.
If I can get FreeBSD working on my Orange Pi Zero at the end of the month (i.e. solve this problem and successfully build image), and install the FAMP stack on it I will donate €20 early November to whomever (or to the FreeBSD project if preferred) helps me fix this.
"buildworld" seems ok. full log below.
http://rauliweb.com/_.buildkernel.armv6-GENERIC.log
There is more to this, I do not know if it matters.
First I tried an OrangePi-Plus2E image build as apparently working FreeBSD images have been made for the Orange Pi Zero using this board profile. Then I found a blog specifically about making an image for the Nano Pi Neo and Orange Pi Zero both very similar hardware. I used pkg install to get the orange pi zero u-boot, copied the Nano Pi Neo profile/board folder and edited its setup.sh to refer to the orange pi u-boot files and change label names to the orange pi zero, therefore as far I can tell creating a more spot on board profile.
After trying to build this, same GENERIC directory missing error.
I tried to chase down the error by locating where it would be in the build scripts but cannot find it.
I am trying to build this on FreeBSD 11.1-release-p1 in Virtualbox using kernel sources from head (freebsd 12-current).
I am new to FreeBSD (and sbc image creation) and am just trying to figure out this as I go along.
Cheers,
Rauli
While waiting for my Orange Pi Zero to arrive I decided to get a Freebsd sd card image for it.
This board is not officially listed in Crochet however my first attempt to build a "OrangePi-Plus2E" image failed as well as the patched up Orange Pi Zero profile I made, same error while buildkernel for both.
Code:
>>> stage 3.1: building everything
--------------------------------------------------------------
cd /root/crochet/work/obj/arm.armv6/usr/src12/sys/GENERIC; MAKEOBJDIRPREFIX................long text omitted...........................[/B]
cd: /root/crochet/work/obj/arm.armv6/usr/src12/sys/GENERIC:[B] [/B]No such file or directory
*** [buildkernel] Error code 2
make[1]: stopped in /usr/src12
1 error
make[1]: stopped in /usr/src12
*** [buildkernel] Error code 2
make: stopped in /usr/src12
1 error
I tried creating an empty folder with that name GENERIC, result was "do not know how to make all". There is a file in the source tree of that name, this is the default kernelconf used. I tried a custom kernelconf (GENERIC with stripped down driver support) and the GENERIC part in the path was replaced with the kernelconf filename and resulted in the same error so the KERNELCONF value has something to do with it.
If I can get FreeBSD working on my Orange Pi Zero at the end of the month (i.e. solve this problem and successfully build image), and install the FAMP stack on it I will donate €20 early November to whomever (or to the FreeBSD project if preferred) helps me fix this.
"buildworld" seems ok. full log below.
http://rauliweb.com/_.buildkernel.armv6-GENERIC.log
There is more to this, I do not know if it matters.
First I tried an OrangePi-Plus2E image build as apparently working FreeBSD images have been made for the Orange Pi Zero using this board profile. Then I found a blog specifically about making an image for the Nano Pi Neo and Orange Pi Zero both very similar hardware. I used pkg install to get the orange pi zero u-boot, copied the Nano Pi Neo profile/board folder and edited its setup.sh to refer to the orange pi u-boot files and change label names to the orange pi zero, therefore as far I can tell creating a more spot on board profile.
After trying to build this, same GENERIC directory missing error.
I tried to chase down the error by locating where it would be in the build scripts but cannot find it.
I am trying to build this on FreeBSD 11.1-release-p1 in Virtualbox using kernel sources from head (freebsd 12-current).
I am new to FreeBSD (and sbc image creation) and am just trying to figure out this as I go along.
Cheers,
Rauli