Commit Graph

56 Commits

Author SHA1 Message Date
count-doku
cde23300d8 Enable IIO and add bmp280 sensor module 2019-08-02 13:08:36 +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
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
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
Gauthier Provost
ea8748ef50 [ mvebu ] Watchdog kernel config changes (#1355)
* Disable watchdog NOWAYOUT in order to be able to stop watchdog during runtime.
* Make ORION watchdog a module instead of in-kernel to give more flexibility to user.
2019-04-25 18:12:54 +02:00
Igor Pecovnik
a984625d53 [ general ] update kernel configs due to upstream changes 2019-04-17 11:41:23 +02:00
Igor Pecovnik
75b20f5d7d [ kernels general ] Support PPS via GPIO and Serial as LKM, add to https://github.com/armbian/build/pull/1349 2019-04-16 21:22:50 +02:00
sergey
f44708703c linux kernel add netfilter modules 2019-02-24 23:42:46 +03:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Martin Rowe
62deeacdff Re-enable USB_NET_PLUSB in linux-mvebu dev and next
Enables use of Prolific USB-to-USB bridges which was only available in default kernel.
2019-01-29 12:09:25 +10:00
Igor Pecovnik
7468eb23ab [ wireguard ] add to config, move Tinkerboard to stable branch, add upstream patches 2019-01-28 20:47:37 +01:00
Igor Pecovnik
a1c19b3ca1 [ general ] adjust a few kernel configs 2019-01-22 08:50:41 +01:00
Aditya Prayoga
aa91c9b7e6 kernel: mvebu-next: Enable offload support for the async_tx api
Without enabling this support, the hardware XOR (MV_XOR) is not used by the
system. It is enabled in mvebu-default.config

Some discussion,
https://forum.armbian.com/topic/6033-helios4-support/?do=findComment&comment=69649
2019-01-18 02:14:40 -08:00
ThomasKaiser
7334104818 Use CONFIG_HZ=250 where applicable
Closes #1142
2018-10-27 10:38:35 +02:00
ThomasKaiser
dc9ad0e1e5 Consolidate CEPH and CIFS settings 2018-09-04 22:04:13 +02:00
Igor Pecovnik
96ca6f0e07 MVEBZ default upstream patches, config ajdustement, remove deprecated patches, adjusted build targets 2018-08-22 13:26:06 +02:00
Igor Pečovnik
fa1382d64d Adjust MVEBU packagin patch and configuration 2018-07-24 12:31:31 +00:00
ThomasKaiser
0a54d03ed8 Consolidate timer frequency settings accross all kernels
...skipping default 3.x kernels
2018-07-16 16:41:45 +02:00
Igor Pečovnik
cf40fda60a Add OMV 4 module dependencies and a workaround for ram2log that OMV can make use ZRAM powered ramlog. It is also helpful in case of sudden crash. Nginx can't start without log places into its subdir. We create them on start. 2018-07-04 14:19:50 +00:00
Igor Pecovnik
4af7efa568 Merge MVEBU to stable 2018-05-24 14:18:01 +02:00
zador-blood-stained
2a11de768c Merge safe changes from development to master, part 2 2018-04-29 16:02:11 +03:00
zador-blood-stained
476da48ccb Enable iSCSI kernel options for mvebu-next 2018-02-17 16:50:52 +03:00
Igor Pecovnik
865a9386d3 mvebu next and default update
- added updated AUFS and updated 8811/12/14AU Wireless driver
- added 8188 to next
- config update
2018-02-08 17:23:27 +01:00
Igor Pecovnik
208c98f2f0 Upstream patches for K4.4 2018-02-05 14:07:33 +01:00
Gauthier Provost
8bc4065287 Make fancontrol config use physical device address (mapped via 90-helios4-hwmon.rules)
Remove kernel KGDB options
2018-02-05 00:55:36 +08:00
Gauthier Provost
2a16922623 Merge remote-tracking branch 'upstream/master' into helios4 2018-02-04 12:44:09 +08:00
Igor Pecovnik
7f7d82a6c1 Helios4 cleanup. Adding default branch 2018-01-07 09:58:52 +01:00
Gauthier Provost
40db97da68 Merge branch 'helios4_next' into helios4 2018-01-06 19:12:21 +08:00
Igor Pecovnik
a725691d2e Adding Helios4 NEXT (only) target. All basic features are working ... moving to .conf 2018-01-05 20:55:39 +01:00
aprayoga
6446a20a7f Enable minimal kernel debug info
- Enable KGDB support
- Enable earlycon and earlyprintk support
2017-12-30 16:50:32 +08:00
aprayoga
63fca0a876 enable "next" branch on Helios4 2017-12-30 16:50:32 +08:00
zador-blood-stained
763a2fa38d Update mvebu-{next,dev} kernel to 4.14 2017-11-25 17:46:35 +03:00
ThomasKaiser
c3b26491b6 Let USB device negotiation appear in dmesg output 2017-11-23 20:37:57 +01:00
ThomasKaiser
841a6411b7 Kernel support for zram 2017-11-03 10:58:22 -07:00
Igor Pecovnik
978e927073 Updated configs, changing 8812/11/14 driver on all next kernels, removing deprecated patch 2017-10-30 16:10:53 +01:00
zador-blood-stained
71ac70f93e Hopefully fix module relocation issues in several kernels 2017-10-16 13:33:10 +03:00
zador-blood-stained
9cc2395f32 Update several mainline configs
This may fix the module relocation issues on some configurations
2017-10-14 14:46:58 +03:00
Igor Pecovnik
c4079d274c Enable CONFIG_ATA_OVER_ETH
https://github.com/armbian/build/issues/788
2017-09-30 23:01:57 +02:00
Igor Pecovnik
3b14cf6ab0 MVEBU NEXT - Clearfog, Helios4. Add recent USB wifis and AUFS 2017-09-23 23:35:57 +02:00
zador-blood-stained
a6bddb3c3a Enable stackprotector in several mainline configs 2017-09-16 16:47:10 +03:00
zador-blood-stained
c4e05b961d Update mvebu-next to 4.13 2017-09-06 13:22:18 +03:00
zador-blood-stained
887909909f Update mvebu-next to 4.12 2017-07-12 21:58:34 +03:00
zador-blood-stained
7e42a341fe Update mvebu-next config 2017-06-12 13:02:33 +03:00
zador-blood-stained
e10fa9f0b6 Update mvebu kernel configs 2017-05-28 19:22:20 +03:00
zador-blood-stained
aa1b59710d Update mvebu-next branch to 4.11 2017-05-14 19:11:33 +03:00
zador-blood-stained
377a3e09e2 Add cpufreq support for mvebu-next 2017-04-15 13:12:05 +03:00
Thomas Kaiser
54d480c02e Small Clearfog fixes 2017-04-14 22:42:14 +02:00
Thomas Kaiser
ca3637c57f Make kernels OMV friendly -- see #36 2017-04-02 16:06:55 +02:00
zador-blood-stained
23e6d0469b Minimize marvell kernel configs 2017-02-26 22:13:13 +03:00
zador-blood-stained
2dbacb27e3 Update mvebu-next to 4.10.x 2017-02-26 20:33:09 +03:00