Commit Graph

760 Commits

Author SHA1 Message Date
Igor Pecovnik
6e50034ddb [ rk3399 default ] enable some USB hardware 2018-11-09 12:41:07 +01:00
Igor Pecovnik
0c9b42f10d [ rk3399 default bugfix ] adjusting patches and config 2018-11-09 07:05:53 +01:00
Igor Pečovnik
efa87b1fb8
Bananapi R2 (#1151)
* Initial commit BPi R2:
Currently working/not working:
- u-boot:
	- builds with minor issues
	- patching and cleanup happens on 'https://github.com/chwe17/u-boot-mt'
- next (https://github.com/frank-w/BPI-R2-4.14)
	- boots with minor issues
	- ETH doesn't work with nm
	- sata works
	- no wifi (needs driver from: https://github.com/frank-w/BPI-R2-4.4)
	- USB not working (xhci-mtk 1a1c0000.usb: fail to get vbus) needs investigation
	- appended device tree is needed due to u-boot doesn't work with fdt (kernelpacking needs adjustemts e.g. cat zImage dtb > zImage-dtb
- dev (kernel.org master)
	- untested, needs adjustments in config (e.g. CONFIG_LOCALVERSION="")
	- since no defconfig is available config is based on frank-w 4.16 Kernel
	- Kernel builds without issues
	- manual packing of kernel and dtb similar to next
The board boots, serial console is available but everything else must be expected as not working!
- to do:
	- u-boot needs a cleanup
	- binary blobs needs investigation
	- eMMC is **not tested** and needs for sure adjustements! (don't try nand-sata-install!!!)
	- bootscript isn't tested (only manual boot over u-boot console at the moment)
	- both kernelconfigs aren't 'armbian standard' modules need to be adjusted

Only use it when you know're familiar with u-boot commands!

* Small fixes, add bootscript
- add bootscript for patched u-boot (needs patching of u-boot, currently under investigation and not working properly)
- revert cat zImage dtb > zImage-dtb (cause not working)
- first cleanup of dev kernelconfig (remove CONFIG_LOCALVERSION="")

* Minor fixup
-kernelconfig for next was adjustet so that USB is recognized
-firt bootscripts was written to boot with source command (doesn't work 100% reliable)
-slightly adjustd boardconfig (e.g. bootscript)
must still be considered as early wip!

* small update (FDT works now)
-working bootscript
-adjusted boardconfig
-earlyprintk activated in kernelconfig

* First attempt to get ETH working
-all interfaces are bridged together
-performance sucks at the moment (not clear if it's related to insane network configuration or I miss something obvious... :P  )

* Major update (see below for changes):
- 4.14 kernel was dropped due to https://forum.armbian.com/topic/7296-bananapi-r2-csc-mt7623-as-new-boardfamily/?do=findComment&comment=55194 and following
	- boot.cmd was adjusted to 'clean' mainline behaviour
	- next build opition and its defaultconfg was removed (at the moment dev only)
- rework of the network default configuration
	- default configuration will be over network.d **not** NetworkManager
	- per default all wired interfaces are bridged together to br0 (still wip)
	- old 'interfaces' configuration was removed
- boardconfig is adjusted (no desktop until I've prove that HDMI works)
- what works/ not works:
	- board boots up without manual u-boot hacking
	- SATA, USB3 (massstorage) is tested and works without issues
	- due to rework of network configuration this is still wip and must be considered as 'not working'

* moved to network.d for configuration of wired network
- renamed bsp packages
- blacklist wired interfaces for NetworkManager
- defined all wired interfaces as br0 in systemd/network
- defined networkd als default renderer for bionic (not tested yet!)

* The houskeeping commit:
- BOARDFAMILY was renamed to mt7623 instead of mt7623n (including patchfolders etc.)
- Network.d has no fully control over wired networkes (block NM from controll, start networkd on firstrun etc.)
- Further cleanup kernelconfig
	- CPU temp is visible from userspace
	- missed switch driver loaded
	- cryptodrivers are there (not tested)
	- still a bunch of work

* Add DMA mem alloc patch
-under testing!

* Add next option (4.17.y) stick dev to master (4.18-rc1 untested)

* minor fixes:
- solve kconfig issues between 4.17 and 4.18
- stick next branch to 4.18
- first attempts to bring up gmac2 (doesn't work currently)

* switch to upstream u-boot
- fix ext4 dependency in patch series
- kernelpacking currently broken

* add bootz & cmd_ext4

* resolved merge conflict

* apply ugly u-boot patch, fix bootscript

* remove unneeded stuff, apply forgotten stuff

* update config for dev & clean up boardconf (remove xenial)

* - drop dev and next, move into default. There is no intention to provide stock kernel
- fixed board description, renamed to WIP, where it can be merged later
- packing boot firmware to the u-boot package
- docker dependencies (aufs will be added later. not essential)
- attached to 4.19.y
- loading armbianEnv.txt
- UUID support (tested)
- enabled ZRAM (tested)
- enabled eMMC install (not quite working properly yet)
- Bionic has some issues with systemd networking.

* gov to ondemand (thermals are conservative anyway), remove unneeded kernelconfigs

* Added AUFS, remove debug from kernel boot parameters, add ath10 mPCI support (which works)

* add power-off-key and rtc

* Added onboard wireless, but it's enabling is disabled by default. Too fragile.

* Change to CSC target
2018-11-08 18:51:42 +01:00
Igor Pecovnik
93ae1d4986 [ meson64 and odroidc2 ] Moving C2 to EOS, remove its default kernel and move to meson64 family. Bump meson64 DEV to 4.19.y and disable non-working patches. Tested C2 on NEXT and DEV (no HDMI output?) http://ix.io/1req 2018-11-07 16:12:05 +01:00
Igor Pecovnik
e5d21eb35c [udoo-neo and udoo] Drop Udoo neo completly, drop udoo default and dev kernel 2018-11-07 14:11:24 +01:00
Igor Pecovnik
a26ccdee62 [odroid xu4] Drop kernel 3.10.y, default -> offical 4.14.y, next = vanilla 4.19.y http://ix.io/1rcZ & dev = n/a 2018-11-07 11:11:51 +01:00
Igor Pecovnik
25edddc583 [s5p6818] Remove unused kernel sources with patches 2018-11-06 19:44:44 +01:00
Igor Pecovnik
32ce48f01d [cubox-i] Drop K3.14.y and move 4.14.y to default, next -> 4.19.y, dev -> 4.19.y + mainline u-boot. Adjust 8188EU for K4.19.y 2018-11-06 18:39:31 +01:00
Igor Pecovnik
4188a0b260 [espressobin] Cleanup and bump to 4.19.y 2018-11-05 13:26:40 +01:00
Igor Pecovnik
2ceaa6e8bd [bugfix] This commit fixes Bluetooth on Tinkerboard (tested) and most likely on z28Pro. Thanks to @Staars 2018-11-04 13:29:48 +01:00
Igor Pecovnik
5eb3314ee8 [Odroid XU4 Next] enable CONFIG_CACHEFILES 2018-11-01 09:50:28 +01:00
Thomas McKahan
b5d5656bf0 Config: Rockchip64-dev add gpio-syscon for Renegade UHS 2018-10-31 22:55:00 -04:00
Pavel Odintsov
16564f81cb
Enabled AF_XDP support for linux-mvebu64-next 2018-10-31 10:33:22 +00:00
Pavel Odintsov
b81cd42acc
Enabled AF_XDP support for linux-mvebu64-dev 2018-10-31 10:32:38 +00:00
Thomas McKahan
e72ddf2808 Meson64 enable dev building, update dev patches
Adds preliminary patches for 4.19
	Known Issues:
	-	Does not like a lot of HDMI adapters

	Needs tested by anyone with a Le Potato, Odroid C2, or Nanopi K2
2018-10-30 21:08:30 -04:00
ThomasKaiser
7334104818 Use CONFIG_HZ=250 where applicable
Closes #1142
2018-10-27 10:38:35 +02:00
Igor Pecovnik
385d464131 [mvebu default] Upstream patches 2018-10-26 16:15:48 +02:00
Igor Pecovnik
ae800bb515 [odroid c1] Move to 4.19.y and change its status to EOS. Left in a working state: http://ix.io/1pZa 2018-10-25 12:28:35 +02:00
Igor Pecovnik
f90ea34773 [s5p6818] Adjust boot script to show HDMI console bootlog instead of serial. Adjust kernel configuration. @TonyMac32 CONFIG_BT_HCIUART_3WIRE is gone from config here as well. 2018-10-25 11:28:50 +02:00
Igor Pecovnik
b60934a9d0 [small RFC / cleanup] Tweaking script https://github.com/armbian/build/issues/1140 and removing deprecated config file rk3399-dev 2018-10-24 17:21:34 +02:00
Igor Pecovnik
f18360d1ef [rk3399-dev] Merging rk3399-DEV with rockchip64-DEV on sources, patches and config level. Leave family intact, add 1.5 OPP for RK3328, add upstream patch for rk3399-default 2018-10-24 17:03:35 +02:00
Igor Pecovnik
ca99f8d0b7 [Rockchip/Rockchip64] Adjusting sources tags with most recent ones and tested on Rock64. Upstream patches for Rockchip, tested on Tinkerboard. Regeression: CONFIG_BT_HCIUART_3WIRE is gone from BSP Rockchip sources and we lost BT on Tinkerboard :( For the record: last know working BT is on 5.60 / 4.4.157 2018-10-24 11:59:03 +02:00
Thomas McKahan
04476bbe94 Meson64-next update patch set
- update patchset to reflect @superna9999 's meta-meson patches
	- notable update adds video decoder and canvas drivers

As always many thanks to BayLibre and Neil Armstrong
2018-10-24 00:18:10 -04:00
CarlosEDP
8140e1e63e Updated config to add Network module features for containers, NFS server and HFS filesystem 2018-10-23 13:21:24 -05:00
5kft
a9f6207a3e [rk3399-dev] bring in rockchip fusb302 driver; enable module in build
This change brings in the Rockchip version of the FUSB302 USB controller driver into
the kernel (with appropriate changes to enable it to build in kernel 4.19.y), and
configures the module build for the rk3399 kernel.  This provides proper operation
of all <&fusb0> "extcon" references for the rk3399-nanopi4 boards, thereby enabling
all board USB host ports (e.g., now including <&u2phy0>) to now function properly.
2018-10-21 18:48:38 +00:00
Igor Pecovnik
1c4340b421 [Rockchip and general] Add upstream patch for K4.4, adjust config to cover https://github.com/armbian/build/issues/1133 and add htoprc to support https://github.com/avafinger/htop-2.1.1_enhanced-version with showing CPU temp out of the box. 2018-10-14 11:20:25 +02:00
Thomas Kaiser
6f0b32a969
Enable PCIe attached SATA and config_crypto_crc32_arm64 2018-10-13 17:43:17 +02:00
Tony
8a5ea40a74
Merge branch 'master' into master 2018-10-12 21:37:47 -04:00
Igor Pecovnik
9dbc69e0ed [Tinkerboard/MiQi] Fix eMMC boot problem on MiQi by reverting back to old u-boot, fix console that both are present, HDMI and serial, adjust boot script that we don't need hardcode DTB. U-boot variable is set to RK3288-tinker so adding symlink to RK3288-miniarm which represent the board in a legacy kernel. Added upstream patch, tested on MiQi and Tinkerboard S, default and dev, upgrades still need to be tested ... 2018-10-12 14:10:42 +02:00
Igor Pecovnik
e87775e14f [Rockchip64] Adjust default branch, removed deprecated patches, adjust configuration, fix broken patch. 2018-10-11 11:41:54 +02:00
Igor Pecovnik
f07ddda5fc [RK3399] DEV kernel bumped to 4.19.RC4, adjusted kernel config, set u-boot to v2018.09, fix serial console output, default boot console is now HDMI, tested on FA Nanopc T4; default kernel bumped to 4.4.160 and re-add patch which address some issues 2018-10-10 17:25:28 +02:00
Igor Pecovnik
b971c3f425 Adjust patchset for FriendlyARM's RK3399, move Nanopi Neo4 to .conf, adjust kernel configuration. Tested only for building. 2018-10-08 14:41:51 +02:00
Igor Pecovnik
07f72fa786 Adjust CAN related features on rockchip NEXT 2018-10-08 00:48:03 +02:00
Thomas McKahan
b5e9d65c7d Odroid C2 Next enable SPI 2018-10-06 22:50:14 -04:00
Jens Getreu
3a6b71afa2 add CAN related stuff as modules
See: https://github.com/armbian/build/pull/1123#issuecomment-427286216
2018-10-05 11:59:19 +03:00
Jens Getreu
980230cce1 add more crypto modules to rockchip kernel
Luks encrypted devices need this cipher:  aes-xts-plain64

This requires some additional crypto kernel modules, e.g. xts

See also:
https://forum.armbian.com/topic/8357-crypto-kernel-modules-missing-for-aes-xts-plain64-cipher/
2018-10-04 18:50:54 +03:00
Thomas McKahan
4a53253536 rockchip-default config update 2018-10-03 00:12:57 -04:00
Igor Pečovnik
881ceb2ffb
enable canbus 2018-10-01 21:51:41 +02:00
Igor Pečovnik
e28f8bb718
enable canbus 2018-10-01 21:51:06 +02:00
Igor Pecovnik
ef6847e647 Small bugfix regarding removing old swap files, K4.4 upstream patches, bump with a version 2018-09-30 15:22:44 +02:00
Igor Pecovnik
7a831f2a70 Bump with version and K4.4 upstream patches 2018-09-26 11:55:44 +02:00
Martin Ayotte
506288903c add missing MT7601U to Rockchip64 2018-09-23 11:26:31 -04:00
Igor Pečovnik
b6effa2d04
Add gpio led support
8defd568bc (commitcomment-30599572)
2018-09-22 08:41:54 +02:00
Igor Pecovnik
1c00822819 Use ayufan mainline kernel for rk3399-dev
301b5eeb15
2018-09-20 15:20:50 +02:00
Igor Pecovnik
1d809baf6b Ajusted DEV config, no more relocation out of range, wireless on Duo working now 2018-09-18 13:52:36 +02:00
Igor Pecovnik
9ec439f0a7 Meson64 family fixes: set mac addr in kernel, few patches for Lepotato default, kernel config update 2018-09-17 20:31:10 +02:00
Igor Pecovnik
acf84bac59 Fix xradio not showing up on Nanopi Duo, set fixed network MAC when using shield, small 1st run script RFC, removing deprecated stuff 2018-09-17 13:25:53 +02:00
Igor Pecovnik
8ea0b98845 Rockchip default, remove deprecated patches 2018-09-13 06:49:27 +02:00
Dustin
a7329d0848
Working Docker Swarm Overlay Network
Based on the [settings mentioned here](https://github.com/moby/moby/pull/37147), this allows Docker Swarm's overlay network to function on the Tinkerboard.
2018-09-11 20:35:25 -07:00
Igor Pecovnik
b691b32ff5 Upstream patches for rockchip64 2018-09-10 13:03:17 +02:00