Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

About patch process

Featured Replies

I want to know in what order is executed the patching at compilation?

Order is determined by patch file names, LC_ALL=C sorting order.

       ***  WARNING  ***  The locale specified by the environment affects sort
       order.  Set LC_ALL=C to get the traditional sort order that uses native
       byte values.

Patched files are written into SRC files?

No. All files with .patch extensions are collected from $SRC/lib/patch/<uboot|kernel>/$LINUXFAMILY-$BRANCH and $SRC/userpatches/<uboot|kernel>/$LINUXFAMILY-$BRANCH

 

How I can skip selected patch file?

If you want to skip, for example, "lib/patch/kernel/sunxi-next/01-wens-banana-m1plus.patch", create an empty file "userpatches/kernel/sunxi-next/01-wens-banana-m1plus.patch"

 

Patches with same file name in "userpatches" subdirectories have higher priority than ones in "lib/patch".

  • Author

Thanks zador.blood.stained!

 

Where can I see the source file after the patching process?

For different versions of Linux (Debian Wheezy, Jessie or Ubuntu Trusty, Xenial) used the same patch files?

How to do a custom patch file for FEX file?

Where can I see the source file after the patching process?

In subdirectory of $SRC/sources for the target that you patched

 

For different versions of Linux (Debian Wheezy, Jessie or Ubuntu Trusty, Xenial) used the same patch files?

Yes

 

How to do a custom patch file for FEX file?

Patching is implemented only for kernel and u-boot sources.

To change FEX file you can write a code that uses bin2fex, sed and fex2bin in userpatches/customize-image.sh

Something like

bin2fex /boot/script.bin /boot/script.fex
sed -i 's/screen0_output_type = 3/screen0_output_type = 4' /boot/script.fex
# remove symlink to preserve changes on board support package upgrade
rm /boot/script.bin
fex2bin /boot/script.fex /boot/script.bin

In cusomize-image.sh you can check $RELEASE to distinguish between different distributions (wheezy, jessie, trusty or xenial)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.