Dear TI,
I am trying to test out the Beaglebone Black with the largest display size the Am335x supports (WXGA). When trying to do this, I get DMA allocation issues. I tried modifying the Kconfig file as well as the DMA settings to 8 in the menuconfig. However, I am still getting errors. I was curious if there is another setting that I have to use to ensure larger resolutions on the TI SDK than the 800x480 display that is present:
Here is the trace:
[ 1.042510] da8xx_lcdc.0: alias fck already exists
[ 1.048156] da8xx_lcdc da8xx_lcdc.0: GLCD: Found DISPLAY panel
[ 1.055053] ------------[ cut here ]------------
[ 1.059936] WARNING: at mm/page_alloc.c:2095 __alloc_pages_nodemask+0x4f4/0x664()
[ 1.067779] Modules linked in:
[ 1.071014] Backtrace:
[ 1.073608] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c0414098>] (dump_stack+0x18/0x1c)
[ 1.082458] r6:c0080954 r5:00000009 r4:00000000 r3:c05f7f4c
[ 1.088439] [<c0414080>] (dump_stack+0x0/0x1c) from [<c003f1b0>] (warn_slowpath_common+0x54/0x6c)
[ 1.097778] [<c003f15c>] (warn_slowpath_common+0x0/0x6c) from [<c003f1ec>] (warn_slowpath_null+0x24/0x2c)
[ 1.107818] r8:c05d60f8 r7:c0635434 r6:00000000 r5:00000000 r4:c0653d68
[ 1.114685] r3:00000009
[ 1.117462] [<c003f1c8>] (warn_slowpath_null+0x0/0x2c) from [<c0080954>] (__alloc_pages_nodemask+0x4f4/0x664)
[ 1.127899] [<c0080460>] (__alloc_pages_nodemask+0x0/0x664) from [<c0019bd8>] (__dma_alloc+0xa0/0x304)
[ 1.137664] [<c0019b38>] (__dma_alloc+0x0/0x304) from [<c001a2f0>] (dma_alloc_coherent+0x64/0x6c)
[ 1.147003] [<c001a28c>] (dma_alloc_coherent+0x0/0x6c) from [<c0409e6c>] (fb_probe+0x2dc/0x708)
[ 1.156127] r7:df242608 r6:df231650 r5:c06134c8 r4:004007ff
[ 1.162109] [<c0409b90>] (fb_probe+0x0/0x708) from [<c0221dd8>] (platform_drv_probe+0x1c/0x20)
[ 1.171173] [<c0221dbc>] (platform_drv_probe+0x0/0x20) from [<c02207ec>] (driver_probe_device+0xb4/0x2c0)
[ 1.181243] [<c0220738>] (driver_probe_device+0x0/0x2c0) from [<c0220ad8>] (__device_attach+0x48/0x4c)
[ 1.191009] r8:00000000 r7:c05f7730 r6:c0220a90 r5:df242608 r4:c061338c
[ 1.198059] [<c0220a90>] (__device_attach+0x0/0x4c) from [<c021f4b4>] (bus_for_each_drv+0x4c/0x94)
[ 1.207489] r5:df242608 r4:00000000
[ 1.211242] [<c021f468>] (bus_for_each_drv+0x0/0x94) from [<c022062c>] (device_attach+0x90/0xa8)
[ 1.220489] r6:df242610 r5:df24263c r4:df242608
[ 1.225341] [<c022059c>] (device_attach+0x0/0xa8) from [<c021fdf4>] (bus_probe_device+0x2c/0x48)
[ 1.234558] r6:df242610 r5:00000000 r4:df242608 r3:00000001
[ 1.240539] [<c021fdc8>] (bus_probe_device+0x0/0x48) from [<c021e0c4>] (device_add+0x484/0x574)
[ 1.249694] [<c021dc40>] (device_add+0x0/0x574) from [<c0222380>] (platform_device_add+0xfc/0x1e8)
[ 1.259124] [<c0222284>] (platform_device_add+0x0/0x1e8) from [<c0036b70>] (omap_device_register+0x38/0x5c)
[ 1.269348] r7:c04fa824 r6:df244b40 r5:00000000 r4:df242600
[ 1.275329] [<c0036b38>] (omap_device_register+0x0/0x5c) from [<c0036c90>] (omap_device_build_ss+0xfc/0x148)
[ 1.285644] r4:df242600 r3:00000000
[ 1.289398] [<c0036b94>] (omap_device_build_ss+0x0/0x148) from [<c0036d2c>] (omap_device_build+0x50/0x58)
[ 1.299438] r7:00000040 r6:c05f60f4 r5:c05f0650 r4:00000000
[ 1.305419] [<c0036cdc>] (omap_device_build+0x0/0x58) from [<c05a0320>] (am33xx_register_lcdc+0x60/0xb0)
[ 1.315399] [<c05a02c0>] (am33xx_register_lcdc+0x0/0xb0) from [<c0033bac>] (lcdc_init+0x94/0x108)
[ 1.324707] r6:00000000 r5:c05e90e4 r4:00000006
[ 1.329589] [<c0033b18>] (lcdc_init+0x0/0x108) from [<c0033508>] (_configure_device+0xcc/0xe4)
[ 1.338623] r6:00000006 r5:c0640f8c r4:c05f5de0 r3:c0033b18
[ 1.344604] [<c003343c>] (_configure_device+0x0/0xe4) from [<c0033820>] (am335x_evm_setup+0x300/0x5f8)
[ 1.354370] r7:00000040 r6:df22fb40 r5:00000000 r4:c0640f8c
[ 1.360351] [<c0033520>] (am335x_evm_setup+0x0/0x5f8) from [<c023183c>] (at24_probe+0x464/0x510)
[ 1.369567] r6:df22fb40 r5:df0ab020 r4:df0ab000
[ 1.374450] [<c02313d8>] (at24_probe+0x0/0x510) from [<c02c7f0c>] (i2c_device_probe+0x90/0xe8)
[ 1.383514] [<c02c7e7c>] (i2c_device_probe+0x0/0xe8) from [<c02207ec>] (driver_probe_device+0xb4/0x2c0)
[ 1.393371] r6:c06381f8 r5:c0662580 r4:df0ab020 r3:c02c7e7c
[ 1.399353] [<c0220738>] (driver_probe_device+0x0/0x2c0) from [<c0220a8c>] (__driver_attach+0x94/0x98)
[ 1.409118] r8:00000000 r7:df22fcc0 r6:df0ab054 r5:c061814c r4:df0ab020
[ 1.416198] [<c02209f8>] (__driver_attach+0x0/0x98) from [<c021f548>] (bus_for_each_dev+0x4c/0x94)
[ 1.425598] r6:c02209f8 r5:c061814c r4:00000000 r3:c02209f8
[ 1.431579] [<c021f4fc>] (bus_for_each_dev+0x0/0x94) from [<c0220414>] (driver_attach+0x24/0x28)
[ 1.440795] r6:c0623b44 r5:c061814c r4:c061814c
[ 1.445648] [<c02203f0>] (driver_attach+0x0/0x28) from [<c0220068>] (bus_add_driver+0x188/0x270)
[ 1.454895] [<c021fee0>] (bus_add_driver+0x0/0x270) from [<c0220fa8>] (driver_register+0x80/0x144)
[ 1.464324] [<c0220f28>] (driver_register+0x0/0x144) from [<c02c9fbc>] (i2c_register_driver+0x34/0xe8)
[ 1.474121] [<c02c9f88>] (i2c_register_driver+0x0/0xe8) from [<c05b7be0>] (at24_init+0x48/0x54)
[ 1.483245] r5:c05d2644 r4:c05d2430
[ 1.486999] [<c05b7b98>] (at24_init+0x0/0x54) from [<c000876c>] (do_one_initcall+0x128/0x1a8)
[ 1.495971] [<c0008644>] (do_one_initcall+0x0/0x1a8) from [<c059888c>] (kernel_init+0x84/0x120)
[ 1.505126] [<c0598808>] (kernel_init+0x0/0x120) from [<c0042010>] (do_exit+0x0/0x65c)
[ 1.513458] r5:c0598808 r4:00000000
[ 1.517242] ---[ end trace 7819ea468c96703d ]---
[ 1.522125] da8xx_lcdc da8xx_lcdc.0: GLCD: kmalloc for frame buffer failed
[ 1.529357] da8xx_lcdc: probe of da8xx_lcdc.0 failed with error -22