Commit Graph

269 Commits

Author SHA1 Message Date
Nick Lee
3929227971 Convert all tabs into spaces (#70) 2017-10-30 12:20:14 +00:00
Pedro Simoes
b346f4edae Change console keyboard layout (#67)
Effective after reboot.
2017-10-30 12:11:57 +00:00
Nick Lee
1e0503af81 Allow entering SSID and passphrase (#68) 2017-10-27 07:49:33 +01:00
Serge Schneider
136190c50a Add option to enable predictable network interface names 2017-09-26 12:41:05 +01:00
Simon Long
d2ee57cb1c Only restart pigpiod if it is running. 2017-08-11 15:35:56 +01:00
Simon Long
0493c7ffe4 Enable and disable pigpiod daemon. 2017-08-11 14:48:00 +01:00
Simon Long
f8772a5fdc Keep splash screen with fake KMS. 2017-08-03 10:26:20 +01:00
Serge Schneider
4de44924cd Fix NOOBS config keyboard setup 2017-07-14 12:39:03 +01:00
Simon Long
fa78a52cda Make autologin settings for current user; remove initd support. 2017-07-14 10:21:07 +01:00
Serge Schneider
aeb5394eb6 Define memory split units
Fixes #31
2017-07-11 12:25:04 +01:00
Serge Schneider
bb605a2dd9 Include Raspberry Pi model as backtitle
Fixes #56
2017-07-11 12:21:15 +01:00
Serge Schneider
e1e3b3cf0f Fix wait for network option 2017-07-11 11:53:15 +01:00
Simon Long
a677daf849 Remove spurious sudo from apt-get. 2017-07-04 10:30:34 +01:00
Simon Long
1314529716 Modify default config for GL driver under stretch. 2017-06-27 10:58:44 +00:00
Simon Long
2a1675e06d Improve handling of x86 splash command line 2017-05-18 13:24:03 +01:00
Simon Long
febb2ef0c6 Merge branch 'master' of github.com:RPi-Distro/raspi-config 2017-05-03 11:28:42 +01:00
Simon Long
e3581aad6a Update splash screen handling to work with GRUB on x86. 2017-05-03 11:28:17 +01:00
Kenneth Jiang
1cefeec830 Use --follow-symlinks option in sed to keep symlink 2017-04-02 16:37:47 -07:00
spl
2b08ce80eb Added detection of Pi 0 W boards 2017-02-28 09:51:59 +00:00
Simon Long
b867597b73 Install RealVNC server if it is missing when enabled. 2017-02-23 18:18:18 +00:00
Simon Long
98887bc18d Check systemctl to determine current CLI/desktop boot status. 2017-02-17 15:55:35 +00:00
Simon Long
344417ec97 Allow use of compton with fkms GL driver; look for ARM in model name to determine platform. 2017-02-14 14:31:47 +00:00
Simon Long
83e19f4f54 Prevent setting keyboard language when logged in via SSH. 2017-01-27 15:29:05 +00:00
Simon Long
7de9b01ca2 Added option for fake KMS to GL driver switching. 2017-01-17 18:02:14 +00:00
spl
276370a1b1 Non-interactive setting of audio added. 2017-01-10 18:15:43 +00:00
spl
8555e8b524 Serial shell and hardware now independently switchable. 2017-01-10 18:11:31 +00:00
spl
17a715ad75 Do not allow splash screen to be changed for a live image. 2017-01-10 14:11:21 +00:00
spl
a972841271 Tidied usage of kernel command line arguments - still need to fix writing to them for x86. 2017-01-10 11:47:45 +00:00
spl
5ff61d3e11 Modified for compatibility with x86 systems. 2017-01-09 16:52:10 +00:00
Simon Long
d15dec8cbe Use compton instead of xcompmgr with GL driver. 2016-12-07 15:30:08 +00:00
Simon Long
4149c738c2 clear_config_var used to reset HDMI resolution. 2016-12-01 14:44:07 +00:00
Simon Long
a79f20557f Resolution over 1920x1200 removed from headless options. 2016-11-30 15:06:53 +00:00
Simon Long
c17e17e10f Interfaces menu added; display resolution setting added. 2016-11-30 14:48:48 +00:00
Simon Long
6f8012dd15 Disable splash screen when using GL driver. 2016-11-14 12:45:29 +00:00
Simon Long
31f0efc521 Modify sed strings for autologin detection to make them more robust against unexpected file contents. 2016-10-21 15:10:56 +01:00
Simon Long
f7b7829def Splash screen switching made more error-tolerant. 2016-10-11 09:33:02 +00:00
spl
7dae58a9cb Add option to enable and disable splash screen at boot; no longer automatic with CLI/GUI switch. 2016-09-29 14:21:53 +01:00
spl
215018fa5f Rastrack option removed. 2016-09-28 11:24:36 +01:00
spl
4dfec27209 Allow xcompmgr to use alpha when running GL driver. 2016-09-16 09:52:50 +01:00
Simon Long
bd21dedea3 Added control for VNC server. 2016-08-10 16:04:28 +01:00
Simon Long
70daf8bbb2 Modify splash screen enable / disable for Plymouth. 2016-08-10 16:03:53 +01:00
spl
3ac2ec08ff Disable splashscreen (if installed) unless booting to GUI.) 2016-07-15 15:45:38 +01:00
spl
0de0f6307c Enabling experimental GL driver modifies library path. 2016-06-09 15:09:05 +01:00
spl
137cafef51 Some function names changed for consistency. 2016-05-25 16:36:39 +01:00
spl
19e663c009 GL driver setting aligned with other functions. 2016-05-25 14:22:16 +01:00
spl
5fece9527a Functions to control remote GPIO and boot wait for network aligned with the rest. 2016-05-25 13:53:55 +01:00
spl
59649e8ba7 Tidied function to control remote GPIO access. 2016-05-25 13:21:58 +01:00
spl
1ff5c921f6 A lot of NOTs taken out of serial test. 2016-05-25 10:58:44 +01:00
spl
2670e6ee2b Status indications moved to end of some functions. 2016-05-24 18:35:46 +01:00
spl
c313d7417a Overscan description amended. 2016-05-24 17:53:44 +01:00
spl
30dc26d222 Check for fs expandability added; overscan function matches others. 2016-05-24 17:28:29 +01:00
spl
934fefebf2 Added more success / fail feedback to settings. 2016-05-24 13:01:17 +01:00
spl
a8a933ef64 Global check for mountpoint and existence of /boot/config.txt 2016-05-24 11:57:24 +01:00
spl
96c31754d7 Checking of initial state added for camera and 1-wire; unnecessary reboots removed. 2016-05-24 11:37:36 +01:00
spl
f60f081a6f Function to read hostname added. 2016-05-23 18:14:18 +01:00
spl
4547c5b259 Function added to get wifi country. 2016-05-23 17:43:13 +01:00
spl
1accb9fcc9 Functions to detect boot behaviour added. 2016-05-23 17:17:37 +01:00
spl
5fcbf6c177 Test functions added for remote GPIO and slow boot. 2016-05-23 14:54:26 +01:00
spl
03775acf7a Added some functions to read current state for use by rc_gui 2016-05-23 14:20:18 +01:00
spl
073e5620cf Requirement for reboot removed from SPI and I2C settings. 2016-05-19 15:11:12 +01:00
Simon Long
4b4ed9b91f Overlay file name changed for GL driver. 2016-05-06 19:17:31 +01:00
Simon Long
3e2a73012b Return code added to GPIO server function. 2016-05-06 19:17:31 +01:00
Simon Long
4636bd50fc Menu option to toggle device tree removed. 2016-05-06 18:58:20 +01:00
spl
2c138cf97e New method for testing whether serial is enabled. 2016-05-06 18:40:01 +01:00
spl
ba7865c9f4 Current state of serial i/f reflected in raspi-config. 2016-05-06 18:39:00 +01:00
spl
339d467e7e Unnecessary sudo removed. 2016-04-28 15:42:25 +01:00
spl
f8f0a5ef77 dtparam used instead of modprobe for SPI and I2C. 2016-04-28 15:42:20 +01:00
Serge Schneider
3e26c9b3b2 pigpio service renamed to pigpiod 2016-04-27 08:57:00 +01:00
spl
8af52bed39 UART switch added to serial; GPIO server public access finished. 2016-04-26 13:10:36 +01:00
spl
34a66bab0c Skeleton added for setting security state of GPIO server. 2016-04-26 13:10:36 +01:00
spl
a4397f7335 Reads in gpu_mem_<size> settings and clears them when writing. 2016-04-26 13:10:36 +01:00
Andrew Scheller
bcdfa348b3 Prevent errors when enabling "Fast" network boot multiple times
Fixes #17
2016-04-01 14:59:40 +01:00
spl
694e8536f3 1-wire interface control added. 2016-03-22 16:44:34 +00:00
spl
1becd779ed Wifi country code setting now creates wpa_supplicant.conf if it doesn't exist. 2016-03-22 16:43:32 +00:00
spl
858e438f70 Wifi setting in raspi-config can now be called in non-interactive mode. 2016-02-25 07:48:41 +00:00
spl
27d962dc7d Added wi-fi country setting to raspi-config 2016-02-25 07:48:41 +00:00
spl
acfd7db900 Mods to support new serial device alias in cmdline.txt. 2016-02-25 07:48:41 +00:00
spl
5ef7e7cbd7 Pi board checks now take account of warranty bits. 2016-02-09 16:16:49 +00:00
spl
ea2b690b38 raspi-config now checks for mesa driver before allowing GL driver to be enabled. 2016-02-09 13:56:16 +00:00
Simon Long
8fed014e86 Compute Module added to is_pione. 2016-02-01 12:27:55 +00:00
Simon Long
32191d23d5 Do not allow GL driver to be enabled on 2835-based Pis - it needs at least 1GB of RAM. 2016-01-25 12:29:41 +00:00
spl
31bc453040 Overclocking behaviour made board-specific. 2016-01-25 12:29:40 +00:00
spl
09aebddff6 GPU memory reset to default when GL driver enabled. 2016-01-21 11:11:57 +00:00
spl
4c8e349f87 GL driver option now checks that xcompmgr is installed. 2016-01-21 11:11:57 +00:00
spl
fa7563a0c0 Launch of simple compositor added when GL driver is enabled. 2016-01-21 11:11:57 +00:00
spl
48f83a0d94 Filename of V3d overlay corrected. 2016-01-21 11:11:57 +00:00
spl
eb3a9b8589 Option added to raspi-config to select experimental GL driver. 2016-01-19 13:56:36 +00:00
Serge Schneider
7cd570b63e Update URL 2016-01-08 10:41:39 +00:00
Serge Schneider
586bee19c9 Fix auto-login and typos 2016-01-08 10:30:24 +00:00
Serge Schneider
f2f919f0db raspi-config modified to remove config variables rather than set default values when overclocking 2015-11-17 11:38:23 +00:00
Serge Schneider
61bb3c381f Add wait for network option 2015-10-19 12:58:20 +01:00
Serge Schneider
11d3c8f85e 20150923 release 2015-09-24 14:03:13 +01:00
Serge Schneider
3f2491246d Add rc_gui support 2015-09-18 18:00:07 +01:00
Serge Schneider
208f03e708 Fix boot to desktop handling 2015-06-03 18:07:15 +01:00
Serge Schneider
7bc93a08c4 Load i2c-dev when i2c is enabled 2015-06-03 15:12:40 +01:00
Serge Schneider
7f5b63c4d6 systemd compatibility
Add udevadm command to notify Xorg after change of keyboard layout - jojopi
Remove boot to scratch
2015-06-02 10:19:05 +01:00
jojopi
2598353839 preserve previous return status, ignoring udevadm 2015-05-27 08:23:36 +01:00
jojopi
fc1d1719be add udevadm command to notify Xorg after change of keyboard layout 2015-05-25 23:19:35 +01:00
Alex Bradbury
4ee1fde44e add pi2 overclock preset and ask to reboot after devicetree change 2015-01-31 20:18:38 +00:00
Alex Bradbury
2b91e57d41 add separate init script and tweak ondemand params 2015-01-29 23:58:41 +00:00
Alex Bradbury
cb06e5951d Support new devicetree kernel
Patch from Phil Elwell (Raspberry Pi) - thanks!
2015-01-29 23:30:09 +00:00
Alex Bradbury
667f035157 add ability to switch on/off serial output 2014-09-02 17:25:58 +01:00
Alex Bradbury
2401980d1b add option to unblacklist i2c 2014-09-01 11:44:45 +01:00
Alex Bradbury
be25afb612 add menu for switching audio output 2013-12-16 21:29:14 +00:00
Alex Bradbury
46aacb3003 when enabling camera, only set gpu mem if it is currently set below 128MiB 2013-12-16 21:09:43 +00:00
Alex Bradbury
b194c2e2cd remove warning for turbo overclock, sd issues should be fixed 2013-12-16 21:00:11 +00:00
Alex Bradbury
9a741ded9f fail boot to scratch/boot to desktop if pi user was removed
As reported in #30
2013-12-16 20:55:23 +00:00
Alex Bradbury
83aba18a70 handle Russian and Chinese languages set from NOOBS
Closes #33
2013-12-16 20:31:02 +00:00
Alex Bradbury
4e965838e9 add support for toggling blacklisting of the spi-bcm2708 kernel module 2013-09-25 18:56:38 +01:00
Alex Bradbury
84ae83fd7a fix issue where placeholder fr_FR.UTF-8 wasn't replaced with DEBLANGUAGE 2013-09-25 18:16:19 +01:00
Alex Bradbury
fa44ce461e bump version 2013-09-10 14:37:05 +01:00
Alex Bradbury
c8c9cf02d2 support boot to scratch and applying language/keyboard settings from noobs 2013-09-09 23:55:22 +01:00
Alex Bradbury
c6baad54c8 use start_x for camera enable rather than startx to reduce confusion 2013-05-25 17:15:01 +01:00
Alex Bradbury
f4259fa00e fixes #18: enable and disable camera prevents 16M split
The 'startx' parameter in config.txt (nothing to do with startx in Linux)
handles switching to start_cd if gpu_mem is set to 16M just fine, so let's
just use that.
2013-05-25 16:45:55 +01:00
Rob Bishop
e335ace8df WT_HEIGHT changed to 17 for extra prettiness 2013-05-24 02:01:35 +01:00
Rob Bishop
fb7ce4c53f Fixed height suitable for all displays. Scalable width so that more text is visible on widescreen displays 2013-05-24 01:51:37 +01:00
Alex Bradbury
e48f327a17 for now refuse to work on anything but trivial partitionings
In particular, refuse to work on NOOBS (parted doesn't like the partition
layout). Reassure users that if using NOOBS, the rootfs is already expanded.
2013-05-22 20:47:15 +01:00
Alex Bradbury
bcb12a3ddf move overclock from advanced menu to main menu 2013-05-22 20:24:58 +01:00
Alex Bradbury
4673a0b824 use case to dispatch advanced menu 2013-05-22 20:21:24 +01:00
Alex Bradbury
c85396d754 use case to dispatch internationalisation menu functions 2013-05-22 20:17:32 +01:00
Alex Bradbury
3d725a80fa use case to dispatch main menu 2013-05-22 20:11:00 +01:00
Alex Bradbury
c75429f06e replace use of resize with direct calls to tput
Also choose a minimum size for the whiptail width and height: the ui just
doesn't work right when too small and drawing it at a sensible size means the
user can resize their terminal.
2013-05-22 19:37:56 +01:00
Alex Bradbury
0f14d65b1c fix messed up indentation (we standardise on 2 spaces) 2013-05-22 17:44:15 +01:00
Rob Bishop
3daf906705 Updated in response to comments from popcornmix 2013-05-19 11:09:23 +01:00
Rob Bishop
c714b00b75 Edited layout and text to (hopefully) improve usability 2013-05-19 08:56:35 +01:00
Alex Bradbury
9a05d5c295 make expand_rootfs work even if root is not /dev/mmcblk0p2
The tool is still very cautious as to when it will work. Refuses to work if
/dev/root is not /dev/mmcblk0*
2013-05-20 19:45:01 +01:00
Alex Bradbury
e5296ca2d7 change cpufreq threshold to 70% rather than 95%
Dom says the system is more responsive, and there is agreement it is safe
enough.
2013-05-15 19:47:02 +01:00
Alex Bradbury
db470d9912 improve rastrack section 2013-05-10 12:03:00 +01:00
Alex Bradbury
7c1a6a66b0 fix typo and check for existence of start_x.elf 2013-05-10 11:50:13 +01:00
Alex Bradbury
e86cf23b47 fix lua invocation 2013-05-08 15:11:53 +01:00
Alex Bradbury
224e99b366 support enabling/disabling camera support 2013-05-08 09:57:36 +01:00
Alex Bradbury
d19d6295a3 indentation fixes 2013-05-07 14:37:14 +01:00
Alex Bradbury
ca224d0f6b Merge pull request #14 from vpetersson/master
Adds ability to non-interactively run disk expansion with --expand-rootfs.
2013-05-07 05:25:57 -07:00
Alex Bradbury
3e463d1573 Merge pull request #15 from ryanteck/master
Adds Rastrack feature we discussed via Email.
2013-05-07 05:25:12 -07:00
Alex Bradbury
17a136ea49 Merge pull request #16 from OzBerryPi/feature/set-hostname
Adds the ability to set a unique hostname
2013-05-07 05:24:20 -07:00
Alex Bradbury
2f5bd70c5a use -- in lua command line 2013-05-07 13:23:08 +01:00
Stonie
cb9bfa026a Adds the ability to set the hostname 2013-04-26 18:43:03 +10:00
Ryan Walmsley
ae17b14e4b Finished Rastrack Addition Possibility 2013-04-05 14:05:06 +01:00
Ryan Walmsley
e6bd8741be Rastrack v2 2013-04-05 13:43:00 +01:00
Ryan Walmsley
0f5bbc6cb0 Rastrack 2013-04-05 13:37:56 +01:00
Ryan Walmsley
d0acb97e49 First part of rastrack addition 2013-04-05 13:36:33 +01:00
Viktor Petersson
3320564bd2 Adds ability to run root-fs expansion non-interactively by passing the argument --expand-rootfs.
This is very useful if you need to implement an automatic disk space expansion.
2013-03-26 22:58:32 +01:00
Alex Bradbury
9199bf25ea avoid bug if user puts in negative gpu mem 2012-10-29 15:58:29 +00:00
Alex Bradbury
91ed792303 disable command-line options for now 2012-10-28 21:14:01 +00:00
Alex Bradbury
51095a837a complain if user tries to user boot to desktop without lightdm installed 2012-10-28 21:03:46 +00:00
Alex Bradbury
a7a7b12ad0 update overclock options
Due to some people reporting SD card corruption, back off on overclocking
core_freq for all overclock options other than turbo. For turbo, bump SDRAM
overclock to 600 and warn the user that some people have reported SD card
corruption.
2012-10-28 20:54:10 +00:00
Alex Bradbury
d65377afc7 support new gpu_mem config.txt option for setting memory split 2012-10-28 20:38:27 +00:00
Alex Bradbury
a8429795bf add init script when overclocking that allows the user to opt out on boot
Current kernel builds default to the powersave cpufreq governor, with the
intention that this is changed to 'ondemand' after boot. When the user sets
overclock in raspi-config, an init script is installed which does this switch,
but only does it if it doesn't detect a shift key is held down. This means the
user can still boot the system if they set an overclock setting that is higher
than their device can manage.
2012-09-18 11:57:00 +01:00
Alex Bradbury
c5e1966418 add overclocking options 2012-09-17 11:28:39 +01:00
Alex Bradbury
f3452fd387 reload raspi-config after a user-initiated update 2012-09-16 19:47:22 +01:00