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: - AS3722 power management unit
38:
39:
40: # TODO
41: - Analog audio output (I2S, Audio codec, APB DMA)
42: - GPU (nouveau)
43: - USB 3.0 [[!template id=man name="xhci" section="4"]] controller
44: - SPI controller
45: - PWM controller
46: - PCIe MSI support
47:
48: # Generating a boot script
49:
50: [[!template id=programlisting text="""
51: $ cat boot.txt
52: setenv bootargs root=ld1a
53: fatload mmc 1:1 0x90000000 netbsd.ub
54: bootm 0x90000000
55: $ mkubootimage -A arm -C none -O netbsd -T script -a 0 -n "NetBSD/tegra boot" boot.txt boot.scr
56: """]]
57:
58: # Getting U-Boot
59:
60: 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).
61:
62: # Modesetting
63:
64: 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:
65:
66: [[!template id=programlisting text="""
67: Section "Device"
68: Identifier "DRM Modesetting"
69: Driver "modesetting"
70: EndSection
71: """]]
72:
73: # Links
74:
75: - [NVIDIA Jetson TK1 development kit](https://developer.nvidia.com/jetson-tk1)
76: - [Hardware documentation](https://developer.nvidia.com/hardware-design-and-development)
77: - [Linux For Tegra](https://developer.nvidia.com/linux-tegra)
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb