Re: Can someone point me in the right direction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10.05.22 20:29, Marcel Akkermans wrote:
Hello Oliver,

Here are the output of the commands

rock@rockpi4b:~$  uname -a
Linux rockpi4b 4.4.154-116-rockchip-g86a614bc15b3 #1 SMP Mon Jan 10
> 12:03:08 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Well ... Linux 4.4.154 as expected.

You probably should give this a try:

https://github.com/camarel/rockpi4

to finally upgrade to Linux 5.10

Best,
Oliver

rock@rockpi4b:~$ sudo ip link set can0 up type can bitrate 250000
[sudo] password for rock:
rock@rockpi4b:~$ ip -details link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000     link/ether 8a:46:ca:10:55:d9 brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode none numtxqueues 1 numrxqueues 1 3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 10
     link/can  promiscuity 0
     can state ERROR-ACTIVE restart-ms 0
           bitrate 250000 sample-point 0.833
           tq 333 prop-seg 4 phase-seg1 5 phase-seg2 2 sjw 1
           mcp251x: tseg1 3..16 tseg2 2..8 sjw 1..4 brp 1..64 brp-inc 1
           clock 6000000 numtxqueues 1 numrxqueues 1
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000     link/ether 20:50:e7:d5:2a:2a brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode none numtxqueues 1 numrxqueues 1
rock@rockpi4b:~$

Greeting Marcel

Op 10-May-22 om 6:52 PM schreef Oliver Hartkopp:
Hi Marcel,

On 10.05.22 18:12, Marcel Akkermans wrote:
I have a Raxda rockpi with waveshare 485 can Hat.
there are strange issues with the can-bus.
I need it to get it going (it's an HMI of a machine I am building)

I have posted my test result at Raxda forum

https://forum.radxa.com/t/rockpi-4b-canbus-fault/9784

Can you please post the output of

    ip -details link show

and

    uname -a

?

I searched a bit on rockpi 4b and found these images:

https://github.com/radxa/rock-pi-images-released/releases

That's pretty old stuff and the mcp251x/SPI combo was not really reliable in those old kernels IIRC ...

all hardware runs fine on raspberry 3b

Where you likely used a more recent kernel too ;-)

Best regards,
Oliver





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux