--- wikisrc/ports/evbarm/tegra.mdwn 2017/04/13 20:56:52 1.41 +++ wikisrc/ports/evbarm/tegra.mdwn 2017/04/14 11:11:38 1.42 @@ -90,6 +90,37 @@ Section "Device" EndSection """]] +# GPU (nouveau) + +To enable the GPU, add the following before the ''bootm'' command in the boot script: + +[[!template id=programlisting text=""" +fdt set /gpu@0,57000000 status okay +"""]] + +For the nouveau driver to load successfully, firmware is required: + - Install the [sysutils/tegra-firmware](http://pkgsrc.se/sysutils/tegra-firmware) package from pkgsrc. + - Extract the contents of [tegra-nouveau-firmware.tar.gz](http://cdn.netbsd.org/pub/NetBSD/misc/jmcneill/tegra/tegra-nouveau-firmware.tar.gz) to ''/libdata/firmware/nouveau''. + +You should see the following messages at boot: + +[[!template id=programlisting text=""" +nouveau0 at fdt0: GPU +drm kern info: nouveau [ DEVICE][nouveau0] BOOT0 : 0x0ea000a1 +drm kern info: nouveau [ DEVICE][nouveau0] Chipset: GK20A (NVEA) +drm kern info: nouveau [ DEVICE][nouveau0] Family : NVE0 +drm kern info: nouveau [ PFB][nouveau0] RAM type: stolen system memory +drm kern info: nouveau [ PFB][nouveau0] RAM size: 2019 MiB +drm kern info: nouveau [ PFB][nouveau0] ZCOMP: 0 tags +drm kern info: nouveau [ PGRAPH][nouveau0] using external firmware +drm kern info: nouveau [ DRM] VRAM: 2019 MiB +drm kern info: nouveau [ DRM] GART: 1048576 MiB +drm kern error: nouveau E[ PFIFO][nouveau0] unsupported engines 0x00000030 +drm kern error: nouveau E[ DRM] failed to create ce channel, -22 +drm kern info: nouveau [ DRM] MM: using GRCE for buffer copies +nouveau0: initialized nouveau 1.1.1 20120801 on minor 1 +"""]] + # dmesg [[!template id=programlisting text="""