Commit graph

204 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
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
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
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
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
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
Igor Pecovnik
9c7ce48f2b Make Espressobin boot script CRYPTOROOT compatible 2018-09-07 15:02:11 +02:00
Igor Pecovnik
0ed5ed0ca5 Small adjustements to Espressobin boot script 2018-09-07 14:28:19 +02:00
Igor Pecovnik
86a00ada34 Fixed eMMC install on FriendlyARM NanoPC T3+, adjusted docker dependencies, new boot script with SD card priority booting. 2018-09-06 20:22:51 +02:00
Igor Pecovnik
fda2c1c424 Meson64 boot script bugfix and 1st run setting MAC via Network manager for boards where is random 2018-09-02 14:04:16 +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
Robin Frousheger
65493e11f8
udoo: Allow rootfstype specified in armbianEnv.txt to be used 2018-08-02 21:10:15 +10:00
Robin Frousheger
a7e01ed5fc
rockchip: Allow rootfstype specified in armbianEnv.txt to be used
e.g. Using btrfs on ASUS Tinkerboard
2018-08-02 17:25:34 +10:00
Igor Pecovnik
d2147b50c2 Enable Odroid C1 NEXT, 4.17.y ... usable as headless server. Known issues: stuck on reboot, need power cycle, no hdmi console, no DVFS. 2018-08-01 13:00:31 +02:00
Igor Pečovnik
c1481e61ec Odroid C1 DEV kernel patches adjustement. No HDMI, eMMC and broken network. http://ix.io/1fKw 2018-07-02 15:43:26 +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
Igor Pečovnik
acb3ec59e1 Moving Odroid C2 default to 3.16.y 2018-06-22 10:57:55 +00:00
JMCC
475f0cbd87 Change load address for boot.cmd
Address 0x44000000 is not available for boards with 1Gb RAM, so it was causing a boot error as described here:
https://forum.armbian.com/topic/5771-rock64-nightly-image/?do=findComment&comment=53150

A lower address 0x39000000 works and doesn't seem to cause any other problem.
I cannot test it in boards with more than 1Gb RAM so, even though I see no reason why it should not be compatible, it is safer to test just in case.
2018-06-17 12:20:10 +02: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
zador-blood-stained
f9d48776a5 Drop S500 boards 2018-06-02 17:44:19 +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
zador.blood.stained
c8dce60dab sunxi64 boot script bugfix 2018-05-06 22:53:21 +03:00
zador-blood-stained
bedc19439f Merge safe changes from development to master, part 1 2018-04-29 15:47:40 +03:00
Igor Pecovnik
a09412bd50 Enable userland SPI access on Espressobin. Thanks @umiddelb 2018-03-03 21:42:20 +01:00
Igor Pecovnik
103ac41430 Added legacy kernel (3.10.107) targets for several A64 boards: Orangepi Win and Bananapi M64 were tested, the rest is untested: NanopiA64, Olinuxino A64 and Teres A64 2018-01-09 22:51:54 +01: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
3172289652 Odroid C2. Update NEXT patchset, tested with 4.14.10 ... almost ready to merge with meson64
https://forum.armbian.com/topic/5917-nanopi-k2-wip-general-topics/?do=findComment&comment=45917
2017-12-30 10:49:05 +01:00
Igor Pecovnik
8fb3997af6 Switching Cubox NEXT to mainline u-boot, adding a bunch of hummingboard/cubox related fixes on top of mainline source 2017-12-13 20:21:16 +01:00
zador-blood-stained
caaac5c053 Revert odroidc2-next boot script to use booti and raw Image 2017-12-02 17:51:25 +03:00
Igor Pecovnik
2d490d3a86 Moving C2 NEXT to 4.14.y ... image boots but doesn't come up. More next time. https://pastebin.com/iyJUUjyE 2017-11-27 20:03:39 +01:00
zador-blood-stained
aba730f488 Add mvebu dev branch
It uses the same kernel as next, but it uses mainline u-boot with DT
overlay support, but without SPI, USB and possibly SATA support
2017-10-31 21:23:43 +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
Igor Pecovnik
e2e0959b78 Espressobin. Building atf'+u-boot for SPI nor flash (800/800/1M) working, auto booting from SD/USB should work (tested for SD at the moment), armbianEnv.txt loading, UUID support 2017-10-02 15:23:06 +02:00
Igor Pecovnik
e886835232 Few Espressobin fixes for 4.13.x SD card is still unrecognized, but is possible to boot from USB. It crashes with attached mPCI card ... need to update atf and uboot once in the future 2017-09-24 22:44:50 +02:00
Tonymac32
8739965c02 Tweak
I'm not sure what happens when you put the eMMC on the board, so I only altered the device instead of getting rid of the logic.
2017-09-19 03:39:55 -04:00
Tony McKahan
44958d7bc4 Meson64 boot adjustments and nanopi K2 fixes 2017-09-19 03:23:14 -04:00
Tonymac32
8f2de5dabd libretech-cc bootscript tweak
other adjustments fixed 24 bpp mode
2017-09-13 00:54:05 -04:00
Tonymac32
bda0cca61b Le Potato Tweak Boot Script 2017-09-07 00:48:02 -04:00
ThomasKaiser
c79cb9e84a Small nand-sata-install logging fix 2017-09-05 05:46:34 -07:00
ThomasKaiser
ab786b312f UAS blacklist broken USB disk enclosures 2017-09-05 04:50:30 -07: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
9251512dc4 Small refactoring 2017-09-01 16:19:10 +03:00
zador-blood-stained
8d4083c82f Try to fix XU4 boot script for the separate /boot setup 2017-09-01 13:30:25 +03:00
zador-blood-stained
24bdb91374 Update XU4 boot script from upstream 2017-08-31 16:18:48 +03:00
Igor Pecovnik
0a4eee7999 Enabling UUID on XU4. Tested. and disable console blanking 2017-08-26 19:07:17 +02:00
Igor Pecovnik
d3180af7bc Fix and enable serial console for XU4 2017-08-26 15:10:25 +02:00
zador-blood-stained
2d20064258 Switch sun50i-dev u-boot to upstream master 2017-08-23 13:35:38 +03:00
zador-blood-stained
57e06fe81e better u-boot update logic for Rock64 2017-08-17 15:49:10 +03:00
zador-blood-stained
3ec9089577 Fix for booting Rock64 from SD 2017-08-16 21:08:45 +03:00