armbian / build

Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
https://www.armbian.com
GNU General Public License v2.0
4.28k stars 2.34k forks source link

Sunxi-6.11: Fix a broken package for EDGE #7474

Closed The-going closed 1 week ago

The-going commented 1 week ago

Description

Close 7456 reference: AR-2529

How Has This Been Tested?

sunxi-6.6:

sunxi-6.11:

The-going commented 1 week ago

Igor, I understand that I want to hurry up. But we have a remaining inconsistency in the scripts when searching for DTB for the board and overlay files.

igorpecovnik commented 1 week ago

But we have a remaining inconsistency

Oh? I understand that it works now? As I reverted overlay handling to previous state. Is "current" kernel on both working correctly? This is target for release. Edge we can deal with later.

The-going commented 1 week ago

But we have a remaining inconsistency

Oh? I understand that it works now? As I reverted overlay handling to previous state. Is "current" kernel on both working correctly? This is target for release. Edge we can deal with later.

I'll check it out. And I will try to fix the scripts for sunxi so that they are universal. In other words, we still have a difference in paths: ${prefix}dtb/${fdtfile} ${prefix}dtb/overlay/${overlay_prefix}-${overlay_file}.dtbo or ${prefix}dtb/allwinner/overlay/${overlay_prefix}-${overlay_file}.dtbo in files: config/bootscripts/boot-sunxi.cmd config/bootscripts/boot-sun50i-next.cmd

And we have different kernels in our repositories, which place their files in different paths: boot/dtb/overlay or boot/dtb/allwinner/overlay

If the user freezes the kernel, but at the same time updates the BSP package, the download script will change. Conversely, if he installs only a new core, then get a non-bootable board.

Today I will test the current one and try to make the situation easier and make the script more versatile.

The-going commented 1 week ago

Is "current" kernel on both working correctly?

  ___                     __  __ _         _ 
 / __|_ __  __ _ __ ___  |  \/  (_)_ _  __| |
 \__ \ '_ \/ _` / _/ -_) | |\/| | | ' \/ _` |
 |___/ .__/\__,_\__\___|_|_|  |_|_|_||_\__,_|
     |_|              |___|                  
 v24.11 rolling for Banana Pi M3 running Armbian Linux 6.6.60-current-sunxi

 Packages:     Debian stable (bookworm)

leo@bananapim3:~$ armbianmonitor -m
Two CPU clusters are available for monitoring
Stop monitoring using [ctrl]-[c]
Time    CPU_cl0/CPU_cl1  load %cpu %sys %usr %nice %io %irq   Tcpu  C.St.

16:09:22   768/ 576 MHz  0.13   5%   2%   2%   0%   0%   0%  45,3 °C  0/5