807 Commits

Author SHA1 Message Date
JMCC
eb1beec350 Add Khadas Vim2 csc 2020-11-28 14:58:10 +00:00
Jannis
53906b386c
Merge pull request #2352 from armbian/AR-526
[AR-526] Moving mvebu-dev to lk5.9
2020-11-27 08:36:50 +01:00
Icenowy Zheng
e19d014e00
Add Pine64 PineCube support (#2364)
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0

The former is useful on some boards, e.g. PineCube.

The latter blocks boards that do not utilize UART0 from booting.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add new family sun8i-v3s

This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add PineCube board

This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.

Add support for it. It could be used as an IP camera then.

Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes

These are needed for USB host on V3s boards to work.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-25 19:50:10 +01:00
Heisath
87aa3de522 Merge branch 'master' into AR-526 2020-11-25 09:43:23 +01:00
Aditya Prayoga
a3beb9b5a3
Helios64: Update fan configuration, enable network LED and enable UPS timer (#2376)
* update fancontrol configuration

* Enable network activity led, default to eth0

* Do not disable auto poweron on power loss event

* Added UPS timer

Provide timer to poweroff system after 600 s (10 minutes) of power loss
event. If power restored within that time window, cancel the timer.

* Use different service for legacy

LK 4.4 does not have ledtrig-netdev, so it will cause the service to
fail.

* Use 10m instead 600 seconds in UPS timer

Systemd time can use m suffix for minutes. Use this to make it easier to
read.
2020-11-25 14:18:29 +07:00
Igor Pečovnik
e833e2589c
Move Odroid C4 from legacy u-boot toward mainline (#2350)
- move Odroid C4 from legacy u-boot toward mainline
- get rid of dirty legacy u-boot code
- get rid of FAT boot partition
- briefly tested
- both kernels can operate with one standard boot script
- add upstream patch and adjust config
- fix console
- don't clock C4 too high by default
2020-11-22 13:47:41 +01:00
Heisath
3c507567e6 Merge branch 'master' into AR-526 2020-11-19 16:57:52 +01:00
Oleg
469e7cda9d
Add Firefly Station M1 and P1 (#2361) 2020-11-18 22:32:40 +01:00
Heisath
78ac91461c Disable clearfogbase dev uboot 2020-11-16 13:05:01 +01:00
Igor Pečovnik
f2756e3b59
Add Odroid HC4 to mainline kernel (#2319)
* Add Odroid HC4 to mainline kernel

- remove legacy target
- add reset / power off support
- change HC4 from .wip -> .conf
- adjust patches

* Enable HC4 legacy kernel too.

* Add groovy target for HC4

* Adjust targets
2020-11-08 12:13:22 +01:00
Igor Pečovnik
aa2bc7e9a4
Add Odroid HC4 legacy WIP target (#2304)
- fix broken patch
- add upstream patch
2020-11-05 22:03:52 +01:00
Piotr Szczepanik
a2dd26ab84
Enable Helios64 support in dev branch 2020-10-29 21:14:02 +01:00
Igor Pecovnik
d7010c181d NanopiR2S - blacklist VPU driver since we don't need it on this board. 2020-10-22 15:36:29 +02:00
Piotr Szczepanik
20242214ec Split ROCK Pi 4 into 4A, 4B and 4C in u-boot (4A uses 4B DT) 2020-10-17 23:38:05 +02:00
Tony
bdd6b32c13
Move Libre Computer Renegade to mainline u-boot (#2238)
* Update renegade.conf
update to mainline defconfig
* Update rockchip64_common.inc
Use mainline u-boot with Libre Computer Renegade
2020-10-05 07:38:36 +02:00
Piotr Szczepanik
58395d3585
Switch Pinebook Pro to mainline u-boot (#2229)
* Switched Pinebook Pro to mainline u-boot

* Some Pinebook Pro mainline u-boot tweaks

(based on https://github.com/pcm720/u-boot-build-scripts)

* Removed Pinebook Pro legacy u-boot support
2020-09-29 09:54:19 -04:00
lanefu
b2800dbd25
WIP: Pinebookpro tweaks (#2208)
Pinebook-Pro Support:
suspend to idle via key and lid close
brightness keys
volume control keys
wifi, bluetooth frimware
touchpad tweaks
keyboard config
armbian-hardware-optimization
bootsplash
Co-authored-by: Britt Dodd <britt@reactornet.net>
2020-09-22 21:03:45 -04:00
Igor Pecovnik
362219083f Re-add EOS BPi M2 target that fell out. It builds but no device or time to test
https://twitter.com/6LR61/status/1308392752116363265
2020-09-22 19:02:24 +02:00
paolo
68a7b87729 Added bluez package to xt-q8l-v10 images, mainly for bluetooth on debian minimal images 2020-09-20 14:28:41 +00:00
Aditya Prayoga
f14bd3ca96
Helios64 - disabled overclocking (#2191) 2020-09-09 21:52:47 +02:00
Igor Pečovnik
dccb076019
Adding Neo3 with I2S and SPDIF enabled by default (#2193)
Moving from wip to conf. We have dedicated DT and probably not much left.
2020-09-08 21:47:27 +02:00
Aditya Prayoga
c242d07397
Helios64 tweak (#2186)
* bsp: helios64: Add fancontrol

- Fancontrol configuration
- Udev rules for fan and temp sensor

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

* bsp: helios64: Enable heartbeat on system status led

The reason systemd service used instead of device tree modification, is
to give visual notification that the system is ready.

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

* armbian-hardware-optimization: SATA & 2.5GbE IRQ pinning on Helios64

- 2.5GbE USB LAN which is attached to XHCI, assigned to CPU4
- SATA controller assigned to CPU4 and CPU5

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2020-09-07 11:17:57 +02:00
Igor Pečovnik
0c617a3c3b
Move Espressobin to 5.8.y (#2187)
- remove fixed MAC from boot script
- remove legacy kernels images from making
2020-09-05 17:16:01 +02:00
Werner
d70ebd1ae4
OrangePi One Plus: Enable legacy kernel (5.4) 2020-09-01 09:35:53 +02:00
Werner
b218c5e7d6
OrangePi Lite2: Enable legacy kernel (5.4) 2020-09-01 09:35:30 +02:00
Igor Pečovnik
b1ac157a3a
Move Odroid C1 current to 5.8.y (#2168)
* Move Odroid C1 current to 5.8.y
* Add missing patches
2020-08-31 17:10:23 +02:00
Igor Pečovnik
36405e3397
Add Rockpi 4C (#2129)
* Add Rockpi 4C

* Update config/boards/rockpi-4c.conf

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>

* Change backward compatibility link to B model

* Various changes - tested for building.

 - add Radxa overlays
 - update naming with mainline
 - add Rockpi-E

* Reverting improvements for rockpi legacy and create a link to new DT only

* Copied ROCK Pi 4 device treesplitting patches to dev which was broken

* Add Rockpi 4c targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-29 00:16:28 +02:00
Paolo
804a6b60d4
Moved rk322x-dev to rk322x-current (current now is 5.7.y) (#2153)
Adapted rk322x-dev to kernel 5.8.y
Added ssv6x5x driver to legacy kernel, rk322x-config now allows the user to select which driver load at boot
Added esp8089 kernel module, device tree overlay and detection in rk322x-config script
Fixed some indentation
Added reset button binding
Added sdcard debounce
Fixes indentation, added device tree overlay for high-leakage cpus
Added support for bluetooth device tree overlay and realtek systemd service for rk322x targets
2020-08-28 18:48:55 +02:00
Piotr Szczepanik
6c8b9d9371
Unset MODULES and MODULES_BLACKLIST vars before next build in BUILD_ALL (#2162)
* Unset also MODULES and MODULES_BLACKLIST vars before next build

* Document MODULES and MODULES_BLACKLIST
2020-08-28 18:45:25 +02:00
Aditya Prayoga
c27379e93f
Add Helios64 support (#2126)
* Add initial Helios64 configuration

Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C

armbian-firstrun: exclude helios64 from generating fixed_mac

Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.

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

* u-boot: rk3399: Add Helios64

Use rockchip propriettary loader

* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156

Required for Helios64

* kernel: rk3399-legacy: update Rockchip PCIe driver

Port changes by ayufan on rockchip64.

* kernel: rk3399-legacy: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules

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

* kernel: rk3399-legacy: rework roc-rk3399-pc patch

the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile

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

* kernel: rk3399-legacy: update Rockchip PCIe driver

Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/

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

* kernel: rockchip64-current: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.

* config: helios64: use mainline ATF on current branch

and u-boot TPL/SPL instead of Rockchip proprietary loader

* helios64: u-boot v2020.07 update

* Add Helios64 target

* kernel: rk3399-legacy: update Rockchip PCIe driver

Removed unrelated changes from porting ayufan fixes

Signed-off-by: Piotr Szczepanik <piter75@gmail.com>

* helios64: make use of PACKAGE_LIST* variables

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-10 18:22:48 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
Piotr Szczepanik
d7cc374235
Fixed setting CPUMAX in rockchip64 / rk3399 families (#2134)
Additionally enabled possibility to override default values for CPUMIN and CPUMAX per board.
2020-08-07 10:06:24 +02:00
Igor Pecovnik
a032106fc0 Rockpi S can have current targets since 5.7.y 2020-08-04 18:59:20 +02:00
Igor Pecovnik
c4f5384468 Add legacy kernel option (5.4.y) to A64 & H5 boards 2020-08-04 17:09:31 +02:00
Igor Pečovnik
0c46b4c1d2
Add support for packages remove per board or family (#2128) 2020-08-04 16:16:02 +02:00
5kft
1914066729
enable legacy kernel builds for nanopineo2 and nanopineo2black 2020-07-30 09:23:20 -07:00
Piotr Szczepanik
b661be0afe
Cleaned up ROC-RK3399-PC after switching current to 5.7.y (#2104) 2020-07-22 23:35:49 +02:00
Igor Pečovnik
a2d756dace
Add support for two dedicated package lists for BOARD and FAMILY (#2097)
* Add support for two dedicated package lists for BOARD and FAMILY

- PACKAGE_LIST_BOARD
- PACKAGE_LIST_FAMILY

* Add some info about recently added features to the README.md
2020-07-17 18:29:24 +02:00
Igor Pečovnik
74231a1b86
Changing Rockpi naming to align with others (#2080)
* Changing Rockpi naming to align with others
Also move CPU MIN speed down, limit Rockpi E cpu to 1.2G, move it to supported
* Lower speed on R2S too, blacklist graphics stuff on E
* Adjust more RK3328 boards and set new default max speed

Main purpose is to manage the heat, while user can easily unlock higher CPU speed with armbian-config or manually.
2020-07-17 10:39:12 +02:00
Jayantajit Gogoi
71dde35217
Initial NanoPi NEO3 support (as WIP) (#2093)
* WIP: Adding NanoPi Neo3 config
* u-boot for NanoPi NEO3
* add board to target.conf

Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>

* Update nanopineo3.wip

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-07-17 10:30:07 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Igor Pečovnik
e1ecb09833
Initial ROCK Pi E support (as WIP) (#2042)
* WIP: Adding RockpiE config

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

* Mainline u-boot for ROCK Pi E

* Initial ROCK Pi E device tree in kernel

* Fixed supplies for ROCK Pi E device tree

* Adjusted u-boot load address for rockchip64 boards with 256MB eg. ROCK Pi E

* Blacklisted lima on ROCK Pi E

* Fixed ROCK Pi E patch after merge from master

* Removed mode settings from rk805 regulators

* Fixed issues with offloading for gigabit interface of RockPi E

* Adjusted ROCK Pi E board config

* Added dev branch for ROCK Pi E

* Add build targets

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

* Exchange legacy to current in ROCK Pi E build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-06-20 22:39:57 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* Introducing Rockchip rk322x SoC support

Main features:

- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation

* Removed disabled patches
* Restored mysteriously removed comment character
2020-06-19 17:27:27 +02:00
Igor Pečovnik
ca67855553
Add GPT partition table support (#2015)
* Add GPT parition table support               Leave unchanged / mbr by default since GPT doesn't works everywhere.

* Accept ROOTFS_PARTITION_TABLE as a parameter

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

* Change variable name

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

* Update README.md
2020-06-14 23:03:58 +02:00
guidol70
7196353ac9
delete additional modules-line in nanopia64.csc (#2007)
these modules arent in the image and also wouldnt be used for sound & network, because other modules are doing this work.
This - now deleted - module-line does generate a error-message in the onscreen-boot-log (not in dmesg) and can be read via :
systemctl status systemd-modules-load.service

result of this command:
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_codec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_i2s'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_sndcodec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module '8723bs'

without this module-line /etc/modules should be empty and the error-message is gone away
the 8723bs seems to be a artifact of teh former PineA64 image where the NanoPi A64 was forrmerly build of.
Maybe also the other 3 modules.
2020-06-04 13:12:40 +02:00
Igor Pecovnik
2fa2b61c21
Disable console on Nanopi M1 mUSB since its broken
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:42:13 +02:00
Igor Pečovnik
9c6ef73c5b
Add vendor name to the board description (#1997)
* Add vendor name to the board desctiption, move Cubieboard 1 to supported
2020-05-29 12:22:38 +02:00
Igor Pečovnik
6eaba6bfd0
Adjust board statuses (#1989)
* Adjust CONF, CSC and WIP statuses

* add table

* Typo
2020-05-27 20:31:49 +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