hjoe
-
Posts
12 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Community Map
Posts posted by hjoe
-
-
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.
Am 13.1.2021 um 18:34 schrieb Igor:... and no help where we are asking for one:
https://forum.armbian.com/forum/54-help-wanted/I'm sure all these tasks are above my skills, but when finished may small project, I'll have a look at it.
-
You know. your kid and we, are thankful
-
Thanks, and take care of your family.
-
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
ZitatSECTIONS {
.plt : { BYTE(0) }
.init.plt : { BYTE(0) }
}
now I can load the module, but is may be not correct -
look at the text:
QuoteYour internal and external IP addresses are different which seems that you are behing a router.
"behing" should be "behind"
-
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.
-
Armbianmonitor:
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
-
3 hours ago, Igor said:
BSP package, where this info is pulled, hasn't changed. Read https://github.com/armbian/build/pull/1129 for more details about naming problems.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 helping.
-
The headline still shows
"Armbian 5.75 stable"
Installing an ISR without any framework
in Allwinner sunxi
Posted
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