MCP2515 setup fails with error 16

Post Reply
robert@greenhive.at
Posts: 16
Joined: Fri Mar 24, 2023 5:32 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

MCP2515 setup fails with error 16

Post by robert@greenhive.at »

I hit a wall today. I had a perfectly working setup with an N2 and a MCP2515 like I showed in this post.
viewtopic.php?f=180&t=47740&p=381826#p381826

There was no change in the system but it stopped working quite suddenly today and now I only get this error

Code: Select all

root@odroid:~# dmesg | grep spi
[    7.765491] meson-spicc ffd13000.spi: registered master spi0
[    7.765658] spi spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[    7.765728] meson-spicc ffd13000.spi: registered child spi0.1
[    7.765740] spi spi0.0: setup mode 0, 8 bits/w, 100000000 Hz max --> 0
[    7.765790] meson-spicc ffd13000.spi: registered child spi0.0
[   10.736514] mcp251x spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[   11.767807] mcp251x spi0.1: MCP251x didn't enter in conf mode after reset
[   11.770914] mcp251x spi0.1: Probe failed, err=16
[   11.777243] mcp251x: probe of spi0.1 failed with error -16
I understand that error 16 means EBUSY so the CAN module was not reachable at config time. I removed my PCB that holds the MCP2515 and went back to the most basic setting. This means fresh image with upgrade, activated can0 in config.ini and created a direct wiring between MCP2515 and Odroid.
But still the problem remains. I tried another Odroid N2 and I tried 3 different MCP2515 units, but all combinations result in the same error. I tried the same MCP2515 modules on a Raspberry Pi, and there they initialize without error. So these modules seem to be OK.

Does someone have an idea how to best debug the SPI lines to see where the problem is.
I got an Oscilloscope to measure but have no idea about the sequence the MISO, MOSI, CS, INT lines should have.

steve.jeong
Posts: 279
Joined: Wed Dec 01, 2021 10:18 am
languages_spoken: english
Has thanked: 38 times
Been thanked: 87 times
Contact:

Re: MCP2515 setup fails with error 16

Post by steve.jeong »

robert@greenhive.at wrote:
Thu Feb 08, 2024 9:59 am
I hit a wall today. I had a perfectly working setup with an N2 and a MCP2515 like I showed in this post.
viewtopic.php?f=180&t=47740&p=381826#p381826

There was no change in the system but it stopped working quite suddenly today and now I only get this error

Code: Select all

root@odroid:~# dmesg | grep spi
[    7.765491] meson-spicc ffd13000.spi: registered master spi0
[    7.765658] spi spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[    7.765728] meson-spicc ffd13000.spi: registered child spi0.1
[    7.765740] spi spi0.0: setup mode 0, 8 bits/w, 100000000 Hz max --> 0
[    7.765790] meson-spicc ffd13000.spi: registered child spi0.0
[   10.736514] mcp251x spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[   11.767807] mcp251x spi0.1: MCP251x didn't enter in conf mode after reset
[   11.770914] mcp251x spi0.1: Probe failed, err=16
[   11.777243] mcp251x: probe of spi0.1 failed with error -16
I understand that error 16 means EBUSY so the CAN module was not reachable at config time. I removed my PCB that holds the MCP2515 and went back to the most basic setting. This means fresh image with upgrade, activated can0 in config.ini and created a direct wiring between MCP2515 and Odroid.
But still the problem remains. I tried another Odroid N2 and I tried 3 different MCP2515 units, but all combinations result in the same error. I tried the same MCP2515 modules on a Raspberry Pi, and there they initialize without error. So these modules seem to be OK.

Does someone have an idea how to best debug the SPI lines to see where the problem is.
I got an Oscilloscope to measure but have no idea about the sequence the MISO, MOSI, CS, INT lines should have.
While it's appropriate to detect message errors during communication, I'm unsure about the necessity of analyzing waveforms during the hardware registration process.
It is an issue arose during the mounting of the MCP2515 device to the kernel due to a timeout error while attempting to read the values of certain registers of mcp1515 (such as CANSTAT, CANCTRL ...).

After upgrading to a new image, I also tried to connect mcp2515 to N2.
Please compare it.

Code: Select all

$ uname -a
Linux odroid 4.9.337-138 #1 SMP PREEMPT Thu Jul 20 04:35:23 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Code: Select all

$ cat /media/boot/config.ini
...
; Device Tree Overlay
overlay_resize=16384
overlay_profile=
overlays="spi0 can0"

[overlay_custom]
overlays="i2c0 i2c1"

[overlay_hktft32]
overlays="hktft32"

[overlay_hktft35]
overlays="hktft35"

Code: Select all

[   10.593039] meson-spicc ffd13000.spi: registered master spi0
[   10.593161] spi spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[   10.593229] meson-spicc ffd13000.spi: registered child spi0.1
[   10.593242] spi spi0.0: setup mode 0, 8 bits/w, 100000000 Hz max --> 0
[   10.593292] meson-spicc ffd13000.spi: registered child spi0.0
[   13.060105] mcp251x spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
[   13.081157] mcp251x spi0.1 can0: MCP2515 successfully initialized.
If there is no other part, please check the wiring again

Looking at the posting, there is a possibility that there is an error in the wiring, not a failure of the module or board.
For example, please check again whether the miso/mosi, clk, int, or cs pin is connected incorrectly.
If you didn't modify dtbo, the cs pin is J2:26, It's not J2:24.

robert@greenhive.at
Posts: 16
Joined: Fri Mar 24, 2023 5:32 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: MCP2515 setup fails with error 16

Post by robert@greenhive.at »

Thanks for the reply. This is my output

Code: Select all

root@odroid:/opt/# uname -a
Linux odroid 4.9.337-35 #1 SMP PREEMPT Tue Nov 28 17:43:06 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Code: Select all

; Device Tree Overlay
overlay_resize=16384
overlay_profile=
overlays="spi0 i2c0 i2c1 uart0 can0"

[overlay_custom]
overlays="i2c0 i2c1"

[overlay_hktft32]
overlays="hktft32"

[overlay_hktft35]
overlays="hktft35"
And I have the whole on a PCB and I also tried it using wires. Here the PCB layout
Bildschirmfoto 2024-02-08 um 10.26.06.png
Bildschirmfoto 2024-02-08 um 10.26.06.png (108.42 KiB) Viewed 227 times
I also tried removing all the Zener Diodes and the resistor. But no effect. I just got a third (new) Odroid and will try with this one.


EDIT:
The new Odroid works, But I have no clue why 1 of 3 units works. They are from the same Rev 06.20220517 and i used the same EMMC
I grabbed the dmsg output.

This is the NOT working output (without timestamp so i can do a direct compare in visual Code)

Code: Select all

root@odroid:/opt/# dmesg
Booting Linux on physical CPU 0x0
Linux version 4.9.337-35 (root@builder_n2) (gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ) #1 SMP PREEMPT Tue Nov 28 17:43:06 UTC 2023
Boot CPU: AArch64 Processor [410fd034]
Machine model: Hardkernel ODROID-N2Plus
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
__reserved_mem_alloc_size, start:0x000000007f800000, end:0x0000000080000000, len:8 MiB
	7f800000 - 80000000,     8192 KB, linux,meson-fb
	e5800000 - ed800000,   131072 KB, linux,ion-dev
	e3000000 - e5800000,    40960 KB, linux,di_cma
Reserved memory: created DMA memory pool at 0x00000000e3000000, size 0 MiB
	e3000000 - e3000000,        0 KB, linux,ppmgr
	cfc00000 - e3000000,   315392 KB, linux,codec_mm_cma
	cfc00000 - cfc00000,        0 KB, linux,codec_mm_reserved
__reserved_mem_alloc_size, start:0x0000000005000000, end:0x0000000005400000, len:4 MiB
	05000000 - 05400000,     4096 KB, linux,secmon
