Commit graph

1933 commits

Author SHA1 Message Date
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: add missing patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: change making u-boot targets to standard way, adjust patches and config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Enable DEV branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: NEXT branch use mainline U-Boot

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* bootscripts: mvebu: Add default value for spi_workaround

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: enable PCIe support and PCIe reset

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu-next: Adjust kernel config, add debug GPIO

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +02:00
Werner
b213bf52b3 [sunxi-next] remove obsolete patch (#1486)
was added to mainstream in 4.19.61
2019-07-28 17:39:38 -04:00
Werner
19c5be4cb4 Add files via upload (#1485)
SUNXI-NEXT to patchlevel 4.19.62
2019-07-28 09:46:35 -04:00
Martin Ayotte
776a5e7eb2 fix SPI default spi-max-frequency 2019-07-24 17:43:52 -04:00
Martin Ayotte
fadde96f2b fix SPIDEV overlay and add SPI-JEDEC-NOR overlay 2019-07-24 17:41:52 -04: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
Martin Ayotte
840594fad3 switch meson64 to 5.2.y and fix patches accordingly 2019-07-23 14:16:14 -04:00
Martin Ayotte
f0d3670ff9 fix typo in UART4 overlay 2019-07-23 12:31:18 -04:00
Martin Ayotte
6dceae89ce swap fragments order in UART4 overlay 2019-07-22 10:08:41 -04:00
Piotr Szczepanik
5ae502fa0a [rockchip64-dev] UART4 activating overlay 2019-07-21 13:24:42 +02:00
Thomas McKahan
3792d8ee59 [ rockchip default ] fix spidev compatible string 2019-07-19 16:53:35 -04:00
Hideaki Takahashi
7ccc58c402 disable strict mode for A64 pinctrl (#1459)
copy from patch/kernel/sunxi-dev
2019-07-17 14:08:03 +02:00
Igor Pecovnik
c865c065eb
Nanopi K1 plus: fix led colors 2019-07-15 17:29:31 +02:00
Igor Pecovnik
2b4af84e96 sunxi-next: add upstream patches and update kernel configuration 2019-07-15 09:58:52 +02:00
Martin Ayotte
885111ab0e switch rockchip64-dev and rk3399-dev to 5.2.y 2019-07-13 11:25:27 -04: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
Igor Pecovnik
8336ecf6ab
Merge branch 'master' of https://github.com/armbian/build 2019-07-13 15:31:23 +02:00
Igor Pecovnik
9fda2386bf
rockchip-next: add gpio_mem driver
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-13 15:30:49 +02:00
Martin Ayotte
82cc720e7a fix xradio patch 2019-07-13 09:25:37 -04:00
Igor Pecovnik
fc17154500
rockchip-dev: bump to 5.2, adjust pathes, add gpio_mem driver
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-13 15:14:54 +02:00
Martin Ayotte
a8265b5db2 fix some patches for 5.2.y 2019-07-11 16:06:36 -04:00
Manuel Rüger
6d46d8f69d [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches (#1424)
* [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches

* Support Bluetooth / WIFI
Akash Gajjar <akash@openedev.com>
45fa7c3838.patch
* Support Audio over HDMI
Ezequiel Garcia <ezequiel@collabora.com>
549dcdafe7.patch

* [rockchip64-dev] rockpi: Remove upstreamed patches

5.1 contains rockpi support

* [rockchip64-dev] Uboot: Add patch for correct naming
2019-07-11 09:12:50 +02:00
Igor Pecovnik
bb4a94d828
rockchip64: adjust patches with upstream and attach to the latest tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-08 19:43:05 +02: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
Igor Pecovnik
278692c712
sunxi-next: spidev driver bugfix and upstream patch https://github.com/armbian/build/issues/1445
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 19:17:12 +02:00
Igor Pečovnik
4acb3795d6
imx6: make all u-boot targets, fix 4.14.y, remove unfunctional BT patch, enable DEV branch ... all variants tested (#1438)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-01 07:21:17 +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
Igor Pecovnik
ed10182100
sunxi-next Upstream patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-27 20:56:19 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00
Martin Ayotte
eb61dc0fe4 UART3 should be disabled by default on all NanoPi 2019-06-24 10:50:00 -04:00
Martin Ayotte
2e3a338d48 fix SPIs registers in overlays 2019-06-20 10:11:25 -04:00
Martin Ayotte
8e4cf34a47 fix RockPi4b LEDs 2019-06-20 09:48:52 -04:00
Igor Pecovnik
a9007eda2c
sunxi-next Upstream patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-19 22:29:34 +02:00
Igor Pecovnik
2089f8d884
[ mvebu64-default ] Add upstream patches, change build targets and modify description for Macchiatobin
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-17 17:54:13 +02:00
Igor Pecovnik
7e66e95962 [ general ] add tiny debug option to track installed packages per each rootfs cache (internal feature), htop bugfix, sunxi upstream patch 2019-06-12 21:20:03 +02:00
Steev Klimaszewski
4bc4923f06 rockchip64-dev: Add back original names of nanopim4 and nanopct4 dtb files (#1414)
The bootloader seems to expect the downstream names of the dtb files, so create
a symlink to them from the new names that mainline has.
2019-06-11 21:55:53 +02:00
Igor Pecovnik
626fd3561c [ rockchip default ] upstream patches 2019-06-11 16:42:47 +02:00
Igor Pecovnik
32e121bbff [ odroidn2 ] Adjust upstream patches and configuration 2019-06-11 10:58:08 +02:00
Igor Pecovnik
a4e7f5192f [ sunxi/64 next ] add upstream patches, adjust config 2019-06-11 00:19:30 +02:00
Thomas McKahan
38b87b2683 [ rockchip dev ] Adjust ALSA, scrap unneeded patch
https://github.com/armbian/build/issues/1367
2019-06-09 01:25:55 -04:00
Thomas McKahan
c05db3a9ef [ rockchip default ] adjust ALSA
https://github.com/armbian/build/issues/1367
2019-06-09 00:40:29 -04:00
Thomas McKahan
ad2588ede2 [ rockchip next ] improve ALSA config
https://github.com/armbian/build/issues/1367
2019-06-09 00:18:58 -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