From: Pratap Reddy Date: Thu, 1 Feb 2018 17:38:07 +0000 (+0530) Subject: Fix for OMAPL138 ARM example build error X-Git-Tag: DEV_EDMA3_LLD_02_12_05_30C~5^2 X-Git-Url: https://git.ti.com/gitweb?p=keystone-rtos%2Fedma3_lld.git;a=commitdiff_plain;h=93b3bc284324354729ddd5a2aedeea853dc135ca;ds=sidebyside Fix for OMAPL138 ARM example build error --- diff --git a/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg b/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg index 7c1afd9..9f5165d 100644 --- a/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg +++ b/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg @@ -7,11 +7,20 @@ var Log = xdc.useModule ("xdc.runtime.Log"); var Hwi = xdc.useModule('ti.sysbios.hal.Hwi'); var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); var Cache = xdc.useModule('ti.sysbios.hal.Cache'); +var Mmu = xdc.useModule('ti.sysbios.family.arm.arm9.Mmu'); +// Enable the MMU +Mmu.enableMMU = true; -/* USE EDMA3 Sample App */ -//xdc.loadPackage('ti.sdo.edma3.drv.sample'); +var attrs = { + type: Mmu.FirstLevelDesc_SECTION, // SECTION descriptor + bufferable: true, // bufferable + cacheable: false, // cacheable + imp: 1, // implementation defined + domain: 0, // domain between 0-15 + accPerm: 3, // read/write permission + }; for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) { Mmu.setFirstLevelDescMeta(i, i, attrs); - } \ No newline at end of file + }