cma: Reserved 8 MiB at 0x00000000cf400000
On node 0 totalpages: 972800
  DMA zone: 15200 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 972800 pages, LIFO batch:31
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
psci: SMC Calling Convention v1.1
percpu: Embedded 21 pages/cpu s48472 r8192 d29352 u86016
pcpu-alloc: s48472 r8192 d29352 u86016 alloc=21*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
Detected VIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 845719
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 957600
Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw console=ttyS0,115200n8  no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=1908 max_freq_a73=2208 maxcpus=6 voutmode=hdmi  disablehpd=false cvbscable=0 overscan=100  monitor_onoff=false logo=osd0,loaded hdmitx=cec3f sdrmode=auto consoleblank=0 enable_wol=0 cgroup_hierarchy=1 systemd.unified_cgroup_hierarchy=0 systemd.unified_cgroup_hierarchy=0
vout: get hdmimode: 1080p60hz
vout: get cvbsmode: 576cvbs
max cpufreq of cluster0 : 1908000kHz
max cpufreq of cluster1 : 2208000kHz
hdmitx: voutmode : 1
fb: osd0
fb: loaded
hdmitx: HDMI hdmi_cec_func_config:0x3f
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 3278112K/3891200K available (12476K kernel code, 1816K rwdata, 7780K rodata, 4992K init, 1422K bss, 105184K reserved, 507904K cma-reserved)
Virtual kernel memory layout:
    modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
    vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
      .text : 0xffffff8009080000 - 0xffffff8009cb0000   ( 12480 KB)
    .rodata : 0xffffff8009cb0000 - 0xffffff800a450000   (  7808 KB)
      .init : 0xffffff800a450000 - 0xffffff800a930000   (  4992 KB)
      .data : 0xffffff800a930000 - 0xffffff800aaf6200   (  1817 KB)
       .bss : 0xffffff800aaf6200 - 0xffffff800ac59ac4   (  1423 KB)
    fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
    PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
    vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
              0xffffffbf00000000 - 0xffffffbf03b60000   (    59 MB actual)
    memory  : 0xffffffc000000000 - 0xffffffc0ed800000   (  3800 MB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
Preemptible hierarchical RCU implementation.
	Build-time adjustment of leaf fanout to 64.
	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
NR_IRQS:64 nr_irqs:64 0
GPIO-INTC: support to detect double-edge trigger signal
g12a_aoclkc_init: register ao clk ok!
Meson chip version = RevC (29:C - 40:0)
meson_g12a_sdemmc_init: register amlogic sdemmc clk
meson_g12a_sdemmc_init: register amlogic sdemmc clk
meson_g12a_gpu_init: register meson gpu clk
meson_g12a_media_init: register meson media clk
meson_g12a_misc_init: register amlogic g12a misc clks
meson_g12a_misc_init: done.
g12a_clkc_init initialization complete
arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
meson_bc_timer: mclk->mux_reg =ffffff800800c190,mclk->reg =ffffff800800e194
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
AppArmor: AppArmor initialized
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
ftrace: allocating 39450 entries in 155 pages
sched-energy: Sched-energy-costs installed from DT
CPU0: update cpu_capacity 631
ASID allocator initialised with 65536 entries
secmon: clear_range:5100000 200000
EFI services will not be available.
Detected VIPT I-cache on CPU1
CPU1: update cpu_capacity 631
CPU1: Booted secondary processor [410fd034]
CPU features: enabling workaround for Spectre-BHB
Detected VIPT I-cache on CPU2
CPU2: update cpu_capacity 1192
CPU2: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU3
CPU3: update cpu_capacity 1192
CPU3: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU4
CPU4: update cpu_capacity 1192
CPU4: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU5
CPU5: update cpu_capacity 1192
CPU5: Booted secondary processor [410fd092]
Brought up 6 CPUs
SMP: Total of 6 processors activated.
CPU features: detected feature: 32-bit EL0 Support
CPU: All CPU(s) started at EL2
alternatives: patching kernel code
devtmpfs: initialized
DMI not present or invalid.
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 2048 (order: 5, 131072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
schedtune: init normalization constants...
schedtune: CLUSTER[0-1]      min_pwr:     0 max_pwr:    42
schedtune: CPU[0]            min_pwr:     0 max_pwr:   279
schedtune: CPU[1]            min_pwr:     0 max_pwr:   279
schedtune: CLUSTER[2-5]      min_pwr:     0 max_pwr:   110
schedtune: CPU[2]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[3]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[4]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[5]            min_pwr:     0 max_pwr:  1048
schedtune: SYSTEM            min_pwr:     0 max_pwr:  4902
schedtune: using normalization constants mul: 2882587190 sh1: 1 sh2: 12
schedtune: verify normalization constants...
schedtune: max_pwr/2^0: 4902 => norm_pwr:  1024
schedtune: max_pwr/2^1: 2451 => norm_pwr:   512
schedtune: max_pwr/2^2: 1225 => norm_pwr:   255
schedtune: max_pwr/2^3:  612 => norm_pwr:   127
schedtune: max_pwr/2^4:  306 => norm_pwr:    63
schedtune: max_pwr/2^5:  153 => norm_pwr:    31
schedtune: configured to support 5 boost groups
cpuidle: using governor menu
register canvas platform driver
register rdma platform driver
vdso: 2 pages (1 code @ ffffff8009cb7000, 1 data @ ffffff800a935000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
DMA: preallocated 2048 KiB pool for atomic allocations
clkmsr: clkmsr: driver init
codec_mm_module_init
media_configs_system_init
aml_iomap: amlogic iomap probe done
vpu: driver version: v20190329(8-g12b)
vpu: load vpu_clk: 666666667Hz(7)
vpu: clktree_init
vpu: vpu_probe OK
clkmsr: msr_clk_reg0=ffffff800823a004,msr_clk_reg2=ffffff800823c00c
clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
audio_clocks: audio_clocks_probe done
aml_vdac_config_probe: cpu_id:4, name:meson-g12ab-vdac
aml_vdac_probe: ok
canvas_probe reg=00000000ff638000,size=2000
canvas maped reg_base =ffffff8008268000
rdma_probe,cpu_type:0, ver:0, len:8
rdma_register, rdma_table_addr ffffff8008277000 rdma_table_addr_phy cf600000 reg_buf ffffffc0ca168000
rdma_register success, handle 1 table_size 32768
set_rdma_handle video rdma handle = 1.
classs created ok
classs file created ok
aml_snd_reg_map[0], reg:ff640000, size:2000
aml_snd_reg_map[1], reg:ff642000, size:2000
aml_snd_reg_map[2], reg:ff64a000, size:2000
aml_snd_reg_map[3], reg:ff656000, size:1800
aml_snd_reg_map[4], reg:ffd01000, size:1000
amlogic auge_snd_iomap probe done
codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
codec_mm_probe ok
cvbs_out: cvbsout_probe, cpu_id:5,name:meson-g12b-cvbsout
cvbs_out: clk path:0
cvbs_out: cvbs trimming.1.v5: 0xa0, 0x0
vout: vout1: register server: cvbs_vout_server
cvbs_out: register cvbs module server ok
vout: vout2: register server: cvbs_vout2_server
cvbs_out: register cvbs module vout2 server ok
cvbs_out: chrdev devno 264241152 for disp
cvbs_out: create cdev cvbs
cvbs_out: cvbsout_probe OK
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
dmi: Firmware registration failed.
secmon: reserve_mem_size:0x300000
secmon secmon: assigned reserved memory node linux,secmon
secmon: get page:ffffffbf00140000, 5000
secmon: share in base: 0xffffffc0050fe000, share out base: 0xffffffc0050ff000
secmon: phy_in_base: 0x50fe000, phy_out_base: 0x50ff000
hdmitx: system: amhdmitx_probe start
hdmitx: system: Ver: 20190815
hdmitx: system: hdmitx_device.chip_type : 11
hdmitx: system: not find match pwr-ctl
hdmitx: system: not find drm_amhdmitx
hdmitx: system: hpd irq = 45
hdmitx: system: hdcp22_tx_skp failed to probe
hdmitx: system: hdcp22_tx_esm failed to probe
vout: vout1: register server: hdmitx_vout_server
vout: vout2: register server: hdmitx_vout2_server
hdmitx: hdmitx20: Mapped PHY: 0xffd00000
hdmitx: hdmitx20: Mapped PHY: 0xff634400
hdmitx: hdmitx20: Mapped PHY: 0xff900000
hdmitx: hdmitx20: Mapped PHY: 0xff800000
hdmitx: hdmitx20: Mapped PHY: 0xff63c000
hdmitx: hdmitx20: Mapped PHY: 0xffd00000
hdmitx: hdmitx20: Mapped PHY: 0xff608000
hdmitx: hdmitx20: Mapped PHY: 0xff600000
hdmitx: hdmitx20: Mapped PHY: 0xffe01000
hdmitx: hw: alread display in uboot 0x10
hdmitx: hw: avmute set to 1
hdmitx: system: fmt_attr 444,8bit
hdmitx: system: fmt_attr 444,8bit
hdmitx: system: amhdmitx_probe end
vout: create vout attribute OK
vout: vout_fops_create OK
vout: vout1: register server: nulldisp_vout_server
vout: tvout monitor interval:500(ms), timeout cnt:20
hdmitx: hdmitx_set_current_vmode[3878]
hdmitx: system: recalc before 1080p60hz 60 1
hdmitx: system: recalc after 1080p60hz 2997 50
hdmitx: alread display in uboot
vout: init mode 1080p60hz set ok
vout: aml_tvout_mode_monitor
vout: aml_vout_probe OK
chip type:0x29
MEMORY:[0+ed800000]
ramdump_probe, storage device:data
NO valid ramdump args:0 0
ramdump_probe, set sticky to 8ed8
Advanced Linux Sound Architecture Driver Initialized.
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
AppArmor: AppArmor Filesystem Enabled
NET: Registered protocol family 2
IP idents hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
UDP hash table entries: 2048 (order: 4, 65536 bytes)
UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Now can use cma, free:13885, wm:14080
clear:e1c00000, free:e1c00000, tick:743215 us
Freeing initrd memory: 7856K
hw perfevents: clusterb_enabled = 1
hw perfevents: cpumasks 0x3, 0x3c
hw perfevents: cluster A irq = 18
hw perfevents: cluster B irq = 19
hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(2.780:1): initialized
workingset: timestamp_bits=46 max_order=20 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering sdcardfs 0.1
NET: Registered protocol family 38
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
pwm-gpio pwmgpio: 1 gpio pwms loaded
meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl
meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl
random: crng init done
gpiomem-aml ff634000.gpiomem: Initialised: GPIO register area is 1
gpiomem-aml ff634000.gpiomem: Initialised: Registers at start:0xff634000 end:0xff634fff size:0x00000fff
[drm] Initialized
mali ffe40000.bifrost: Continuing without Mali regulator control
mali ffe40000.bifrost: max pp is 2
mali ffe40000.bifrost: set min pp to default 1
mali ffe40000.bifrost: min pp is 1
mali ffe40000.bifrost: min clk  is 4
mali ffe40000.bifrost: hiu io source  0xffffff80083c8000
mali ffe40000.bifrost: hiu io source  0xffffff80083ca000
mali ffe40000.bifrost: num of pp used most of time 1
mali ffe40000.bifrost: clock dvfs cfg table size is 6
mali ffe40000.bifrost: max clk set 4
mali ffe40000.bifrost: max clk  is 4
mali ffe40000.bifrost: turbo clk set to 5
mali ffe40000.bifrost: turbo clk  is 5
mali ffe40000.bifrost: default clk set to 4
mali ffe40000.bifrost: default clk  is 4
mali ffe40000.bifrost: ====================0====================
clk_freq= 285714285, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 190>, clk_sample=285
mali ffe40000.bifrost: ====================1====================
clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshod=<152 207>, clk_sample=400
mali ffe40000.bifrost: ====================2====================
clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<180 220>, clk_sample=500
mali ffe40000.bifrost: ====================3====================
clk_freq= 666666666, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshod=<210 236>, clk_sample=666
mali ffe40000.bifrost: ====================4====================
clk_freq= 800000000, clk_parent=fclk_div2p5, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=800
mali ffe40000.bifrost: ====================5====================
clk_freq= 800000000, clk_parent=fclk_div2p5, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=800
mali ffe40000.bifrost: clock dvfs table size is 6
mali_plat=ffffff800a9c7098
meson_gcooldev is null, no set min status
gpu cooling register okay with err=0
meson_gcooldev is null, no set min status
gpu core cooling register okay with err=0
shader_present=3, tiler_present=1, l2_present=1
Mali_pwr_on:gpu_irq : 200
mali ffe40000.bifrost: GPU identified as 0x2 arch 7.2.1 r0p0 status 0
mali ffe40000.bifrost: Using coherency mode 0 set from dtb
mali ffe40000.bifrost: Probed as mali0
Unable to detect cache hierarchy for CPU 0
brd: module loaded
loop: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
 REG0:Addr = ffffff80083fe540
 ee eth reset:Addr = ffffff80085b2008
read auto_cali_idx fail
Not set  cali_val for REG1
meson6-dwmac ff3f0000.ethernet: no reset control found
stmmac - user ID: 0x11, Synopsys ID: 0x37
 Ring mode enabled
 DMA HW capability register supported
 Normal descriptors
 RX Checksum Offload Engine supported
	COE Type 2
 TX Checksum insertion supported
 Wake-Up On Lan supported
eth%d: device MAC address 00:1e:06:43:b4:b2
 Enable RX Mitigation via HW Watchdog Timer
eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
eth%d: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
lirc_helper: wakeupkey 0xffffffff, protocol 0x1
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
meson_cpufreq_init: ignor dsu clk!
meson_cpufreq_init: ignor dsu pre parent clk!
value of voltage_tolerance 0
meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
value of gp1_clk_target 0
dvfs [meson_cpufreq_init] - cluster 0 freq 2016000
cpu cpu0: meson_cpufreq_init: CPU 0 initialized
meson_cpufreq_init: ignor dsu clk!
meson_cpufreq_init: ignor dsu pre parent clk!
value of voltage_tolerance 0
meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
value of gp1_clk_target 0
dvfs [meson_cpufreq_init] - cluster 1 freq 2304000
dvfs [meson_cpufreq_init] - cluster 1 freq 2400000
cpu cpu2: meson_cpufreq_init: CPU 2 initialized
ff803000.serial: clock gate not found
meson_uart ff803000.serial: ==uart0 reg addr = ffffff80085b8000
ff803000.serial: ttyS0 at MMIO 0xff803000 (irq = 34, base_baud = 1500000) is a meson_uart
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 0 to 115200
console [ttyS0] enabled
meson_uart ffd24000.serial: ==uart1 reg addr = ffffff80085ba000
ffd24000.serial: ttyS1 at MMIO 0xffd24000 (irq = 44, base_baud = 1500000) is a meson_uart
amlogic-new-usb2-v2 ffe09000.usb2phy: USB2 phy probe:phy_mem:0xffe09000, iomap phy_base:0xffffff80085bc000
amlogic-new-usb3-v2 ffe09080.usb3phy: USB3 phy probe:phy_mem:0xffe09080, iomap phy_base:0xffffff80085f9080
aml_dma ff63e000.aml_dma: Aml dma
aml_aes_dma ff63e000.aml_dma:aml_aes: Aml AES_dma
aml_tdes_dma ff63e000.aml_dma:aml_tdes: Aml TDES_dma
aml_sha_dma ff63e000.aml_dma:aml_sha: Aml SHA1/SHA224/SHA256 dma
gpio-keypad: probe of ff800000.gpio_keypad failed with error -22
efusekeynum: 1
efusekeyname:            uuid	offset:     0	size:    32
efuse efuse: probe OK!
ion_dev soc:ion_dev: assigned reserved memory node linux,ion-dev
ge2d: ge2d_init_module
ge2d: ge2d_dev major:236
ge2d: clock source clk_ge2d_gate ffffffc0c6ecd280
ge2d: clock clk_ge2d source ffffffc0c6ecd300
ge2d: clock source clk_vapb_0 ffffffc0c6ecd380
ge2d: ge2d init clock is 500000000 HZ, VPU clock is 666666656 HZ
ge2d: ge2d clock is 499 MHZ
ge2d: find address resource
ge2d: map io source 0x00000000ff940000,size=65536 to 0xffffff8008710000
ge2d: reserved mem init failed
ge2d: ge2d: pdev=ffffffc0ca308000, irq=48, clk=ffffffc0c6ecd280
ge2d: ge2d start monitor
ge2d: ge2d workqueue monitor start
[tsync_pcr_init]init success.
amvideom vsync irq: 49
create_ge2d_work_queue video task ok
fb: osd_init_module
fb: viu vsync irq: 49
fb: viu2 vsync irq: 58
0x000000db:Y=db,U=0,V=0
0x000000dc:Y=dc,U=0,V=0
0x000000dd:Y=dd,U=0,V=0
0x000000de:Y=de,U=0,V=0
0x000000df:Y=df,U=0,V=0
0x000000e0:Y=e0,U=0,V=0
fb: osd_rdma_init: rdma_table p=0xcf608000,op=0xcf608000 , v=0xffffff8008705000
rdma_register, rdma_table_addr ffffff8008707000 rdma_table_addr_phy cf609000 reg_buf ffffffc0c9f79000
rdma_register success, handle 2 table_size 4096
fb: osd_rdma_init:osd rdma handle = 2.
fb: mem_size: 0x800000
fb: mem_size: 0x4b80000
fb: mem_size: 0x100000
fb: mem_size: 0x100000
fb: mem_size: 0x800000
meson-fb meson-fb: assigned reserved memory node linux,meson-fb
fb: reserved memory base:0x000000007f800000, size:800000
fb: fb def : 1920 1080 1920 2160 32
fb: init fbdev bpp is:32
fb: malloc_osd_memory, cma:ffffff800abb1d68
fb: malloc_osd_memory, 1231, base:0x000000007f800000, size:8388608
fb: use ion buffer for fb memory, fb_index=0
fb: OSD0 as afbcd mode,afbc_type=2
meson-fb meson-fb: create ion_client ffffffc0c9807540, handle=ffffffc0c7a64f40
meson-fb meson-fb: ion memory(0): created fb at 0x00000000e5800000, size 75 MiB
fb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312Kfb: Frame buffer memory assigned at
fb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312Kfb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312Kfb: logo_index=0,fb_index=0
fb: ---------------clear fb0 memory ffffff800bc61000
fb: osd[0] canvas.idx =0x40
fb: osd[0] canvas.addr=0xe5800000
fb: osd[0] canvas.width=7680
fb: osd[0] canvas.height=2160
fb: osd[0] frame.width=1920
fb: osd[0] frame.height=1080
fb: osd[0] out_addr_id =0x1
Console: switching to colour frame buffer device 240x67
fb: osd[0] enable: 1 (swapper/0)
fb: set osd0 reverse as NONE
fb: osd probe OK
hdmitx: hdcp: hdmitx_hdcp_init
vout: vout2: create vout2 attribute OK
vout: vout2: vout2_fops_create OK
vout: vout2: clktree_init
vout: vout2: register server: nulldisp_vout2_server
vout: vout2: init mode null set ok
vout: vout2: aml_vout2_probe OK
DI: di_module_init ok.
DI: di_probe:
DI: di_probe: major 510
deinterlace deinterlace: assigned reserved memory node linux,di_cma
di:flag_cma=1
DI: CMA size 0x2800000.
pre_irq:72
post_irq:73
DI: di_probe allocate rdma channel 0.
di_get_vpu_clkb: get clk vpu error.
DI: vpu clkb <334000000, 667000000>
get clkb rate:333333328
DI:enable vpu clkb.
0x000000e1:Y=e1,U=0,V=0
0x000000e2:Y=e2,U=0,V=0
0x000000e3:Y=e3,U=0,V=0
0x000000f0:Y=f0,U=0,V=0
0x000000f1:Y=f1,U=0,V=0
0x000000f2:Y=f2,U=0,V=0
0x000000f3:Y=f3,U=0,V=0
0x000000f4:Y=f4,U=0,V=0
0x000000f5:Y=f5,U=0,V=0
0x000000f6:Y=f6,U=0,V=0
0x000000f7:Y=f7,U=0,V=0
0x000000f8:Y=f8,U=0,V=0
0x000000f9:Y=f9,U=0,V=0
0x000000fa:Y=fa,U=0,V=0
0x000000fb:Y=fb,U=0,V=0
0x000000fc:Y=fc,U=0,V=0
0x000000fd:Y=fd,U=0,V=0
0x000000fe:Y=fe,U=0,V=0
0x000000ff:Y=ff,U=0,V=0
0x0000003a:Y=3a,U=0,V=0
0x0000003b:Y=3b,U=0,V=0
0x0000003c:Y=3c,U=0,V=0
0x0000003d:Y=3d,U=0,V=0
0x0000003e:Y=3e,U=0,V=0
0x0000003f:Y=3f,U=0,V=0
DI: support multi decoding 61~62~63.
DI: di_probe:Di use HRTIMER
DI: di_probe:ok
dim:dim_module_init
dim:dim_module_init finish
dil:dil_init.
dil:dil_init ok.
vdin_drv_init: major 509
vdin_drv_init: vdin driver init done
[viuin..]viuin_init_module viuin module init
[viuin..]viuin_probe probe ok.
[RX]-hdmirx: hdmirx_init.
ESM HLD: Initializing...
amlvid:info: amlvideo_init called
amlvid:info: amlvideo_create_instance called
amlvid:info: v4l2_dev.name=:amlvideo-000
amlvideo-000: V4L2 device registered as video10
amlvid:info: amlvideo_create_instance called
amlvid:info: v4l2_dev.name=:amlvideo-001
amlvideo-001: V4L2 device registered as video23
PPMGRDRV: warn: ppmgr module init func called
PPMGRDRV: info: ppmgr_driver_probe called
Reserved memory: failed to init DMA memory pool at 0x00000000e3000000, size 0 MiB
PPMGRDRV: info: ppmgr_dev major:507
ionvideo-000: V4L2 device registered as video13
ionvideo-001: V4L2 device registered as video14
ionvideo-002: V4L2 device registered as video15
ionvideo-003: V4L2 device registered as video16
ionvideo-004: V4L2 device registered as video17
ionvideo-005: V4L2 device registered as video18
ionvideo-006: V4L2 device registered as video19
ionvideo-007: V4L2 device registered as video20
ionvideo-008: V4L2 device registered as video21
ionvid: info: Video Technology Magazine Ion Video
ionvid: info: Capture Board ver 1.0 successfully loaded
videosync_create_instance dev_s ffffffc0c6b0fc00,dev_s->dev ffffffc0c6ec2600
videosync_create_instance reg videosync.0
aml_vecm_init:module init
videosync_thread started
 VECM probe start
Can't find  detect_colorbar.
Can't find  detect_face.
Can't find  detect_corn.
Can't find  wb_sel.
hdr:Can't find  cfg_en_osd_100.
Can't find  tx_op_color_primary.
amlogic, vecm
vlock dt support: 1
vlock dt new_fsm: 0
vlock dt hwver: 0
vlock dt phlock_en: 0
Can't find  vlock_en.
Can't find  vlock_mode.
Can't find  vlock_pll_m_limit.
Can't find  vlock_line_limit.
param_config vlock_en:1 md=0x4
vlock: maxLine 524,maxPixel 1715
vlock_status_init vlock_en:1
aml_vecm_probe: ok
amdolby_vision_init:module init
 amdolby_vision probe start & ver: 20181220
hdmitx: hdmitx_set_drm_pkt: tf=1, cf=1, colormetry=0
 cpu_id=2 tvmode=0
dolby_vision_init_receiver(dvel)
dolby_vision_init_receiver: dvel
amdolby_vision_probe: ok
dovi disable in uboot
reg base = ffffff8008785000
meson-mmc: mmc driver version: 3.02, 2017-05-15: New Emmc Host Controller
meson-mmc: >>>>>>>>hostbase ffffff800878d000, dmode
meson-mmc: actual_clock :400000, HHI_nand: 0x80
meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x1000023c
meson-mmc: meson_mmc_probe() : success!
meson-mmc: >>>>>>>>hostbase ffffff8008796000, dmode
meson-mmc: gpio_cd = 1ca
meson-mmc: meson_mmc_probe() : success!
cectx ff80023c.aocec: cec driver date:2019/10/22: finetune ARB rising timecectx ff80023c.aocec: compatible:amlogic, aocec-g12a
cectx ff80023c.aocec: cecb_ver:0x1
cectx ff80023c.aocec: line_reg:0x1
cectx ff80023c.aocec: line_bit:0x3
cectx ff80023c.aocec: ee_to_ao:0x1
input: cec_input as /devices/virtual/input/input0
cectx ff80023c.aocec: not find 'port_num'
cectx ff80023c.aocec: using cec:1
cectx ff80023c.aocec: no hdmirx regs
cectx ff80023c.aocec: no hhi regs
cectx ff80023c.aocec: not find 'output'
irq cnt:2, a:47, b46
cectx ff80023c.aocec: wakeup_reason:0x0
cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0
cectx ff80023c.aocec: aml_cec_probe success end
unifykey: storage in base: 0xffffffc005000000
unifykey: storage out base: 0xffffffc005040000
unifykey: storage block base: 0xffffffc005080000
unifykey: probe done!
meson-aml-mmc ffe07000.emmc: divider requested rate 200000000 != actual rate 199999997: ret=0
meson-mmc: actual_clock :199999997, HHI_nand: 0x80
meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x10000245
meson-mmc: Data 1 aligned delay is 0
meson-mmc: emmc: clk 199999997 tuning start
meson-mmc: emmc: adj_win: < 2 3 4 >
meson-mmc: step:4, delay1:0x4104104, delay2:0x4004104
meson-mmc: emmc: adj_win: < 0 2 3 4 >
meson-mmc: step:8, delay1:0x8208208, delay2:0x8008208
meson-mmc: emmc: adj_win: < 0 2 3 4 >
meson-mmc: step:12, delay1:0xc30c30c, delay2:0xc00c30c
meson-mmc: emmc: adj_win: < 0 2 3 4 >
meson-mmc: step:16, delay1:0x10410410, delay2:0x10010410
meson-mmc: emmc: adj_win: < 0 3 4 >
meson-mmc: left:2, right:0, mid:3, size:3
meson-mmc: step:0, delay1:0x0, delay2:0x0
meson-mmc: emmc: sd_emmc_regs->gclock=0x10000245,sd_emmc_regs->gadjust=0x32000
meson-mmc: delay1:0x0, delay2:0x0
emmc: new HS200 MMC card at address 0001
emmc: clock 199999997, 8-bit-bus-widthmmcblk0: emmc:0001 BJTD4R 29.1 GiB
mmcblk0boot0: emmc:0001 BJTD4R partition 1 4.00 MiB
mmcblk0boot1: emmc:0001 BJTD4R partition 2 4.00 MiB
mmcblk0rpmb: emmc:0001 BJTD4R partition 3 4.00 MiB
 mmcblk0: p1 p2
unifykey: aml_unifykeys_init done!
meson ts init
tsensor id: 0
r1p1_tsensor_read  valid cnt is 0
tsensor trim info: 0xfa0080d6!
tsensor hireboot: 0xc0ff2af0
meson ts init
tsensor id: 1
r1p1_tsensor_read  valid cnt is 0
tsensor trim info: 0xfa008112!
tsensor hireboot: 0xc0ff2b10
audio_dsp: [dsp]register dsp to char divece(257)
amaudio: amaudio: driver amaudio init!
amaudio: amaudio_init - amaudio: driver amaudio succuess!
amlkaraoke init success!
sysled: module init
meson_wdt ffd0f0d0.watchdog: start watchdog
meson_wdt ffd0f0d0.watchdog: creat work queue for watch dog
meson_wdt ffd0f0d0.watchdog: AML Watchdog Timer probed done
amlogic rfkill init
meson-saradc ff809000.saradc: set delay per tick to <1ms> by default.
meson-saradc ff809000.saradc: set ticks per period to <1> by default.
dmc_monitor_probe
atv_demod: aml_atvdemod_init: OK, atv demod version: V2.15.
defendkey ff630218.defendkey: Reserved memory is not enough!
defendkey: probe of ff630218.defendkey failed with error -22
usbcore: registered new interface driver snd-usb-audio
aml_codec_T9015 ff632000.t9015: aml_T9015_audio_codec_probe
T9015 acodec used by auge, tdmout:2
Error: Driver 'spdif-dit' is already registered, aborting...
asoc debug: aml_audio_controller_probe-130
aml_tdm_platform_probe, tdm ID = 2, lane_cnt = 4
TDM id 2 i2s2hdmi:0
snd_tdm ff642000.audiobus:tdmc: lane_mask_out = 1, lane_oe_mask_out = 0
snd_tdm ff642000.audiobus:tdmc: neither mclk_pad nor mclk2pad set
snd_tdm ff642000.audiobus:tdmc: aml_tdm_get_pins error!
aml_tdm_platform_probe(), share en = 1
No channel mask node Channel_Mask
aml_spdif_platform_probe, spdif ID = 0
SPDIF id 0 asrc_id:0 auto_asrc:0
spdifout_play_with_zerodata, spdif id:0 enable:0
spdif_a fifo ctrl, frddr:0 type:3, 32 bits, chmask 0x3, swap 0x10
spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
hdmitx: audio: aout notify format CT_PCM
spdif_a is set to enable
aml_spdif_platform_probe, register soc platform
aml_spdif_platform_probe, spdif ID = 1
spdifout_play_with_zerodata, spdif id:1 enable:0
spdif_b fifo ctrl, frddr:0 type:3, 32 bits, chmask 0x3, swap 0x10
spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
spdif_b is set to enable
aml_spdif_platform_probe, register soc platform
audio-ddr-manager ff642000.audiobus:ddr_manager: 0, irqs toddr 35, frddr 38
audio-ddr-manager ff642000.audiobus:ddr_manager: 1, irqs toddr 36, frddr 39
audio-ddr-manager ff642000.audiobus:ddr_manager: 2, irqs toddr 37, frddr 40
audiolocker_platform_probe
Register vad
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLP_SEL_DACL -> Lineout left P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLP_SEL_DACL_INV -> Lineout left P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLN_SEL_DACL_INV -> Lineout left N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLN_SEL_DACL -> Lineout left N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORP_SEL_DACR -> Lineout right P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORP_SEL_DACR_INV -> Lineout right P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORN_SEL_DACR_INV -> Lineout right N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORN_SEL_DACR -> Lineout right N switch
aml_dai_spdif_probe
aml_dai_spdif_probe
set normal 512 fs /4 fs
	 set spdifout clk:6144000, mpll:24576000
	 get spdifout clk:6143997, mpll:24575987
aml_dai_set_spdif_fmt , fmt 0x4010
aml_spdif_new spdif_b, clk continuous:1
spdifout_play_with_zerodata_free, spdif id:1
asoc-aml-card auge_sound: dit-hifi <-> SPDIF-B mapping ok
set mclk:12288000, mpll:24576000, get mclk:12287994, mpll:24575987
aml_dai_set_tdm_slot(), txmask(0x3), rxmask(0x3)
	lanes_out_cnt(1), lanes_in_cnt(1)
	lanes_lb_cnt(0)
	slots(2), slot_width(32)
	lanes_oe_out_cnt(0), lanes_oe_in_cnt(0)
asoc aml_dai_set_tdm_fmt, 0x4011, ffffffc0c6490e18, id(2), clksel(2)
master_mode(1), binv(1), finv(1) out_skew(2), in_skew(3)
asoc-aml-card auge_sound: T9015-audio-hifi <-> TDM-C mapping ok
set normal 512 fs /4 fs
	 set spdifout clk:6144000, mpll:24576000
	 get spdifout clk:6143997, mpll:24575987
aml_dai_set_spdif_fmt , fmt 0x4010
aml_spdif_new spdif_a, clk continuous:1
spdifout_play_with_zerodata_free, spdif id:0
asoc-aml-card auge_sound: dit-hifi <-> SPDIF mapping ok
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout left P switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout left N switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout right P switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout right N switch has no paths
snd_card_add_kcontrols card:ffffffc0c6459018
effect_v2 is not init
Not init vad
Failed to add VAD controls
eq/drc v1 function enable
Netfilter messages via NETLINK v0.30.
Initializing XFRM netlink socket
NET: Registered protocol family 17
Key type dns_resolver registered
Registered swp emulation handler
Registered cp15_barrier emulation handler
Registered setend emulation handler
registered taskstats version 1
Key type big_key registered
Key type encrypted registered
AppArmor: AppArmor sha1 policy hashing enabled
dwc3 ff500000.dwc3: Configuration mismatch. dr_mode forced to host
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
usb: xhci: determined sg_tablesize: 4294967295
xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x20010010
xhci-hcd xhci-hcd.0.auto: irq 23, io mem 0xff500000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: xHCI Host Controller
usb usb1: Manufacturer: Linux 4.9.337-35 xhci-hcd
usb usb1: SerialNumber: xhci-hcd.0.auto
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
usb: xhci: determined sg_tablesize: 4294967295
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 4.9.337-35 xhci-hcd
usb usb2: SerialNumber: xhci-hcd.0.auto
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hctosys: unable to open rtc device (rtc0)
dwc_otg ff400000.dwc2_a: dwc_otg_driver_probe(ffffffc0ca19f000)
dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy: ffe09000, ctrl: 0
dwc_otg ff400000.dwc2_a: base=0xffffff8008c00000
dwc_otg ff400000.dwc2_a: dwc_otg_device=0xffffffc0c648d400
dwc_otg: Core Release: 3.30a
dwc_otg: Setting default values for core params
dwc_otg: curmode: 0, host_only: 0
dwc_otg ff400000.dwc2_a: DMA config: BURST_DEFAULT
dwc_otg: Using Buffer DMA mode
dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
dwc_otg: Working on port type = SLAVE
dwc_otg: Dedicated Tx FIFOs mode
meson_cdev probe
meson_cdev index: 0
thermal thermal_zone0: binding zone soc_thermal with cdev thermal-cpufreq-0 failed:-22
meson_cdev index: 1
thermal: no cluster id, cpucore as one cooldev
meson_cdev index: 2
cpucore_cooling_register, max_cpu_core_num:6
cpucore_cooling_register, clutser[1] core num:4
usb 1-1: new high-speed USB device number 2 using xhci-hcd
cpucore_cooling_register, clutser[0] core num:2
meson_cdev index: 3
meson_cdev index: 4
find tzd id: 0
find tzd id: 0
find tzd id: 0
meson_cdev probe done
gxbb_pm: enter meson_pm_probe!
no vddio3v3_en pin
pm-meson aml_pm: Can't get switch_clk81
gxbb_pm: meson_pm_probe done
ALSA device list:
  #0: AML-AUGESOUND
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 115200 to 115200
Freeing unused kernel memory: 4992K
usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB2.1 Hub
usb 1-1: Manufacturer: GenesysLogic
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
meson-spicc ffd13000.spi: registered master spi0
spi spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
meson-spicc ffd13000.spi: registered child spi0.1
spi spi0.0: setup mode 0, 8 bits/w, 100000000 Hz max --> 0
meson-spicc ffd13000.spi: registered child spi0.0
usb 2-1: New USB device found, idVendor=05e3, idProduct=0620
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: USB3.1 Hub
usb 2-1: Manufacturer: GenesysLogic
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
systemd[1]: System time before build time, advancing clock.
NET: Registered protocol family 10
ip_tables: (C) 2000-2006 Netfilter Core Team
cgroup: cgroup2: unknown option "nsdelegate"
systemd[1]: systemd 249.11-0ubuntu3.11 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
systemd[1]: Detected architecture arm64.
systemd[1]: Hostname set to <odroid>.
systemd[1]: Queued start job for default target Graphical Interface.
systemd[1]: Created slice Slice /system/modprobe.
systemd[1]: Created slice Slice /system/serial-getty.
systemd[1]: Created slice Slice /system/wg-quick.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
systemd[1]: Reached target Local Encrypted Volumes.
systemd[1]: Reached target Path Units.
systemd[1]: Reached target Remote File Systems.
systemd[1]: Reached target Slice Units.
systemd[1]: Reached target Swaps.
systemd[1]: Reached target Local Verity Protected Volumes.
systemd[1]: Listening on Syslog Socket.
systemd[1]: Listening on fsck to fsckd communication Socket.
systemd[1]: Listening on initctl Compatibility Named Pipe.
systemd[1]: Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket (/dev/log).
systemd[1]: Listening on Journal Socket.
systemd[1]: Listening on Network Service Netlink Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Condition check resulted in Huge Pages File System being skipped.
systemd[1]: Mounting POSIX Message Queue File System...
systemd[1]: Mounting Kernel Debug File System...
systemd[1]: Mounting Kernel Trace File System...
systemd[1]: Starting Journal Service...
systemd[1]: Starting Set the console keyboard layout...
systemd[1]: Starting Create List of Static Device Nodes...
systemd[1]: Starting Load Kernel Module configfs...
systemd[1]: Starting Load Kernel Module drm...
systemd[1]: Starting Load Kernel Module efi_pstore...
systemd[1]: Starting Load Kernel Module fuse...
fuse init (API version 7.26)
systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
systemd[1]: Starting Load Kernel Modules...
No find node.
register clk_set_setting cpu[41]
systemd[1]: Starting Remount Root and Kernel File Systems...
Registered firmware driver success.
Try to load video/h264_enc.bin  ...
load firmware size : 76288, Name : video/h264_enc.bin.
Try to load video/video_ucode.bin  ...
EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
load firmware size : 1816576, Name : video/video_ucode.bin.
Amlogic A/V streaming port init
get gate demux control ok ffffffc0c593d080
systemd[1]: Starting Coldplug All udev Devices...
get gate parser_top control ok ffffffc0c593d100
get gate vdec control ok ffffffc0c593d180
get gate clk_81 control failed           (null)
get gate clk_vdec_mux control ok ffffffc0c593d200
get gate clk_hcodec_mux control ok ffffffc0c593d280
get gate clk_hevc_mux control ok ffffffc0c593d300
get gate clk_hevcb_mux control ok ffffffc0c593d380
get gate ahbarb0 control ok ffffffc0c593d400
get gate asyncfifo control failed           (null)
amvdec_avs module init
amvdec_h264 module init
ammvdec_h264 module init
amvdec_h265 module init
ammvdec_mpeg4_driver_init_module
amvdec_vc1 module init
amvdec_vp9 module init
systemd[1]: Started Journal Service.
systemd-journald[2886]: Received client request to flush runtime journal.
systemd-journald[2886]: File /var/log/journal/e00bd6223a7245d0aa6e19e0ab12a024/system.journal corrupted or uncleanly shut down, renaming and replacing.
meson6-dwmac ff3f0000.ethernet eth0: fail to init PTP.
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
out of value, fixed it
id=0 set inskew=0
AED req_sel0 module:TDMOUT_B
spk_mute_set: mute flag = 0
CAN device driver interface
mcp251x spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
audit: type=1400 audit(1695142622.524:2): apparmor="STATUS" operation="profile_load" name="lsb_release" pid=2979 comm="apparmor_parser"
audit: type=1400 audit(1695142622.524:3): apparmor="STATUS" operation="profile_load" name="nvidia_modprobe" pid=2980 comm="apparmor_parser"
audit: type=1400 audit(1695142622.524:4): apparmor="STATUS" operation="profile_load" name="nvidia_modprobe//kmod" pid=2980 comm="apparmor_parser"
audit: type=1400 audit(1695142622.528:5): apparmor="STATUS" operation="profile_load" name="/usr/bin/man" pid=2982 comm="apparmor_parser"
audit: type=1400 audit(1695142622.528:6): apparmor="STATUS" operation="profile_load" name="man_filter" pid=2982 comm="apparmor_parser"
audit: type=1400 audit(1695142622.528:7): apparmor="STATUS" operation="profile_load" name="man_groff" pid=2982 comm="apparmor_parser"
audit: type=1400 audit(1695142622.532:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=2981 comm="apparmor_parser"
audit: type=1400 audit(1695142622.532:9): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=2981 comm="apparmor_parser"
audit: type=1400 audit(1695142622.532:10): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=2981 comm="apparmor_parser"
audit: type=1400 audit(1695142622.532:11): apparmor="STATUS" operation="profile_load" name="/{,usr/}sbin/dhclient" pid=2981 comm="apparmor_parser"
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
vout: aml_tvout_mode_work: monitor_timeout
mcp251x spi0.1: MCP251x didn't enter in conf mode after reset
mcp251x spi0.1: Probe failed, err=16
mcp251x: probe of spi0.1 failed with error -16
out of value, fixed it
id=0 set inskew=0
AED req_sel0 module:TDMOUT_B
spk_mute_set: mute flag = 0
wireguard: WireGuard 1.0.20220627 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
meson6-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 115200 to 115200
fb: mem_free_work, free memory: addr:800000

and the WORKING output

Code: Select all

root@odroid:/opt/# dmesg
Booting Linux on physical CPU 0x0
Linux version 4.9.337-35 (root@builder_n2) (gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ) #1 SMP PREEMPT Tue Nov 28 17:43:06 UTC 2023
Boot CPU: AArch64 Processor [410fd034]
Machine model: Hardkernel ODROID-N2Plus
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
__reserved_mem_alloc_size, start:0x000000007f800000, end:0x0000000080000000, len:8 MiB
	7f800000 - 80000000,     8192 KB, linux,meson-fb
	e5800000 - ed800000,   131072 KB, linux,ion-dev
	e3000000 - e5800000,    40960 KB, linux,di_cma
Reserved memory: created DMA memory pool at 0x00000000e3000000, size 0 MiB
	e3000000 - e3000000,        0 KB, linux,ppmgr
	cfc00000 - e3000000,   315392 KB, linux,codec_mm_cma
	cfc00000 - cfc00000,        0 KB, linux,codec_mm_reserved
__reserved_mem_alloc_size, start:0x0000000005000000, end:0x0000000005400000, len:4 MiB
	05000000 - 05400000,     4096 KB, linux,secmon
cma: Reserved 8 MiB at 0x00000000cf400000
On node 0 totalpages: 972800
  DMA zone: 15200 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 972800 pages, LIFO batch:31
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
psci: SMC Calling Convention v1.1
percpu: Embedded 21 pages/cpu s48472 r8192 d29352 u86016
pcpu-alloc: s48472 r8192 d29352 u86016 alloc=21*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
Detected VIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 845719
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 957600
Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw console=ttyS0,115200n8  no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=1908 max_freq_a73=2208 maxcpus=6 voutmode=hdmi  disablehpd=false cvbscable=0 overscan=100  monitor_onoff=false logo=osd0,loaded hdmitx=cec3f sdrmode=auto consoleblank=0 enable_wol=0 cgroup_hierarchy=1 systemd.unified_cgroup_hierarchy=0 systemd.unified_cgroup_hierarchy=0
vout: get hdmimode: 1080p60hz
vout: get cvbsmode: 576cvbs
max cpufreq of cluster0 : 1908000kHz
max cpufreq of cluster1 : 2208000kHz
hdmitx: voutmode : 1
fb: osd0
fb: loaded
hdmitx: HDMI hdmi_cec_func_config:0x3f
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 3278112K/3891200K available (12476K kernel code, 1816K rwdata, 7780K rodata, 4992K init, 1422K bss, 105184K reserved, 507904K cma-reserved)
Virtual kernel memory layout:
    modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
    vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
      .text : 0xffffff8009080000 - 0xffffff8009cb0000   ( 12480 KB)
    .rodata : 0xffffff8009cb0000 - 0xffffff800a450000   (  7808 KB)
      .init : 0xffffff800a450000 - 0xffffff800a930000   (  4992 KB)
      .data : 0xffffff800a930000 - 0xffffff800aaf6200   (  1817 KB)
       .bss : 0xffffff800aaf6200 - 0xffffff800ac59ac4   (  1423 KB)
    fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
    PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
    vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
              0xffffffbf00000000 - 0xffffffbf03b60000   (    59 MB actual)
    memory  : 0xffffffc000000000 - 0xffffffc0ed800000   (  3800 MB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
Preemptible hierarchical RCU implementation.
	Build-time adjustment of leaf fanout to 64.
	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
NR_IRQS:64 nr_irqs:64 0
GPIO-INTC: support to detect double-edge trigger signal
g12a_aoclkc_init: register ao clk ok!
Meson chip version = RevC (29:C - 40:0)
meson_g12a_sdemmc_init: register amlogic sdemmc clk
meson_g12a_sdemmc_init: register amlogic sdemmc clk
meson_g12a_gpu_init: register meson gpu clk
meson_g12a_media_init: register meson media clk
meson_g12a_misc_init: register amlogic g12a misc clks
meson_g12a_misc_init: done.
g12a_clkc_init initialization complete
arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
meson_bc_timer: mclk->mux_reg =ffffff800800c190,mclk->reg =ffffff800800e194
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
AppArmor: AppArmor initialized
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
ftrace: allocating 39450 entries in 155 pages
sched-energy: Sched-energy-costs installed from DT
CPU0: update cpu_capacity 631
ASID allocator initialised with 65536 entries
secmon: clear_range:5100000 200000
EFI services will not be available.
Detected VIPT I-cache on CPU1
CPU1: update cpu_capacity 631
CPU1: Booted secondary processor [410fd034]
CPU features: enabling workaround for Spectre-BHB
Detected VIPT I-cache on CPU2
CPU2: update cpu_capacity 1192
CPU2: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU3
CPU3: update cpu_capacity 1192
CPU3: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU4
CPU4: update cpu_capacity 1192
CPU4: Booted secondary processor [410fd092]
Detected VIPT I-cache on CPU5
CPU5: update cpu_capacity 1192
CPU5: Booted secondary processor [410fd092]
Brought up 6 CPUs
SMP: Total of 6 processors activated.
CPU features: detected feature: 32-bit EL0 Support
CPU: All CPU(s) started at EL2
alternatives: patching kernel code
devtmpfs: initialized
DMI not present or invalid.
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 2048 (order: 5, 131072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
schedtune: init normalization constants...
schedtune: CLUSTER[0-1]      min_pwr:     0 max_pwr:    42
schedtune: CPU[0]            min_pwr:     0 max_pwr:   279
schedtune: CPU[1]            min_pwr:     0 max_pwr:   279
schedtune: CLUSTER[2-5]      min_pwr:     0 max_pwr:   110
schedtune: CPU[2]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[3]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[4]            min_pwr:     0 max_pwr:  1048
schedtune: CPU[5]            min_pwr:     0 max_pwr:  1048
schedtune: SYSTEM            min_pwr:     0 max_pwr:  4902
schedtune: using normalization constants mul: 2882587190 sh1: 1 sh2: 12
schedtune: verify normalization constants...
schedtune: max_pwr/2^0: 4902 => norm_pwr:  1024
schedtune: max_pwr/2^1: 2451 => norm_pwr:   512
schedtune: max_pwr/2^2: 1225 => norm_pwr:   255
schedtune: max_pwr/2^3:  612 => norm_pwr:   127
schedtune: max_pwr/2^4:  306 => norm_pwr:    63
schedtune: max_pwr/2^5:  153 => norm_pwr:    31
schedtune: configured to support 5 boost groups
cpuidle: using governor menu
register canvas platform driver
register rdma platform driver
vdso: 2 pages (1 code @ ffffff8009cb7000, 1 data @ ffffff800a935000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
DMA: preallocated 2048 KiB pool for atomic allocations
clkmsr: clkmsr: driver init
codec_mm_module_init
media_configs_system_init
aml_iomap: amlogic iomap probe done
vpu: driver version: v20190329(8-g12b)
vpu: load vpu_clk: 666666667Hz(7)
vpu: clktree_init
vpu: vpu_probe OK
clkmsr: msr_clk_reg0=ffffff800823a004,msr_clk_reg2=ffffff800823c00c
clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
audio_clocks: audio_clocks_probe done
aml_vdac_config_probe: cpu_id:4, name:meson-g12ab-vdac
aml_vdac_probe: ok
canvas_probe reg=00000000ff638000,size=2000
canvas maped reg_base =ffffff8008268000
rdma_probe,cpu_type:0, ver:0, len:8
rdma_register, rdma_table_addr ffffff8008277000 rdma_table_addr_phy cf600000 reg_buf ffffffc0ca350000
rdma_register success, handle 1 table_size 32768
set_rdma_handle video rdma handle = 1.
classs created ok
classs file created ok
aml_snd_reg_map[0], reg:ff640000, size:2000
aml_snd_reg_map[1], reg:ff642000, size:2000
aml_snd_reg_map[2], reg:ff64a000, size:2000
aml_snd_reg_map[3], reg:ff656000, size:1800
aml_snd_reg_map[4], reg:ffd01000, size:1000
amlogic auge_snd_iomap probe done
codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
codec_mm_probe ok
cvbs_out: cvbsout_probe, cpu_id:5,name:meson-g12b-cvbsout
cvbs_out: clk path:0
cvbs_out: cvbs trimming.1.v5: 0xa0, 0x0
vout: vout1: register server: cvbs_vout_server
cvbs_out: register cvbs module server ok
vout: vout2: register server: cvbs_vout2_server
cvbs_out: register cvbs module vout2 server ok
cvbs_out: chrdev devno 264241152 for disp
cvbs_out: create cdev cvbs
cvbs_out: cvbsout_probe OK
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
dmi: Firmware registration failed.
secmon: reserve_mem_size:0x300000
secmon secmon: assigned reserved memory node linux,secmon
secmon: get page:ffffffbf00140000, 5000
secmon: share in base: 0xffffffc0050fe000, share out base: 0xffffffc0050ff000
secmon: phy_in_base: 0x50fe000, phy_out_base: 0x50ff000
hdmitx: system: amhdmitx_probe start
hdmitx: system: Ver: 20190815
hdmitx: system: hdmitx_device.chip_type : 11
hdmitx: system: not find match pwr-ctl
hdmitx: system: not find drm_amhdmitx
hdmitx: system: hpd irq = 45
hdmitx: system: hdcp22_tx_skp failed to probe
hdmitx: system: hdcp22_tx_esm failed to probe
vout: vout1: register server: hdmitx_vout_server
vout: vout2: register server: hdmitx_vout2_server
hdmitx: hdmitx20: Mapped PHY: 0xffd00000
hdmitx: hdmitx20: Mapped PHY: 0xff634400
hdmitx: hdmitx20: Mapped PHY: 0xff900000
hdmitx: hdmitx20: Mapped PHY: 0xff800000
hdmitx: hdmitx20: Mapped PHY: 0xff63c000
hdmitx: hdmitx20: Mapped PHY: 0xffd00000
hdmitx: hdmitx20: Mapped PHY: 0xff608000
hdmitx: hdmitx20: Mapped PHY: 0xff600000
hdmitx: hdmitx20: Mapped PHY: 0xffe01000
hdmitx: hw: alread display in uboot 0x10
hdmitx: hw: avmute set to 1
hdmitx: system: fmt_attr 444,8bit
hdmitx: system: fmt_attr 444,8bit
hdmitx: system: amhdmitx_probe end
vout: create vout attribute OK
vout: vout_fops_create OK
vout: vout1: register server: nulldisp_vout_server
vout: tvout monitor interval:500(ms), timeout cnt:20
hdmitx: hdmitx_set_current_vmode[3878]
hdmitx: system: recalc before 1080p60hz 60 1
hdmitx: system: recalc after 1080p60hz 2997 50
hdmitx: alread display in uboot
vout: init mode 1080p60hz set ok
vout: aml_tvout_mode_monitor
vout: aml_vout_probe OK
chip type:0x29
MEMORY:[0+ed800000]
ramdump_probe, storage device:data
NO valid ramdump args:0 0
ramdump_probe, set sticky to 8ed8
Advanced Linux Sound Architecture Driver Initialized.
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
AppArmor: AppArmor Filesystem Enabled
NET: Registered protocol family 2
IP idents hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
UDP hash table entries: 2048 (order: 4, 65536 bytes)
UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Now can use cma, free:13962, wm:14080
clear:e1c00000, free:e1c00000, tick:743236 us
Freeing initrd memory: 7856K
hw perfevents: clusterb_enabled = 1
hw perfevents: cpumasks 0x3, 0x3c
hw perfevents: cluster A irq = 18
hw perfevents: cluster B irq = 19
hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(2.788:1): initialized
workingset: timestamp_bits=46 max_order=20 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering sdcardfs 0.1
NET: Registered protocol family 38
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
pwm-gpio pwmgpio: 1 gpio pwms loaded
meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl
meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl
random: crng init done
gpiomem-aml ff634000.gpiomem: Initialised: GPIO register area is 1
gpiomem-aml ff634000.gpiomem: Initialised: Registers at start:0xff634000 end:0xff634fff size:0x00000fff
[drm] Initialized
mali ffe40000.bifrost: Continuing without Mali regulator control
mali ffe40000.bifrost: max pp is 2
mali ffe40000.bifrost: set min pp to default 1
mali ffe40000.bifrost: min pp is 1
mali ffe40000.bifrost: min clk  is 4
mali ffe40000.bifrost: hiu io source  0xffffff80083c8000
mali ffe40000.bifrost: hiu io source  0xffffff80083ca000
mali ffe40000.bifrost: num of pp used most of time 1
mali ffe40000.bifrost: clock dvfs cfg table size is 6
mali ffe40000.bifrost: max clk set 4
mali ffe40000.bifrost: max clk  is 4
mali ffe40000.bifrost: turbo clk set to 5
mali ffe40000.bifrost: turbo clk  is 5
mali ffe40000.bifrost: default clk set to 4
mali ffe40000.bifrost: default clk  is 4
mali ffe40000.bifrost: ====================0====================
clk_freq= 285714285, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 190>, clk_sample=285
mali ffe40000.bifrost: ====================1====================
clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshod=<152 207>, clk_sample=400
mali ffe40000.bifrost: ====================2====================
clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<180 220>, clk_sample=500
mali ffe40000.bifrost: ====================3====================
clk_freq= 666666666, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshod=<210 236>, clk_sample=666
mali ffe40000.bifrost: ====================4====================
clk_freq= 800000000, clk_parent=fclk_div2p5, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=800
mali ffe40000.bifrost: ====================5====================
clk_freq= 800000000, clk_parent=fclk_div2p5, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=800
mali ffe40000.bifrost: clock dvfs table size is 6
mali_plat=ffffff800a9c7098
meson_gcooldev is null, no set min status
gpu cooling register okay with err=0
meson_gcooldev is null, no set min status
gpu core cooling register okay with err=0
shader_present=3, tiler_present=1, l2_present=1
Mali_pwr_on:gpu_irq : 200
mali ffe40000.bifrost: GPU identified as 0x2 arch 7.2.1 r0p0 status 0
mali ffe40000.bifrost: Using coherency mode 0 set from dtb
mali ffe40000.bifrost: Probed as mali0
Unable to detect cache hierarchy for CPU 0
brd: module loaded
loop: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
 REG0:Addr = ffffff80083fe540
 ee eth reset:Addr = ffffff80085b2008
read auto_cali_idx fail
Not set  cali_val for REG1
meson6-dwmac ff3f0000.ethernet: no reset control found
stmmac - user ID: 0x11, Synopsys ID: 0x37
 Ring mode enabled
 DMA HW capability register supported
 Normal descriptors
 RX Checksum Offload Engine supported
	COE Type 2
 TX Checksum insertion supported
 Wake-Up On Lan supported
eth%d: device MAC address 00:1e:06:43:b4:b1
 Enable RX Mitigation via HW Watchdog Timer
eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
eth%d: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
lirc_helper: wakeupkey 0xffffffff, protocol 0x1
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
meson_cpufreq_init: ignor dsu clk!
meson_cpufreq_init: ignor dsu pre parent clk!
value of voltage_tolerance 0
meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
value of gp1_clk_target 0
dvfs [meson_cpufreq_init] - cluster 0 freq 2016000
cpu cpu0: meson_cpufreq_init: CPU 0 initialized
meson_cpufreq_init: ignor dsu clk!
meson_cpufreq_init: ignor dsu pre parent clk!
value of voltage_tolerance 0
meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
value of gp1_clk_target 0
dvfs [meson_cpufreq_init] - cluster 1 freq 2304000
dvfs [meson_cpufreq_init] - cluster 1 freq 2400000
cpu cpu2: meson_cpufreq_init: CPU 2 initialized
ff803000.serial: clock gate not found
meson_uart ff803000.serial: ==uart0 reg addr = ffffff80085b8000
ff803000.serial: ttyS0 at MMIO 0xff803000 (irq = 34, base_baud = 1500000) is a meson_uart
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 0 to 115200
console [ttyS0] enabled
meson_uart ffd24000.serial: ==uart1 reg addr = ffffff80085ba000
ffd24000.serial: ttyS1 at MMIO 0xffd24000 (irq = 44, base_baud = 1500000) is a meson_uart
amlogic-new-usb2-v2 ffe09000.usb2phy: USB2 phy probe:phy_mem:0xffe09000, iomap phy_base:0xffffff80085bc000
amlogic-new-usb3-v2 ffe09080.usb3phy: USB3 phy probe:phy_mem:0xffe09080, iomap phy_base:0xffffff80085f9080
aml_dma ff63e000.aml_dma: Aml dma
aml_aes_dma ff63e000.aml_dma:aml_aes: Aml AES_dma
aml_tdes_dma ff63e000.aml_dma:aml_tdes: Aml TDES_dma
aml_sha_dma ff63e000.aml_dma:aml_sha: Aml SHA1/SHA224/SHA256 dma
gpio-keypad: probe of ff800000.gpio_keypad failed with error -22
efusekeynum: 1
efusekeyname:            uuid	offset:     0	size:    32
efuse efuse: probe OK!
ion_dev soc:ion_dev: assigned reserved memory node linux,ion-dev
ge2d: ge2d_init_module
ge2d: ge2d_dev major:236
ge2d: clock source clk_ge2d_gate ffffffc0c6a06e40
ge2d: clock clk_ge2d source ffffffc0c6a06ec0
ge2d: clock source clk_vapb_0 ffffffc0c6a06b40
ge2d: ge2d init clock is 500000000 HZ, VPU clock is 666666656 HZ
ge2d: ge2d clock is 499 MHZ
ge2d: find address resource
ge2d: map io source 0x00000000ff940000,size=65536 to 0xffffff8008710000
ge2d: reserved mem init failed
ge2d: ge2d: pdev=ffffffc0ca358000, irq=48, clk=ffffffc0c6a06e40
ge2d: ge2d start monitor
ge2d: ge2d workqueue monitor start
[tsync_pcr_init]init success.
amvideom vsync irq: 49
create_ge2d_work_queue video task ok
fb: osd_init_module
fb: viu vsync irq: 49
fb: viu2 vsync irq: 58
0x000000db:Y=db,U=0,V=0
0x000000dc:Y=dc,U=0,V=0
0x000000dd:Y=dd,U=0,V=0
0x000000de:Y=de,U=0,V=0
0x000000df:Y=df,U=0,V=0
0x000000e0:Y=e0,U=0,V=0
fb: osd_rdma_init: rdma_table p=0xcf608000,op=0xcf608000 , v=0xffffff8008705000
rdma_register, rdma_table_addr ffffff8008707000 rdma_table_addr_phy cf609000 reg_buf ffffffc0ca2fe000
rdma_register success, handle 2 table_size 4096
fb: osd_rdma_init:osd rdma handle = 2.
fb: mem_size: 0x800000
fb: mem_size: 0x4b80000
fb: mem_size: 0x100000
fb: mem_size: 0x100000
fb: mem_size: 0x800000
meson-fb meson-fb: assigned reserved memory node linux,meson-fb
fb: reserved memory base:0x000000007f800000, size:800000
fb: fb def : 1920 1080 1920 2160 32
fb: init fbdev bpp is:32
fb: malloc_osd_memory, cma:ffffff800abb1d68
fb: malloc_osd_memory, 1231, base:0x000000007f800000, size:8388608
fb: use ion buffer for fb memory, fb_index=0
fb: OSD0 as afbcd mode,afbc_type=2
meson-fb meson-fb: create ion_client ffffffc0c6a72540, handle=ffffffc0c6857700
meson-fb meson-fb: ion memory(0): created fb at 0x00000000e5800000, size 75 MiB
fb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312K
fb: Frame buffer memory assigned at
fb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312K
fb:  0, phy: 0x00000000e5800000, vir:0xffffff800bc61000, size=77312K
fb: logo_index=0,fb_index=0
fb: ---------------clear fb0 memory ffffff800bc61000
fb: osd[0] canvas.idx =0x40
fb: osd[0] canvas.addr=0xe5800000
fb: osd[0] canvas.width=7680
fb: osd[0] canvas.height=2160
fb: osd[0] frame.width=1920
fb: osd[0] frame.height=1080
fb: osd[0] out_addr_id =0x1
Console: switching to colour frame buffer device 240x67
fb: osd[0] enable: 1 (swapper/0)
fb: set osd0 reverse as NONE
fb: osd probe OK
hdmitx: hdcp: hdmitx_hdcp_init
vout: vout2: create vout2 attribute OK
vout: vout2: vout2_fops_create OK
vout: vout2: clktree_init
vout: vout2: register server: nulldisp_vout2_server
vout: vout2: init mode null set ok
vout: vout2: aml_vout2_probe OK
DI: di_module_init ok.
DI: di_probe:
DI: di_probe: major 510
deinterlace deinterlace: assigned reserved memory node linux,di_cma
di:flag_cma=1
DI: CMA size 0x2800000.
pre_irq:72
post_irq:73
DI: di_probe allocate rdma channel 0.
di_get_vpu_clkb: get clk vpu error.
DI: vpu clkb <334000000, 667000000>
get clkb rate:333333328
DI:enable vpu clkb.
0x000000e1:Y=e1,U=0,V=0
0x000000e2:Y=e2,U=0,V=0
0x000000e3:Y=e3,U=0,V=0
0x000000f0:Y=f0,U=0,V=0
0x000000f1:Y=f1,U=0,V=0
0x000000f2:Y=f2,U=0,V=0
0x000000f3:Y=f3,U=0,V=0
0x000000f4:Y=f4,U=0,V=0
0x000000f5:Y=f5,U=0,V=0
0x000000f6:Y=f6,U=0,V=0
0x000000f7:Y=f7,U=0,V=0
0x000000f8:Y=f8,U=0,V=0
0x000000f9:Y=f9,U=0,V=0
0x000000fa:Y=fa,U=0,V=0
0x000000fb:Y=fb,U=0,V=0
0x000000fc:Y=fc,U=0,V=0
0x000000fd:Y=fd,U=0,V=0
0x000000fe:Y=fe,U=0,V=0
0x000000ff:Y=ff,U=0,V=0
0x0000003a:Y=3a,U=0,V=0
0x0000003b:Y=3b,U=0,V=0
0x0000003c:Y=3c,U=0,V=0
0x0000003d:Y=3d,U=0,V=0
0x0000003e:Y=3e,U=0,V=0
0x0000003f:Y=3f,U=0,V=0
DI: support multi decoding 61~62~63.
DI: di_probe:Di use HRTIMER
DI: di_probe:ok
dim:dim_module_init
dim:dim_module_init finish
dil:dil_init.
dil:dil_init ok.
vdin_drv_init: major 509
vdin_drv_init: vdin driver init done
[viuin..]viuin_init_module viuin module init
[viuin..]viuin_probe probe ok.
[RX]-hdmirx: hdmirx_init.
ESM HLD: Initializing...
amlvid:info: amlvideo_init called
amlvid:info: amlvideo_create_instance called
amlvid:info: v4l2_dev.name=:amlvideo-000
amlvideo-000: V4L2 device registered as video10
amlvid:info: amlvideo_create_instance called
amlvid:info: v4l2_dev.name=:amlvideo-001
amlvideo-001: V4L2 device registered as video23
PPMGRDRV: warn: ppmgr module init func called
PPMGRDRV: info: ppmgr_driver_probe called
Reserved memory: failed to init DMA memory pool at 0x00000000e3000000, size 0 MiB
PPMGRDRV: info: ppmgr_dev major:507
ionvideo-000: V4L2 device registered as video13
ionvideo-001: V4L2 device registered as video14
ionvideo-002: V4L2 device registered as video15
ionvideo-003: V4L2 device registered as video16
ionvideo-004: V4L2 device registered as video17
ionvideo-005: V4L2 device registered as video18
ionvideo-006: V4L2 device registered as video19
ionvideo-007: V4L2 device registered as video20
ionvideo-008: V4L2 device registered as video21
ionvid: info: Video Technology Magazine Ion Video
ionvid: info: Capture Board ver 1.0 successfully loaded
videosync_create_instance dev_s ffffffc0c6ac9400,dev_s->dev ffffffc0c6acc200
videosync_create_instance reg videosync.0
aml_vecm_init:module init
videosync_thread started

 VECM probe start
Can't find  detect_colorbar.
Can't find  detect_face.
Can't find  detect_corn.
Can't find  wb_sel.
hdr:Can't find  cfg_en_osd_100.
Can't find  tx_op_color_primary.
amlogic, vecm
vlock dt support: 1
vlock dt new_fsm: 0
vlock dt hwver: 0
vlock dt phlock_en: 0
Can't find  vlock_en.
Can't find  vlock_mode.
Can't find  vlock_pll_m_limit.
Can't find  vlock_line_limit.
param_config vlock_en:1 md=0x4
vlock: maxLine 524,maxPixel 1715
vlock_status_init vlock_en:1
aml_vecm_probe: ok
amdolby_vision_init:module init

 amdolby_vision probe start & ver: 20181220
hdmitx: hdmitx_set_drm_pkt: tf=1, cf=1, colormetry=0

 cpu_id=2 tvmode=0
dolby_vision_init_receiver(dvel)
dolby_vision_init_receiver: dvel
amdolby_vision_probe: ok
dovi disable in uboot
reg base = ffffff8008785000
meson-mmc: mmc driver version: 3.02, 2017-05-15: New Emmc Host Controller
meson-mmc: >>>>>>>>hostbase ffffff800878d000, dmode
meson-mmc: actual_clock :400000, HHI_nand: 0x80
meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x1000023c
meson-mmc: meson_mmc_probe() : success!
meson-mmc: >>>>>>>>hostbase ffffff8008796000, dmode
meson-mmc: gpio_cd = 1ca
meson-mmc: meson_mmc_probe() : success!
cectx ff80023c.aocec: cec driver date:2019/10/22: finetune ARB rising time
cectx ff80023c.aocec: compatible:amlogic, aocec-g12a
cectx ff80023c.aocec: cecb_ver:0x1
cectx ff80023c.aocec: line_reg:0x1
cectx ff80023c.aocec: line_bit:0x3
cectx ff80023c.aocec: ee_to_ao:0x1
input: cec_input as /devices/virtual/input/input0
cectx ff80023c.aocec: not find 'port_num'
cectx ff80023c.aocec: using cec:1
cectx ff80023c.aocec: no hdmirx regs
cectx ff80023c.aocec: no hhi regs
cectx ff80023c.aocec: not find 'output'
irq cnt:2, a:47, b46
cectx ff80023c.aocec: wakeup_reason:0x0
cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0
cectx ff80023c.aocec: aml_cec_probe success end
unifykey: storage in base: 0xffffffc005000000
unifykey: storage out base: 0xffffffc005040000
unifykey: storage block base: 0xffffffc005080000
unifykey: probe done!
unifykey: aml_unifykeys_init done!
meson ts init
tsensor id: 0
r1p1_tsensor_read  valid cnt is 0
tsensor trim info: 0xfa00811f!
tsensor hireboot: 0xc0ff2b10
meson ts init
tsensor id: 1
r1p1_tsensor_read  valid cnt is 0
tsensor trim info: 0xfa00812e!
tsensor hireboot: 0xc0ff2b10
meson-aml-mmc ffe07000.emmc: divider requested rate 200000000 != actual rate 199999997: ret=0
audio_dsp: [dsp]register dsp to char divece(257)
amaudio: amaudio: driver amaudio init!
amaudio: amaudio_init - amaudio: driver amaudio succuess!
amlkaraoke init success!
sysled: module init
meson_wdt ffd0f0d0.watchdog: start watchdog
meson_wdt ffd0f0d0.watchdog: creat work queue for watch dog
meson_wdt ffd0f0d0.watchdog: AML Watchdog Timer probed done
amlogic rfkill init
meson-saradc ff809000.saradc: set delay per tick to <1ms> by default.
meson-saradc ff809000.saradc: set ticks per period to <1> by default.
dmc_monitor_probe
atv_demod: aml_atvdemod_init: OK, atv demod version: V2.15.
defendkey ff630218.defendkey: Reserved memory is not enough!
defendkey: probe of ff630218.defendkey failed with error -22
usbcore: registered new interface driver snd-usb-audio
aml_codec_T9015 ff632000.t9015: aml_T9015_audio_codec_probe
T9015 acodec used by auge, tdmout:2
Error: Driver 'spdif-dit' is already registered, aborting...
asoc debug: aml_audio_controller_probe-130
aml_tdm_platform_probe, tdm ID = 2, lane_cnt = 4
TDM id 2 i2s2hdmi:0
snd_tdm ff642000.audiobus:tdmc: lane_mask_out = 1, lane_oe_mask_out = 0
snd_tdm ff642000.audiobus:tdmc: neither mclk_pad nor mclk2pad set
snd_tdm ff642000.audiobus:tdmc: aml_tdm_get_pins error!
aml_tdm_platform_probe(), share en = 1
No channel mask node Channel_Mask
aml_spdif_platform_probe, spdif ID = 0
SPDIF id 0 asrc_id:0 auto_asrc:0
spdifout_play_with_zerodata, spdif id:0 enable:0
spdif_a fifo ctrl, frddr:0 type:3, 32 bits, chmask 0x3, swap 0x10
spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
hdmitx: audio: aout notify format CT_PCM
spdif_a is set to enable
aml_spdif_platform_probe, register soc platform
aml_spdif_platform_probe, spdif ID = 1
spdifout_play_with_zerodata, spdif id:1 enable:0
spdif_b fifo ctrl, frddr:0 type:3, 32 bits, chmask 0x3, swap 0x10
spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
spdif_b is set to enable
aml_spdif_platform_probe, register soc platform
audio-ddr-manager ff642000.audiobus:ddr_manager: 0, irqs toddr 35, frddr 38
audio-ddr-manager ff642000.audiobus:ddr_manager: 1, irqs toddr 36, frddr 39
audio-ddr-manager ff642000.audiobus:ddr_manager: 2, irqs toddr 37, frddr 40
audiolocker_platform_probe
Register vad
meson-mmc: actual_clock :199999997, HHI_nand: 0x80
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLP_SEL_DACL -> Lineout left P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLP_SEL_DACL_INV -> Lineout left P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLN_SEL_DACL_INV -> Lineout left N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Left DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Left DAC -> LOLN_SEL_DACL -> Lineout left N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORP_SEL_DACR -> Lineout right P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORP_SEL_DACR_INV -> Lineout right P switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORN_SEL_DACR_INV -> Lineout right N switch
aml_codec_T9015 ff632000.t9015: ASoC: no source widget found for Right DAC
aml_codec_T9015 ff632000.t9015: ASoC: Failed to add route Right DAC -> LORN_SEL_DACR -> Lineout right N switch
aml_dai_spdif_probe
aml_dai_spdif_probe
set normal 512 fs /4 fs
	 set spdifout clk:6144000, mpll:24576000
	 get spdifout clk:6143997, mpll:24575987
aml_dai_set_spdif_fmt , fmt 0x4010
aml_spdif_new spdif_b, clk continuous:1
spdifout_play_with_zerodata_free, spdif id:1
asoc-aml-card auge_sound: dit-hifi <-> SPDIF-B mapping ok
set mclk:12288000, mpll:24576000, get mclk:12287994, mpll:24575987
aml_dai_set_tdm_slot(), txmask(0x3), rxmask(0x3)
	lanes_out_cnt(1), lanes_in_cnt(1)
	lanes_lb_cnt(0)
	slots(2), slot_width(32)
	lanes_oe_out_cnt(0), lanes_oe_in_cnt(0)
asoc aml_dai_set_tdm_fmt, 0x4011, ffffffc0c6bbd618, id(2), clksel(2)
master_mode(1), binv(1), finv(1) out_skew(2), in_skew(3)
asoc-aml-card auge_sound: T9015-audio-hifi <-> TDM-C mapping ok
set normal 512 fs /4 fs
	 set spdifout clk:6144000, mpll:24576000
	 get spdifout clk:6143997, mpll:24575987
aml_dai_set_spdif_fmt , fmt 0x4010
aml_spdif_new spdif_a, clk continuous:1
spdifout_play_with_zerodata_free, spdif id:0
asoc-aml-card auge_sound: dit-hifi <-> SPDIF mapping ok
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout left P switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout left N switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout right P switch has no paths
aml_codec_T9015 ff632000.t9015: ASoC: mux Lineout right N switch has no paths
snd_card_add_kcontrols card:ffffffc0c6a22018
effect_v2 is not init
Not init vad
Failed to add VAD controls
eq/drc v1 function enable
Netfilter messages via NETLINK v0.30.
Initializing XFRM netlink socket
NET: Registered protocol family 17
Key type dns_resolver registered
Registered swp emulation handler
Registered cp15_barrier emulation handler
Registered setend emulation handler
registered taskstats version 1
Key type big_key registered
Key type encrypted registered
AppArmor: AppArmor sha1 policy hashing enabled
dwc3 ff500000.dwc3: Configuration mismatch. dr_mode forced to host
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
usb: xhci: determined sg_tablesize: 4294967295
xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x20010010
xhci-hcd xhci-hcd.0.auto: irq 23, io mem 0xff500000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: xHCI Host Controller
usb usb1: Manufacturer: Linux 4.9.337-35 xhci-hcd
usb usb1: SerialNumber: xhci-hcd.0.auto
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
usb: xhci: determined sg_tablesize: 4294967295
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 4.9.337-35 xhci-hcd
usb usb2: SerialNumber: xhci-hcd.0.auto
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hctosys: unable to open rtc device (rtc0)
dwc_otg ff400000.dwc2_a: dwc_otg_driver_probe(ffffffc0ca24f000)
dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy: ffe09000, ctrl: 0
dwc_otg ff400000.dwc2_a: base=0xffffff8008c00000
dwc_otg ff400000.dwc2_a: dwc_otg_device=0xffffffc0c6bfaa00
dwc_otg: Core Release: 3.30a
dwc_otg: Setting default values for core params
dwc_otg: curmode: 0, host_only: 0
dwc_otg ff400000.dwc2_a: DMA config: BURST_DEFAULT
dwc_otg: Using Buffer DMA mode
dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
dwc_otg: Working on port type = SLAVE
dwc_otg: Dedicated Tx FIFOs mode
meson_cdev probe
meson_cdev index: 0
thermal thermal_zone0: binding zone soc_thermal with cdev thermal-cpufreq-0 failed:-22
meson_cdev index: 1
thermal: no cluster id, cpucore as one cooldev
meson_cdev index: 2
cpucore_cooling_register, max_cpu_core_num:6
cpucore_cooling_register, clutser[1] core num:4
cpucore_cooling_register, clutser[0] core num:2
meson_cdev index: 3
meson_cdev index: 4
find tzd id: 0
find tzd id: 0
find tzd id: 0
meson_cdev probe done
gxbb_pm: enter meson_pm_probe!
no vddio3v3_en pin
pm-meson aml_pm: Can't get switch_clk81
gxbb_pm: meson_pm_probe done
ALSA device list:
  #0: AML-AUGESOUND
usb 1-1: new high-speed USB device number 2 using xhci-hcd
usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB2.1 Hub
usb 1-1: Manufacturer: GenesysLogic
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 2-1: New USB device found, idVendor=05e3, idProduct=0620
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: USB3.1 Hub
usb 2-1: Manufacturer: GenesysLogic
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x10000245
meson-mmc: Data 1 aligned delay is 0
meson-mmc: emmc: clk 199999997 tuning start
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 115200 to 115200
Freeing unused kernel memory: 4992K
meson-mmc: emmc: adj_win: < 1 2 3 4 >
meson-mmc: step:4, delay1:0x4104104, delay2:0x4004104
meson-mmc: emmc: adj_win: < 2 3 4 >
meson-mmc: left:3, right:0, mid:4, size:4
meson-mmc: step:0, delay1:0x0, delay2:0x0
meson-mmc: emmc: sd_emmc_regs->gclock=0x10000245,sd_emmc_regs->gadjust=0x32000
meson-mmc: delay1:0x0, delay2:0x0
emmc: new HS200 MMC card at address 0001
emmc: clock 199999997, 8-bit-bus-width
mmcblk0: emmc:0001 BJTD4R 29.1 GiB
mmcblk0boot0: emmc:0001 BJTD4R partition 1 4.00 MiB
mmcblk0boot1: emmc:0001 BJTD4R partition 2 4.00 MiB
mmcblk0rpmb: emmc:0001 BJTD4R partition 3 4.00 MiB
 mmcblk0: p1 p2
meson-spicc ffd13000.spi: registered master spi0
spi spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
meson-spicc ffd13000.spi: registered child spi0.1
spi spi0.0: setup mode 0, 8 bits/w, 100000000 Hz max --> 0
meson-spicc ffd13000.spi: registered child spi0.0
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
systemd[1]: System time before build time, advancing clock.
NET: Registered protocol family 10
ip_tables: (C) 2000-2006 Netfilter Core Team
cgroup: cgroup2: unknown option "nsdelegate"
systemd[1]: systemd 249.11-0ubuntu3.11 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
systemd[1]: Detected architecture arm64.
systemd[1]: Hostname set to <odroid>.
systemd[1]: Queued start job for default target Graphical Interface.
systemd[1]: Created slice Slice /system/modprobe.
systemd[1]: Created slice Slice /system/serial-getty.
systemd[1]: Created slice Slice /system/wg-quick.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
systemd[1]: Reached target Local Encrypted Volumes.
systemd[1]: Reached target Path Units.
systemd[1]: Reached target Remote File Systems.
systemd[1]: Reached target Slice Units.
systemd[1]: Reached target Swaps.
systemd[1]: Reached target Local Verity Protected Volumes.
systemd[1]: Listening on Syslog Socket.
systemd[1]: Listening on fsck to fsckd communication Socket.
systemd[1]: Listening on initctl Compatibility Named Pipe.
systemd[1]: Listening on Journal Audit Socket.
systemd[1]: Listening on Journal Socket (/dev/log).
systemd[1]: Listening on Journal Socket.
systemd[1]: Listening on Network Service Netlink Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Condition check resulted in Huge Pages File System being skipped.
systemd[1]: Mounting POSIX Message Queue File System...
systemd[1]: Mounting Kernel Debug File System...
systemd[1]: Mounting Kernel Trace File System...
systemd[1]: Starting Journal Service...
systemd[1]: Starting Set the console keyboard layout...
systemd[1]: Starting Create List of Static Device Nodes...
systemd[1]: Starting Load Kernel Module configfs...
systemd[1]: Starting Load Kernel Module drm...
systemd[1]: Starting Load Kernel Module efi_pstore...
systemd[1]: Starting Load Kernel Module fuse...
fuse init (API version 7.26)
systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
systemd[1]: Starting Load Kernel Modules...
No find node.
register clk_set_setting cpu[41]
systemd[1]: Starting Remount Root and Kernel File Systems...
Registered firmware driver success.
Try to load video/h264_enc.bin  ...
load firmware size : 76288, Name : video/h264_enc.bin.
Try to load video/video_ucode.bin  ...
load firmware size : 1816576, Name : video/video_ucode.bin.
EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
Amlogic A/V streaming port init
get gate demux control ok ffffffc0c593dac0
get gate parser_top control ok ffffffc0c593db40
get gate vdec control ok ffffffc0c593dbc0
get gate clk_81 control failed           (null)
get gate clk_vdec_mux control ok ffffffc0c593dc40
get gate clk_hcodec_mux control ok ffffffc0c593dcc0
get gate clk_hevc_mux control ok ffffffc0c593dd40
get gate clk_hevcb_mux control ok ffffffc0c593ddc0
get gate ahbarb0 control ok ffffffc0c593de40
get gate asyncfifo control failed           (null)
amvdec_avs module init
amvdec_h264 module init
ammvdec_h264 module init
amvdec_h265 module init
ammvdec_mpeg4_driver_init_module
amvdec_vc1 module init
amvdec_vp9 module init
systemd[1]: Starting Coldplug All udev Devices...
systemd[1]: Started Journal Service.
systemd-journald[2879]: Received client request to flush runtime journal.
systemd-journald[2879]: File /var/log/journal/e00bd6223a7245d0aa6e19e0ab12a024/system.journal corrupted or uncleanly shut down, renaming and replacing.
meson6-dwmac ff3f0000.ethernet eth0: fail to init PTP.
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
out of value, fixed it
id=0 set inskew=0
AED req_sel0 module:TDMOUT_B
spk_mute_set: mute flag = 0
CAN device driver interface
mcp251x spi0.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
mcp251x spi0.1 can0: MCP2515 successfully initialized.
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
audit: type=1400 audit(1695142622.564:2): apparmor="STATUS" operation="profile_load" name="nvidia_modprobe" pid=2974 comm="apparmor_parser"
audit: type=1400 audit(1695142622.564:3): apparmor="STATUS" operation="profile_load" name="nvidia_modprobe//kmod" pid=2974 comm="apparmor_parser"
audit: type=1400 audit(1695142622.568:4): apparmor="STATUS" operation="profile_load" name="/usr/bin/man" pid=2976 comm="apparmor_parser"
audit: type=1400 audit(1695142622.568:5): apparmor="STATUS" operation="profile_load" name="man_filter" pid=2976 comm="apparmor_parser"
audit: type=1400 audit(1695142622.568:6): apparmor="STATUS" operation="profile_load" name="man_groff" pid=2976 comm="apparmor_parser"
audit: type=1400 audit(1695142622.568:7): apparmor="STATUS" operation="profile_load" name="lsb_release" pid=2973 comm="apparmor_parser"
audit: type=1400 audit(1695142622.572:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=2975 comm="apparmor_parser"
audit: type=1400 audit(1695142622.572:9): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=2975 comm="apparmor_parser"
audit: type=1400 audit(1695142622.572:10): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=2975 comm="apparmor_parser"
audit: type=1400 audit(1695142622.572:11): apparmor="STATUS" operation="profile_load" name="/{,usr/}sbin/dhclient" pid=2975 comm="apparmor_parser"
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: ionvideo open
ionvid: dbg: ionvideo open
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
ionvid: dbg: vidioc_close!!!!
ionvid: dbg: vidioc_close
out of value, fixed it
id=0 set inskew=0
AED req_sel0 module:TDMOUT_B
spk_mute_set: mute flag = 0
vout: aml_tvout_mode_work: monitor_timeout
wireguard: WireGuard 1.0.20220627 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
meson6-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 115200 to 115200
vcan: Virtual CAN interface driver
GPIO-INTC: gpio virq[75] connect to GIC hwirq[96]
IPv6: ADDRCONF(NETDEV_UP): can0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
fb: mem_free_work, free memory: addr:800000

User avatar
mctom
Posts: 3836
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 567 times
Been thanked: 746 times
Contact:

Re: MCP2515 setup fails with error 16

Post by mctom »

I think you made your point that your wiring is correct. Hardware wise I can see one possibility that the CAN device doesn't work for some reason. I see it doesn't use 5V sourced from Odroid's header. Where does its power come from?
Is the power supply of CAN chip stable? A capacitor on its power rail may help.

In extreme case, perhaps you forgot to wire 5V source to the CAN chip altogether, in which case it may work with severe stability issues. :)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

steve.jeong
Posts: 279
Joined: Wed Dec 01, 2021 10:18 am
languages_spoken: english
Has thanked: 38 times
Been thanked: 87 times
Contact:

Re: MCP2515 setup fails with error 16

Post by steve.jeong »

robert@greenhive.at wrote:
Thu Feb 08, 2024 7:18 pm

Code: Select all

FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I think there was a problem with the boot parts...

Did you flash the new image when you tested the walking board? Or did you use the EMMC card as it is?
What if you turn off the current working board and use the EMMC again for a board that wasn't working?

robert@greenhive.at
Posts: 16
Joined: Fri Mar 24, 2023 5:32 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: MCP2515 setup fails with error 16

Post by robert@greenhive.at »

steve.jeong wrote:
Tue Feb 13, 2024 10:07 am
robert@greenhive.at wrote:
Thu Feb 08, 2024 7:18 pm
Did you flash the new image when you tested the walking board? Or did you use the EMMC card as it is?
What if you turn off the current working board and use the EMMC again for a board that wasn't working?
Thanks for checking. I did use the exact same emmc for all 3 Boards. But i could try running fsck. Maybe there is a hidden connection.
mctom wrote:
Sat Feb 10, 2024 4:27 pm
I see it doesn't use 5V sourced from Odroid's header. Where does its power come from?
Is the power supply of CAN chip stable? A capacitor on its power rail may help.

In extreme case, perhaps you forgot to wire 5V source to the CAN chip altogether, in which case it may work with severe stability issues. :)
Actually i tried both, I tried hooking the CAN module directly to the odroid but that made no difference. On my PCB there are 2 Droking dc dc converter. They have the same 24V source. One powers the Odroid with 12V and the other the CAN Module as well as an LED Driver Module with 5V. So I feel confident to say the power supply is stable.

User avatar
mctom
Posts: 3836
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 567 times
Been thanked: 746 times
Contact:

Re: MCP2515 setup fails with error 16

Post by mctom »

I'm not familiar with these DC/DC converters. Either way, just in case they happen to have an isolated topology, be sure to short grounds of 12V and 5V domains.
Otherwise I think your setup is fine hardware-wise.
These users thanked the author mctom for the post:
robert@greenhive.at (Fri Feb 16, 2024 5:51 pm)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest