History log of /src/sys/arch/evbarm/conf/RPI
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.97 09-Oct-2025 skrll

Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and
uses FDT.

In this first iteration some support is added for OLinuXino boards.

Thanks to Yuri Honegger for doing the vast majority of the work.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base thorpej-ifq-base thorpej-altq-separation-base
# 1.96 09-Feb-2023 abs

Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.95 17-Jan-2022 thorpej

Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18). Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.94 23-Nov-2020 rin

Support EARLYCONS and VERBOSE_INIT_ARM for Raspberry Pi Zero W, for
which mini UART should be used instead of PL011 UART.


# 1.93 30-Oct-2020 rin

branches: 1.93.2;
Add bigger console font for modern displays.


# 1.92 30-Oct-2020 rin

Add smscphy(4).


# 1.91 18-May-2020 jmcneill

Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1
# 1.90 18-Apr-2020 skrll

PMAP_DEBUG has been deleted on arm


Revision tags: phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.89 26-Jan-2020 mlelstv

branches: 1.89.4;
Add builtin WiFi and Bluetooth.


Revision tags: ad-namecache-base2
# 1.88 19-Jan-2020 thorpej

Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.87 22-Jun-2019 skrll

branches: 1.87.4;
Rename watchdog -> bcmpmwdog and sdhost to bcmsdhost


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.86 09-Mar-2019 skrll

Add DTS for Raspberry Pi Compute Module IO board rev1


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.85 18-Oct-2018 skrll

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors. AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested. Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.84 01-Aug-2018 maxv

Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).


Revision tags: pgoyette-compat-0728
# 1.83 04-Jul-2018 gdt

RPI: remove commented-out pseudodevices

Remove a number of commented out pseudodevice lines that are
duplicative with GENERIC.common. Othewise, someone might think it
reasonable to uncomment or add them.

For now, a number of pseudodevices that are not in GENERIC.common
remain, pending comments on the larger-scale rototill.


# 1.82 01-Jul-2018 skrll

Add bcm2835-rpi-zero-w.dts and bcm2837-rpi-3-b-plus.dts as appropriate

PR/53284 - Support RPI3B+,RPI0W,RPI2-1.2


# 1.81 30-Jun-2018 jmcneill

Attach simplebus on pass 0


# 1.80 30-Jun-2018 jmcneill

cpus: use fdt_add_bus


# 1.79 30-Jun-2018 jmcneill

Allow nodes to attach child devices using the same sorting rules as used
by the simplebus driver.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.78 10-Dec-2017 skrll

branches: 1.78.2; 1.78.4;
FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this.

The kernel image that the RPI firmware boots is now netbsd.img in the
kernel build directory.

XXX fdtbus_get_reg needs reworking


Revision tags: tls-maxphys-base-20171202
# 1.77 05-Nov-2017 skrll

Disable USB_DEBUG by default


Revision tags: nick-nhusb-base-20170825
# 1.76 11-Aug-2017 jmcneill

attach audio at audiobus (for pad)


# 1.75 10-Aug-2017 nat

Add bluetooth serial uart devices.

RPI3 on-board bluetooth controller works with the bthfive pseudo-device.


# 1.74 30-Jul-2017 jmcneill

Add support for BCM2835 AUX UART.


# 1.73 30-Jul-2017 jmcneill

enable sdhost driver (ok skrll@)


# 1.72 30-Jul-2017 jmcneill

Add driver for the bcm2835 internal SD controller. On boards with SDIO
Wi-Fi, the internal SD controller is used for the SD card slot and the
Arasan SDHCI controller is used for SDIO.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
# 1.71 13-Dec-2016 christos

wildcard speaker attachments, now that we can handle many of them.


# 1.70 10-Dec-2016 christos

remove VAUDIOSPEAKER for now, will be done differently.


# 1.69 08-Dec-2016 nat

Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104
# 1.68 18-Oct-2016 aymeric

add commented out entry to attach Pi Face Real Time Clock


Revision tags: nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.67 22-Apr-2016 christos

branches: 1.67.2;
undo unintended commit


# 1.66 22-Apr-2016 christos

Elide unused variable warnings (Felix Deichmann)


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.65 04-Oct-2015 skrll

Fix commented out USB HC debug options. RPI doesn't have [eo]hci.


Revision tags: nick-nhusb-base-20150921
# 1.64 18-Aug-2015 phx

MI driver for the Microchip 3x0x series of SAR analog to digital converters.


Revision tags: nick-nhusb-base-20150606
# 1.63 18-Apr-2015 skrll

Remove dmover(9) references


# 1.62 18-Apr-2015 skrll

Use GENERIC.common


Revision tags: nick-nhusb-base-20150406
# 1.61 14-Mar-2015 jmcneill

re-add ARM11_COMPAT_MMU, lost in the rpi2 shuffle


# 1.60 28-Feb-2015 skrll

Initial RPI2 support - it doesn't work yet. The generic timer gets messed
up somehow.

This commit changes the KVA layout of the RPI.


Revision tags: nick-nhusb-base
# 1.59 08-Nov-2014 skrll

branches: 1.59.2;
Move some options into std.rpi


# 1.58 12-Oct-2014 macallan

add commented out entry for linksprite's RTC module


# 1.57 11-Oct-2014 uebayasi

Device midi attachment where the evil usbdevices.config is included.


# 1.56 03-Oct-2014 skrll

Introduce RPI_HWCURSOR and default to off. The existing code causes
problems with vchiq at the moment.


# 1.55 25-Sep-2014 jakllsch

enable NFS root FS support in RPI


# 1.54 22-Sep-2014 skrll

