File:  [NetBSD Developer Wiki] / wikisrc / ports / evbarm / tegra.mdwn
Revision 1.27: download - view: text, annotated - select for diffs
Mon Nov 9 23:22:53 2015 UTC (5 years, 5 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by jmcneill: How to use modesetting

    1: [[!meta title="NetBSD/evbarm on NVIDIA Tegra"]]
    2: 
    3: **The Tegra port is work in progress**
    4: 
    5: [[!toc levels=2]]
    6: 
    7: 
    8: # Supported hardware
    9:  - CPU: Cortex-A15: NVIDIA Tegra K1 (T124) (4-core)
   10:    - VFP / NEON
   11:    - CPU frequency scaling
   12:  - GIC
   13:  - ARM generic timer
   14:  - Clock and reset controller
   15:  - GPIO controller
   16:  - MPIO / pinmux controller
   17:  - Memory controller
   18:  - Power management controller
   19:  - I2C controller
   20:  - UART [[!template id=man name="com" section="4"]] serial console
   21:  - RTC
   22:  - Watchdog timer
   23:  - SDMMC [[!template id=man name="sdhc" section="4"]] controller
   24:  - USB 2.0 [[!template id=man name="ehci" section="4"]] controller
   25:  - PCI express
   26:  - SATA [[!template id=man name="ahcisata" section="4"]] controller
   27:  - HDMI
   28:    - Framebuffer console
   29:    - HDMI Audio [[!template id=man name="hdaudio" section="4"]] controller
   30:    - HDMI CEC
   31:  - Jetson TK1
   32:    - On-board Realtek 8111G [[!template id=man name="re" section="4"]] gigabit ethernet 
   33:    - EEPROM [[!template id=man name="seeprom" section="4"]] (on I2C)
   34:    - TMP451 [[!template id=man name="titemp" section="4"]] temperature sensor (on I2C)
   35:    - RF kill switch
   36:    - Power button
   37: 
   38: # TODO
   39:  - Analog audio output (I2S, Audio codec, APB DMA)
   40:  - AS3722 power management unit
   41:  - GPU (nouveau)
   42:  - USB 3.0 [[!template id=man name="xhci" section="4"]] controller
   43:  - SPI controller
   44:  - PWM controller
   45:  - PCIe MSI support
   46: 
   47: # Generating a boot script
   48: 
   49: [[!template  id=programlisting text="""
   50: $ cat boot.txt
   51: setenv bootargs root=ld1a
   52: fatload mmc 1:1 0x90000000 netbsd.ub
   53: bootm 0x90000000
   54: $ mkubootimage -A arm -C none -O netbsd -T script -a 0 -n "NetBSD/tegra boot" boot.txt boot.scr
   55: """]]
   56: 
   57: # Getting U-Boot
   58: 
   59: Jetson TK1 boards come with Linux4Tegra R19.x installed, which doesn't use U-Boot. The easiest way to get U-Boot is to upgrade to Linux4Tegra R21.x (Linux PC or VM required) following the [quick start guide](http://developer.download.nvidia.com/embedded/L4T/r21_Release_v4.0/l4t_quick_start_guide.txt).
   60: 
   61: # Modesetting
   62: 
   63: To be able to use the mode setting features of the Tegra DRM driver, you must use the xf86-video-modesetting driver. Put this in xorg.conf:
   64: 
   65: [[!template  id=programlisting text="""
   66: Section "Device"
   67:     Identifier "DRM Modesetting"
   68:     Driver "modesetting"
   69: EndSection
   70: """]]
   71: 
   72: # Links
   73: 
   74: - [NVIDIA Jetson TK1 development kit](https://developer.nvidia.com/jetson-tk1)
   75: - [Hardware documentation](https://developer.nvidia.com/hardware-design-and-development)
   76: - [Linux For Tegra](https://developer.nvidia.com/linux-tegra)

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb