cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dingy
Visitor
Visitor
139 Views
Registered: ‎08-19-2020

al5d 80120000.al5d: Couldn't allocate mcu memory pool

Hi,

I am using zu7ev to develop VCU functions,not based on ZCU106 BSP.Now I have a problem,al5d/al5e error.The following is dmesg information.

 

6.907924] udevd[1983]: starting eudev-3.2.5
[ 6.960427] mali: loading out-of-tree module taints kernel.
[ 6.995961] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 7.001486] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 7.099154] [drm] Cannot find any crtc or sizes
[ 7.365432] mali-utgard: probe of fd4b0000.gpu failed with error -14
[ 7.375185] al5d 80120000.al5d: swiotlb: coherent allocation failed, size=33554432
[ 7.377567] al5e 80100000.al5e: swiotlb: coherent allocation failed, size=33554432
[ 7.382761] CPU: 2 PID: 1989 Comm: udevd Tainted: G O 4.19.0-xilinx-v2019.1 #1
[ 7.382763] Hardware name: xlnx,zynqmp (DT)
[ 7.382765] Call trace:
[ 7.382775] dump_backtrace+0x0/0x148
[ 7.382779] show_stack+0x14/0x20
[ 7.382784] dump_stack+0x90/0xb4
[ 7.382790] swiotlb_alloc+0x160/0x168
[ 7.382794] __dma_alloc+0xa8/0x1e0
[ 7.382807] al5_alloc_dma+0xa8/0x140 [allegro]
[ 7.427419] al5_codec_set_firmware+0x24c/0x430 [allegro]
[ 7.432809] al5d_codec_probe+0x64/0x190 [al5d]
[ 7.437329] platform_drv_probe+0x50/0xa0
[ 7.441328] really_probe+0x1c8/0x280
[ 7.444973] driver_probe_device+0x54/0xe8
[ 7.449053] __driver_attach+0xe4/0xe8
[ 7.452785] bus_for_each_dev+0x70/0xc0
[ 7.456604] driver_attach+0x20/0x28
[ 7.460163] bus_add_driver+0x1dc/0x208
[ 7.463982] driver_register+0x60/0x110
[ 7.467802] __platform_driver_register+0x44/0x50
[ 7.469962] random: fast init done
[ 7.472492] al5d_codec_init+0x70/0x1000 [al5d]
[ 7.472500] do_one_initcall+0x74/0x178
[ 7.484217] do_init_module+0x54/0x1c8
[ 7.487948] load_module+0x1b5c/0x20e0
[ 7.491680] __se_sys_finit_module+0xb8/0xc8
[ 7.495934] __arm64_sys_finit_module+0x18/0x20
[ 7.500448] el0_svc_common+0x84/0xd8
[ 7.504093] el0_svc_handler+0x68/0x80
[ 7.507825] el0_svc+0x8/0xc
[ 7.510700] CPU: 1 PID: 2001 Comm: udevd Tainted: G O 4.19.0-xilinx-v2019.1 #1
[ 7.510744] al5d 80120000.al5d: Couldn't allocate mcu memory pool
[ 7.519212] Hardware name: xlnx,zynqmp (DT)
[ 7.519215] Call trace:
[ 7.519224] dump_backtrace+0x0/0x148
[ 7.519232] show_stack+0x14/0x20
[ 7.525346] al5d 80120000.al5d: Failed to setup firmware
[ 7.529476] dump_stack+0x90/0xb4
[ 7.529483] swiotlb_alloc+0x160/0x168
[ 7.529489] __dma_alloc+0xa8/0x1e0
[ 7.532236] al5d: probe of 80120000.al5d failed with error -12
[ 7.532526] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010810
[ 7.532561] xhci-hcd xhci-hcd.0.auto: irq 61, io mem 0xfe200000
[ 7.532774] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 7.532778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.532782] usb usb1: Product: xHCI Host Controller
[ 7.532785] usb usb1: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[ 7.532789] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 7.533143] hub 1-0:1.0: USB hub found
[ 7.533163] hub 1-0:1.0: 1 port detected
[ 7.533367] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 7.533376] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 7.533386] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 7.534133] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 7.534138] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.534142] usb usb2: Product: xHCI Host Controller
[ 7.534145] usb usb2: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[ 7.534149] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 7.534447] hub 2-0:1.0: USB hub found
[ 7.534467] hub 2-0:1.0: 1 port detected
[ 7.535573] al5_alloc_dma+0xa8/0x140 [allegro]
[ 7.535578] al5_codec_set_firmware+0x24c/0x430 [allegro]
[ 7.535590] al5e_probe+0x64/0x190 [al5e]
[ 7.688355] platform_drv_probe+0x50/0xa0
[ 7.692353] really_probe+0x1c8/0x280
[ 7.695999] driver_probe_device+0x54/0xe8
[ 7.700078] __driver_attach+0xe4/0xe8
[ 7.703811] bus_for_each_dev+0x70/0xc0
[ 7.707630] driver_attach+0x20/0x28
[ 7.711189] bus_add_driver+0x1dc/0x208
[ 7.715008] driver_register+0x60/0x110
[ 7.718827] __platform_driver_register+0x44/0x50
[ 7.723518] al5e_init+0x70/0x1000 [al5e]
[ 7.727516] do_one_initcall+0x74/0x178
[ 7.731336] do_init_module+0x54/0x1c8
[ 7.735067] load_module+0x1b5c/0x20e0
[ 7.738800] __se_sys_finit_module+0xb8/0xc8
[ 7.743053] __arm64_sys_finit_module+0x18/0x20
[ 7.747568] el0_svc_common+0x84/0xd8
[ 7.751212] el0_svc_handler+0x68/0x80
[ 7.754944] el0_svc+0x8/0xc
[ 7.757828] al5e 80100000.al5e: Couldn't allocate mcu memory pool
[ 7.763940] al5e 80100000.al5e: Failed to setup firmware
[ 7.769383] al5e: probe of 80100000.al5e failed with error -12


