

hjoe
-
Content Count
12 -
Joined
-
Last visited
About hjoe
-
Rank
Member
Profile Information
-
Location
Halle (Saale)
Recent Profile Visitors
325 profile views
-
Hi, trying to install a char driver without any driver framework. The only thing I can not install is getting the Interrupt through to the interrupt servce routine err = request_irq(irq, handler, // IRQF_TRIGGER_RISING, IRQF_TRIGGER_HIGH, "can4linux", &can_minors[minor]); irq is the Interrupt number of the CAN controller, it is fixed in the A20 to 58. I do get no error messages, but the isr is not called. What I am missing? Greetings Heinz By the way, it worked an Bananian 3.x
-
Igor, in https://armbian.atlassian.net/browse/AR I can see you marked it as solved. Did now expect that we have new kernel-headers, but apt-get update and apt-get upgrade does not show a new one? May be it is not related but I can not get interrupt number 58 (CAN module) working. I'm sure all these tasks are above my skills, but when finished may small project, I'll have a look at it.
-
Hi, have the same problem with compiling the can4linux driver. Why does someone suggest to remove the last line of the linker script module.lds ? sudo sh -c "sed '$ d' it should include something for sure, may be the .plt section. #include does not work, so I added the content of ./linux-headers-5.10.4-sunxi/arch/arm/include/asm/module.lds.h now I can load the module, but is may be not correct
-
look at the text: "behing" should be "behind"
- 1 reply
-
- spelling error
- software
-
(and 1 more)
Tagged with:
-
I read on the forum: "Update boot loader to latest version - armbian-config -> system -> install/update boot loader ... and try again." and I did. I also removed power, reconnected the cables, and now the result is different: I have now the device /dev/sda available. Hopefully, all is good now.
-
Today I updated my BananaPI M1 board, replaced the Bananian OS with Armbian Armbian_20.05.4_Bananapi_focal_current_5.4.45.img. I'm not getting the SATA with connected 1TB WD10JFCX working. The HD worked before with the Bananien kernel 3.4.x What can I do, how can I test, how can i get more information about the reason? The board is powered via the Micro USB and armbianmonitor reports DC-IN voltage > 5V
-
only added the second last printf, and of course the variable initialisation
-
did read (most of) this thread, Thanks. I just started using Armbian so everything is new.
-
I found the CAN device driver sources in sun7i_can.c - CAN bus controller driver for sun7i to configure the gpio pins for the special case of acting as TX and RX for CAN, the following function calls are used: sw_gpio_setcfg(GPIOA(16), 3); I try to use this code to implement the can4linux module an a BananaPi M2-Berry using Armbian stretch but are not able to find any prototype of such a function sw_gpio_setcfg(); nor the definitions of the gpio ports like GPIOA. What ist the correct way of accessing the gpio ports from within the kernel? Thanks for helpin
-
The headline still shows "Armbian 5.75 stable"