Re-enable bcmdmac by popular demand. It works now too.


# 1.53 13-Sep-2014 skrll

Make emmc use of dma controller optional and disable the bcmdmac for now.

It doesn't work for me.


# 1.52 12-Sep-2014 jmcneill

enable bcmdmac, now required by sdhc


# 1.51 07-Sep-2014 jmcneill

add bcmdmac0, commented out until something uses it


# 1.50 05-Sep-2014 skrll

Copy the list of PHYs from elsewhere.

XXX sys/dev/mii/miidevices.config anyone?


# 1.49 23-Aug-2014 dholland

Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.


# 1.48 17-Aug-2014 joerg

Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.


# 1.47 16-Aug-2014 apb

Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.46 03-Aug-2014 martin

branches: 1.46.2;
Add COMPAT_NETBSD32 to more kernels (we have too many)


# 1.45 27-Jul-2014 dholland

"internally consistency checks" -> "internal consistency checks"


Revision tags: yamt-pagecache-base9 rmind-smpnet-nbase rmind-smpnet-base
# 1.44 22-Apr-2014 kardel

add a driver for BCM2835 obio gpio


# 1.43 06-Apr-2014 kardel

add Microchip MCP23S17 GPIO driver
(via SPI interface)


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.42 31-Jan-2014 skrll

branches: 1.42.2;
More symbols


# 1.41 15-Oct-2013 skrll

Switch to dwctwo(4) from dotg(4) for the RaspberryPi port. This brings
DMA support and (initial) isoc transfer support.

Remove URTWN_DOTG_WORKAROUND as dwctwo doesn't appear to need it.


# 1.40 12-Aug-2013 matt

bump symtab space


# 1.39 11-Aug-2013 riz

Bump symtab space.


# 1.38 07-Aug-2013 skrll

Fix stale comment


# 1.37 28-Jul-2013 skrll

Enable PUFFS


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
# 1.36 30-Jun-2013 rmind

G/C PFIL_HOOKS from the kernel configs.


# 1.35 28-Jun-2013 matt

branches: 1.35.2;
Make this like all other INSTALL files. Override RAMDISKNAME to sshramdisk


# 1.34 05-Jun-2013 christos

remove obsolete networking options


# 1.33 15-May-2013 reinoud

Add missing filesystems in the filesystem list but comment them out.
Add missing KGDB options needed for KGDB working


# 1.32 07-May-2013 skrll

Enable putter. Shoot me now.


# 1.31 17-Apr-2013 reinoud

Enable VCONS_DRAW_INTR speeding up the graphic console of the RPi
significantly!


# 1.30 25-Mar-2013 jmcneill

enable vchiq, add vcaudio and audio drivers


# 1.29 24-Mar-2013 jmcneill

add drvctl


Revision tags: agc-symver-base
# 1.28 08-Mar-2013 skrll

Disable vchiq for now.


# 1.27 08-Mar-2013 jmcneill

add vchiq0 at obio?


# 1.26 02-Mar-2013 christos

Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.


# 1.25 01-Mar-2013 joerg

Retire OSI network stack. OK core@


# 1.24 21-Feb-2013 skrll

Add PCVT compat (for X console switching) and SYSCONS for some more
ioctls.


# 1.23 25-Jan-2013 jmcneill

add bcmrng


Revision tags: yamt-pagecache-base8
# 1.22 21-Jan-2013 jakllsch

Change the root device to '?' instead of 'ld0a'.
This was overriding the root=device passed in on the kernel command line.


# 1.21 11-Jan-2013 skrll

Bump SYMTAB_SPACE


# 1.20 10-Jan-2013 jmcneill

enable framebuffer console driver


# 1.19 09-Jan-2013 skrll

Enable COMPAT_60


# 1.18 09-Jan-2013 skrll

Add ukphy


# 1.17 09-Jan-2013 skrll

Add/enable USB


# 1.16 09-Jan-2013 jmcneill

pull in RPI.local if it exists


# 1.15 09-Jan-2013 jmcneill

add genfb, disabled for now


# 1.14 08-Jan-2013 jakllsch

Add bcmspi(4) and bsciic(4) and subordinate busses.


# 1.13 07-Jan-2013 jmcneill

add vcmbox driver


# 1.12 19-Dec-2012 skrll

Add lockstat pseudo-device


Revision tags: yamt-pagecache-base7
# 1.11 30-Oct-2012 skrll

Comment out VERBOSE_INIT_ARM by default


Revision tags: yamt-pagecache-base6
# 1.10 17-Oct-2012 apb

branches: 1.10.2;
Add commented out "#options COMPAT_60" to all kernel configuration files
that already had commented out "#options COMPAT_50".


# 1.9 03-Oct-2012 skrll

Add a bunch of pseudodevices and LOCKDEBUG. All commented out.


# 1.8 11-Sep-2012 msaitoh

branches: 1.8.2;
Add PUFFS, putter and fss.


# 1.7 01-Sep-2012 jakllsch

When we do get a working and stable USB HCD,
we'll want to use usbdevices.config.


# 1.6 01-Sep-2012 matt

Bump up SYMTAB_SPACE


# 1.5 20-Aug-2012 skrll

Better/different/consistent wscons colours.


# 1.4 20-Aug-2012 skrll

First pass at a VC mailbox driver.


# 1.3 17-Aug-2012 abs

Ensure all WSDISPLAY_COMPAT_USL entries have same comment


# 1.2 16-Aug-2012 jakllsch

What was MEMSIZE is now determined automatically. Remove MEMSIZE.


# 1.1 26-Jul-2012 skrll

branches: 1.1.2;
Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.