DT

misc_clk_1 {
#clock-cells = <0x0>;
clock-frequency = <0x1F78A40>;
compatible = "fixed-clock";
phandle = <0x42>;
};

vcu@80100000 {
#address-cells = <0x2>;
#clock-cells = <0x1>;
#size-cells = <0x2>;
clock-names = "pll_ref", "aclk", "vcu_core_enc", "vcu_core_dec", "vcu_mcu_enc", "vcu_mcu_dec";
clocks = <0x42 0x3 0x47 0x1c 0x1 0x1c 0x2 0x1c 0x3 0x1c 0x4>;
compatible = "xlnx,vcu-1.2", "xlnx,vcu";
interrupt-names = "vcu_host_interrupt";
interrupt-parent = <0x4>;
interrupts = <0x0 0x60 0x4>;
ranges;
reg = <0x0 0x80140000 0x0 0x1000 0x0 0x80141000 0x0 0x1000>;
reg-names = "vcu_slcr", "logicore";
reset-gpios = <0x8e 82 0>;
phandle = <0x1c>;

al5e@80100000 {
compatible = "al,al5e-1.2", "al,al5e";
interrupt-parent = <0x4>;
interrupts = <0x0 0x60 0x4>;
reg = <0x0 0x80100000 0x0 0x10000>;
};

al5d@80120000 {
compatible = "al,al5d-1.2", "al,al5d";
interrupt-parent = <0x4>;
interrupts = <0x0 0x60 0x4>;
reg = <0x0 0x80120000 0x0 0x10000>;
};
};

Does any one know why this would happen? 

Thanks!

 

 

Tags (1)
0 Kudos
Reply
1 Reply
florentw
Moderator
Moderator
114 Views
Registered: ‎11-09-2015

Hi @dingy 

Not sure if you made any progress on this. If not you might might want to check the following topic as the same error messages were in the log:

https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-Kernel-panic-not-syncing-VFS-Unable-to-mount-root-fs/td-p/990118 

The user solved it by creating a partition for rootfs in the sd-card


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Reply