Commit Graph

41 Commits

Author SHA1 Message Date
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
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
Gauthier Provost
59af84c07c Helios4: Add SPI bootloader install feature (#1126)
* Helios4: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

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

* Helios4: Add U-Boot SPI

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

* Helios4: Add SPI bootloader install feature

This will allow to use nand-sata-install to perform the following operations on Helios4 :
- Install bootloader to SPI NOR Flash (Option 5 in Menu).
- Copy RootFS to USB storage in order to boot from SPI with RootFS on USB (Option 6 in Menu).

* Unmount temp mount points in create_armbian() instead of hardcoded /dev/sda
2018-10-08 13:44:36 +02:00
Gauthier Provost
d375c46f4e Helios4 : Linux use eth1addr variable form U-boot as eth0 mac address.
Make armbian-firstrun script also randomizes mac address for eth1addr in armbianEnv.txt
2018-09-18 16:03:41 +08:00
Igor Pecovnik
f4a51236d7 Family RK3399 set fixed MAC address via our startup scripts until we don't have a proper solution and upstream patches 2018-09-12 17:30:44 +02:00
Igor Pecovnik
41b589372f Creating new family rockchip64. 3288 and 3399 was merged in, except Nanopi which stays in RK3399 family with sources attached to FA repository until we manage to join that in. Enabled Nanopc T4, Nanopi M4, Renegade. Tested on Rock64 and Nanopc T4.
Some clenaup, removed dragonboard820c, adjusted board descriptions, added another OPP for 3288 family,
2018-08-26 14:14:14 +02:00
Igor Pecovnik
6d82a89748 Initial support for RK3399 Firefly and FriendlyARM PC T4
Based on work of David Huang https://github.com/hjc4869 Changed in the transition:
- firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold
- adjusted compiler toolchain2 parameter
- added standard wireless drivers
- kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ...
- added upstream patches
- made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu

TBD: wifi and BT support, mainline kernel, ...
2018-08-11 23:12:58 +02:00
Igor Pečovnik
bb2ce93795 Enable ums mode when TinkerBoard is connected to PC. This is needed to flash image directly to eMMC. Removing ethaddr setting since it's deprecated and few other small fixes. 2018-06-29 13:48:50 +00:00
Igor Pečovnik
fcb85f1767 Major Amlogic RFC and cleanup
- merging C2 and Meson family on the source level, C2 is still making own kernels, but sources, patches and configs are the same
- merged boot scripts for meson family. support for non existing legacy kernel was dropped from boot scripts, added UUID support, armbianEnv.txt
- Meson default remain on 4.14.y, NEXT moved to 4.17.y and DEV remains on master
- remove deprecated patches, remove wrong permissions in patches
- tested on C2, K2 and Le Potate. USB troubles are still present and common, while K2 and Lepotato might have boot/reboot troubles on 4.16+
- boards configuration cleanup
- moving K2 to the supported list. It's the same level of support as Le Potato
2018-06-28 08:27:08 +00:00
zador-blood-stained
f847b1d219 Drop OPi 2G-IOT build target
"Community supported" configurations with a lot of issues, no community
to support it and no improvements in more than a year should be dropped
2018-06-12 13:49:37 +03:00
Igor Pecovnik
a7b8386b02 Tiny Rockchip related fixes. Fix boot priority on MiQi. Start from SD if insterted, otherwise boot from eMMC, go up with u-boot to 2017.11, 2018.03 hangs ... 2018-05-30 11:46:32 +00:00
Igor Pecovnik
f6d4d89b08 Merging config files from development 2018-05-27 13:08:19 +02:00
Igor Pecovnik
caaa9eae10 Addad NanopiM3 (Nexcell s5p6818) default 4.4 kernel with fixed upstream patches, bootscript, uuid support, ... 2018-01-08 06:44:45 +01:00
Igor Pecovnik
de64080415 Optimising CMA settings 2017-11-24 14:18:01 +01:00
Igor Pečovnik
1b3b5e12a8
Extra CMA settins not needed on sun8i 2017-11-23 19:25:25 +01:00
Igor Pecovnik
096b280e25 Set default CMA to 96M which is needed for playing videos
https://github.com/armbian/build/issues/744
2017-11-23 10:25:02 +01:00
zador-blood-stained
0d57597ab2 Rename helios4 bootenv file 2017-11-11 17:51:29 +03:00
zador-blood-stained
aa062e64b1 Pull more Helios4 changes from #812 2017-11-01 20:12:10 +03:00
zador-blood-stained
a7c27c9af5 Migrate Odroid C2 next and dev branches to mainline u-boot
Next branch kernel is currently broken
DVFS can be safely enabled on C2 since the max reported frequency is
1.5GHz
2017-10-18 17:08:16 +03:00
zador-blood-stained
2645ab74b1 Update XU4 boot script to use armbianEnv.txt
debootstrap-ng currenly will still delete armbianEnv for sources that
use boot.ini
2017-09-04 13:03:44 +03:00
zador-blood-stained
d5c6bf69db Set MAC addresses for Rock64 from armbianEnv.txt
Currently rockchip-cpuinfo driver reads SoC serial as all zeroes due to
either a bug, hardware limitation or serial not flashed to eFuses
2017-08-17 20:00:34 +03:00
zador-blood-stained
6a737f00b8 Update OPi 2G-IOT config 2017-04-29 10:46:33 +03:00
Igor Pecovnik
a2bf4b3d99 Added kernel splash logo, can be toogled in armbianEnv, currently disabled by default 2017-03-25 09:36:01 +01:00
Igor Pecovnik
949cbbde49 MiQi - tiny bugfix 2017-03-01 22:16:09 +01:00
zador-blood-stained
b644086987 Convert boot_mode and sun8i machid tou-boot patch
Needs testing on A10, A20, ... with legacy kernel
2017-02-22 15:26:26 +03:00
Igor Pecovnik
70bf12195e Rockchip RK3288 (MiQi) booting, kernel = docker ready, uboot scripts and environment tested. Known bugs: ethernet MAC random change 2017-02-20 21:15:10 +01:00
zador-blood-stained
9248bf6354 Add HDMI console output support to the sunxi64 boot script 2017-01-25 16:36:46 +03:00
zador-blood-stained
204432f880 Partially merge Pine64 and PC2 configuration 2017-01-23 16:57:02 +03:00
zador-blood-stained
5aff3a355a Fix and add missing file for cubox boot script 2017-01-21 23:26:52 +03:00
zador-blood-stained
428c57ae43 Adjust Clearfog Pro/Base separation 2016-12-20 16:42:40 +03:00
Igor Pecovnik
a457b818c7 Updated boot scripts for Udoo Neo - to allow booting initrd. 2016-11-30 16:37:25 +01:00
zador-blood-stained
07490c4a49 Update Clearfog boot script 2016-11-29 19:44:19 +03:00
zador-blood-stained
5712995260 Add MAC addresses to environment file for Clearfog 2016-11-22 17:06:49 +03:00
Igor Pecovnik
0695169cba Udoo quad boot script adjustments, added onboard firmware to small armbian FW package, bugfix in postinstall script for DEFAULT kernel, added environment table 2016-11-20 18:57:11 +01:00
zador-blood-stained
5d3820e09a Add initrd support for Clearfog
Add missing DTB files for all Clearfog branches
Add parameter for loading Clearfog Base DTB
2016-11-20 15:45:26 +03:00
vintagewaffle
7921383568 Update pine64-default.txt
Correct typo
2016-11-02 12:07:10 -05:00
Martin Bergstrand
076211e487 Enable pine64 7in LCD panel from armbianEnv.txt 2016-11-01 16:09:02 -05:00
zador-blood-stained
47c6d8ebcb Experimental camera settings support for pine64 2016-10-31 21:45:20 +03:00
zador-blood-stained
13a25fefd4 Update XU4 u-boot configuration 2016-10-25 18:07:02 +03:00
Guillaume Romagny
ef1706b3df Odroid XU4 Armbian based UUID booting (SD card tested) (#510) 2016-10-25 14:43:25 +03:00
zador-blood-stained
19464938af UUID in boot script support for sunxi boards 2016-10-15 18:08:41 +03:00