Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# $NetBSD: NITROGEN6X,v 1.23.2.1 2019/08/15 09:49:49 martin Exp $
#
# Nitrogen6X
# - http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/
#

include	"arch/evbarm/conf/std.nitrogen6"
include	"arch/evbarm/conf/GENERIC.common"

# Board Type
options 	EVBARM_BOARDTYPE=nitrogen6x

# CPU options
options 	CPU_CORTEX
options 	CPU_CORTEXA9
options 	IMX6
options 	MULTIPROCESSOR

# Standard system options

#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	KGDB
makeoptions	DEBUG="-g"		# compile full symbol table
makeoptions	COPY_SYMTAB=1

# Device options

# Console options.    also need IMXUARTCONSOLE
options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x021e8000,CONSPEED=115200

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

#
# Device configuration
#

mainbus0	at root

cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0 	at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
arma9tmr0	at armperiph?		# A9 Global Timer
#arma9wdt0	at armperiph? flags 0	# A9 Watchdog Timer

axi0		at mainbus?

# Enhanced Periodic Interrupt Timer
#imxclock0	at axi? addr 0x020d0000 irq 88
#imxclock1	at axi? addr 0x020d4000 irq 89

# GPIO
imxgpio0	at axi? addr 0x0209c000 irqbase 256 irq 98
imxgpio1	at axi? addr 0x020a0000 irqbase 288 irq 100
imxgpio2	at axi? addr 0x020a4000 irqbase 320 irq 102
imxgpio3	at axi? addr 0x020a8000 irqbase 352 irq 104
imxgpio4	at axi? addr 0x020ac000 irqbase 384 irq 106
imxgpio5	at axi? addr 0x020b0000 irqbase 416 irq 108
imxgpio6	at axi? addr 0x020b4000 irqbase 448 irq 110
gpio*		at imxgpio?

# Clock Control
imxccm0		at axi? addr 0x020c4000

# On-Chip OTP Controller
imxocotp0	at axi? addr 0x021bc000

# Secure Non-Volatile Storage
imxsnvs0	at axi? addr 0x020cc000

# IOMUX
imxiomux0	at axi? addr 0x020e0000

# WatchDog
imxwdog0	at axi? addr 0x020bc000 irq 112 flags 0
#imxwdog1	at axi? addr 0x020c0000 irq 113 flags 0

# Serial
imxuart0	at axi? addr 0x02020000 irq 58		# UART1
imxuart1	at axi? addr 0x021e8000 irq 59		# UART2
#imxuart2	at axi? addr 0x021ec000 irq 60		# UART3
#imxuart3	at axi? addr 0x021f0000 irq 61		# UART4
#imxuart4	at axi? addr 0x021f4000 irq 62		# UART5
options 	IMXUARTCONSOLE

# SATA
ahcisata*	at axi? addr 0x02200000 irq 71
atabus* 	at ahcisata? channel ?
wd*		at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown


# Network Interfaces
enet0		at axi? addr 0x02188000 irq 150		# iMX6 SoC Ethernet

# MII/PHY support
acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
atphy*	at mii? phy ?			# Attansic/Atheros PHYs
bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
exphy*	at mii? phy ?			# 3Com internal PHYs
gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
gphyter* at mii? phy ?			# NS83861 Gig-E PHY
icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
igphy*	at mii? phy ?			# Intel IGP01E1000
ihphy*	at mii? phy ?			# Intel 82577 PHYs
ikphy*	at mii? phy ?			# Intel 82563 PHYs
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*	at mii? phy ?			# Intel 82553 PHYs
lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
micphy* at mii? phy ?			# Micrel KSZ9021RNI PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
nsphyter* at mii? phy ?			# NS83843 PHYs
pnaphy* at mii? phy ?			# generic HomePNA PHYs
qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
rgephy* at mii? phy ?			# Realtek 8169S/8110 internal PHYs
rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
tlphy*	at mii? phy ?			# ThunderLAN PHYs
tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs
urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs

# USB Controller and Devices
imxusbphy0	at axi? addr 0x020c9000
imxusbphy1	at axi? addr 0x020ca000
imxusbc0	at axi? addr 0x02184000
ehci0		at imxusbc0 unit 0 irq 75	# OTG
ehci1		at imxusbc0 unit 1 irq 72	# Host1
#ehci2		at imxusbc0 unit 2 irq 73	# Host2
#ehci3		at imxusbc0 unit 3 irq 74	# Host3

usb*		at ehci?

# USB device drivers
include "dev/usb/usbdevices.config"

midi*		at midibus?

# SD/MMC controller
#sdhc0		at axi? addr 0x02190000 irq 54		# uSDHC1
#sdhc1		at axi? addr 0x02194000 irq 55		# uSDHC2
sdhc2		at axi? addr 0x02198000 irq 56		# uSDHC3
sdhc3		at axi? addr 0x0219c000 irq 57		# uSDHC4
sdmmc*		at sdhc?
#options 	SDHC_DEBUG
#options 	SDMMC_DEBUG

ld*		at sdmmc?			# MMC/SD card