I had the same issue with 4.4.30-ti-r64 trying to set the extram_pool_sz to 1MB. I noticed that after I got the bus error, even if I reloaded uio_pruss with the default extram_pool_sz (which worked fine before the first reload to 1MB), I would still get the bus error. What worked for me was to set the extram_pool_sz at boot by specifying the value in cmdline in /boot/uEnv.txt:
cmdline=... uio_pruss.extram_pool_sz=0x100000 After rebooting, uio_pruss starts with a 1MB pool size and I do not get the bus error. Perhaps the bus error is related to reloading the module, not necessarily the pool size? On Monday, December 12, 2016 at 4:32:31 AM UTC-5, malkowki wrote: > > Hi, > > I am running 4.1.21-bone-rt-r20, Debian GNU/Linux 8.6 (jessie). > I run a PRU program with default DRAM size of 256KB , this works fines but > when I tried to increase the external memory to 8MB I got a buss error > > #modprobe -r uio_pruss > #modprobe uio_pruss extram_pool_sz=0x800000 > > #dmesg | tail > [ 550.971014] pruss_uio 4a300000.pruss: Unbalanced pm_runtime_enable! > [ 550.971111] pruss_uio 4a300000.pruss: pins are not configured from the > driver > [ 555.823781] Unhandled fault: external abort on non-linefetch (0x1018) > at 0xb6d43000 > [ 555.831519] pgd = dc258000 > [ 555.834249] [b6d43000] *pgd=9db2e831, *pte=4a304303, *ppte=4a304a33 > [ 749.642962] pruss_uio 4a300000.pruss: Unbalanced pm_runtime_enable! > [ 749.643073] pruss_uio 4a300000.pruss: pins are not configured from the > driver > [ 763.164615] Unhandled fault: external abort on non-linefetch (0x1018) > at 0xb6e33000 > [ 763.172351] pgd = ddde8000 > [ 763.175081] [b6e33000] *pgd=9c27e831, *pte=4a304303, *ppte=4a304a33 > > > > > When I read the pruio driver doc, it said that we can use 8MB max of the > DDR. > > Anybody know how can I get rid of this bus error? > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/bf6140b1-e003-4d30-bddb-3028a6f9192e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
