Commit Graph

362 Commits

Author SHA1 Message Date
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
Igor Pecovnik
390a5a2e90 [ nanopi boards ] adjust default settings like they are in stock FA kernel 2019-04-22 13:33:15 +02:00
Igor Pecovnik
43e1f75ea3 [ orangepizeroplus2 ] enable missing OTG bits 2019-04-22 08:30:51 +02:00
Igor Pecovnik
872d15715e Add Nanopi Duo2 and Nanopi R1 with one patch, rename to .conf since support level is the same as on all H3 boards 2019-04-19 18:34:38 +02:00
Martin Ayotte
2645877aa5 force MMC0 bus-width on most AllWinner SoC 2019-04-18 11:03:34 -04:00
Igor Pecovnik
1c114ea1bc [ sunxi-dev ] Add Nanopi R1 2019-04-18 10:53:30 +02:00
WaterByWind
92b2895cfc pinctrl: sunxi: Disable strict mode for A64 pinctrl driver
Add patch to bring A64 pinctrl driver inline with other sunxi pintctrl drivers by disabling strict mode.

With kernel 4.15.y (and later):
*  Strict mode was enabled by default via commit 1396007286b1e2fd5dd10ae6a5ccaaaed51ab762 which can/will cause breakage with existing implementations.
* The ability to configure strict mode was added via commit aae842a3ff3385f27f1df8a9ee1494a416ec032d to allow older drivers to maintain existing behavior and avoid breakage.
* Commit cd70387f892205bcd7b8093b0837269b0739cbe0 had then explicitly disabled strict mode for most other existing SoCs but did not include A64.

This change is to update the A64 pinctrl driver similar to the other pre-existing SoC pinctrl drivers.
2019-04-14 16:29:34 -04:00
Martin Ayotte
02c2457aaf update disable_strict_mode patch so it work in 5.0.y as well as 5.1.y 2019-04-12 17:22:44 -04:00
Martin Ayotte
9f68190d34 fix cs_gpio SPI support 2019-04-10 17:38:57 -04:00
Martin Ayotte
0274d162bb reintroduce erratum-unknown1 until we switch to 5.1.y 2019-04-07 16:11:01 -04:00
Martin Ayotte
265f01ab6a temporarly reverting anx6345 patch 2019-04-06 09:24:27 -04:00
Martin Ayotte
5918b2de7e Merge branch 'master' of https://github.com/armbian/build 2019-04-05 17:27:09 -04:00
Martin Ayotte
712243d6e8 add Megous's brcm43455c patch 2019-04-05 17:24:20 -04:00
Martin Ayotte
176489725b
Merge pull request #1331 from arctype-co/sunxi-fixes
Sunxi fixes
2019-04-05 15:02:37 -04:00
Ryan Sundberg
5b01e3b4d9 Replace references to get_ds() in wifi drivers
See 736706bee3298208343a76096370e4f6a5c55915 get rid of legacy 'get_ds()' function
2019-04-05 15:22:50 +00:00
Ryan Sundberg
d92109b7f2 Fix compilation of analogix-anx6345.c following header changes
See 63f8f3badf799c8b63ff33a489886bc138ce5d09 drm: bridge: Constify mode arguments to bridge .mode_set() operation
and fcd70cd36b9bf697122538c9e38e8cf954b2342b drm: Split out drm_probe_helper.h
2019-04-05 10:35:50 +00:00
Igor Pecovnik
d11511ab2d [ allwinner H6 / DEV ] Add another OPP 2019-04-05 09:35:47 +02:00
Ryan Sundberg
ef8aaf2f18 Remove allwinner-a64-Enable-A64-timer-workaround.patch
This has been merged in Linux upstream
2019-04-05 06:53:30 +00:00
Ryan Sundberg
5e49b9a13f Fix duplicate sunxi-H6 uart1_pins 2019-04-05 06:32:32 +00:00
Ryan Sundberg
fc34b44b7f Fix spiflash device tree label warnings
arch/arm64/boot/dts/allwinner/overlay/sun50i-a64-spi-jedec-nor.dts:12.13-17.6:
Warning (spi_bus_reg): /fragment@0/__overlay__/spiflash: SPI bus unit
address format error, expected "0"
arch/arm64/boot/dts/allwinner/overlay/sun50i-a64-spi-jedec-nor.dts:26.13-31.6:
Warning (spi_bus_reg): /fragment@1/__overlay__/spiflash: SPI bus unit
address format error, expected "0"
2019-04-05 06:32:00 +00:00
Ryan Sundberg
5ade4bef7f Fix sunxi-a64 uart4 overlay (was aliasing to serial3 instead of serial4) 2019-04-05 06:28:49 +00:00
Thomas McKahan
80db9e3e40 [ sunxi-dev ] Patch cleanup, PineH64 1.8 GHz 2019-04-04 00:41:25 -04:00
Martin Ayotte
690c1d3eab add OPiOne+ emac alias 2019-03-29 18:36:55 -04:00
WaterByWind
efff71ba4f Update patch/kernel/sunxi-dev/0001-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch
Updated DT patch for allwinner unstable timer

Replace previous patch for DT timer node with new patch from upstream commit.

This matches the upstream change to the actual workaround in drivers/clocksource/arm_arch_timer.c
 via commit c950ca8c35eeb32224a63adc47e12f9e226da241
