Commit Graph

962 Commits

Author SHA1 Message Date
Piotr Szczepanik
8a4cf4e107 [rockchip64-dev] enable DW HDMI I2S AUDIO interface (#1513) 2019-08-11 09:44:43 +02:00
Werner
414f304b13 [sunxi-dev] add CPU_THERMAL (#1509)
* Update linux-sunxi-dev.config

* Update linux-sunxi64-dev.config
2019-08-06 21:01:18 -04:00
Igor Pecovnik
5194d17539
rk3399: added fixed upstream patches, remove selinux due to broken headers, add latest rtl7156 driver, adjust kernel configuration. Briefly tested on T4. 2019-08-07 00:47:40 +02:00
Igor Pecovnik
0cc99ba7af
rockchip64: Add improved driver for RTL8156 2.5GBE USB based NIC.
Removed SE Linux since it breaks kernel headers and added upstream patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-06 18:31:59 +02:00
tonymac32
3006ade998 [ Meson64-dev ] Update config for 5.2 2019-08-05 00:49:20 -04:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
Zhang Ning
d180c40c97 disable lima
when enable lima, it requires mesa upgrade or use fbdev for X11

and lima mesa driver is not ready for daily use.
use fbdev is same as disable lima

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 10:05:24 +08:00
chwe17
a040785d42 Tinkerboard camera support (#1482)
* fix kernelcrash with config_of_overlay combined with isp1 camera driver,based on:
30a8401c2f

* add basic dtbo infrastucture

* set ov5647 (RPi cam rev 1.3) as default, imx219 (RPi cam V2.1) outputs a blurry green videostream at the moment

* maybe fix powering for camera

* adjust mainline dtbo patch to bsp kernel

* got you! little.. dtbo's are properly built and applied during boot.

* add imx219 overlay to switch between cameras & add ae/awb fix for ov 5647 from asus tinker repo

* patch imx219 up to 96396323fa

* bring back wireguard, otherwise igor gets grumpy :D

* fix camera status
2019-08-04 18:05:50 -04:00
Igor Pecovnik
453554eae4
rockchip64-dev: remove deprecated patches, adjust patch, adjust configuration
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-04 08:00:42 +02:00
Igor Pecovnik
f035a82726
mvebu64: update dev to 5.2.y, rockchip64-default: attach to new tag + upstream patch, bump with version due to htop and sunxi kernels update
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-02 23:12:38 +02:00
count-doku
cde23300d8 Enable IIO and add bmp280 sensor module 2019-08-02 13:08:36 +02:00
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
Zhang Ning
45f295d630 meson64-dev: enable BT and lima
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-30 00:25:13 +08:00
Igor Pecovnik
49983682b4
Enable CONFIG_SQUASHFS_XZ where not enabled. Closes https://github.com/armbian/build/issues/1483
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:58:17 +02:00
Igor Pecovnik
5412aa7d9c
sunxi-dev/sunxi64-dev: update kernel configurations
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:54:31 +02:00
Igor Pecovnik
33101aeea6
odroidc1: (try to) enable temperature readings 2019-07-25 16:40:55 +02:00
Igor Pecovnik
307c1daaa1
sunxi-dev: adjust kernel configuration 2019-07-25 08:47:11 +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
Piotr Szczepanik
3babd2042e Additional UART added to linux-rockchip64-dev.config 2019-07-23 23:25:24 +02:00
alpe12
6e45b916a6 Update linux-odroidc1-next.config (#1476)
* Update linux-odroidc1-next.config

https://github.com/armbian/build/issues/1465

* Update linux-odroidc1-next.config
2019-07-23 20:26:21 +02:00
Igor Pecovnik
64f00e821d
odroid c1 and xu4: attach DEV kernels to 5.2.y 2019-07-16 10:56:39 +02:00
Igor Pecovnik
2b4af84e96 sunxi-next: add upstream patches and update kernel configuration 2019-07-15 09:58:52 +02:00
Igor Pecovnik
aa4c1cf97e cubox-i: attach dev branch to 5.2.y 2019-07-15 09:39:48 +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
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
Igor Pecovnik
70bbbe3aea
mvebu-default: tiny kernel config update
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-04 08:02:21 +02:00
chwe17
7933438d45 Odroid N2: enable CONFIG_HARDEN_BRANCH_PREDICTOR & move board to csc … (#1441)
* Odroid N2: enable CONFIG_HARDEN_BRANCH_PREDICTOR & move board to csc to reflect the DL page

* reenable wireguard
2019-07-01 21:13:26 +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
Timo Bingmann
56e95480e9 enable CONFIG_USB_PRINTER module for use as cups server 2019-06-22 13:55:08 +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
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +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
leszekb
b3ceae61fa
Update linux-sunxi-next.config 2019-06-10 13:33:27 +02:00
leszekb
e63d9fd23e
Update linux-sunxi-next.config 2019-06-10 13:25:34 +02:00
Igor Pecovnik
3e1d48411e [ mvebu next ] Attach to (last known working) fixed kernel branch. It looks that its some more work to get it working again and since its planned to move to 4.19.y ... not worth doing it. 2019-06-10 10:48:36 +02:00
Igor Pecovnik
f37c94948e [ rk3399 ] Adjust DEV patches, update kernel config, attach 3399-dev to the same branch as rockchip64-dev 2019-06-09 20:10:58 +02:00
Igor Pecovnik
251c8ec8f4 [ rockchip64 ] Tiny kernel config change 2019-06-08 19:15:12 +02:00
Igor Pecovnik
6e04f6f89c [ sunxi64 ] Enable HDMI on Orangepi One+, adjust kernel config 2019-06-08 18:49:54 +02:00
BeetleX99
3390877623
Update linux-sunxi-next.config 2019-06-05 15:21:15 +02:00
BeetleX99
c0ed5f1f88
Update linux-sunxi-dev.config 2019-06-05 15:18:37 +02:00
Igor Pecovnik
7c73d7a61f [ nanopik2 ] enable eMMC support for u-boot and kernel while booting from it is not supported with this commit yet. It will require some further first stage boot loader tweaking. 2019-06-04 21:35:48 +02:00
Igor Pecovnik
61f7953842 Remove deprecated patches in most mainline kernels and adjust few configs. 2019-06-02 22:15:15 +02:00
Darren Chin
d2d7c8ab80 Add CONFIG_NETFILTER_XT_SET=m for odroidn2 2019-06-02 15:07:31 -04:00
Igor Pecovnik
b82c88191b [ s5p6818 next ] patches and kernel adjustements 2019-05-31 21:34:43 +02:00
Igor Pecovnik
94cbeae168 [ odroidn2 ] Adjust and add upstream patch 2019-05-31 20:18:51 +02:00
Igor Pecovnik
f7edc91c8f [ sunxi next ] Adjust patches 2019-05-31 19:40:38 +02:00
Igor Pecovnik
f7030069f4 [ rockchip-next ] remove deprecated patches, adjust kernel configuration 2019-05-31 19:08:48 +02:00