Jump to content

Gunjan Gupta

Members
  • Posts

    437
  • Joined

  • Last visited

Posts posted by Gunjan Gupta

  1. @Gro-Tsen  One way you can compile the driver is by running `./compile.sh BRANCH=legacy BOARD=nanopi-r6s kernel-config`. That will show the menuconfig interface to configure the kernel. You can enable the driver you need and when exiting choose to save the config file. Then you can run `./compile.sh BRANCH=legacy BOARD=nanopi-r6s kernel`. to compile the kernel. The resultant deb file will be in output/debs folder. The modified config file will be in config/kernel folder. I will suggest to open a PR with the same so that it will get enabled in the official Armbian kernel as well.

     

    8 hours ago, Gro-Tsen said:

    Another followup to say that `/usr/share/doc/linux-image-legacy-rk35xx/changelog.gz` gives my kernel version as:

     

    5.10.160-S5279-D6ad0-P0000-C42aaHfe66-HK01ba-Vc222-Bc698-R448a

     

    So I guess my question is what these numbers mean and how I can use them to reconstruct the exact kernel tree (or at least check that I have the right kernel tree). None of them seems to be a Git commit number, so I don't know what they are.

     

    Those numbers are generated by hashing various files present in armbian source tree. For example C42aa means that the hash for kernel config file starts with 42aa. For more information see artifact_kernel_prepare_version function in lib/functions/artifacts/artifact-kernel.sh file.

  2. On 9/23/2023 at 8:52 PM, 张军 said:
    U-Boot SPL 2023.07.02-armbian (Sep 19 2023 - 18:28:54 +0000)
    DRAM: 4096 MiB
    Trying to boot from MMC1

    I used an SD card to boot and often the card would not move after the above print after reboot, it seems that the identified DRAM capacity is wrong.

    This is now fixed. Updated u-boot should be available in beta repository within 24 hours.

  3. @FelSM The format you have used to define gpios for cs-gpios format seems bit odd to me. May be it is just my lack of knowledge, not 100% sure. Generally for allwinner boards, the format I have seen contains 4 parameter i.e. reference to pinctrl node either &pio or &r_pio, pin line number, gpio number and then state. You only have mentioned 3 parameters which makes me a bit confused about what pins you are trying to use as chip selects here.

  4. 1 hour ago, DenisS said:

    spi0_cs1_pi_pin: spi0-cs1-pi-pin {
                                    pins = "PG8";
                                    function = "spi0";
                            };

    Based on the schematics of the board, PG8 only support uart1 or gpio function. So you can't set function = spi0 for the same.

     

    Now this is a shot in the dark, but may by you can experiment with cs-gpios property.

  5. @IgorS You can now use the follows "./compile.sh BOARD=<board> BRANCH=<branch> <command>" where command can be one of the following uboot, uboot-config, uboot-patch, atf-patch, crust-patch, kernel, kernel-config, kernel-patch, armbian-config, armbian-zsh, plymouth-theme-armbian, firmware, firmware-full, armbian-bsp-cli, armbian-bsp-desktop, armbian-base-files, fake-ubuntu-advantage-tools, rootfs, desktop

     

    you can only provide one command though. So probably you use for loop and supply each command through the same.

  6. 16 minutes ago, AZ8 said:

    No, I did not manually installed this kernel, apt installed it as a dependency for wireguard

    You only needed to install wireguard-tools package, and I believe that should be already installed in armbian image. Wireguard on the other hand is a metapackage that also tries to install the kernel modules which are already available in armbian.

     

    To revert back to armbian kernel, run "apt-get install --reinstall linux-image-current-sunxi linux-dtb-current-sunxi"

  7. 9 hours ago, joaopaulo98 said:

    unfortunately I don't have another SD card

    Thats sad. You can still try installing edge kernel to tezt it and then revert back to older kernel if it doesn't work as your liking

     

    9 hours ago, joaopaulo98 said:

    I'm using a Chinese display, LCD TFT 1.8" 128x160 - Driver ST7735

     

    I can see the kernel modules for ST7735 is enabled in our kernels

    config/kernel/linux-sunxi64-current.config:CONFIG_FB_TFT_ST7735R=m
    config/kernel/linux-sunxi64-edge.config:CONFIG_FB_TFT_ST7735R=m
    config/kernel/linux-sunxi64-legacy.config:CONFIG_FB_TFT_ST7735R=m

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines