diff --git a/README.md b/README.md index a7e5623b36d01edfeef934c98423cc0b290aaafb..def95389588f913849a88d5fc0092eb666b11ad7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,10 @@ More Info: https://mntre.com/zz9000 ## Build Adjust the path to your Linux kernel sources in the Makefile before -starting. Then you can build the drivers out of the tree with +starting. On Debian you can install linux-headers-m68k to get the kernel +headers and the necessary Module.symvers file. + +Then you can build the drivers out of the tree with ``` $ make @@ -28,20 +31,33 @@ make[1]: Entering directory '/usr/src/linux-source-5.4' make[1]: Leaving directory '/usr/src/linux-source-5.4' ``` +Now you can install the drivers with + +``` +make modules_install +``` + ## Loading the drivers -You can load your drivers e.g. in your rc.local or in your initramfs. -Make sure you actually load it (early on). Debian 10 does not have -rc.local by default. +You can load your drivers e.g. by creating a ZZ9000 specific file in +/etc/modules-load.d: ``` +sudo vi /etc/modules-load.d/zz9000.conf +``` + +``` +# /etc/modules-load.d/zz9000 # -# rc.local +# Load ZZ9000 modules automatically at boot # -modprobe zz9000 -modprobe zz9000_graphics -modprobe zz9000_network -modprobe zz9000_usb + +zz9000 +zz9000-usb +zz9000-network +zz9000-graphics + +options zz9000-graphics noaccel ``` On your next boot you should then see @@ -62,7 +78,7 @@ On your next boot you should then see ## Graphics -Boot the kernel with amifb=disable. The driver switches to +Boot the kernel with video=amifb:off. The driver switches to 1280x720-60@16 by default, but supports all resolutions that the card supports (non-16bit modes currently untested)