[PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

Chris Johns chrisj at rtems.org
Tue Aug 16 01:49:27 UTC 2016


On 15/08/2016 16:54, Pavel Pisa wrote:
> If you test that chage is OK for Zynq with SMP then I reintroduce
> change to RPi code (it would worth to have RPi2 SMP working for that
> testing but that is near to bottom of my own TODO list).

My debug server app does not link when SMP is enabled. I am getting:

[13/13] Linking build/arm-rtems4.12-xilinx_zynq_zedboard/net-app.exe
/opt/work/chris/rtems/kernel/4.12/arm-rtems4.12/xilinx_zynq_zedboard/lib/librtemsbsp.a(libbsp_a-arm-cp15-set-ttb-entries.o): 
In function `arm_cp15_set_translation_table_entries':
/opt/work/chris/rtems/kernel/rtems.master/c/src/lib/libbsp/arm/xilinx-zynq/../shared/arm-cp15-set-ttb-entries.c:91: 
undefined reference to `rtems_interrupt_disable'
/opt/work/chris/rtems/kernel/rtems.master/c/src/lib/libbsp/arm/xilinx-zynq/../shared/arm-cp15-set-ttb-entries.c:94: 
undefined reference to `rtems_interrupt_enable'

It seems these functions are not available for SMP however these calls 
map to _ISR_level, _ISR_Local_disable and _ISR_Local_enable and these 
calls are used in the SMP test 
testsuites/smptests/smpthreadlife01/init.c. I am confused.

Sebastian?

Chris



More information about the devel mailing list