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.

How to enable SPI with Armbian 23.0.2/22.11.1?

Featured Replies

I've tried two releases of Armbian for the Jetson Nano and was struggling to get SPI enabled on the Jetson. To check if SPI is enabled, I've been reading its status is through: cat /proc/device-tree/spi@7000d400/status which just returns disabled

 

Here's what I tried:

- enabling spi-spidev through armbian-config, but this option doesn't exist in armbian-config as it does for other releases for devices

- making a custom device tree dts file and pointing extlinux.conf to it (below is the relevant snippet):
 

spi@7000d400 {
        compatible = "nvidia,tegra210-spi\0nvidia,tegra114-spi";
        reg = <0x00 0x7000d400 0x00 0x200>;
        interrupts = <0x00 0x3b 0x04>;
        #address-cells = <0x01>;
        #size-cells = <0x00>;
        clocks = <0x03 0x29>;
        clock-names = "spi";
        resets = <0x03 0x29>;
        reset-names = "spi";
        dmas = <0x24 0x0f 0x24 0x0f>;
        dma-names = "rx\0tx";
        status = "okay";

        num-chipselects = <5>;
        cs-gpios = <0x22 0x13 0>, <0x22 0x14 0>, <0x22 0x95 0>, <0x22 0xc8 0>, <0x22 0x26 0>;

        spidev@0 {
            compatible = "spidev";
            reg = <0>;
            spi-max-frequency = <0x1f78a40>;
            status = "okay";
        };

        spidev@1 {
            compatible = "spidev";
            reg = <1>;
            spi-max-frequency = <0x1f78a40>;
                status = "okay";
        };

        spidev@2 {
            compatible = "spidev";
            reg = <2>;
            spi-max-frequency = <0x1f78a40>;
                status = "okay";
        };

        spidev@3 {
            compatible = "spidev";
            reg = <3>;
            spi-max-frequency = <0x1f78a40>;
                status = "okay";
        };

        spidev@4 {
            compatible = "spidev";
            reg = <4>;
            spi-max-frequency = <0x1f78a40>;
                status = "okay";
        };
    };

- looking at device tree overlays as explained here (https://docs.armbian.com/User-Guide_Allwinner_overlays/#using-custom-overlays) but armbian-add-overlay doesn't exist and there is no /boot/dtb/nvidia/overlay/ folder

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.