Intel SoC EP80579 and pfSense
-
hi people :)
i broth my self this great hardware appliance to build up a nice pfsense setup:
ARinfotek TEAK-3025-165 19" Rackmount 1U Network Security Appliance with Intel EP80579 SoC 1.2GHz CPU, 1024MB DDRII RAM, 4xGB-LAN , RS-232, 2xUSB, CF-Socket and SATAbut how it usually is - i started thinking after i push the order button and now i found out that there is no hardware support by default.
freebsd7.1/8/pfsense doesn't come whit the Intel EP80579 SoC drivers and kernel-modules, so i had to customize the image. as you can see there is a good support from intel whit the needed sources for freebsd 7.1.
http://downloadmirror.intel.com/17283/eng/320152.pdf
i setup a vm with a freebsd 7.1 development environment and tried to compiled the sources for the new kernel and modules, everything went well and it looks like it will match.
thats what i did, no importance for my question but maybe interesting for people how are interested in that platform.
wget http://downloadmirror.intel.com/16629/eng/Embedded.B.1.0.3-146.tar.gz cd / && mkdir EP80579 && cd EP80579 && tar -xvzf /root/Embedded.B.1.0.3-146.tar.gz cd /EP80579/Embedded/src/patches && patch -p0 < Intel_EP80579_FreeBSD_71.patch cd /usr/share/misc && patch -p0 < /EP80579/Embedded/src/patches/pci_vendors.patch cd /usr/src/sys/i386/conf && cp GENERIC INTEL_EP80579 && cd /usr/src make buildkernel KERNCONF=INTEL_EP80579 cd /usr/src && make installkernel KERNCONF=INTEL_EP80579 cd /EP80579/Embedded && make clean && make && make install
now i setup the pfsense build sources
portsnap fetch extract echo "WITHOUT_X11=yo" >> /etc/make.conf mkdir -p /home/pfsense/pfSenseGITREPO /home/pfsense/installer /usr/pfSensesrc cd /usr/ports/textproc/expat2 && make depends install cd /usr/ports/devel/git && make depends install cd /usr/ports/sysutils/fastest_cvsup/ && make depends install cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git tools cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git freesbie2 cd /home/pfsense/tools/builder_scripts && chmod a+rx *.sh csup -h `fastest_cvsup -c tld -q` /usr/share/examples/cvsup/standard-supfile
with the following commands i could create the iso
cd /home/pfsense/tools/builder_scripts ./set_version.sh RELENG_1_2 ./apply_kernel_patches.sh ./build_iso.sh
the left question was how do i get the intel source in to the build-routine of pfsense?
am i right when i add the "Embedded" folder from intel to the "/home/pfsense/tools/pfPorts/" folder and then add "Embedded" to the "buildports.RELENG_1_2" file in the "PORTSTOBUILD" section to install the kernel-modules?
and how can i add this following patches?
cd /EP80579/Embedded/src/patches && patch -p0 < Intel_EP80579_FreeBSD_71.patch cd /usr/share/misc && patch -p0 < /EP80579/Embedded/src/patches/pci_vendors.patch
i will trie my idias in the meantime, but i hope somebody could follow and can help me :)
greetings from hamburg and thanks for help,
Sebastian