Annotation of wikisrc/ports/evbarm.mdwn, revision 1.79

1.1       mspo        1: [[!template id=port
                      2: port="evbarm"
1.6       mspo        3: port_alt="arm"
1.49      leot        4: port_var1="earm"
                      5: port_var2="earmeb"
                      6: port_var3="earmv6hf"
                      7: port_var4="earmv7hf"
                      8: port_var5="earmv7hfeb"
                      9: port_var_install_notes="evbarm-earm"
1.70      martin     10: cur_rel="8.1"
1.48      martin     11: future_rel="9.0"
1.70      martin     12: changes_cur="8.1"
1.48      martin     13: changes_future="9.0"
1.71      leot       14: thumbnail="//www.netbsd.org/images/ports/evbarm/adi_brh.gif"
1.1       mspo       15: about="""
                     16: NetBSD/evbarm is the port of NetBSD to various evaluation and prototyping
                     17: boards based on CPUs implementing the ARM architecture. NetBSD/evbarm also
                     18: supports some specific embedded system products based on prototype board
                     19: designs.
                     20: 
1.42      gdt        21: ### CPU types
                     22: 
1.57      gdt        23: The evbarm port can be built with a variety of CPU options, corresponding to the
                     24: [large array of ARM CPU architectures](https://en.wikipedia.org/wiki/ARM_architecture#Cores).
                     25: There are
1.56      gdt        26: four main variables: the word size, the instruction set, the
                     27: endianness, and whether there is hardware floating point.  By default
1.68      gdt        28: the CPU type is "earm", and this implies aarch32 (32-bit), earmv5 cpu
1.56      gdt        29: architecture, little endian (el when explicitly stated), and soft
1.58      gdt        30: (Emulated) floating point.  Another example, suitable for Raspberry PI
1.56      gdt        31: 2, is earmv7hf, which is aarch32, the v7 instruction set, little
                     32: endian, and hardware floating point.
1.42      gdt        33: 
                     34: Typically, various boards are best compiled with a CPU type that
                     35: matches the board's CPU and floating point support, but generally a
                     36: lower CPU instruction set version is workable on a newer board.  See
                     37: build.sh and look for aliases for the evbarm port.
                     38: 
1.56      gdt        39: Through NetBSD 8, the evbarm port has supported exclusively the
                     40: aarch32 (32-bit CPU) sub-family of the ARM architecture.  Some
                     41: processors, such as many supporting the armv8 CPU architecture, also
                     42: support a 64-bit instruction set, referred to as aarch64.  This is
                     43: sometimes referred to as a distinct port, [[NetBSD/aarch64|aarch64]],
                     44: with code in src/sys/arch/aarch64, but it is built as the evbarm port
                     45: with aarch64 cpu type, and available as the alias evbarm64.
1.50      gdt        46: 
1.58      gdt        47: Note that MACHINE_ARCH=aarch64 currently refers to the A64 instruction
                     48: set and the aarch64 architecture, built for the armv8 architecture.
                     49: (Note also that armv8 is the first architecture to support aarch64, so
                     50: this will not be an issue until at least armv9.)
                     51: 
1.51      gdt        52: ### anita and qemu
                     53: 
1.52      gdt        54: anita can be used to test builds.  (In addition to anita, install qemu and dtb-arm-vexpress from pkgsrc.)   The release subdirectory should follow the naming convention on the autobuild cluster, used below.
1.54      gdt        55: 
1.55      gson       56:  - evbarm-earmv7hf uses "qemu-system-arm -M vexpress-a15"
                     57:  - evbarm-aarch64 uses "qemu-system-aarch64 -M virt"
1.53      gdt        58:  - Information on how to test emulated versions of other specific hardware is welcome.
1.51      gdt        59: 
1.78      gdt        60: ### invisible.ca builds
                     61: 
                     62: NetBSD developer Jared McNeill provides [builds of NetBSD-current for a vast variety of hardware.](https://www.invisible.ca/arm/)   In addition to the standard build, these images have board-specific uboot contents.  See also /usr/pkgsrc/sysutils/u-boot*.
                     63: 
1.27      wiki       64: ### Board specific information
1.38      wiki       65:  - [[Allwinner sunxi family SoCs|Allwinner]]
1.69      sevan      66:  - [[BeagleBone, BeagleBone Black, and PocketBeagle|BeagleBone]]
1.41      wiki       67:  - [[NVIDIA Tegra|Tegra]]
1.27      wiki       68:  - [[ODROID C1 and C1+|ODROID-C1]]
1.40      gdt        69:  - [[Raspberry Pi 1, 2 and 3|Raspberry Pi]]
1.27      wiki       70: 
1.77      gdt        71: ### SSH configuration for installtion
                     72: 
                     73: The default configuration will connect to the local network via DHCP and
                     74: run an SSH server. In order to use the SSH server, we must configure
                     75: users. This can be done by writing to the SD card's MS-DOS partition.
                     76: 
                     77: Create a creds.txt file and use:
                     78: 
                     79:            useradd user password
                     80: 
                     81: <!--TODO: Additional configuration options are available on creds_msdos.8-->
                     82: 
1.79    ! gdt        83: """
1.1       mspo       84: supported_hardware="""
1.11      wiki       85: 
1.75      maya       86: **NOTE**: This list is incomplete. For a full list of boards, please see the [GENERIC DTS files](http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/arch/evbarm/conf/GENERIC).
1.18      wiki       87: 
1.11      wiki       88: [[!toc startlevel=3]]
                     89: 
1.36      sevan      90: ### ADI Engineering **BRH** ("Big Red Head")
1.12      wiki       91: 
                     92: The BRH is an evaluation and development platform for the Intel **i80200**
                     93: XScale processor. The BRH is based on ADI's **BECC** ("Big Endian Companion
                     94: Chip"). The BRH is capable of both big- and little-endian operation, although
1.21      snj        95: NetBSD currently only supports little-endian operation.
1.12      wiki       96: 
                     97: Support for the BRH was written by Jason Thorpe, and contributed by Wasabi
                     98: Systems, Inc.
                     99: 
                    100:  * On-board NS16550-compatible serial ports (_com_)
                    101:  * On-board Intel i82559 Ethernet on the PCI bus (_fxp_)
                    102:  * On-chip timer on the BECC (used as system clock)
                    103:  * Other devices inserted into the PCI slot
1.5       wiki      104: 
1.12      wiki      105: The BRH comes with 128M of SDRAM. Systems with BECC revision 7 or less are
                    106: limited to 64M due to the layout of the PCI DMA windows. Users of these
                    107: systems should obtain an FPGA upgrade from ADI to revision 8 or later of the
                    108: BECC.
1.5       wiki      109: 
1.39      wiki      110: ### Allwinner Technology
1.15      wiki      111: Various boards based on [[Allwinner]] SoCs are supported, including the BananaPi, Cubieboard 2, Cubietruck, Cubieboard 4, and Merrii Hummingbird A31.
1.10      wiki      112: 
1.12      wiki      113: ### Arcom **Viper**
1.1       mspo      114: 
1.12      wiki      115: The Arcom Viper is a single board computer based on the PXA255 XScale
                    116: processor.
1.1       mspo      117: 
1.12      wiki      118: Support for the Arcom Viper was written by Antti Kantee.
1.1       mspo      119: 
1.12      wiki      120:  * On-chip timers (_saost_ used as system clock)
                    121:  * On-chip serial ports (_com_)
1.36      sevan     122:  * On-board SMC91C111 ethernet (_sm_)
1.1       mspo      123: 
1.3       wiki      124: ### ARM, Ltd. **Integrator**
1.1       mspo      125: 
                    126: The Integrator/AP is an ATX form-factor board that is used for development of
                    127: ARM processor-based designs. It supports up to four processors on plug-in core
                    128: modules, and provides clocks, a bus interface, and interrupt support. The
                    129: Integrator/AP also supports logic modules which provide additional
                    130: peripherals, and can accommodate up to three PCI expansion cards. The
                    131: Integrator/AP can also be inserted into a CompactPCI backplane.
                    132: 
                    133: Support for the Integrator was written by Richard Earnshaw, and contributed by
                    134: ARM, Ltd.
                    135: 
1.2       mspo      136:  * PrimeCell PL010 UARTs in the System Controller FPGA (_plcom_)
                    137:  * PrimeCell PL030 Real-time Clock in the System Controller FPGA (_plrtc_)
1.23      ryoon     138:  * PrimeCell PL181 MultiMedia Card Interface
1.2       mspo      139:  * Other devices inserted into the PCI expansion slots
1.1       mspo      140: 
1.12      wiki      141: ### Atmark Techno **Armadillo-9**
                    142: 
                    143: The Armadillo-9 is a single board computer based on the EP9315 processor.
                    144: 
                    145: Support for the Armadillo-9 was written by Katsuomi Hamajima.
                    146: 
                    147:  * On-CPU RS232 UARTs (2) (_epcom_)
                    148:  * On-CPU 10/100 Ethernet MAC (_epe_)
                    149:  * system clock from on-CPU timers (_epclk_)
                    150:  * CompactFlash socket (_eppcic_)
                    151:  * USB 1.1 ports (_ohci_)
                    152: 
1.19      wiki      153: ### BeagleBoard.org **BeagleBoard** and **BeagleBoard-xM**
                    154: The [[BeagleBoard]] is a low-power open-source hardware single-board computer from BeagleBoard.org.
                    155: 
                    156: ### BeagleBoard.org **BeagleBone** and **BeagleBone Black**
                    157: The [[BeagleBone]] is a low-cost credit-card-sized computer from BeagleBoard.org.
1.12      wiki      158: 
                    159: ### Gumstix, Inc. **gumstix**
                    160: 
                    161: The [gumstix](http://www.gumstix.com/) is a small form-factor motherboard
                    162: based on the PXA255 and PXA270 XScale processor. Supports only PXA255 now.
                    163: 
                    164: Support for the gumstix was written by KIYOHARA Takashi.
                    165: 
                    166:  * basix
                    167:  * cfstix
                    168:  * etherstix
                    169:  * netCF
                    170:  * netDUO
                    171:  * netDUO-mmc
1.36      sevan     172:  * netMMC
1.12      wiki      173: 
                    174: When booting, it is necessary to set these with u-boot dynamically.
                    175: 
                    176: <pre> > go 0xa0200000 busheader=basix</pre>
                    177: 
                    178:  * audiostix
                    179:  * console-st (waysmall - STUART)
                    180:  * console-hw (waysmall)
                    181:  * GPSstix (GPS not test)
                    182:  * tweener
                    183: 
1.26      wiki      184: ### Hardkernel ODROID-C1 and ODROID-C1+
1.16      wiki      185: 
                    186: The [[ODROID-C1]] is a quad core Cortex-A5 small form-factor board from Hardkernel co., Ltd.
                    187: 
1.36      sevan     188: ### Intel **DBPXA250** ("Lubbock")
1.12      wiki      189: 
                    190: DBPXA250 (a.k.a. Lubbock) is an evaluation and development platform for the
                    191: Intel **PXA250** XScale Core application processor. More information about the **DBPXA250** can be found at [Intel website](http://www.intel.com/design/pca/applicationsprocessors/swsup/index.htm).
                    192: 
                    193: Support for the **DBPXA250** was written by Hiroyuki Bessho, and contributed
                    194: by Genetec Corp.
                    195: 
                    196:  * On-chip timers (_saost_ used as system clock)
                    197:  * On-chip 2 serial port (_com_)
                    198:  * On-board SMC91C96 ethernet (_sm_)
                    199:  * On-board SA-1111 StrongArm companion chip (_sacc_)
                    200:  * PS/2 keyboard (_pckbd_)
                    201:  * 640x480 LCD (_lcd_)
                    202:  * PCMCIA and CF card slots
                    203: 
1.3       wiki      204: ### Intel **IQ31244**
1.1       mspo      205: 
                    206: The IQ31244 is a development platform for the Intel **IOP321** I/O Processor
                    207: chipset and the Intel **i31244** SATA controller.
                    208: 
                    209: Initial support for the IQ31244 was written by Jason Thorpe, and contributed
                    210: by Wasabi Systems, Inc.
                    211: 
1.2       mspo      212:  * Quad on-board Intel i31244 SATA controllers on the PCI-X bus (_artsata_)
                    213:  * On-board Intel i82546EB Gigabit Ethernet on the PCI-X bus (_wm_)
                    214:  * On-board NS16550-compatible serial port (_com_)
                    215:  * On-chip timers (TMR0 used as system clock)
                    216:  * On-chip Application Accelerator Unit (_iopaau_)
                    217:  * On-chip watchdog timer (_iopwdog_)
                    218:  * On-board compact flash reader (_wdc_)
                    219:  * Other devices inserted into the PCI-X expansion slot
1.1       mspo      220: 
1.3       wiki      221: ### Intel **IQ80310**
1.1       mspo      222: 
                    223: The IQ80310 is the reference platform for the Intel **IOP310** I/O Processor
                    224: chipset, which is comprised of the i80200 XScale processor and the i80312 I/O
                    225: Companion chip.
                    226: 
                    227: Support for the IQ80310 was written by Jason Thorpe and Allen Briggs, and
                    228: contributed by Wasabi Systems, Inc.
                    229: 
1.2       mspo      230:  * On-board Intel i82559 Ethernet on the PCI bus (_fxp_)
                    231:  * On-board timer in the CPLD (used as system clock)
                    232:  * On-board NS16550-compatible serial ports (_com_)
                    233:  * Other devices inserted into the PCI expansion slots
1.1       mspo      234: 
1.3       wiki      235: ### Intel **IQ80321**
1.1       mspo      236: 
                    237: The IQ80321 is the reference platform for the Intel **IOP321** I/O Processor
                    238: (i80321 XScale processor).
                    239: 
                    240: Support for the IQ80321 was written by Jason Thorpe, and contributed by Wasabi
                    241: Systems, Inc.
                    242: 
1.2       mspo      243:  * On-board Intel i82544EI Gigabit Ethernet on the PCI-X bus (_wm_)
                    244:  * On-board NS16550-compatible serial port (_com_)
                    245:  * On-chip timers (TMR0 used as system clock)
                    246:  * On-chip Application Accelerator Unit (_iopaau_)
                    247:  * On-chip watchdog timer (_iopwdog_)
                    248:  * Other devices inserted into the PCI-X expansion slots
1.1       mspo      249: 
1.3       wiki      250: ### Intel **IXM1200**
1.1       mspo      251: 
                    252: The IXM1200 is the reference platform for the Intel **IXP1200** Network
                    253: Processor.
                    254: 
                    255: Support for the IXM1200 was written by Ichiro FUKUHARA and Naoto Shimazaki.
                    256: 
1.2       mspo      257:  * On-board Intel i82559 Ethernet on the PCI bus (_fxp_)
                    258:  * On-board Intel i21555 Non-Transparent PCI-PCI Bridge (_nppb_)
                    259:  * On-chip timers (ixpclk0 used as system clock)
                    260:  * On-chip serial port (_ixpcom_)
1.1       mspo      261: 
1.36      sevan     262: ### NOVATEC **NTNP425B** ("ZAO425")
1.12      wiki      263: 
                    264: NTNP425B is an evaluation and development platform for the Intel **IXP425**
                    265: XScale Core NetworkProcessor. NTNP425B is based on the reference board of
                    266: Intel **IXDP425**. The **NTNP425B** is capable of only big-endian operation.
                    267: Since the library for micro-engine(NPE) offered from Intel Corp. is big-
                    268: endian. More information about the **NTNP425B** can be found on [product
                    269: catalogue of **NTNP425B**(2.5MB,PDF
                    270: file)](http://www.novatec.co.jp/NTNP425BBrochureE.pdf).
                    271: 
                    272: Support for the NTNP425B was written by Ichiro FUKUHARA.
                    273: 
                    274:  * On-chip timers (_ixpclk0_ used as system clock)
                    275:  * On-chip 2 serial port (_ixpcom0_ and _ixpcom1_)
                    276:  * Other devices inserted into the PCI/mPCI slot
                    277:  * On-chip watchdog timer (_ixpwdog_)
                    278: 
1.20      wiki      279: ### NVIDIA Tegra K1
1.37      snj       280: Support for NVIDIA [[Tegra]] K1 SoCs is present in NetBSD-current and
                    281: 8.0_BETA. The Jetson TK1 board is currently supported.
1.20      wiki      282: 
1.40      gdt       283: ### Raspberry Pi Foundation **Raspberry Pi**/**Raspberry Pi 2**/**Raspberry Pi 3**
                    284: The [[Raspberry Pi]] is a low-cost credit-card-sized computer from the Raspberry Pi Foundation.  The Raspberry Pi, Pi 2, and Pi 3 are supported.
1.12      wiki      285: 
1.3       wiki      286: ### Samsung **SMDK2410**
1.1       mspo      287: 
                    288: The SMDK2410 is the reference platform for the Samsung **S3C2410** processor,
                    289: which has an ARM920T core.
                    290: 
                    291: More information on the S3C2410 can be found at [Samsung Electronics web page]
                    292: (http://www.samsung.com/Products/Semiconductor/MobileSoC/ApplicationProcessor/
                    293: ARM9Series/S3C2410/S3C2410.htm).
                    294: 
                    295: Support for the SMDK2410 was written by Hiroyuki Bessho, and contributed by
                    296: Genetec Corp.
                    297: 
1.2       mspo      298:  * On-chip serial ports (_sscom_)
                    299:  * On-chip USB host controller (_ohc_)
                    300:  * On-chip timers (used as system clock)
                    301:  * On-chip SPI (_ssspi_, used for other on-board devices)
                    302:  * 240x320 TFT LCD (_lcd_)
                    303:  * keyboard. (_sskbd_)
1.1       mspo      304: 
1.3       wiki      305: ### Samsung **SMDK2800**
1.1       mspo      306: 
                    307: The SMDK2800 is the reference platform for the **Samsung S3C2800** processor,
                    308: which has an ARM920T core.
                    309: 
                    310: S3C2800 has built-in PCI controller, and SMDK2800 has three PCI slots.
                    311: 
                    312: Support for the SMDK2800 was written by Hiroyuki Bessho, and contributed by
                    313: Fujitsu Component Ltd., and Genetec Corp.
                    314: 
1.2       mspo      315:  * On-chip serial ports (_sscom_)
                    316:  * On-chip Host-PCI bridge (_sspci_)
                    317:  * On-chip timers (used as system clock)
1.36      sevan     318:  * Other devices inserted into the PCI slots
1.1       mspo      319: 
1.12      wiki      320: ### Team ASA, Inc. **Npwr**
1.1       mspo      321: 
1.12      wiki      322: The Npwr is an IOP310-based design targeted at the network-attached storage
                    323: space. The Npwr comes in several configurations (single or dual Gigabit
                    324: Ethernet, single or dual Ultra160 SCSI), and can be purchased as a bare board
                    325: or as a small server appliance. More information on the Npwr can be found at
                    326: the [Team ASA web page](http://www.teamasa.com/).
1.1       mspo      327: 
1.12      wiki      328: Support for the Npwr was written by Jason Thorpe and Allen Briggs, and
                    329: contributed by Wasabi Systems, Inc.
1.1       mspo      330: 
1.12      wiki      331:  * On-board Intel i82544 Gigabit Ethernet on the PCI bus (_wm_)
                    332:  * On-board LSI Logic 53c1010 Ultra160 SCSI on the PCI bus (_siop_)
                    333:  * On-board timer in the CPLD (used as system clock)
                    334:  * On-board NS16550-compatible serial port (_com_)
1.1       mspo      335: 
1.12      wiki      336: ### Technologic Systems **TS-7200**
1.1       mspo      337: 
1.12      wiki      338: The TS-7200 is a low-cost mass-produced PC/104 embedded single board computer
                    339: intended as a general purpose core for real embedded applications. The TS-7200
                    340: uses the Cirrus Logic EP9302 ARM9 system-on-chip and comes with a PC/104 (isa)
                    341: bus and can either boot to CompactFlash or onboard flash. The board also has
                    342: general purpose digital IO and optional multichannel analog-to-digital
                    343: converters. More information on the TS-7200 can be found at [Technologic
                    344: Systems](http://www.embeddedarm.com/epc/ts7200-spec-h.html).
1.1       mspo      345: 
1.12      wiki      346: Support for the TS-7200 was written by Jesse Off
1.1       mspo      347: 
1.12      wiki      348: * On-CPU RS232 UARTs (2) (_epcom_)
                    349: * On-CPU 10/100 Ethernet MAC (_epe_)
                    350: * CompactFlash socket (_wdc_)
                    351: * USB 1.1 ports (2) (_ohci_)
                    352: * Watchdog timer on CPLD (_tspld_)
                    353: * TMP124 high precision temperature sensor via sysctl
                    354: * 64Hz system clock from on-CPU timers (_epclk_)
                    355: * HD44780 2x24 text mode LCD (_tslcd_)
                    356: * 4x4 16 button matrix keypad (_wskbd_)
                    357: * TS-5620 battery backed RTC daughter-card (_tsrtc_)
                    358: * 1,2,4 port serial TS-SER daughter cards (_com_)
                    359: * Up to 4 10Mb TS-ETH10 daughter cards (_tscs_)
                    360: * Other devices inserted into the PC/104 (_isa_) expansion slot
1.1       mspo      361: 
                    362: """
1.13      wiki      363: additional="""
1.22      wiki      364:   * The [NetBSD Diskless HOWTO](http://www.netbsd.org/docs/network/netboot/)
1.36      sevan     365:   * [ Porting NetBSD/evbarm to the Arcom Viper](http://www.cs.hut.fi/~pooka/pubs/EuroBSDCon2005/viper.pdf), presented at EuroBSDCon 2005.
1.1       mspo      366: """
                    367: ]]
                    368: [[!tag tier1port]]

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