Diff for /wikisrc/ports/evbarm/raspberry_pi.mdwn between versions 1.96 and 1.100

version 1.96, 2018/11/06 17:34:03 version 1.100, 2018/11/06 18:16:43
Line 52  Initial, limited, Raspberry Pi support w Line 52  Initial, limited, Raspberry Pi support w
   
 Note that one can run earmv6hf userland code on the 2 and 3.  In theory the code compiled for earmv7hf will be faster. \todo Benchmark and explain.  \todo Explain if one can run the earmv6hf RPI2 kernel on RPI1.  \todo Explain if the earmv6hf rpi.img.gz will run on a RPI2/3.  Note that one can run earmv6hf userland code on the 2 and 3.  In theory the code compiled for earmv7hf will be faster. \todo Benchmark and explain.  \todo Explain if one can run the earmv6hf RPI2 kernel on RPI1.  \todo Explain if the earmv6hf rpi.img.gz will run on a RPI2/3.
   
   \todo Explain if one can run "eb" variants.  (However, using eb is likely to find more bugs because almost everyone uses el.  That can either be a reason to run it or not run it.)
   
 \todo Explain if systems built with earm or earmv5 will work on RPI or RPI2/3.  \todo Explain if systems built with earm or earmv5 will work on RPI or RPI2/3.
   
 See also [[NetBSD/aarch64|aarch64]] for running the Pi 2/3 in 64-bit mode.  See also [[NetBSD/aarch64|aarch64]] for running the Pi 2/3 in 64-bit mode.
Line 147  every few weeks. Line 149  every few weeks.
   
  - [https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README](https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README)   - [https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README](https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README)
   
   ## Configuring 802.11
   
   After installation, the Ethernet will function as on any other NetBSD system; simply enable dhcpcd or configure a static address.  USB WiFi devices will also function as on any other NetBSD system; in addition to dhcpcd or static, configure and enable wpa_supplicant.
   
   Note that the built-in WiFi in the RPI3 is not yet supported.   USB WiFi interfaces (that work on NetBSD in general) should all work.  In particular, the following are known to work:
   
    - urtwn0: Realtek (0xbda) 802.11n WLAN Adapter (0x8176), rev 2.00/2.00, addr 5, MAC/BB RTL8188CUS, RF 6052 1T1R
   
 ## Links  ## Links
   
 The following pages have been published by NetBSD community members.  (Note that some of them are old.)  The following pages have been published by NetBSD community members.  (Note that some of them are old.)
Line 178  A section below describes the process of Line 188  A section below describes the process of
   
 \todo Explain where the firmware is in the source tree, and if it is in the installed system image (such as /usr/mdec).  Explain how to update a system (presumably /boot) from either an installed system's new firmware files, or the source tree.  Explain any particular cautions.  \todo Explain where the firmware is in the source tree, and if it is in the installed system image (such as /usr/mdec).  Explain how to update a system (presumably /boot) from either an installed system's new firmware files, or the source tree.  Explain any particular cautions.
   
   \todo Explain if using updated firmware from one branch (e.g. netbsd-current) on a system using a different branch (e.g. netbsd-8) is safe.  Explain if pullups are done to release branches with new firmware.
   
 ## Booting  ## Booting
   
 The device boots by finding a file "bootcode.bin".   The primary location is a FAT32 partition on the uSD card, and an additional location is on a USB drive.  See the [upstream documentation on booting](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/) and read all the subpages.  The device boots by finding a file "bootcode.bin".   The primary location is a FAT32 partition on the uSD card, and an additional location is on a USB drive.  See the [upstream documentation on booting](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/) and read all the subpages.
Line 193  A third approach, workable on the Pi 3 o Line 205  A third approach, workable on the Pi 3 o
   
 \todo Explain USB enumeration and how to ensure that the correct boot and root devices are found if one has e.g. a small SSD for the system and a big disk.  \todo Explain USB enumeration and how to ensure that the correct boot and root devices are found if one has e.g. a small SSD for the system and a big disk.
   
 # Wireless Networking  
   
 Note that the built-in WiFi in the RPI3 is not yet supported.   USB WiFi interfaces (that work on NetBSD in general) should all work.  
   
  - A Realtek 802.11n USB adaptor configures as urtwn(4).  
    - Configure with wpa_supplicant in /etc/rc.conf -  
   
            ifconfig_urtwn0=dhcp  
            dhcpcd=YES  
            dhcpcd_flags="-q -b"  
            wpa_supplicant=YES  
            wpa_supplicant_flags="-B -i urtwn0 -c /etc/wpa_supplicant.conf"  
    - A sample wpa_supplicant.conf can be found at /usr/share/examples/wpa_supplicant/wpa_supplicant.conf  
   
 # X11 and GPU  # X11 and GPU
   
 ## Console font  ## Console font
Line 271  anita has support for evbarm.  Install q Line 269  anita has support for evbarm.  Install q
   
 \todo Explain how to select various RPI models to emulate.  \todo Explain how to select various RPI models to emulate.
 \todo Explain about how DTB works.  \todo Explain about how DTB works.
   \todo Give a command line example to run qemu (without anita).

Removed from v.1.96  
changed lines
  Added in v.1.100


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