Jump to content

Zaltora

Members
  • Posts

    6
  • Joined

  • Last visited

  1. Hello, i want to make work a LVDS screen on a Olimex board using Armbian. I have take a look on this topic to get clues : lvds_a20 Informations: Armbian: Custom build with 5.10 kernel. ( KERNEL_ONLY=no KERNEL_CONFIGURE=no BUILD_MINIMAL=yes BUILD_DESKTOP=no BOARD=lime-a64 BRANCH=current RELEASE=buster) Board: Lime-A64 Ethernet : Disable with jumper (lvds and ethernet share some pin ) Resources: - Overlay from other board : lcd-olinuxino-15.6.dts - http://linux-sunxi.org/Linux_mainlining_effort Status: I rewrote the "overlay" with the configurations of my display and my board ( Attached ) with, i guess, misstakes I have enable some kernel modules for use LVDS in "/etc/modules": lvds-codec panel-lvds I have enable the overlay with this command: armbian-add-overlay lvds-a64.dts After reboot, lvds not seem activated and the second overlay i wrote (for CAN bus) is disable. dmesg | grep lvds [ 5.516865] Modules linked in: cpufreq_dt mcp251x can_dev panel_lvds lvds_codec micrel pinctrl_axp209 dwmac_sun8i mdio_mux Someone got idea what is my misstake in the overlay ? Or the LVDS activates otherwise ? How can I check that the LVDS installation is working properly? Do you think LVDS can work with A64 ? lvds-a64.dts
  2. I found correct settings to make my overlay work on the board (Armbian : kernel 5.10) I use PB0 as interrupt pin (change if needed, see comment for interrupt pin) A64-mcp2515.dts
  3. Hello, i work on Lime-a64 board (olimex). Based on this topic and some other around, i wrote the overlay attached. The module i used is use on this topic for the raspberry : tutorial raspberryi. The pinout: | Lime-A64 | UEXT Nb | Function | Output | Module | | --------- | ------- | ------------ | ------ | ------- | | +3.3 | 1 | | VCC | 7 | | GND | 2 | | GND | 6 | | PH4 | 3 | UART3TX | | | | PH5 | 4 | UART3RX | | | | PH2 | 5 | TWI1-SCK | INT | 1 | | PH3 | 6 | TWI1-SDA | | | | PC1 | 7 | SPI_MISO | SO | 4 | | PC0 | 8 | SPI_MOSI | SI | 3 | | PC2 | 9 | SPI_CLK | SCK | 2 | | PC3 | 10 | SPI_CS | CS | 5 | The mcp seem will initialized and i can up the interfaces. however, i am not sure interrupts works. This line seem wrong : interrupts = <0 194 2>; /* PH2 IRQ_TYPE_EDGE_FALLING */ Someone know how to correctly set the line with the Allwinner A64, PH2 pin ? spi-a64-mcp2515.dts
  4. How i can get the list of all kernel version available for my custom build by using option provided by armbian? I have tried to build without specifying the kernel as follows: ./compile.sh KERNEL_ONLY=no KERNEL_CONFIGURE=no INSTALL_HEADERS=yes BUILD_DESKTOP=yes BOARD=orangepizeroplus2-h3 RELEASE=buster COMPRESS_OUTPUTIMAGE=sha,gpg,img BRANCH=legacy the build work fine and the kernel version is 5.4.51. But if i specify this kernel into "lib.config" and do it again : KERNELBRANCH="tag:v5.4.51" the build system can't fetch the kernel version: [ .... ] Fetching updates fatal: Couldn't find remote ref tags/v5.4.51 [ .... ] Checking out error: pathspec 'FETCH_HEAD' did not match any file(s) known to git If i want a specific version of kernel and maintain it. What i need to look and what i need to set to make it work ? I didn't understand well what i need to do with different option provided by armbian build system.
  5. *Hello, i want to build a armbian image with a custom kernel version. I got some problem. I read this topic and the following documentation : - https://docs.armbian.com/Developer-Guide_Build-Options/ - https://docs.armbian.com/Developer-Guide_User-Configurations/ I want use this specific version : 5.4.45 So i have put in my "lib.conf" this line : KERNELBRANCH="tag:v5.4.45" Then i have try to build with these commands : ./compile.sh KERNEL_ONLY=no KERNEL_CONFIGURE=no INSTALL_HEADERS=yes BUILD_DESKTOP=yes BOARD=orangepizeroplus2-h3 RELEASE=buster COMPRESS_OUTPUTIMAGE=sha,gpg,img, BRANCH=current ./compile.sh EXPERT=yes KERNEL_ONLY=no KERNEL_CONFIGURE=no INSTALL_HEADERS=yes BUILD_DESKTOP=yes BOARD=orangepizeroplus2-h3 RELEASE=buster COMPRESS_OUTPUTIMAGE=sha,gpg,img BRANCH=dev I got error, it seem that the kernel was not found: [ o.k. ] Checking git sources [ linux-mainline v5.4.45 ] [ .... ] Fetching updates fatal: Couldn't find remote ref tags/v5.4.45 [ .... ] Checking out error: pathspec 'FETCH_HEAD' did not match any file(s) known to git [ o.k. ] Checking git sources [ sunxi-tools master ] ... ... ... make: *** No rule to make target 'olddefconfig'. Stop. [ error ] ERROR in function compile_kernel [ compilation.sh:414 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated By reading this topic, i have try this command, but it is seem not to be the good way to do this but the kernel was found: ./compile.sh KERNEL_ONLY=no KERNEL_CONFIGURE=no INSTALL_HEADERS=yes BUILD_DESKTOP=yes BOARD=orangepizeroplus2-h3 RELEASE=buster COMPRESS_OUTPUTIMAGE=sha,gpg,img BRANCH=next but i still got an error at the end: .... CC kernel/padata.o CC kernel/crash_dump.o CC kernel/jump_label.o CC kernel/iomem.o CC kernel/rseq.o AR kernel/built-in.a [ error ] ERROR in function compile_kernel [ compilation.sh:414 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated i have try with different additionnal LIB_TAG argument too : LIB_TAG=sunxi-5.5 or LIB_TAG=sunxi-5.3 "sunxi-5.4" tag seem missing. It is possible to me to build armbian with a custom kernel version ? what setting i have miss ? the branch "next" seem legacy, what is the recent way to do this ? (kernel is not fetch when BRANCH=dev)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines