Comments (8)
Jira ticket: AR-1978
from build.
I will say this is not a problem of build framework per se, and can easily be solved by the user on their side. When the user created the patch, all other patches were already applied. So the created patch was supposed to be the last patch in the list. But its clear from the logs, that the patch is now being applied at the 52nd position instead of the last position. Just adding a zzzz-
as a prefix to patch filename would have resolved the issue.
from build.
disagree. Adding zzz- as patch name prefix has same problem. New log: https://paste.next.armbian.com/oyufowemih
The "problem" is that patches: Armbian Bare DT auto-patch, Armbian Bare OVERLAY auto-patch and Armbian DT Makefile auto-patch appear to be applied BEFORE the kernel-patch (auto create patch) process and AFTER the created / user patch is applied, causing patch failure.
This is because I am making changes to files affected by the above auto-patch's
I am unsure how to resolve this without code consistency between when patch created and applied.
from build.
@rossbcan Sorry, my bad. I take care of sunxi and meson-s4t7 family and that feature is not used there. Hence completely forgot about the same. Reopened the issue. Maybe someone else can take a look
from build.
Possible solution hint...
In file "lib/tools/common/dt_makefile_patcher.py", make auto-patch run dependent on "kernel-patch" NOT defined in compile.sh parameters.
may be "unintended" consequences. Need a guru...
from build.
The purpose of the auto patcher is exactly to avoid needing to patch Makefiles, which are frequent cause of conflicts across version bumps.
Just add the DTs you want to the dt
dir in the patch folder, everything else will be done automatically. See the others already in there: https://github.com/armbian/build/tree/main/patch/kernel/archive/meson64-6.6:
- 000.patching_config.yaml configures the auto patcher
dt
folder, you can just drop your .dts here and they'll be added to makefile automatically
from build.
Oh, and you can have your bare DTs also in userpatches
if you prefer, I have them here https://github.com/rpardini/armbian-build/tree/extensions/userpatches/kernel/meson64-edge/dt (thus in userpatches/kernel/meson64-edge/dt
)
from build.
THANK you very much...
I opted to add the dts and hidden .cmd files via userpatches and took your word that the Makefile will be auto generated. It worked. Note this is for edge.
I have similar patches for current, including dts/amlogic/Makefile which work. I assume the "Armbian DT Makefile auto-patch" mechanism is not in current.
This issue begs documentation, closing anyway
Thanks; Bill
from build.
Related Issues (20)
- Installing Armbian on Tigre 2 TV Box with Amlogic S905X (NAND) HOT 2
- Unable to build Armbian for Orange Pi 5 HOT 3
- The image is built with the kernel from previous builds. HOT 9
- NetworkManager in Ubuntu add powersave config for WiFi HOT 3
- /home directory unexpectedly cleared by build script HOT 4
- Discussion on PR decisions? HOT 1
- rock64 compile error HOT 7
- armbian latest offical for radxa zero, the /boot/dtb/amlogic/overlay/meson-g12a-radxa-zero-spi-spidev.dtbo can't work at all !!! HOT 4
- Armbian boot partition unreadable on Windows machines due to weird partition type HOT 3
- chroot: failed to run command ‘/bin/bash’: No such file or directory... HOT 8
- Sources configuration not found tried /home/ ... /build/config/sources/families/.conf HOT 2
- khadas-vim2 (s912) wont boot after current kernel updated to 6.1.66, hangs at mounting /boot HOT 6
- ERROR in function prepare_host HOT 15
- Add ASUS Tinker Edge R board. HOT 4
- rk322x-box Compile Error HOT 2
- apt armbian.list.disabled exists after build without SKIP_ARMBIAN_REPO HOT 2
- Linux headers package is missing after compilation - kernel branch 4.19 HOT 9
- Add support for the Orange pi 2w 4gb models HOT 4
- Please set dpkg vendor to Armbian in all images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.