928 Commits

Author SHA1 Message Date
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
Igor Pečovnik
e919a87485
Bugfix for broken desktop on Amlogic glx (#2983)
* Bugfix - fancy modesetting seems to be broken on Amlogic GLX series. Reverting to fbdev fixes the problem of desktop not showing up.
* Tested on Vim2
2021-07-13 18:51:38 +02:00
lanefu
0e734a2e3f
Merge pull request #2943 from rpardini/odroid-n2-uboot-mainline
edge: ODROID N2/N2+ mainline U-boot; keep odroid-2015 u-boot for legacy and current
2021-07-10 23:19:07 -04:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Ricardo Pardini
78a320b1fd
edge: ODROID N2/N2+ mainline U-boot; keep odroid-2015 u-boot for legacy and current
- Armbian already had all the FIP-magic needed, just use it.
- Introduce USE_ODROID_UBOOT with a list of branches that use Odroid's 2015 u-boot
  - this is mostly in preparation for non-Odroid G12B/meson64 boards (Khadas VIM3...)
  - In case $BRANCH is listed in USE_ODROID_UBOOT:
    - use BOOTCONFIG_ODROID and BOOTSCRIPT_ODROID from board.conf
    - build 2015 u-boot just like before
- Small hack into boot-meson64.cmd to handle u-boot vs kernel: n2_plus vs n2-plus DTB/FDT naming mismatch
 - overrides the default $fdtfile based on $variant
 - armbianEnv still has final say if $fdtfile is set there (it isn't for n2/n2plus)
- Extra:
 - remove unused n2-mainline bootscript (maybe from a previous try?)
 - comments about FIP trees being identical across N2/N2Plus and C4/HC4 families so no future time wastage
 - only set CPUMIN/CPUMAX/GOVERNOR in meson64_common.inc if not already set by the board.conf
 - Add some ${bootargs} debugging to mainline/default boot-meson64.cmd

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-07 19:55:58 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
lanefu
8c09e1fa93
khadas support (#2903)
* cleanup add vim3l

* Add Khadas edge config

* Add Khadas edge sources definitions. It boots

* Change configuration to maximised model

* Adjust build configs

* witch to case statement for meson x11 config

* push vim1 naming

* Booting VIM2 with khadas prebuild u-boot

Can load from an empty eMMC, can be installed to eMMC via nand-sata-install

* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.

* Enable full featured desktop with 3D for khadas vim 1 and vim2

* Update meson64_common.inc

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-05 21:05:43 +02:00
Igor Pečovnik
ea63296938
Bugfix - some 32bit Allwinner devices are unstable with u-boot 2021.xx (#2963) 2021-07-03 21:58:30 +02:00
Igor Pečovnik
fcb8b6f195
Code cleaning attempts (#2925)
* Move function run_on_sdcard to more appropriate location

* Focus on bash headers, unify, adjust (c)

* Adjust (c) to range

* Cleanup compile.sh

* Cleaning main

* Build all, main configs

* fine tunning

* Improve readme
2021-06-26 23:36:47 +02:00
Igor Pečovnik
7d330d2e5b
Code cleaning attempts #1 (#2911)
* Remove Docker version check from compile.sh since its deprecated

* Remove meta package creation which was needed for upgrade

* Update in-code documentation

* Bugfix

* Making oneliner

* Remove Groovy debug leftovers

* Add readme to distributions

* Update

* More text adjust

* Add virtual

* add more
2021-06-21 23:03:39 +02:00
andpp
27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Oleg
e05b207058
add BT for Station (#2901) 2021-06-16 09:32:33 +02:00
Igor Pečovnik
17b3da0a44
Fix mainline kernel boot on Rockpi S (#2823)
https://armbian.atlassian.net/browse/AR-785
2021-06-10 11:58:00 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
iav
3145a8d289
Doker x64 and aarch64 2 (#2876)
* missed part from #2867. found 2 same calls need to be handled same way

* +1
2021-06-06 20:54:22 +02:00
iav
cda929a1b6
Make builder dockerfile to be x64 and aarch64 compatible (#2867)
* Make builder dockerfile to be x64 and aarch64 compatible
and building speed optimization

* remove hardcoded amd64
currently docker from edge not work, stable works, then stable instead edge

* libc6-dev-armhf-cross need to build rockchip uboot for helios64 under arm64

* need to add architecture to avoid blame for no docker for i386 arch

* hirsute uses same names for qemu-user-static

* let's only x64 use aptly from dev
2021-06-04 10:53:45 +02:00
lanefu
4fcad8c8e3
spell lepotato right in common config
world's smallest change.. may cause le potato to have different x11 config.... but that needs attention anyway
2021-05-27 21:49:01 -04:00
Igor Pečovnik
e78cb4ce2a
Extract Odroid related patches from Tobetter branch and move sources to mainline (#2847)
Also temoporally remove overlay support which is broken
2021-05-23 17:28:33 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
lanefu
cdf8ab3784
fix suspendstate correctly in sleep.conf for pop 2021-05-17 22:40:02 -04:00
Lane Jennison
928ed03c5f more hacking 2021-05-16 18:37:13 -04:00
Lane Jennison
0c5ff7e259 fix family names 2021-05-16 08:56:51 -04:00
Lane Jennison
c4071ac346 virt update 2021-05-15 19:39:49 -04:00
Lane Jennison
d452d5e6bc add first pass of virt 2021-05-15 15:55:15 -04:00
Przemysław Sztoch
486a821a55
VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
Richard Neese
1a6fbd19e4 fixing pine book pro builds 2021-04-23 10:07:06 -04:00
Igor Pečovnik
510e348202
150balbes fix station legacy (#2782)
* Fix Legacy Stations

Co-authored-by: balbes150 <balbes-150@yandex.ru>
2021-04-18 22:48:56 +02:00
tim
aba3809884 Only compile Xilinx Bootgen when building Zynq based image 2021-04-17 16:07:44 -04:00
Oleg
e275961be4
fix extlinux.conf for u-boot dtb and add arm32 (#2766) 2021-04-13 10:16:42 +02:00
Igor Pečovnik
f0b5264317
Re-create edge branch for imx6 (#2751)
* Re-create edge branch for imx6
* Add build target

Edge was not tested on HW yet.
2021-04-12 23:56:53 +02:00
Igor Pečovnik
12626fcfa2
Bump Meson64 u-boot to 2021.04 (#2756)
* Move Meson64 to 2021.04
* Detacth C2 from its special u-boot settings
2021-04-12 23:54:04 +02:00
Igor Pečovnik
b46f603355
Improvements for Jetson Nano (#2752)
* Further improvements

- merge general config options
- add edge branch with 5.11.y
- enabled zram
- verified docker dependencies

* Enabled EDGE CLI target
2021-04-12 22:33:27 +02:00
AmadeusGhost
05a72b8954
rockchip: add Orange Pi R1 Plus support (#2755)
* rockchip: add Orange Pi R1 Plus support

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

* rockchip: nanopi-r2s: add gpio for the lan/wan leds
2021-04-12 22:32:21 +02:00
hartraft
2778474573 Update broken URLs 2021-04-12 00:36:08 +02:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Paolo Sabatino
494503b433 rk322x: moving u-boot to v2021.04 2021-04-10 08:36:32 +00:00
Igor Pečovnik
8277822add
Bump Allwinner u-boot to 2021.04 (#2745)
* Adjusted patches so they align with 2021.04

- briefly tested on Lime A64 and BPI M3

* Move to RC5

* Move away from RC branch
2021-04-06 11:42:56 +02:00
Paolo Sabatino
2dbdae2845 xt-q8l-v10: bump to u-boot v2021.01
* fix SPL not booting due to signed/unsigned integer comparison
 * gpio7 now uses dm-pre-reloc to correctly compile TPL
 * adjusted minor thing is defconfig, more room for stacks
 * includes patch for efuse for next v2021.04
2021-04-05 13:53:08 +00:00
Paolo Sabatino
e4d895607e rk322x: uboot: upgrade to v2021.04-rc5
* adapted efuse and gmac patches to u-boot v2021.04
 * enlarge SPL stack size to 0x8000 (caused u-boot freeze after SPL loading)
 * fix signed/unsigned comparison (caused u-boot freeze before SPL loading)
 * enable back size optimization flag

commit 0363085a3bec3f76db8937f24ef81fc38f89549f
Author: Paolo Sabatino <paolo.sabatino@gmail.com>
Date:   Sat Apr 3 16:02:14 2021 +0000

    rk322x: bump u-boot to v2021.01 (fix dtb load address in .its, revert offending mainline patch)
2021-04-04 15:52:22 +00:00
Paolo Sabatino
ef0be6d368 rk322x: enabled back aufs for current kernel 2021-04-01 13:48:52 +00:00
Igor Pecovnik
949e8566ab Build_all bugfix 2021-03-25 14:31:29 +01:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Lane Jennison
ba30f65c2a set amlogic govenor to ondemand 2021-03-22 09:25:48 -04:00
Oleg
9aa7aafd4f
Adding Nvidia Jetson Nano (#2720)
* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 18:29:34 +01:00
Oleg
71dc41f0ba
add extlinux.conf (#2722)
* add extlinux.conf

* - make sure armbianEnv is not added - we don't need variables for NAME_KERNEL and NAME_INITRD. This is not going to change - also MAIN_CMDLINE could at least be renamed so its clear to belong to EXT configuration. Elsewhere this doesn't apply since we have boot scripts

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 16:57:45 +01:00
Paolo Sabatino
81cc6841e9 Better compatibility for rk322x ddrbin v1.10, changed to set ddr3 to 660 Mhz 2021-03-14 18:47:52 +00:00
Igor Pečovnik
0e025f4cf3
Bump meson64 DEV to 5.11.y (#2695) 2021-03-08 08:58:18 +01:00
Igor Pecovnik
87e7a130bb Bugfix: Odroid C2 hanged at boot
https://forum.armbian.com/topic/17112-odroid-c2-no-eth0-with-latest-image/
2021-03-07 13:25:04 +01:00