File:  [NetBSD Developer Wiki] / wikisrc / ports / evbarm.mdwn
Revision 1.87: download - view: text, annotated - select for diffs
Sat Feb 15 21:08:38 2020 UTC (4 months, 3 weeks ago) by aymeric
Branches: MAIN
CVS tags: HEAD
Link to new DE0 Nano SoC page

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

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