Commit Graph

982 Commits

Author SHA1 Message Date
Igor Pecovnik
1c75b8fb91
Fix broken u-boot compilation on Rockpi S
- moving to CSC since we have no dedicated maintainer
- disabling build targets
2021-11-12 07:22:10 +01:00
Piotr Szczepanik
71ff7b3b98
Switched rockchip64 u-boot to v2021.07 (#3233)
* Switched rockchip64 u-boot to v2021.07

* Switched OrangePi R1 Plus to include mainline's R2S device tree

* Added unsingned signed comparison patch from Paolo to fix rk3328 reboots
2021-11-11 23:49:52 +01:00
Paolo
4c3dcbf4fc
Rockchip 5.15 (#3242)
* rockchip: bump to kernel 5.15, reworked mainlined patches

* rk322x: bump edge kernel to 5.15, reworked mainlined patches

* rk322x: update edge kernel config

* rockchip: remove some debug config options due to chatty dmesg

* Add patches to revert ipx.h header file remove in 5.15 kernel
2021-11-09 21:58:35 +01:00
Igor Pečovnik
dd51f9f2af
Bump imx6, xu4, rockchip64 and jetson-nano to 5.15 (#3238)
* Bump to 5.15.y imx6, xu4, rocchip64, jetson-nano

* Sunxi patches cleanup

Thanks @jernejsk

* Bump Meson64 to 5.15.y

* Bump mvebu* to 5.15.y

@heisath

Disable 13-net-mvneta.patch - double check.

* Add uppstram patch for opi zero2 legacy kernel

* Update mvebu mvneta patch

* Orangepi Zero2 reboot fix

Co-authored-by: Heisath <jannis@imserv.org>
2021-11-09 18:06:34 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Vyacheslav
2587e97587
JetHub: add uboot.bin binary to uboot package for JetHub (#3235) 2021-11-06 12:52:37 +01:00
Igor Pečovnik
8258a0ee36
Implement fan controller for Nanopi M4 (#3231)
* Implement fan controller for Nanopi M2V2

* Fan works on all Nanopi M4
2021-10-31 12:12:06 +01:00
The-going
d583c86177
Make a shallow local repository for tracking history (#3172)
* Allocate repository cleanup to a separate function.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a waiter function to serve a shallow local git repository.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Configuration shallow repository in sunxi64_common.inc file

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Configuration shallow repository in sunxi_common.inc file

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* An example of using the function of creating a shallow local repository.

This example is a very bad crutch.
It is necessary to come up with another option for permanent use.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix variable KERNELSOURCENAME as 'name=megous' for sunxi32

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Required variables cannot be empty

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Print an action message.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-10-28 18:17:03 +02:00
Piotr Szczepanik
e0107cf4b3
Bring back atf-rockchip64 patches and unify with rk3399 2021-10-27 21:45:22 +02:00
Ricardo Pardini
a22e929853
JetHub: dont break build due to rsyslog stuff (Debian...) (#3224)
- also, shellfmt. Sorry.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-10-27 18:54:59 +02:00
Piotr Szczepanik
86abac1fd4
Cleanup u-boot configurations for rockchip64 derivatives (#3150)
* Cleanup u-boot configurations for rockchip64 derivatives

* Bring separate BOOT_USE_* variables into BOOT_SCENARIO

* Revert BOOTDIR change in rockchip64

* Bump RK3568 BL31 to v1.35
2021-10-26 22:14:41 +02:00
Vyacheslav
ae9fd1450e
Fix error in args for call aml_encrypt_gxl: incorrect path for bl2.n.bin.sig (#3228) 2021-10-26 21:44:25 +02:00
Oleg
103ddb1adb
fix firefly-rk3399 (#3227) 2021-10-26 08:52:40 +02:00
Ricardo Pardini
1288f39db7
add impish to decisions about qemu-x86_64-static (#3223)
- Just like focal and hirsute, qemu-x86_64-static

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-10-26 08:52:02 +02:00
Vyacheslav
6c190e5a10
JetHome: Fix compiler for bsp package (#3213) 2021-10-21 13:38:03 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Oleg
286eed02f7
fix jetson-nano (#3199) 2021-10-15 14:19:00 +02:00
Heisath
5a8513360c Switch mvebu-edge to kernel 5.14 2021-10-10 21:30:56 +02:00
Igor Pečovnik
bd54236f9f
Update u-boot to 2021.10 (#3182) 2021-10-09 17:57:56 +02:00
Igor Pečovnik
d2fba532a6
allwinner: update u-boot to 2021.07 (#3143)
* Bugfix - Bananapi PRO seems to work fine with latest u-boot

Done many reboots and it didn't break. The same has to be tested with other A20 boards

* Set Allwinner 32bit hw to most recent u-boot 2021.07

* Let's move all to 2021.07 and test ...
2021-10-07 19:26:06 +02:00
Ricardo Pardini
2079811064
meson64: bump u-boot to 2021.07 // HC4/N2(+) cleanups (#3155)
* meson64: bump u-boot to 2021.07, rework patches

- as always based on chewitt's tree, with differences:
  - squashed versions of HC4+SATA, Radxa Zero, DT tree sync patches
    - so that DTB/config/code changes related to the same feature/board are grouped
  - removed documentation changes and Makefile reordering patches

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* meson64: ODROID HC4/N2: simplify/remove board vs family hacks; better SPI support

- thanks to mainline 2021.07 u-boot and it's HC4 config we can remove the conditionals
- boards now define the u-boot vars instead of conditionals in family
- on the HC4, build u-boot twice: one for SD (old C4 config) and one for HC4 (new SATA/SPI config)
  - reason is that the HC4 version does not work very well unless it is actually booted from SPI
- meson64_common: don't override UBOOT_TARGET_MAP if board-defined
  - but the default UBOOT_TARGET_MAP is still defined if the board didn't
- (sneakily) add lm-sensors fancontrol to the HC4's board packages

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-26 20:47:33 +02:00
Oleg
41522b2bc7
fix config legacy for station (#3147) 2021-09-19 12:20:43 +02:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Paolo Sabatino
0ba760e148 rk322x: ddrbin now uses 2T Command Rate, dynamically adjust ddrbin command rate on u-boot updates 2021-09-11 12:51:28 +00:00
Paolo
4425589e15
rk322x: bump edge kernel to 5.14, u-boot to 2021.07 (#3133) 2021-09-09 22:59:12 +02:00
lampra1
ea6adaa40d
Update ATF source (#3130) 2021-09-09 09:12:58 +02:00
Igor Pecovnik
033f8044aa
Bugfix - remove pointing to non-existing station kernel config 2021-09-09 09:11:51 +02:00
Igor Pečovnik
744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Oleg
a33445c910
fix kernel station current (#3127) 2021-09-08 17:50:23 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Ricardo Pardini
731feb73f6
ODROID HC4: edge: experimental: SPI+SATA boot on HC4 via chewitt's amlogic-2021.07 uboot tree (#3106)
- done in a single if block in sm1 family
- add nand-sata-install support via UBOOT_TARGET_MAP and write_uboot_platform_mtd

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:49:34 +02:00
Ricardo Pardini
334d847512
ODROID N2(+): chewitt's uboot + SPI-NOR enable via extra DTBs = SPI Boot to USB, no more hangs. (#3119)
- fix/dup bootscript, since new u-boot fixed n2_plus to n2-plus variant
- g12b: if n2 and edge, enable new u-boot; include non-SD version as SPI binary; write_uboot_platform_mtd
- Kernel DTS patch to add SPI-flash-enabled DTBs (slower eMMC), produces -spi .dtbs for n2 and n2-plus
  - This could also be an overlay, but I dunno overlays.
- SPI+USB3 boot works with "pendrive" storage, untested with cabled/high power USB->SATA or USB->NVMe

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:44:19 +02:00
Jannis
147b8b54e6
Merge pull request #3092 from armbian/helios64-udev-hwmon-fix
Helios64 combine hwmon rules between legacy and current
2021-08-16 13:46:04 +02:00
Igor Pecovnik
65069acffa Bugfix - family should be defined inside legacy section only 2021-08-13 07:38:43 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
da1cb09fc2 Bugfix - adjust sunxi u-boots
While necesary revert to 2020.10 we need to exclude a few of. Now they all build OOB.
2021-08-08 18:19:18 +02:00
Tony
01f67a51dc
Merge pull request #3065 from armbian/rk3328-usb3
Move Rk3328 usb3 to mainline
2021-08-06 19:48:04 -04:00
Ricardo Pardini
5005806f6e
ODROID C4, HC4: fix u-boot map and FIP trees handling (#3068)
- We really want the u-boot.bin.sd.bin for HC4
- During VIM3L-adding commit, "odroid*c4" was replaced with "odroid-c4" and "odroid-hc4"
  - Which is cool but it's actually "odroidc4" and "odroidhc4"
  - Add a warning to save future time if no FIP tree decided by SM1 family

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 08:12:53 -04:00
tonymac32
d8dbefd618 [ rockchip64 ] rk3328 change to mainline USB3 2021-07-27 00:05:09 -04:00
Tony
146738eb91
Rockchip atf 2.5 (#2998)
* bump rockchip64 ATF to 2.5

v2.5 includes our patches and some other RK3399 improvements

* Delete power domains patch

included in ATF v2.5

* Delete fix-reset-in-v2.2.patch

Included in v2.5

* disable logging patch

&console.console is causing a compile error with ATF v2.5.  I haven't looked into it yet, disable for now.

* Add experimental suspend support for PBP

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-26 13:37:50 -04:00
Ricardo Pardini
3455d85a23 Add very basic Khadas VIM3 support
- FIP tree support was there already since #1923
- mainline u-boot in g12b was enabled by #2943

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-24 10:07:02 -04:00
Igor Pečovnik
87a30d0129
Cleanup 2021-07-22 14:21:42 +02:00
lanefu
31e1cb3d00
move all Allwinner uboot to v2020.10 (#3047)
* rollback uboot for sunxi64-current
* rollback all allwinner uboots
2021-07-22 08:17:50 -04:00
lanefu
390376d2e2
rollback uboot for sunxi64-current (#3046) 2021-07-22 08:06:17 -04:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Igor Pečovnik
aa914dedf9
Setting older u-boot for Allwinner H3 due to stability issues found in latest versions 2021.04 (#3036) 2021-07-20 06:40:22 +02:00
Igor Pecovnik
a6a7608025 Bugfix for #3033 2021-07-19 06:42:27 +00:00