--- wikisrc/ports/evbarm.mdwn 2012/04/29 13:51:44 1.2 +++ wikisrc/ports/evbarm.mdwn 2019/06/02 13:32:38 1.71 @@ -1,46 +1,166 @@ [[!template id=port port="evbarm" -cur_rel="5.1.2" -future_rel="6.0" -changes_cur="5.0" -changes_future="6.0" -thumbnail="http://www.netbsd.org/images/ports/evbarm/adi_brh.gif" +port_alt="arm" +port_var1="earm" +port_var2="earmeb" +port_var3="earmv6hf" +port_var4="earmv7hf" +port_var5="earmv7hfeb" +port_var_install_notes="evbarm-earm" +cur_rel="8.1" +future_rel="9.0" +changes_cur="8.1" +changes_future="9.0" +thumbnail="//www.netbsd.org/images/ports/evbarm/adi_brh.gif" about=""" NetBSD/evbarm is the port of NetBSD to various evaluation and prototyping boards based on CPUs implementing the ARM architecture. NetBSD/evbarm also supports some specific embedded system products based on prototype board designs. -Jason Thorpe is the maintainer of NetBSD/evbarm. +Matt Thomas is the maintainer of NetBSD/evbarm. + +### CPU types + +The evbarm port can be built with a variety of CPU options, corresponding to the +[large array of ARM CPU architectures](https://en.wikipedia.org/wiki/ARM_architecture#Cores). +There are +four main variables: the word size, the instruction set, the +endianness, and whether there is hardware floating point. By default +the CPU type is "earm", and this implies aarch32 (32-bit), earmv5 cpu +architecture, little endian (el when explicitly stated), and soft +(Emulated) floating point. Another example, suitable for Raspberry PI +2, is earmv7hf, which is aarch32, the v7 instruction set, little +endian, and hardware floating point. + +Typically, various boards are best compiled with a CPU type that +matches the board's CPU and floating point support, but generally a +lower CPU instruction set version is workable on a newer board. See +build.sh and look for aliases for the evbarm port. + +Through NetBSD 8, the evbarm port has supported exclusively the +aarch32 (32-bit CPU) sub-family of the ARM architecture. Some +processors, such as many supporting the armv8 CPU architecture, also +support a 64-bit instruction set, referred to as aarch64. This is +sometimes referred to as a distinct port, [[NetBSD/aarch64|aarch64]], +with code in src/sys/arch/aarch64, but it is built as the evbarm port +with aarch64 cpu type, and available as the alias evbarm64. + +Note that MACHINE_ARCH=aarch64 currently refers to the A64 instruction +set and the aarch64 architecture, built for the armv8 architecture. +(Note also that armv8 is the first architecture to support aarch64, so +this will not be an issue until at least armv9.) + +#### ABI types + +There are two basic ABIs on ARM. One, called oabi, assumed a +particular kind of hardware floating point (FPA). This results in +faulting any floating-point instructions for kernel emulation on a +vast number of CPus, which is very slow. A newer one, called eabi, +has two variants. Both have stricter alignment rules, tending to 8 +byte rather than 4 bytes for 8-byte types (but actually read the specs +if you care). The one without "hf" emulates floating point without +causing traps/emulation, and "hf" uses VFP instructions, which are +present on modern CPUs. See the +[TS-7200](https://wiki.embeddedarm.com/wiki/EABI_vs_OABI) and +[Debian](https://wiki.debian.org/ArmEabiPort) documentation. + +Now, EABI is normal, and OABI is crufty. The only real reason NetBSD +retains OABI support is binary compatibility with older releases. The +"arm" and "armeb" MACHINE_ARCH targets are OABI; the rest of the +targets, all having "earm" are EABI. + +\todo CHECK THIS: The "aarch64" MACHINE_ARCH target is an EABI variant. + +### Relationship of MACHINE_ARCH to official ARM terminology + +Note that these are all little endian, and have big endian variants +with a "eb" suffix. Unless otherwise noted, all use the A32 or +aarch32 instruction set. + +[[!table data=< > go 0xa0200000 busheader=basix + + * audiostix + * console-st (waysmall - STUART) + * console-hw (waysmall) + * GPSstix (GPS not test) + * tweener + +### Hardkernel ODROID-C1 and ODROID-C1+ + +The [[ODROID-C1]] is a quad core Cortex-A5 small form-factor board from Hardkernel co., Ltd. + +### Intel **DBPXA250** ("Lubbock") + +DBPXA250 (a.k.a. Lubbock) is an evaluation and development platform for the +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). + +Support for the **DBPXA250** was written by Hiroyuki Bessho, and contributed +by Genetec Corp. + + * On-chip timers (_saost_ used as system clock) + * On-chip 2 serial port (_com_) + * On-board SMC91C96 ethernet (_sm_) + * On-board SA-1111 StrongArm companion chip (_sacc_) + * PS/2 keyboard (_pckbd_) + * 640x480 LCD (_lcd_) + * PCMCIA and CF card slots + +### Intel **IQ31244** The IQ31244 is a development platform for the Intel **IOP321** I/O Processor chipset and the Intel **i31244** SATA controller. @@ -73,7 +257,7 @@ by Wasabi Systems, Inc. * On-board compact flash reader (_wdc_) * Other devices inserted into the PCI-X expansion slot -* Intel **IQ80310** +### Intel **IQ80310** The IQ80310 is the reference platform for the Intel **IOP310** I/O Processor chipset, which is comprised of the i80200 XScale processor and the i80312 I/O @@ -87,7 +271,7 @@ contributed by Wasabi Systems, Inc. * On-board NS16550-compatible serial ports (_com_) * Other devices inserted into the PCI expansion slots -* Intel **IQ80321** +### Intel **IQ80321** The IQ80321 is the reference platform for the Intel **IOP321** I/O Processor (i80321 XScale processor). @@ -102,23 +286,7 @@ Systems, Inc. * On-chip watchdog timer (_iopwdog_) * Other devices inserted into the PCI-X expansion slots -* Team ASA, Inc. **Npwr** - -The Npwr is an IOP310-based design targeted at the network-attached storage -space. The Npwr comes in several configurations (single or dual Gigabit -Ethernet, single or dual Ultra160 SCSI), and can be purchased as a bare board -or as a small server appliance. More information on the Npwr can be found at -the [Team ASA web page](http://www.teamasa.com/). - -Support for the Npwr was written by Jason Thorpe and Allen Briggs, and -contributed by Wasabi Systems, Inc. - - * On-board Intel i82544 Gigabit Ethernet on the PCI bus (_wm_) - * On-board LSI Logic 53c1010 Ultra160 SCSI on the PCI bus (_siop_) - * On-board timer in the CPLD (used as system clock) - * On-board NS16550-compatible serial port (_com_) - -* Intel **IXM1200** +### Intel **IXM1200** The IXM1200 is the reference platform for the Intel **IXP1200** Network Processor. @@ -130,7 +298,31 @@ Support for the IXM1200 was written by I * On-chip timers (ixpclk0 used as system clock) * On-chip serial port (_ixpcom_) -* Samsung **SMDK2410** +### NOVATEC **NTNP425B** ("ZAO425") + +NTNP425B is an evaluation and development platform for the Intel **IXP425** +XScale Core NetworkProcessor. NTNP425B is based on the reference board of +Intel **IXDP425**. The **NTNP425B** is capable of only big-endian operation. +Since the library for micro-engine(NPE) offered from Intel Corp. is big- +endian. More information about the **NTNP425B** can be found on [product +catalogue of **NTNP425B**(2.5MB,PDF +file)](http://www.novatec.co.jp/NTNP425BBrochureE.pdf). + +Support for the NTNP425B was written by Ichiro FUKUHARA. + + * On-chip timers (_ixpclk0_ used as system clock) + * On-chip 2 serial port (_ixpcom0_ and _ixpcom1_) + * Other devices inserted into the PCI/mPCI slot + * On-chip watchdog timer (_ixpwdog_) + +### NVIDIA Tegra K1 +Support for NVIDIA [[Tegra]] K1 SoCs is present in NetBSD-current and +8.0_BETA. The Jetson TK1 board is currently supported. + +### Raspberry Pi Foundation **Raspberry Pi**/**Raspberry Pi 2**/**Raspberry Pi 3** +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. + +### Samsung **SMDK2410** The SMDK2410 is the reference platform for the Samsung **S3C2410** processor, which has an ARM920T core. @@ -149,7 +341,7 @@ Genetec Corp. * 240x320 TFT LCD (_lcd_) * keyboard. (_sskbd_) -* Samsung **SMDK2800** +### Samsung **SMDK2800** The SMDK2800 is the reference platform for the **Samsung S3C2800** processor, which has an ARM920T core. @@ -162,117 +354,54 @@ Fujitsu Component Ltd., and Genetec Corp * On-chip serial ports (_sscom_) * On-chip Host-PCI bridge (_sspci_) * On-chip timers (used as system clock) - * Other devices inserted into the PCI slots + * Other devices inserted into the PCI slots -* ADI Engineering **BRH** ("Big Red Head") - -The BRH is an evaluation and development platform for the Intel **i80200** -XScale processor. The BRH is based on ADI's **BECC** ("Big Endian Companion -Chip"). The BRH is capable of both big- and little-endian operation, although -NetBSD currently only supports little-endian operation. More information about -the BRH can be found on [ADI Engineering's web -page](http://www.adiengineering.com/productsBRH.html). - -Support for the BRH was written by Jason Thorpe, and contributed by Wasabi -Systems, Inc. - - * On-board NS16550-compatible serial ports (_com_) - * On-board Intel i82559 Ethernet on the PCI bus (_fxp_) - * On-chip timer on the BECC (used as system clock) - * Other devices inserted into the PCI slot - -The BRH comes with 128M of SDRAM. Systems with BECC revision 7 or less are -limited to 64M due to the layout of the PCI DMA windows. Users of these -systems should obtain an FPGA upgrade from ADI to revision 8 or later of the -BECC. +### Team ASA, Inc. **Npwr** -* NOVATEC **NTNP425B** ("ZAO425") - -NTNP425B is an evaluation and development platform for the Intel **IXP425** -XScale Core NetworkProcessor. NTNP425B is based on the reference board of -Intel **IXDP425**. The **NTNP425B** is capable of only big-endian operation. -Since the library for micro-engine(NPE) offered from Intel Corp. is big- -endian. More information about the **NTNP425B** can be found on [product -catalogue of **NTNP425B**(2.5MB,PDF -file)](http://www.novatec.co.jp/NTNP425BBrochureE.pdf). - -Support for the NTNP425B was written by Ichiro FUKUHARA. - - * On-chip timers (_ixpclk0_ used as system clock) - * On-chip 2 serial port (_ixpcom0_ and _ixpcom1_) - * Other devices inserted into the PCI/mPCI slot - * On-chip watchdog timer (_ixpwdog_) - -* Intel **DBPXA250** ("Lubbock") - -DBPXA250 (a.k.a. Lubbock) is an evaluation and development platform for the -Intel **PXA250** XScale Core application processor. More information about the -**DBPXA250** can be found at [Intel web -site](http://www.intel.com/design/pca/applicationsprocessors/swsup/index.htm). - -Support for the **DBPXA250** was written by Hiroyuki Bessho, and contributed -by Genetec Corp. - - * On-chip timers (_saost_ used as system clock) - * On-chip 2 serial port (_com_) - * On-board SMC91C96 ethernet (_sm_) - * On-board SA-1111 StrongArm companion chip (_sacc_) - * PS/2 keyboard (_pckbd_) - * 640x480 LCD (_lcd_) - * PCMCIA and CF card slots - -* Arcom **Viper** - -The Arcom Viper is a single board computer based on the PXA255 XScale -processor. - -Support for the Arcom Viper was written by Antti Kantee. - - * On-chip timers (_saost_ used as system clock) - * On-chip serial ports (_com_) - * On-board SMC91C111 ethernet (_sm_) - -* Atmark Techno **Armadillo-9** - -The Armadillo-9 is a single board computer based on the EP9315 processor. - -Support for the Armadillo-9 was written by Katsuomi Hamajima. - - * On-CPU RS232 UARTs (2) (_epcom_) - * On-CPU 10/100 Ethernet MAC (_epe_) - * system clock from on-CPU timers (_epclk_) - * CompactFlash socket (_eppcic_) - * USB 1.1 ports (_ohci_) +The Npwr is an IOP310-based design targeted at the network-attached storage +space. The Npwr comes in several configurations (single or dual Gigabit +Ethernet, single or dual Ultra160 SCSI), and can be purchased as a bare board +or as a small server appliance. More information on the Npwr can be found at +the [Team ASA web page](http://www.teamasa.com/). -* Gumstix, Inc. **gumstix** +Support for the Npwr was written by Jason Thorpe and Allen Briggs, and +contributed by Wasabi Systems, Inc. -The [gumstix](http://www.gumstix.com/) is a small form-factor motherboard -based on the PXA255 and PXA270 XScale processor. Supports only PXA255 now. + * On-board Intel i82544 Gigabit Ethernet on the PCI bus (_wm_) + * On-board LSI Logic 53c1010 Ultra160 SCSI on the PCI bus (_siop_) + * On-board timer in the CPLD (used as system clock) + * On-board NS16550-compatible serial port (_com_) -Support for the gumstix was written by KIYOHARA Takashi. +### Technologic Systems **TS-7200** - * basix - * cfstix - * etherstix - * netCF - * netDUO - * netDUO-mmc - * netMMC +The TS-7200 is a low-cost mass-produced PC/104 embedded single board computer +intended as a general purpose core for real embedded applications. The TS-7200 +uses the Cirrus Logic EP9302 ARM9 system-on-chip and comes with a PC/104 (isa) +bus and can either boot to CompactFlash or onboard flash. The board also has +general purpose digital IO and optional multichannel analog-to-digital +converters. More information on the TS-7200 can be found at [Technologic +Systems](http://www.embeddedarm.com/epc/ts7200-spec-h.html). -When booting, it is necessary to set these with u-boot dynamically. +Support for the TS-7200 was written by Jesse Off -> go 0xa0200000 busheader=basix +* On-CPU RS232 UARTs (2) (_epcom_) +* On-CPU 10/100 Ethernet MAC (_epe_) +* CompactFlash socket (_wdc_) +* USB 1.1 ports (2) (_ohci_) +* Watchdog timer on CPLD (_tspld_) +* TMP124 high precision temperature sensor via sysctl +* 64Hz system clock from on-CPU timers (_epclk_) +* HD44780 2x24 text mode LCD (_tslcd_) +* 4x4 16 button matrix keypad (_wskbd_) +* TS-5620 battery backed RTC daughter-card (_tsrtc_) +* 1,2,4 port serial TS-SER daughter cards (_com_) +* Up to 4 10Mb TS-ETH10 daughter cards (_tscs_) +* Other devices inserted into the PC/104 (_isa_) expansion slot - * audiostix - * console-st (waysmall - STUART) - * console-hw (waysmall) - * GPSstix (GPS not test) - * tweener """ -aditional=""" - * The [NetBSD Diskless HOWTO](/docs/network/netboot/) - * [ Porting NetBSD/evbarm to the Arcom Viper](http://www.cs.hut.fi/~pooka/pubs/EuroBSDCon2005/viper.pdf), presented at EuroBSDCon 2005. +additional=""" + * The [NetBSD Diskless HOWTO](http://www.netbsd.org/docs/network/netboot/) + * [ Porting NetBSD/evbarm to the Arcom Viper](http://www.cs.hut.fi/~pooka/pubs/EuroBSDCon2005/viper.pdf), presented at EuroBSDCon 2005. """ ]] [[!tag tier1port]] -