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.

Trying to add gpio-line-names to nanopi duo

Featured Replies

28 minutes ago, sgjava said:

each pinctrl using phandle to identify

Be carefull : phandle can vary between builds, so better use <&pio> and <&r_pio> symbols.

 

30 minutes ago, sgjava said:

So next question is how do I make this part of build process

As I said earlier, append you overlay code in some new board specific patch such as ./patch/kernel/sunxi-dev/nanopi-duo/board-h2plus-nanopi-duo-add-overlay.patch which will also provide change to arch/arm/boot/dts/overlay/Makefile.

  • Author

@martinayotteI understand the patch part, but usually you make the change somewhere like build/cache/sources/linux-odroidxu4/odroid-5.4.y/arch/arm/boot/dts/exynos5420-pinctrl.dtsi (for XU3/XU4) and a patch is generated in output/patch. This is the step I'm missing. Almost there, thanks for your help do far.

3 hours ago, sgjava said:

This is the step I'm missing.

I'm not understanding exactly.

Maybe because I've always producing patches manually ...

Here is a summary of how I would do it :

(edit the file to add "gpio-line-names" manually)
nano cache/sources/linux-odroidxu4/odroid-5.4.y/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
(save)
pushd cache/sources/linux-odroidxu4/odroid-5.4.y/
git diff arch/arm/boot/dts/exynos5420-pinctrl.dtsi > ~/my-gpio-line-names.patch
popd
mv ~/my-gpio-line-names.patch patches/kernel/odroidxu4-dev/odroidxu4-add-gpio-line-names.patch

 

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.