version 1.41, 2017/10/10 10:43:51
|
version 1.76, 2019/06/12 09:02:16
|
Line 1
|
Line 1
|
[[!template id=port |
[[!template id=port |
port="evbarm" |
port="evbarm" |
port_alt="arm" |
port_alt="arm" |
port_var1="arm" |
port_var1="earm" |
port_var2="armeb" |
port_var2="earmeb" |
port_var3="earm" |
port_var3="earmv6hf" |
port_var4="earmeb" |
port_var4="earmv7hf" |
port_var5="earmv6hf" |
port_var5="earmv7hfeb" |
port_var6="earmv7hf" |
port_var_install_notes="evbarm-earm" |
port_var7="earmv7hfeb" |
cur_rel="8.1" |
port_var_install_notes="evbarm-arm" |
future_rel="9.0" |
cur_rel="7.1" |
changes_cur="8.1" |
future_rel="8.0" |
changes_future="9.0" |
changes_cur="7.0" |
thumbnail="//www.netbsd.org/images/ports/evbarm/adi_brh.gif" |
changes_future="8.0" |
|
thumbnail="http://www.netbsd.org/images/ports/evbarm/adi_brh.gif" |
|
about=""" |
about=""" |
NetBSD/evbarm is the port of NetBSD to various evaluation and prototyping |
NetBSD/evbarm is the port of NetBSD to various evaluation and prototyping |
boards based on CPUs implementing the ARM architecture. NetBSD/evbarm also |
boards based on CPUs implementing the ARM architecture. NetBSD/evbarm also |
supports some specific embedded system products based on prototype board |
supports some specific embedded system products based on prototype board |
designs. |
designs. |
|
|
Matt Thomas is the maintainer of NetBSD/evbarm. |
### SSH configuration |
|
|
|
The default configuration will connect to the local network via DHCP and |
|
run an SSH server. In order to use the SSH server, we must configure |
|
users. This can be done by writing to the SD card's MS-DOS partition. |
|
|
|
Create a creds.txt file and use: |
|
|
|
useradd user password |
|
|
|
<!--TODO: Additional configuration options are available on creds_msdos.8--> |
|
|
|
### 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.) |
|
|
|
### anita and qemu |
|
|
|
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. |
|
|
|
- evbarm-earmv7hf uses "qemu-system-arm -M vexpress-a15" |
|
- evbarm-aarch64 uses "qemu-system-aarch64 -M virt" |
|
- Information on how to test emulated versions of other specific hardware is welcome. |
|
|
### Board specific information |
### Board specific information |
- [[Allwinner sunxi family SoCs|Allwinner]] |
- [[Allwinner sunxi family SoCs|Allwinner]] |
- [[BeagleBone and BeagleBone Black|BeagleBone]] |
- [[BeagleBone, BeagleBone Black, and PocketBeagle|BeagleBone]] |
- [[NVIDIA Tegra|Tegra]] |
- [[NVIDIA Tegra|Tegra]] |
- [[ODROID C1 and C1+|ODROID-C1]] |
- [[ODROID C1 and C1+|ODROID-C1]] |
- [[Raspberry Pi 1, 2 and 3|Raspberry Pi]] |
- [[Raspberry Pi 1, 2 and 3|Raspberry Pi]] |
Line 33 Matt Thomas is the maintainer of NetBSD/
|
Line 80 Matt Thomas is the maintainer of NetBSD/
|
|
|
supported_hardware=""" |
supported_hardware=""" |
|
|
**NOTE**: This list is incomplete. For a full list of configurations, please see the [evbarm kernel configs](http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/evbarm/conf/) directory in CVS. |
**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). |
|
|
[[!toc startlevel=3]] |
[[!toc startlevel=3]] |
|
|
Line 233 Support for NVIDIA [[Tegra]] K1 SoCs is
|
Line 280 Support for NVIDIA [[Tegra]] K1 SoCs is
|
### Raspberry Pi Foundation **Raspberry Pi**/**Raspberry Pi 2**/**Raspberry Pi 3** |
### 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. |
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. |
|
|
### Rockchip PX2/RK3066/RK3188/RK3188+ |
|
Various [[Rockchip]] family SoCs are supported by the ROCKCHIP kernel. |
|
|
|
### Samsung **SMDK2410** |
### Samsung **SMDK2410** |
|
|
The SMDK2410 is the reference platform for the Samsung **S3C2410** processor, |
The SMDK2410 is the reference platform for the Samsung **S3C2410** processor, |