EugeneCh

  • Content Count

    4
  • Joined

  • Last visited

  1. What script is used in Armbian to build ram init image uInitrd?
  2. Hello. Rebuiled 5.3.9 kernel with .config taken from Armbian dist. and it's working great. But when i rebuild it with support KPROBE option in fails to run. What could be a reason it happens? Config file in attach. Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... starting version 232 [ 4.283026] Internal error: Oops: 5 [#1] SMP THUMB2 [ 4.287921] Modules linked in: pinctrl_axp209(+) [ 4.292568] CPU: 0 PID: 205 Comm: systemd-udevd Not tainted 5.3.9-sunxi #177 [ 4.299637] Hardware name: Allwinner su
  3. Successfully updated to 5.3.9. But armbian-config still installs old header files 4.19. Got https://apt.armbian.com/pool/main/l/linux-5.3.9-sunxi/linux-headers-current-sunxi_19.11.3_armhf.deb it now builds without errors but sudo insmod mcp251x.ko insmod: ERROR: could not insert module mcp251x.ko: Unknown symbol in module dmesg: [ 599.227996] mcp251x: loading out-of-tree module taints kernel. [ 599.228363] mcp251x: Unknown symbol can_free_echo_skb (err -2) [ 599.228389] mcp251x: Unknown symbol can_put_echo_skb (err -2) [ 599.228408] mcp251x: Unknown
  4. Hello. I want to add some changes in mcp251x.c and rebuild it. I've installed linux-headers via armbian-config. During build process i got this error: /m_mcp251x.c:1042:8: error: implicit declaration of function ‘devm_clk_get_optional’ [-Werror=implicit-function-declaration] clk = devm_clk_get_optional(&spi->dev, NULL); ^~~~~~~~~~~~~~~~~~~~~ if i comment this line it passes compile process but when i do insmod i get these kernel debug messages: [ 583.741089] m_mcp251x: loading out-of-tree module taints kernel. [ 583.741626] m_mcp251x