Commit graph

875 commits

Author SHA1 Message Date
Paolo
8f9f12065e
[RK3288] Bump rockchip-dev to kernel 5.7 (#2018)
* Moved rockchip-dev to kernel 5.7, removed already upstreamed patch (1016), adjusted conflicting patch (1015)
Most kernel configuration answer left at default, notables:
 - Wireguard (as module)
 - Zswap default compression set to LZO
 - RK3288 GPIOMEM (as module)
 - Enabled some new DMABUF bits (heaps, cmas)
 - Hantro driver
 - F2FS compression

* Disabled rx/tx dma for uarts, on my board causes system freeze during bluetooth initialization. Don't know if they ever worked, tried to enable them ages ago and they were already not working
2020-06-14 22:59:24 +02:00
Piotr Szczepanik
c7c2996b06
Switched rockchip64 dev target to kernel 5.7 (#2021) 2020-06-14 22:33:26 +02:00
Piotr Szczepanik
498ce1f67f Set default SERIALCON value for rockchip64 based on branch 2020-06-14 20:51:25 +02:00
Paolo
f4cce97548
[rk3288] Various fixes and enhancements for xt-q8l-v10 CSC board (#2013)
* For xt-q8l-v10 rk3288 board:
- Upgraded u-boot to v2020.04, reworked configuration to match new version, enabled HDMI video console
- Increased u-boot boot delay from 0 seconds to 1 second for rockchip boards, to allow user interrupt u-boot boot process
- Imported efuse rk3288 driver into u-boot, made ethernet address stable using soc serial
- Upgraded ddrbin loader to v1.08
- Added VDSO patch for rockchip-current and rockchip-dev kernels for clock_gettime64 to fix erratic clock on 32 bit ARM devices with recent glibc
- Disabled 600 Mhz OPP node for GPU due to Panfrost instabilities, thus enabled 500 Mhz node
- Various fixes and enhancements to xt-q8l-v10 device trees for current and dev targets
- Added (disabled) u-boot HDMI patch for Tinkerboard

* Removed rk3288 ddrbin v1.08 from rockchip blobs, changed reference to use rkbin-tools repository

* Removed unneeded disabled patch for tinkerboard HDMI
2020-06-10 20:35:52 +02:00
Piotr Szczepanik
442fd248c3
Downgraded DDR blob for RockPi 4 to fix 1GB model boot issue (#2010) 2020-06-08 08:47:46 +02:00
Werner
7c6fc4ec73
Allwinner H6 - Remove CPU soft-cap (#1996)
No longer necessary due to the recently added thermal trips
2020-05-29 13:11:46 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

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

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

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

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
Igor Pecovnik
f8496ad914
workaround: s5p6818 attach to last know working tag
There are some changes in the recent version that breaks network driver

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-21 10:35:25 +02:00
Igor Pečovnik
702259ea7d
Enable USB on Udoo board (#1973)
* Enable USB on Udoo
2020-05-17 18:38:51 +02:00
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

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

* Add notes for separate boot partitions

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

* Typo

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

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

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

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

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

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
Gauthier Provost
e3dd8abedb
[ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946)
* [ mvebu ] Switch fake-hwclock to hardware RTC AR-159

* remove fake-hwclock dpkg
* tweak /lib/udev/hwclock-set to be executed even if systemd present
* move helios4 bsp file under mvebu folder for tidiness
2020-05-13 11:44:44 +08:00
Tony
9a8e6d4515
Small fix uboot_g12_postprocess
Prepping for N2 move to mainline I stumbled upon the missed variables when I tried to use this on g12b.

@igorpecovnik  or @superna9999 I just want a second set of eyes, I think it's obvious, but that's where I always make the mistakes.
2020-05-11 00:01:02 -04:00
Igor Pecovnik
22123d828d
Bugfix: changing CPU governor on A64
Apperently DVFS is not peforming perfectly correct https://forum.armbian.com/topic/13953-pine-a64-with-gnome-mouse-not-working/

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-10 11:54:52 +02:00
Piotr Szczepanik
91f2700eea
Fixes and cleanups after rockchip64 preparation for mainline u-boot (#1945) 2020-05-06 23:45:09 +02:00
Piotr Szczepanik
1535f9d2ae
Switched NanoPi R2S to mainline u-boot (#1940) 2020-05-05 21:20:31 +02:00
Igor Pečovnik
3c61732ce6
Attach XU4 DEV to Chewit DEV branch (#1944) 2020-05-05 19:04:23 +02:00
Piotr Szczepanik
5a2b2c360b
Prepare rockchip64 for switch to mainline u-boot and switched ROCK Pi 4 (#1934) 2020-05-03 19:15:46 +02:00
Igor Pecovnik
aaaff2493c
Enable AUFS on DEV kernels 2020-05-03 01:12:31 +02:00
plntyk
483d7e96a7
Fix odroidc1 (#1932)
* enable and change odroidc1 config
remove EOS
enable current and dev config
meson-current: update config
meson-dev: update config
Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson-current meson-dev: reduce Kernel size

with default loading locations in u-boot
the uImage can be too large and will be partly overwritten
with the loaded dtb leading to boot failues due to wrong checksum

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* odroid-c1: change default loglevel

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson: fix odroidc1 boot and create uImage

without uImage the board will not boot
take the already used hack (?) from
general-kernel-odroidn2-current.patch
since KERNEL_IMAGE_TYPE does not work as expected

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* Update targets.conf

* Update targets.conf

* Update targets.conf

* Making a bigger diff

* Removing build_minimal

One can choose what to build, while build targets are defined elsewhere

* Governor interactive n/a

* Updating config

Cause of changes in boot.ini we don't need to worry about size. After few tests, no problems sighted.

Tested running Docker.

* Adjust dev config too

Tested.

* Update odroidc1.conf

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-05-03 00:39:52 +02:00
Thomas Kaiser
e8cf690f24
Stop ODROID C4 being limited to 1.5 GHz
https://www.cnx-software.com/2020/04/23/50-odroid-c4-raspberry-pi-4-competitor-combines-amlogic-s905x3-soc-with-4gb-ram/#comment-572445
2020-04-30 21:08:26 +02:00
Igor Pečovnik
716bd3b9dc
Reverting mvebu64 to K4.19 (#1926)
It doesn't want to boot on 5.4.y. Adjusting kernel config, fix Docker dependency problem, move few other minor fixes from openwrt and closing https://github.com/armbian/build/issues/1453
2020-04-29 01:04:10 +02:00
Igor Pecovnik
54f5c04776
Typo bugfix
Related to https://github.com/armbian/build/pull/1925

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-27 23:23:48 +02:00
lsartory
af68daf739
Fix the 2GB 2CS Espressobin bootloader config (#1925)
The 2 CS 2 GB image was compiled with the same DDR topology parameter as the 2 CS 1 GB image (DDR_TOPOLOGY=2).
This prevented the system from accessing more than 1 GB of memory.

See
https://forum.armbian.com/topic/13672-espressobin-only-1-gb-ram-detected-on-a-2-gb-board/
for the whole history.
2020-04-27 19:30:13 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
Antoine Aflalo
a44f6a6ac6
Base Odroid kernel on HardKernel repository (#1906) 2020-04-21 00:16:48 +02:00
Igor Pečovnik
5e8cbd8e6a
Switch sunxi and sunxi64 to u-boot v2020.04 (#1894)
* Disable DE2 in u-boot to improve EDID detection
* Remove deprecated patches
* Define BOOTBRANCH in top level

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 23:44:35 +02:00
Piotr Szczepanik
75d0f64e3d
Switch rk3399 to u-boot v2020.04 (#1873)
* Switched rk3399 to u-boot 2020.04-rc4
* Switched rk3399 u-boot to v2020.04, synchronized configs
* Updated to u-boot v2020.04 final
* Fixed OrangePi 4 device tree reference
2020-04-17 21:30:37 +02:00
Igor Pečovnik
03f380178d
Moving Meson64 to k5.6.y and u-boot 2020.04 (#1890)
* Move Meson64 to 5.6.y
* Move Meson64 U-boot to 2020.04

Tested on Odroid C2
* Merge, replace and update patches from Khadas branch
2020-04-17 09:07:43 +02:00
Jannis
dfa282c44a [ mvebu ] Adjust board config to consolidate uboot and target new patch dirs 2020-04-08 23:40:20 +02:00
Martin Ayotte
ba3135040f switch sunxi-dev branch to 5.6.y 2020-04-06 14:32:56 -04:00
Igor Pečovnik
5e251dc414
Merged rockpi-s dev info rockchip64-dev and moved to 5.6.y (#1874)
Added all patches from @ashthespy repository
2020-04-06 19:06:28 +02:00
Igor Pecovnik
9f441a3d14
Move Odroid XU4 DEV branch to 5.6.y
Also update all patches and configs
2020-04-06 14:51:28 +02:00
Igor Pečovnik
bd7ec831bf
Move mvebu64-current to 5.4.y, DEV to 5.6.y (#1866)
* Move mvebu64-current to 5.4.y, DEV to 5.6.y
* Adjust config
2020-04-01 21:24:18 +02:00
Piotr Szczepanik
f58a0c0e0a Synchced ROCK Pi S legacy with Radxa work 2020-03-22 00:10:10 +01:00
Igor Pecovnik
ce350fb03f
[ nanopi-r2s ] Enable ipupdown networking configuration
- change ZBUD in kernel config that ZRAM enableds without warnings in log
- blacklist not needed kernel modules (HDMI related features)
2020-03-10 20:03:05 +01:00
Igor Pečovnik
a0e009a73e
WIP: Add initial support for FriendlyARM Nanopi R2S (#1793)
* Add initial support for FriendlyARM Nanopi R2s

One net port not working yet.

* Enable 2nd network, rename it to lan0, adjust motd to see lan*

* Added rk3328 dmc devfreq driver

* Fixed SD card issues for NanoPi R2s

* Added usb serial gadget console for NanoPi R2s

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-03-09 00:03:27 +01:00
Jannis
659ca6d8e4 Merge branch 'master' into mvebu-kernel-update 2020-03-03 22:43:03 +01:00
Ash
d3b6800611
[ROCK Pi S] Mainline 5.5.y (dev) target (#1773)
* [ROCK Pi S] WIP mainline (dev) target
* [ROCK Pi S] Disable `rockchip64-dev` patches for now
* [ROCK Pi S] Add rtl8723ds wifi drivers
* [ROCK Pi S] Enable onboard audio (`rk3308-acodec`,`rk3308-i2s-tdm`)
Switch kernelsource to 5.5.y
* [ROCK Pi S] WIP: Use mainline 5.5.y kernel
Add a new `current` branch that tracks mainline
* [ROCK Pi S] Use updated u-boot board dt name `rk3308-rock-pi-s`
Removing the need for a special bootenv for n
* Temporally disable current
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-03-02 21:48:12 +01:00
Jannis
21ea7b8528 [ mvebu-helios4 ] Fix helios4 module includes 2020-03-02 09:26:47 +01:00
Igor Pecovnik
060241f0bb
Revert "Switched OrangePi 4 to SPL/TPL + bl31 u-boot scenario (#1774)"
This reverts commit 45de363a0f.
2020-03-01 10:32:07 +01:00
Werner
75a43239c6
Softlimit H6 clock (#1811) 2020-02-28 18:56:52 +01:00
Jannis
91969d52bb Merge branch 'master' into mvebu-kernel-update 2020-02-18 12:44:51 +01:00
Igor Pečovnik
47e151d831
Fix Pinebook and Teres (#1800)
* Port ANX78xx Pinebook / Teres LCD panel driver from 5.6-rc1

* Move Teres U-boot to 2020.01 ... it boots with enabled screen now.

* U-boot 2020 needs some extra Pyton utils when packing sunxi bootloader. Adding to native and Docker build dependencies.

* Add Pinebook lid wakeup

* python3-dev is also needed dependency
2020-02-14 18:50:00 +01:00
Igor Pecovnik
7a2b35f2d5 Cleanup and a small bugfix 2020-02-11 17:37:31 +01:00
Martin Ayotte
2a42688257 Merge pull request #1786 from armbian/general-configurable-fdt-file
FDT file customisable per board
2020-02-08 08:16:38 -05:00
Igor Pecovnik
aa6d56dab3 Bugfix - Focal desktop was not building.
Updating kernel configuration for Rockchip, bump with rootfs version due to cache recompile, adding kernel config for rockchip DEV, attached to 5.5.y
2020-02-08 10:12:47 +01:00
Piotr Szczepanik
83cf87922b FDT file configurable per board 2020-02-07 22:21:01 +01:00
Martin Ayotte
d7de341d5c don't overwrite OVERLAY_PREFIX if already defined 2020-02-05 17:14:42 -05:00