build/patch/u-boot
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
..
u-boot-cubox Cubox family patch fixes 2017-02-28 12:19:19 +01:00
u-boot-cubox-next [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
u-boot-helios4 Helios4: Add SPI bootloader install feature (#1126) 2018-10-08 13:44:36 +02:00
u-boot-meson64 Changing Meson64 u-boot to 2018.05 due to apparent eMMC bug and removing deprecated patches 2018-06-07 10:12:51 +02:00
u-boot-mt7623 Bananapi R2 (#1151) 2018-11-08 18:51:42 +01:00
u-boot-mvebu Fix random build breakage in mvebu-default u-boot 2018-01-17 16:58:07 +03:00
u-boot-mvebu-next Update mvebu-dev u-boot to v2018.01 2018-01-17 16:31:42 +03:00
u-boot-mvebu64 Implement bulding and packing all different boot firmware for Espressobin, bump u-boot and ATF sources to latest version 18.09 2018-09-09 23:22:50 +02:00
u-boot-odroidc1 Rename and remove obsolete u-boot patches 2016-12-11 17:40:27 +03:00
u-boot-odroidc2 Fix Odroid C2 boot script syntax 2016-12-20 16:25:09 +03:00
u-boot-odroidc2-next Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05 2018-06-14 12:37:19 +02:00
u-boot-odroidxu4-default EXT4 support enabled by default, patch become deprecated. 2017-05-17 20:40:37 +02:00
u-boot-odroidxu4-next Fix XU4 kernel by adding the arch timer back 2017-09-16 18:52:49 +03:00
u-boot-pine64-default Removing non working 64GB Pinebook eMMC patch 2017-09-11 17:15:08 +02:00
u-boot-rk3399 Initial support for RK3399 Firefly and FriendlyARM PC T4 2018-08-11 23:12:58 +02:00
u-boot-rockchip miqi fix boot u-boot 2018 2018-08-30 01:35:05 -04:00
u-boot-rockchip64-default 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. 2018-08-26 14:14:14 +02:00
u-boot-rockchip64-dev U-boot: Rockchip64-dev Renegade part 2 fixes 2018-10-31 22:53:14 -04:00
u-boot-s5p6818 Typo 2018-09-09 17:14:17 +02:00
u-boot-s500 Rename and remove obsolete u-boot patches 2016-12-11 17:40:27 +03:00
u-boot-sun50iw2 add olinuxino-a64.wip and fixes for it 2018-09-09 09:59:26 -04:00
u-boot-sun50iw6 Enable USB3, THS, DVFS and Ethernet on Allwinner H6 based boards. Development kernel (DEV branch, 4.18.y) also provides HDMI out via simple FB interface. DEV and NEXT kernel config alignment, set H6 CPU freqency to 1.5G, adjust eMMC and SD card speed and remove deprecated patches. 2018-08-09 11:32:23 +02:00
u-boot-sunxi [tritium h5] Enable eMMC support 2018-10-26 08:01:23 +02:00
u-boot-udoo Changing U-boot to mainline, adding patches for dev (4.14.y). It boots but virtually nothing works except network ... moving Udoo Neo under deprecated. Only one sample exists and little to no users around. 2018-01-19 20:04:17 +01:00