Commit Graph

424 Commits

Author SHA1 Message Date
Igor Pecovnik
f4850d00c6
Enable serial gadget console on Nanopi Neo2 core and black
Closes [AR-177]
2020-02-23 19:23:10 +01:00
5kft
74c6adec74 [ sunxi ] added "cpu-clock-1.2GHz-1.3v" overclock overlay (sets maximum overclock to 1.2GHz) 2020-02-22 07:24:21 -08:00
Igor Pecovnik
3e9f46d3cd Few last bug fixes 2020-02-17 01:52:08 +01:00
David Douard
76dc8aba8a
Allow pcm5102 module to be built on sunxi kernels and build the module by default (#1802)
* [sunxi] allow pcm5102a codec module to be built

for sunxi-current and sunx-dev kernels.

Fixes #1798

* [sunxi] build pcm5102a and pcm51xx_(i2s|spi) modules by default

on sunxi-current and sunxi-dev kernels.
2020-02-14 18:47:55 +01:00
Elias Kotlyar
d43f389035
Fixxes #1788 - Code taken from https://linux-sunxi.org/SPIdev (#1789)
* Fixxes #1788 - Code taken from https://linux-sunxi.org/SPIdev
* Additional Patch for 5.5
2020-02-13 20:32:06 +01:00
Igor Pečovnik
7570bfcf04
Improve DVFS handling on Allwinner A64 boards to gain stability (#1797) 2020-02-11 17:36:58 +01:00
Martin Ayotte
03ae848dd1 add i2c2/i2c3 to R40 2020-02-06 12:32:21 -05:00
Martin Ayotte
94f27962e1 add more UARTs and SPIs to R40 2020-02-05 17:08:43 -05:00
Martin Ayotte
64e494384b add UART2 to BPiM2Ultra and BPiM2Berry 2020-02-03 12:14:40 -05:00
Igor Pecovnik
b6c46b10fc Adjust various DEV configs and patches 2020-02-01 20:51:47 +01:00
Nick Breen
3b1418fb5b generate an optional overlay for the early 14" pinebook's boe hb140wx-501 lcd panel (#1746) 2020-01-23 15:53:24 +01:00
Igor Pečovnik
fc23107e1c
[Allwinner] Add analogue audio to H6, enable Cedrus (#1750)
* [Allwinner] Add analogue audio to H6, enable Cedrus, remove deprecated patches, adjust config
* Cleanup
2020-01-19 00:03:54 +01:00
Igor Pecovnik
0c38be8ba8
Allwinner: Remove deprecated patches and separate DEV configs 2020-01-11 21:13:50 +01:00
Igor Pecovnik
c962682e56
Allwinner. An attemt to fix HDMI audio with help of patched from LE Closing https://github.com/armbian/build/pull/1383 2020-01-11 20:22:59 +01:00
Nick Breen
958ecaddf3 disable patch as it conflicts with mainline (#1731)
duplicate nodes for thermal-zones
2020-01-11 19:51:05 +01:00
Karabek
1017a86bb3 Sunvell R-69: Set 2nd USB port as host. (#1729)
* Set 2nd USB port as host.

see https://forum.armbian.com/topic/4877-h2-sunvell-r69-android-tv-box-aliexpress/page/9/?tab=comments#comment-92686

* Sunvell R-69: Set 2nd USB port as host.

see https://forum.armbian.com/topic/4877-h2-sunvell-r69-android-tv-box-aliexpress/page/9/?tab=comments#comment-92686
2020-01-11 19:48:19 +01:00
Nick Breen
eb586f8135 modified anx6345 patch to log errno from read edid from device tree (#1720) 2020-01-06 16:55:47 +01:00
Martin Ayotte
258d273b95 copy current PineH64 models DT to DEV 2019-12-31 15:09:35 -05:00
Martin Ayotte
8eba340951 cleanup xxx-teres-fixed.patch 2019-12-27 17:08:11 -05:00
Martin Ayotte
ae713d77f4 remove usless patch 2019-12-27 16:48:46 -05:00
Martin Ayotte
9fadb36e18 recreate sunxi-dev folder 2019-12-27 16:32:09 -05:00
Martin Ayotte
c640978e86 remove sunxi-dev symlink 2019-12-27 16:29:44 -05:00
Igor Pečovnik
ff4c1488da
Move to 5.4.y (#1686)
* Wireguard: bump tag to most recent since it breaks building on 5.4.y
* Move rockchip current to 5.4.y
* Move sunxi current to 5.4.y
* Move meson64 to 5.4.y
* Move odroidxu4 to 5.4.y and enable "current" targets
* Enable missing target
2019-12-23 00:40:23 +01:00
Igor Pecovnik
4f375692b4
[ sunxi-dev ] Adjust patches, remove deprecated, build tested on Pine H6 2019-12-16 14:35:45 +01:00
Martin Ayotte
df86a0af62 fix another typo in fix-a64-timejump patch 2019-12-12 12:54:32 -05:00
Martin Ayotte
efb5f68cc3 fix typo in fix-a64-timejump patch 2019-12-12 12:33:17 -05:00
Martin Ayotte
d688244fea add fix-a64-timejump patch 2019-12-12 12:07:46 -05:00
Karabek
db50ce8211
fix armbian overlays - refactor pinctrl names for older SoCs (A10, A13) corrections
this update of the previous patch (#1663) additionally fixes the following overlays:
    sun5i-a13:	i2c1..2, nand, pwm, spi2, uart0..3
    sun4i-a10:	can, i2c1..2, pwm, spdif-out, spi0..2
corrections re #1663:
    sun7i-a20:	fixed typo in pwm overlay in #1663
    arch64-makefile now back in line with original patch
2019-12-10 11:32:57 +01:00
Karabek
2d38a6f06d
(partially) fix armbian overlays - refactor pinctrl names
some armbian dts overlays currently do not work since pinctrl names have not been 
adapted to renaming in 5.0 and 5.2.

this patch modifies the following overlays:
sun50i-h5:	cir, spdif-out
sun8i-h3:	cir, spdif-out
sun7i-a20:	i2c1..4, mmc2, pwm, spdif-out, spi0..2, spi-add-cs1, uart4..7
sun5i-a13:	uart0
sun4i-a10:	spdif-out
2019-12-08 14:47:50 +01:00
Martin Ayotte
5c9a7ee7fb fix broken r_uart pins 2019-12-05 15:29:24 -05:00
Igor Pecovnik
f30214e6c8 Bugfix: Removing deprecated / duplicated patches which prevented Banana M3 to boot 2019-12-04 22:14:35 +01:00
Martin Ayotte
6ee2d13120 remove useless hunk 2019-12-02 10:35:15 -05:00
Martin Ayotte
c34fcf272a Merge branch 'master' of https://github.com/armbian/build 2019-12-02 10:26:18 -05:00
Martin Ayotte
f5927bffad remove useless patch 2019-12-02 10:26:11 -05:00
Karabek
158e0f4849 Sunvell R69: cpu voltage regulator (re-)added - dram clock reduced. (#1643)
* Sunvell R69: cpu voltage regulator (re-)added - dram clock reduced.

CPU regulator (re-)added to u-boot and kernel dts - the box will not boot without it.
Dram clock reduced in defconfig to increase stability.

[AR-85]
2019-11-27 22:50:46 +01:00
Martin Ayotte
aafb70a9a3 switch to 5.4.y 2019-11-25 19:51:06 -05:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
5kft
f1cdca2753 [ sunxi-dev ] added cpu-clock-1.0GHz-1.1v overlay for overclocking the H5 to 1.0GHz on boards that have a fixed 1.1v regulator 2019-10-30 17:52:29 -07:00
Karabek
5b4a40b74f fix xradio driver & nanopi-duo for dev-branch (5.3.7) (#1607)
* Fix wifi

patch "board-h2plus-nanopi-duo-add-device.patch": increase post-power-on-delay-ms from 50ms to 200ms in wifi_pwrseq node in nanopi-duo dts [dev-branch].
Change in line with other XRADIO device trees (orange pi zero, sunvell).
See also Pull Request #1605.

* Fix xradio patch (dev-branch)

fix KConfig to 5.x - WLAN_VENDOR-flag set to "y" in line with other drivers - otherwise module not loaded.

* correct device name

change nodes "model" and "compatible" to correct device name (from "NanoPi Duo AIR" to "NanoPi Duo") [dev-branch]
Not functionally necessary, but more correct.
2019-10-29 18:59:09 +01:00
Sébastien Lucas
24aeccc77a [fix] Add a patch made to fix ethernet for pine64+ (#1576) 2019-09-24 12:18:13 +02:00
Igor Pecovnik
14ecc52fb3 Build modpost in linux-header postinst script https://github.com/armbian/build/pull/1553 Should fix DKMS issues. 2019-09-15 21:43:19 +02:00
Igor Pečovnik
e1d4c83ad6
G-serial cleanup (#1549)
* Initial commit for serial consoles rfc
* Board configuration cleanup + small tweaks
* Add serial gadget rename to dev kernel as well
* Cleanup, fixing permissions
* Cleanup board configs
2019-09-13 22:20:11 +02:00
Igor Pečovnik
bea1df9ed6
Initial commit for FA ZeroPi. (#1554)
* Initial commit for FA ZeroPi. 
* Tested for building.
* Adjust few bugs.
* Move to WIP since its not tested on hardware yet.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-12 18:31:33 +02:00
Martin Ayotte
b53556a5f1 remove a83t-OPP and H3-H5-THS patches since Megous 5.3.0-RC6 have them 2019-09-02 14:55:55 -04:00
Igor Pecovnik
58406ce59b
Remove deprecated patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-02 19:45:27 +02:00
Martin Ayotte
7ab8d6288d fix 8189es for 5.3.y compatibility 2019-08-16 14:55:13 -04:00
Martin Ayotte
a00375179b switch sunxi-dev to 5.3.0-rc3 2019-08-14 09:23:05 -04:00
Martin Ayotte
a898424873 fix 8189fs and 8723cs patches to make them 5.3.y compatible 2019-08-10 15:16:23 -04:00
Tomasz Stachewicz
5cb66ac9fc Banana Pi M2 Zero: remove board-bpi-m2-zero-enable-dvfs.patch (#1503)
In current kernels (both next and dev) this patch breaks cpufreq and all that depends on it (no dvfs means board overheating). Removing it makes cpufreq and dvfs work again.
2019-08-05 18:04:29 +02:00
zhangn1985
c7dfe7ee68 enable lima for sunxi-dev (#1478)
* remove merged patches for sunxi-dev

lima patches merged: a1d2a63399

0117: af2c06c419 (diff-f1ba11d1be7f40933d95529cd37bf26b)

board-a64-v3-02-19-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-file.patch:
b3ee15a509 (diff-bd675a39699d13027495d794e6a4c312)

for: #1474
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-dev: enable lima kernel driver

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-u-boot: remove merged patches

add-nanopineoplus2.patch: 6130b1f6bc

add-orangepi-zeroplus.patch: 76d69eb01d

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-24 13:00:04 +02:00
zhangn1985
4b7a9cea57 fix armbian logo patch and remove drm-sun4i-rgb-Add-5-tolerance-to-dot-clock-frequency, merged (#1475)
* sunxi-dev: fix logo patch not applied

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* remove drm-sun4i-rgb-Add-5-tolerance-to-dot-clock-frequency, merged

replaced by: e2771deb5d

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-23 20:25:07 -04:00
Igor Pecovnik
c865c065eb
Nanopi K1 plus: fix led colors 2019-07-15 17:29:31 +02:00
Martin Ayotte
0221ba5aef fix nand-disable-badblock-check-for-migration patch 2019-07-13 10:06:35 -04:00
Martin Ayotte
5d20888218 remove useless patch 2019-07-13 09:41:22 -04:00
Martin Ayotte
82cc720e7a fix xradio patch 2019-07-13 09:25:37 -04:00
Martin Ayotte
a8265b5db2 fix some patches for 5.2.y 2019-07-11 16:06:36 -04:00
Martin Ayotte
605a7b8110 remove DS1308 from all NanoPi 2019-07-06 09:07:58 -04:00
Igor Pecovnik
76ac54aae3
sunxi-dev Fix wrong temperature readings
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-04 21:41:41 +02:00
Igor Pecovnik
adeb736f8e
sunxi-dev: fix the same spi bug as in sunxi-next, remove deprecated patches and adjust one
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 21:28:48 +02:00
dziobak
b79b3558e7 opp fix stability issue (#1434)
I've tested my OPi3 for best voltage numbers (for resolving stability problem after first patch), using StabilityTester and increasing slowly mV by 10 after every crash. Finaly, this values gives no error by running StabilityTester 100 times.
2019-06-29 09:42:25 +02:00
Martin Ayotte
eb61dc0fe4 UART3 should be disabled by default on all NanoPi 2019-06-24 10:50:00 -04:00
Igor Pecovnik
6e04f6f89c [ sunxi64 ] Enable HDMI on Orangepi One+, adjust kernel config 2019-06-08 18:49:54 +02:00
may
77f7231226 [dev][h6] update opp, fix stability issue
new values are based on stabilityTester results
when using 930mV for 1.6GHz and 980mV for 1.8GHz, xhpl failed randomly.
So 930/980mV are the critical operation voltage.Then increase 10mV and
run 100 times test, result shows that xhpl (not always) failed 1~2 times.
It seems +10mV is still not enough to ensure dc-dc output voltage always
above operation voltage, that means the design of dc-dc converter is not
good enough that results in large ripple.
The testing script is "github.com/mzhboy/StabilityTester"
The following configuration have been tested.

1.08-1.32-1.48-1.64-1.8 GHz
900-910-920-930-990   *ok, 930 failed 2/100
900-900-910-940-990   *ok, 990 failed 1/100
890-900-910-940-990   *ok, 990 failed 1/100
880-880-910-940-1000  *ok, 940 failed 2/100
880-880-910-950-1000  *ok, 1000 failed 1/100
880-880-910-950-1010  *ok
2019-06-07 06:46:41 +08:00
may
3084b25c5e [h6] set minimum voltage to 880mV according to datasheet
suggest operation voltage rage is 0.873V~0.927V.
2019-06-06 20:43:26 +08:00
Martin Ayotte
620ecd19f3 restore 0003-net-stmmac-dwmac-sun8i-support-RGMII-modes-with-PHY patch 2019-06-05 08:37:31 -04:00
Steev Klimaszewski
e79c54c73b Pinebook: Disable temp workaround and enable pinebook backlight.
With the Pinebook 11" 1080p, without the revert and the backlight fix, the Pinebook will boot without backlight.
2019-06-04 23:46:53 -05:00
Igor Pecovnik
61f7953842 Remove deprecated patches in most mainline kernels and adjust few configs. 2019-06-02 22:15:15 +02:00
Igor Pečovnik
55ad41787a
Merge pull request #1395 from Koumes/tuner-t230c2
Fix "No signal" issue with DVB-T/T2 tuner MyGica T230C v2
2019-06-02 20:02:01 +02:00
mei
1d0f199473 [sunxi-dev][h6] update opp table (#1394)
use more powerfull 'cpuburn-a53' to do pressure test.
power meter shows that 'cpuburn-a53' consumes much more power than
'stress -c 4' in the same condition. 930mV is not enough when running
'cpuburn-a53' meanwhile 950mV is the minimum voltage.
When running 'cpuburn-a53' at 1.8G, h6 consumes lots of power and generate
such amount of heat that an active cooling is necessary otherwise h6
gets overheat and system crashes. Even with active cooling and heatsink
is in low temperature the junction temperature is still quit high that
it reaches about 88~90 ℃ . Maybe the high thermal resistance of plastic
package causes the problem.
2019-06-02 19:57:43 +02:00
Koumes
c1e284e09c si2168: add cmd timeout fix 2019-06-01 21:30:18 +00:00
may
7d0c6a2d71 10mV step according to AXP805 datasheet 2019-06-01 13:58:51 +08:00
mei
634ec8f5da patches clean up and fix lite2 usb3.0 port(works but only usb2.0 part) (#1390)
* [sunxi-dev][h6]update orangepi lite2 dts file patch

* [sunxi-dev][h6]update patch for sun50i-h6.dtsi

*     [sunxi-dev][h6] new operation voltage table of allwinner h6

    The correct operation voltages are find out after many reboots and test (over 20+).
    the original 1.16v@1.64/1.8GHz was too high since standard cell voltage
    of 28nm@HPC is 0.9v, h6 got overheat very quickly over 110 Celsius and then system hangs,
    a power-cycle off is needed to reset soc.
    I use 'stress -c 4' to do pressure test, with a medium size passive heatsink on top of h6.
    The pressure test proves that the soc has about 4 watt power consuming
    that is much lesser than original 6~7.x watt when running at 1.8GHz(orangepi lite2 with
    usb Ethernet rtl8153 and usb hub, wifi is connected but not used).
    Soc runs much more stable and does not get overheat easily under heavy load
    with new opp table.

* [sunxi-dev][h6] orangepi lite2 wifi fix

bcm43455-fmac is buggy, reset to bcm4329-fmac
2019-05-31 18:05:46 +02:00
Martin Ayotte
7cd2f9ff58 fix missing ethernet0 alias lost during 5.1.y switch 2019-05-18 11:09:44 -04:00
Igor Pecovnik
8d7ef421b6 [ sunxi-dev ] remove deprecated patch, added bt support for orangepi win, teste for building only 2019-05-16 12:19:03 +02:00
Martin Ayotte
840a1ff43f fix OpiZeroPlus2 default regulator 2019-05-15 13:38:52 -04:00
Martin Ayotte
b791e39ffa add missing H6 IR-RX 2019-05-14 17:59:57 -04:00
Martin Ayotte
79e0a668e7 add missing phy on OPiOne+ 2019-05-14 16:32:22 -04:00
Martin Ayotte
23bb6358de fix missing regulator-always-on for OPiLite2 2019-05-14 15:30:18 -04:00
Martin Ayotte
f52fa0fbce fix xxx-teres-fixed 2019-05-13 17:50:18 -04:00
Martin Ayotte
710a75f2fd add h6-cpu-supply patch 2019-05-12 10:24:49 -04:00
Martin Ayotte
0ddffca0b9 fix orangepi3 eMMC patch 2019-05-11 11:27:58 -04:00
Igor Pecovnik
c4281e5957 a20 sunxi - write speed improvement. Need testings. 2019-05-11 11:59:32 +02:00
Martin Ayotte
694c9a7024 fix typo in RUART overlay 2019-05-09 17:07:30 -04:00
Martin Ayotte
96013852af add spi-spidev1 overlay since spi-spidev don't work on OPi3 because spi0 doesn't exist 2019-05-09 16:50:18 -04:00
Martin Ayotte
624adfd0cd add sun50i-h6-ruart overlay 2019-05-09 15:03:40 -04:00
Martin Ayotte
e074919e5b add R_UART to OPI3 2019-05-09 14:44:34 -04:00
Martin Ayotte
3b70763ca0 fix general-add-H6-UARTs patch 2019-05-09 12:01:05 -04:00
Martin Ayotte
bcf2180acb remove useless patches for 5.1.y 2019-05-09 11:52:00 -04:00
Martin Ayotte
b79c38c86c recreate OPiLite2 patch 2019-05-08 15:24:17 -04:00
martinayotte
e0ca135edc remove mmc1 duplicate in orangepi3 2019-05-07 21:56:42 -04:00
martinayotte
fbbea7fe82 fix H6 opp according to 5.1.y 2019-05-07 20:52:57 -04:00
Martin Ayotte
406ba28cf5 remove duplicate clk-out-a-pin node in BPiM2Ultra 2019-05-07 17:48:58 -04:00
Martin Ayotte
dd597abae7 fix Analogix patch according to 5.1.y 2019-05-07 16:18:25 -04:00
Martin Ayotte
98e1bc1074 remove useless patch 2019-05-07 15:40:55 -04:00
Martin Ayotte
cb6dc07a7f fix typo 2019-05-07 15:37:24 -04:00
Igor Pecovnik
b50b7e685e [ sunxi / sunxi64 ] Patches cleanup, config cleanup, board config cleanup, disabling broken UART1 patch for Lite+/One+ ... should be fine in 5.1.y when we get there. 2019-04-28 09:02:55 +02:00
Igor Pecovnik
b6c7c3efc3 [ bugfix ] There is no uart1_rts_cts_pins property ... All pins in sun50i-h6.dtsi are defined under uart1_pins @martinayotte or its wrong in .dtsi? 2019-04-27 21:59:17 +02:00
Martin Ayotte
28e8b699ad add UART1 to OPiLite2 2019-04-27 11:49:00 -04:00
Igor Pecovnik
a80fe61a57 [ sunxi-dev ] Upstream patches and bump with version 2019-04-23 18:18:58 +02:00
Igor Pecovnik
c8319a2740 [ sunxi / sunxi-dev ] small bugfix 2019-04-22 22:02:55 +02:00