Commit Graph

194 Commits

Author SHA1 Message Date
WereCatf
5c62f25a1d Greatly speed up firstrun
Use fallocate to create swap instead of dd and only fall back to dd if it fails. fallocate takes < 1 second to create the file, even on very slow media.
2016-03-13 10:14:34 +02:00
ThomasKaiser
ed67651c08 Fixes for board autodetection (Banana Pi legacy) 2016-03-12 22:33:20 +01:00
zador-blood-stained
0a2bad072a Fix for gksu on Xenial 2016-03-12 17:35:18 +03:00
zador-blood-stained
2a39a453a3 More desktop stuff 2016-03-12 17:04:52 +03:00
zador-blood-stained
cfce762203 Restart nodm after adding new user 2016-03-12 12:58:55 +03:00
zador-blood-stained
b00012c72b Root on NFS related tweaks and fixes 2016-03-11 21:20:57 +03:00
zador-blood-stained
ead78a90ee Fixed typo in nfs-boot.template 2016-03-10 20:59:46 +03:00
Igor Pecovnik
e7e2f88761 armbianmonitor related
https://github.com/igorpecovnik/lib/pull/218
2016-03-08 17:59:07 +01:00
Thomas Kaiser
5da1344699 Enhanced armbianmonitor to collect disk feedback, updated H3 Mini FAQ 2016-03-07 22:43:19 +01:00
Igor Pecovnik
4b039726bf Merge remote-tracking branch 'Thomas_lib/master'
# Conflicts:
#	configuration.sh
2016-03-07 17:31:47 +01:00
Thomas Kaiser
e518304e5a Added wifi-radar to desktop build, tweaked H3 Mini FAQ, enhanced armbianmonitor, fixed wicd's dhcphostname 2016-03-07 16:41:03 +01:00
Igor Pečovnik
3649b9d6cf Update nand-sata-install.sh
http://forum.armbian.com/index.php/topic/777-how-do-i-copy-the-sd-card-image-for-nand/#entry5986
2016-03-07 10:34:19 +01:00
zador-blood-stained
e6e730ab16 Merge remote-tracking branch 'upstream/master' 2016-03-06 16:20:56 +03:00
Igor Pečovnik
bc20b60037 Merge pull request #213 from ThomasKaiser/master
Final armhwinfo fixes
2016-03-06 14:16:11 +01:00
zador-blood-stained
bfa46d6d8e Set window title for remote SSH sessions if possible 2016-03-06 14:13:34 +03:00
Thomas Kaiser
0043ca15b4 armhwinfo: remove unnecessary code, improve user experience on sun8i 2016-03-06 10:48:13 +01:00
Thomas Kaiser
5df1e4f759 armhwinfo: verbose USB logging only when verbose boot is enabled 2016-03-06 10:25:41 +01:00
Igor Pečovnik
d4149ddaea Merge pull request #212 from ThomasKaiser/master
Fix sun8i auto detection on first boot, enable logrotate for armhwinfo
2016-03-06 10:15:53 +01:00
Thomas Kaiser
f0f5e85a45 Removed TODO sections in armhwinfo, rearranged code fragments 2016-03-06 10:06:12 +01:00
Thomas Kaiser
0d070b7307 Improved armhwinfo: fixed sun8i detection, enabled logrotation, readonly rootfs warning 2016-03-06 09:53:34 +01:00
Igor Pecovnik
3f5b1424f0 Forgotten adjustments
https://github.com/igorpecovnik/lib/pull/206#issuecomment-192704505
2016-03-05 19:46:34 +01:00
Igor Pečovnik
41b0bda38c Merge pull request #206 from ThomasKaiser/master
Updated H3 FAQ, enabled armbianmonitor for boot verbosity and log upload
2016-03-05 19:29:31 +01:00
Thomas Kaiser
6f7d5d2532 Updated H3 FAQ, enabled armbianmonitor for boot verbosity and log upload 2016-03-05 19:14:00 +01:00
zador-blood-stained
88ed428ab2 Option for preparing netboot (root on NFS) images
Improvements to fel-load
2016-03-05 15:54:44 +03:00
zador-blood-stained
eb726e77ec Changed kernel parameters for NFS boot 2016-03-04 14:20:20 +03:00
zador-blood-stained
d74bb0245f Merge remote-tracking branch 'upstream/master' 2016-03-04 12:29:36 +03:00
Thomas Kaiser
cf07fb0ad8 Added preliminary armbianmonitor code 2016-03-04 00:32:07 +01:00
zador-blood-stained
2143f82b9c FEL/NFS boot for legacy sunxi 2016-03-03 19:49:06 +03:00
zador-blood-stained
e60082ad88 Merge remote-tracking branch 'upstream/master' 2016-03-03 17:06:26 +03:00
zador-blood-stained
df1b8857e5 FEL/NFS boot for mainline sunxi 2016-03-03 17:06:01 +03:00
Thomas Kaiser
f981c2f897 Fix /boot/.verbose behaviour in armhwinfo 2016-03-03 11:46:24 +01:00
Thomas Kaiser
42c79dc188 Fix stupid copy&paste error 2016-03-03 00:58:49 +01:00
Thomas Kaiser
ced9ca0c91 Enable crash detection. Sway a little with Banana Pi M3 2016-03-03 00:45:46 +01:00
Igor Pecovnik
e5c1088124 Banana M1 / M1+ / Pro micro fixes in legacy and vanilla kernel. 2016-03-01 22:27:09 +01:00
Thomas Kaiser
e92ca7cedc Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-02-29 22:12:51 +01:00
Thomas Kaiser
f5ebec1f77 Fixed OPi 2 auto detection with ugly hack, extended armhwinfo's logging 2016-02-29 22:10:04 +01:00
Igor Pečovnik
e85f91f973 Merge pull request #197 from ThomasKaiser/master
Prepare Pine64 addition and Ubuntu Xenial changes
2016-02-29 20:34:15 +01:00
Igor Pecovnik
493507f3c9 Banana PRO leds corrections, default choose PRO model, added to armhwinfo 2016-02-29 20:36:28 +01:00
Thomas Kaiser
4ec85dfafd Add extended/continuous logging to armhwinfo. Enhanced user documentation regarding locale 2016-02-29 20:25:50 +01:00
Thomas Kaiser
33eec55dd4 Prepare Pine64 addition and Ubuntu Xenial changes 2016-02-29 16:13:15 +01:00
Igor Pečovnik
0344fa8ee1 Merge pull request #193 from ThomasKaiser/master
Enable board/settings mismatch detection for sun8i (trial balloon)
2016-02-28 19:18:59 +01:00
Igor Pecovnik
a0f44ac5f6 Fixed Bluetooth on Cubietruck 2016-02-28 18:48:01 +01:00
Thomas Kaiser
6fe91ef7b6 Enable board/settings mismatch detection for sun8i (trial balloon) 2016-02-28 18:17:17 +01:00
Thomas Kaiser
fd5660deb7 Prepare support for Banana Pi M2+ and board/config mismatch in armhwinfo 2016-02-28 12:36:13 +01:00
Igor Pecovnik
7a296797e0 Fixed sata installer for Odroid XU4, preparations for H3 2016-02-27 19:40:08 +01:00
Thomas Kaiser
cb2d5a74ca Important usability fix for crappy displays and QWERTZ vs. QWERTY keyboards 2016-02-26 23:15:20 +01:00
Thomas Kaiser
6b9c4adc66 Build a10disp for sun8i target also, improve 1st login on H3 devices 2016-02-26 17:20:03 +01:00
Thomas Kaiser
37c0392489 Start nodm service instead of reboot. It's not Windows 2016-02-26 14:31:40 +01:00
Thomas Kaiser
6671faf8ad Fixed user creation, GUI after 2nd reboot, prevented manual sunxi-tools build 2016-02-26 14:19:32 +01:00
Thomas Kaiser
a3d2c3dca0 Add normal default user account to more necessary groups 2016-02-26 13:08:22 +01:00
Thomas Kaiser
01eea439f1 Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-02-26 12:49:52 +01:00
Thomas Kaiser
f08f6c786d Prepare user creation to enforce logging in with normal account 2016-02-26 12:23:53 +01:00
WereCatf
81f1096be5 Spruce h3disp up a bit
Add the ability to specify HDMI colour-range, don't spit out changelogs and all that by default since those are not useful for most users (use -H instead of -h to see those), and use colour to make the output a bit more readable if the terminal is capable of colour ( https://dl.dropboxusercontent.com/u/11811685/h3disp.png ) -- does not output colour when redirected to a file, for example.
2016-02-26 12:38:30 +02:00
Thomas Kaiser
420c685063 Enable PG11 on every H3 variant, improve user experience through green led on H3 Oranges 2016-02-25 23:40:24 +01:00
Thomas Kaiser
21f2c627d5 Finally got H3 auto detection stuff in _firstrun_ working with mainline. There we can also simply build 2 OS images 2016-02-25 18:23:24 +01:00
Thomas Kaiser
775b82cf41 Rearrange armhwinfo to not break detection of other boards, fixed OPi detection and IRQ distribution 2016-02-25 15:23:02 +01:00
Thomas Kaiser
95c1d51ca9 Fixed board detection in armhwinfo for both legacy and vanilla 2016-02-25 13:38:27 +01:00
Thomas Kaiser
07d2993a92 Fix/prepare board detection with mainline kernel in armhwinfo/firstrun 2016-02-25 13:17:13 +01:00
Thomas Kaiser
9b01fe3995 Point Orange Pi H3 users to the FAQ the 1st time they login 2016-02-24 19:53:24 +01:00
Thomas Kaiser
88b06e010d Unified H3 image generation, include h3disp in H3 images, let red led blink while executing firstrun on H3 2016-02-24 11:47:54 +01:00
Thomas Kaiser
ee15469089 Improved h3disp bug reporting again, also including fex contents 2016-02-23 19:25:49 +01:00
Thomas Kaiser
eef7ebce52 Improved h3disp bug reporting 2016-02-23 18:51:28 +01:00
Thomas Kaiser
64ce453c81 Improved h3disp, now possible to specify resolution/DVI on command line 2016-02-23 18:12:38 +01:00
Thomas Kaiser
ab8ab1cd20 Removed GPIO/1-Wire modules from H3 default modules, cleaned up firstrun, activated H3 autodetection 2016-02-23 13:10:14 +01:00
Thomas Kaiser
3416048779 Fix failing reboot on H3 images through fex changes, prepare H3 autodetection 2016-02-22 17:11:19 +01:00
Thomas Kaiser
e3f95d9325 Revert to normal cpufreq settings for OPi One/Lite, armhwinfo OPi detection fix, firstrun cleanup/fix (192MB tempfs on boards with only 512 MB RAM) and preparation of autodetect_h3 2016-02-22 12:10:38 +01:00
Thomas Kaiser
cda8f252e4 Fixed power LED in Orange Pi PC fex, added h3disp skeleton 2016-02-21 19:30:58 +01:00
Igor Pecovnik
9db83e1d2c Bugfix and fine tuning
https://github.com/igorpecovnik/lib/pull/166
2016-02-20 20:11:27 +01:00
Igor Pecovnik
89e75cc55c syntax error fix 2016-02-20 18:51:35 +01:00
Thomas Kaiser
f35542a83b Fix Orange Pi 2 detection in armhwinfo 2016-02-20 17:00:34 +01:00
Thomas Kaiser
acdf9c9d66 Make OPi PC/One detection more reliable, less external calls, faster execution due to single dmesg call 2016-02-20 14:33:17 +01:00
Igor Pecovnik
7a49f11cdf Oranges auto detection added to armhwinfo script 2016-02-20 12:12:40 +01:00
Igor Pecovnik
173733281e Create ssh keys before creating swap 2016-02-19 14:15:09 +01:00
José Benlloch
b36f36f692 motd will show now banana pro instead banana
if the dtb file is properly linked to banana pro aka Lemaker Banana Pro
2016-02-19 13:28:57 +01:00
Igor Pecovnik
db72a3bd14 Fixing and polishing MACHINE id and first login 2016-02-09 20:13:57 +01:00
Igor Pecovnik
b634e265cc Bugfix while creating swap file. 2016-02-03 20:57:18 +01:00
Igor Pecovnik
ce3ec05ab4 Orange PI + / PC / 2 (Allwinner H3) related fixes and patches 2016-01-31 21:07:14 +01:00
Igor Pecovnik
c7055e8798 Fixed nand-sata-install for Cubieboard 1 , together with kernel upgrading 2016-01-30 21:47:09 +01:00
Igor Pecovnik
0bc48fad95 Rework / bug fix of MOTD part "updates to install" script 2016-01-30 19:34:51 +01:00
Igor Pecovnik
f0b238dd9a Don't show battery if there is no voltage since detection not working properly - on legacy kernel and a fix for IP detection 2016-01-30 19:33:28 +01:00
Igor Pecovnik
4d962842cd First run scripts added functionality. If there is not enough space, create SWAP area after reboot - when FS is expanded 2016-01-30 19:31:48 +01:00
Igor Pecovnik
ddb0be66a8 Report IP for more cases fix. 2016-01-28 16:58:10 +01:00
Igor Pecovnik
284af67365 Motd scripts rework - faster and less resourceful MOTD information display 2016-01-27 19:24:36 +01:00
Igor Pecovnik
92de799c4f Marvell armada is running on higher temp 2016-01-22 08:02:06 +01:00
Igor Pecovnik
3352b9c15b Welcome MOTD back to current logic - reads out from machine.id 2016-01-21 23:07:41 +01:00
zador-blood-stained
65a314ed12 Updated sysinfo script for latest axp patch 2016-01-20 17:03:55 +03:00
Igor Pecovnik
c5c0d010b0 One more general export 2016-01-20 09:12:55 +01:00
Igor Pecovnik
5831a004e5 Small text change in alerts 2016-01-20 09:12:38 +01:00
Igor Pecovnik
480a0bd1bb Custom bashrc not neded anymore. We move everything to update.motd 2016-01-20 09:12:04 +01:00
Igor Pecovnik
ceb7e7f01b ARM hwinfo only sets machine ID and outputs to console. MOTD goes now to /etc/motd 2016-01-20 09:09:46 +01:00
Igor Pecovnik
5649a086b6 Force reboot if online resize was not successful regarding of the distribution 2016-01-20 09:07:56 +01:00
Igor Pecovnik
1b81c4f205 Old script removal 2016-01-20 09:06:48 +01:00
Igor Pecovnik
b93f90da02 MOTD now reads from sysfs on both sunxi kernels, implemented all alternative temp readings, fixed bugs 2016-01-20 09:05:59 +01:00
Igor Pečovnik
7219b9d2ae Rewritten sysinfo, battery readings solved different 2016-01-16 09:13:41 +01:00
Igor Pečovnik
dc0d8d35d7 bugfix 2016-01-15 17:46:46 +01:00
Igor Pečovnik
2157a00850 If battery value is over 100% than it's not calibrated yet ... and we have to tell that 2016-01-15 09:06:35 +01:00
Igor Pečovnik
6e6cdf74dc Display storage only if present 2016-01-15 08:22:06 +01:00
Igor Pečovnik
87f0958d58 New MOTD with battery and upgrade infos ... need further testing, not implemented into build script yet 2016-01-14 18:07:07 +01:00
Igor Pečovnik
90fb1bb23b Firstrun and resize script rework. Jessie and Trusty don't need reboot to expand file system, only Wheezy. 2016-01-13 12:10:21 +01:00
Igor Pečovnik
94b5922aaf Typo 2016-01-13 11:33:31 +01:00