cubieboard2-base: load the EMAC eth driver.

For some reason GMAC (the new one) does not work correctly.
This commit is contained in:
Juan RP 2015-03-23 09:45:36 +01:00
parent 2b7787cb8b
commit aafd47a9ba
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'cubieboard2-base'
pkgname=cubieboard2-base
version=2.0
version=2.1
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"
@ -13,9 +13,9 @@ depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel"
replaces="cubieboard2-kernel>=0"
do_install() {
# Load the sunxi-gmac module by default.
# Load the sunxi-emac module by default.
vmkdir usr/lib/modules-load.d
echo sunxi-gmac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
# Set proper perms to some devices.
vmkdir usr/lib/udev/rules.d
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubieboard.rules