2019-03-28 21:34:14 -04:00
Martin Ayotte
23eefa0afc fix eMMC vqmmc-supply in OPi3 2019-03-25 17:46:53 -04:00
Martin Ayotte
4a90f7e490 fix bad usb0-iddet gpio in OPi3 2019-03-25 17:46:07 -04:00
Martin Ayotte
f0fc372f3b remove SPI0 node in OPi3 since clash eMMC 2019-03-25 17:45:35 -04:00
Martin Ayotte
5888d28212 delete useless patch 2019-03-24 18:09:34 -04:00
Martin Ayotte
56c71fc2ba add missing OPi3 patches 2019-03-22 09:57:43 -04:00
WaterByWind
c4b96d21c6 Update index for pin bank 'H' in sun50i-a64-fixup.scr-cmd
Fix off-by-one numeric index for pin bank ‘H’ in sun50i-a64-fixup.scr-cmd
2019-03-20 21:37:29 -04:00
5kft
a7ffdb8f15 [ sunxi-dev ] update H5 overclock overlay to correspond to kernel 5.0 DT changes 2019-03-17 15:48:36 +00:00
Martin Ayotte
e71c0aa63d fix OPiLite2 compatible 2019-03-15 18:04:41 -04:00
Martin Ayotte
92bb6f0b66 remove useless patch according to 5.0.y 2019-03-15 12:18:51 -04:00
Martin Ayotte
a06fef7121 remove useless patch according to 5.0.y 2019-03-15 11:17:04 -04:00
Martin Ayotte
4ef8efe65c remove useless patch according to 5.0.y 2019-03-15 11:08:42 -04:00
Martin Ayotte
b4a5576f0f remove useless patch according to 5.0.y 2019-03-15 11:07:03 -04:00
Martin Ayotte
d0bb121478 remove useless patch according to 5.0.y 2019-03-15 11:04:38 -04:00
Martin Ayotte
cdb000d9d5 remove useless patch according to 5.0.y 2019-03-15 11:01:13 -04:00
Martin Ayotte
f05ba5c2d7 remove include patch already present in axp20x.c 2019-03-15 10:43:30 -04:00
Martin Ayotte
1e48b1c2b8 remove duplicate A64 Pinebook sound patch 2019-03-15 10:42:11 -04:00
Martin Ayotte
85c94edd17 fix about usb3 2019-03-14 22:19:02 -04:00
Martin Ayotte
072a3dfe36 more fix on p-board-h6-add-THS 2019-03-14 21:46:31 -04:00
Martin Ayotte
f566841baf fix h6-add-THS patch 2019-03-14 21:16:51 -04:00
Martin Ayotte
b371826484 remove old timekeeping32-tweaks-for-4.20.y.patch 2019-03-14 18:34:47 -04:00
Martin Ayotte
fee5ec15b6 add timekeeping32-tweaks for 5.0.y 2019-03-14 18:34:01 -04:00
Martin Ayotte
1749cede63 remove useless patch according to 5.0.y 2019-03-14 18:32:05 -04:00
Martin Ayotte
d594f50193 remove useless patches according to 5.0.y 2019-03-14 18:14:27 -04:00
Martin Ayotte
b9cc9c9c71 remove useless patches according to 5.0.y 2019-03-14 17:39:05 -04:00
Martin Ayotte
237d55c418 remove some useless patches under 5.0.y 2019-03-14 17:31:20 -04:00
Martin Ayotte
23dda0f989 disable temporarily some a64 patch 2019-03-14 17:30:41 -04:00
Martin Ayotte
e514907bd2 disable temporarily some Mali or Lima patches 2019-03-14 17:30:04 -04:00
Martin Ayotte
d4cab3024e remove some useless patches under 5.0.y 2019-03-14 17:28:36 -04:00
Martin Ayotte
e93df837b7 disable temporarily some a64 patch 2019-03-14 17:28:02 -04:00
Martin Ayotte
1d1c6b8c5d disable temporarily some Mali or Lima patches 2019-03-14 17:27:17 -04:00
Martin Ayotte
c50277f880 fix UART2 pins on cubietruck according to 5.0.y 2019-03-14 17:22:59 -04:00
Martin Ayotte
0c9efd40a8 fix access_ok() arguments according to 5.0.y 2019-03-14 17:10:25 -04:00
Martin Ayotte
53a1237496 remove duplicate dwc3/usb3phy lready in 5.0.y 2019-03-14 17:06:00 -04:00
Martin Ayotte
95acbdbe1a add HDMI to OPiLite2 and OPiOne+ 2019-03-14 17:03:14 -04:00
Martin Ayotte
6c9ccaffba fix Pinebook hpvcc-supply 2019-03-14 17:01:14 -04:00
Martin Ayotte
087bb6c3e9 fix Pine64 hpvcc-supply 2019-03-14 17:00:32 -04:00
Martin Ayotte
1420d659a1 fix a64-dvfs-wip patch according to 5.0.y 2019-03-14 16:55:53 -04:00
Martin Ayotte
ad868140cf initial commit for OrangePi3 WIP 2019-03-09 11:49:43 -05:00
Martin Ayotte
1e8aa12622 add WiFi RTL8723 to PineH64 2019-03-09 10:10:21 -05:00