Commit Graph

235 Commits

Author SHA1 Message Date
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
James Hewitt
1962a44937 Add command-line options for non-interative use 2012-08-20 21:53:15 +01:00
Alex Bradbury
8f792cc4e4 adjust last commit for personal taste 2012-08-15 20:41:11 +01:00
Mircea Vutcovici
e69aa4d1fb Added 240/16 memory split, added display for current memory split configuration. 2012-08-09 12:54:01 -04:00
Alex Bradbury
274b280ff4 change 'OK' to 'Select' 2012-07-15 19:46:49 +01:00
Alex Bradbury
8afc286e8b add ability to try to upgrade raspi-config 2012-07-15 18:40:06 +01:00
Alex Bradbury
fa1d2c3708 get rid of 'finish' in raspi-config 2012-07-15 18:32:30 +01:00
Alex Bradbury
c678dd82ff suggest sudo raspi-config if script is not run as root 2012-07-15 18:16:02 +01:00
Alex Bradbury
37d02c865f sync after changing memory split 2012-07-14 00:59:58 +01:00
Alex Bradbury
e8abad0f52 add ability to configure automatic login to desktop on boot 2012-07-13 22:52:06 +01:00
Alex Bradbury
2da99a7c81 improve wrapping for info text box in raspi-config 2012-07-13 17:13:30 +01:00
Alex Bradbury
e4e56bf1fb be more intelligent about inserting config options
If a config option is already in the file but commented out, modify that line
rather than inserting a new one.
2012-07-13 17:01:48 +01:00
Alex Bradbury
053c55300b fix ssh config
How did I not commit this yet?
2012-07-04 16:13:28 +01:00
Alex Bradbury
2aaead1f50 *really* get keyboard-setup/keyboard-configuration right 2012-06-17 21:56:33 +01:00
Alex Bradbury
27bb12eec0 avoid race condition with initial ssh key generation on first boot 2012-06-17 15:16:05 +01:00
Alex Bradbury
f49ec71c75 missed an s/keyboard-setup/keyboard-configuration/ 2012-06-17 15:02:17 +01:00
Alex Bradbury
7095f0e490 Merge pull request #1 from Alkarex/patch-1
keyboard-configuration: correction of dpkg-reconfigure and position in the menu
2012-06-17 07:01:22 -07:00
Alex Bradbury
265e7a5326 fix exit status in case of error 2012-06-17 13:43:38 +01:00
Alexandre Alapetite
e7e32a424c keyboard-configuration: correction of dpkg-reconfigure instruction, and positioned before password change 2012-06-17 01:06:12 +03:00
Alex Bradbury
e45b6d421f Initial commit 2012-06-10 21:32:01 +01:00