Re: [PATCH 0/5] v2: Progress toward absolute time intervals

2016-07-17 Thread Pavel Pisa
Hello Gedare, On Friday 15 of July 2016 19:22:17 Gedare Bloom wrote: > > > > cpukit/score/include/rtems/score/percpu.h > > > > typedef enum { > > /** > >* @brief Index for relative per-CPU watchdog header. > >* > >* The reference time point for this header is current ticks value > >

[PATCH 2/6] bsps/arm: do not disable MMU during translation table management operations.

2016-07-17 Thread pisa
From: Pavel Pisa Disabling MMU requires complex cache flushing and invalidation operations. There is almost no way how to do that right on SMP system without stopping all other CPUs. On the other hand, there is documented sequence of operations which should be used according to ARM manual and it

[PATCH 4/6] arm/raspberrypi: use cache manager operations to flush/invalidate all cache levels.

2016-07-17 Thread pisa
From: Pavel Pisa This fix strange behavior where some stale content has been stored in level 2 cache before RTEMS has been start from U-boot which has reappeared after MMU enable and shadow vector table at start of SDRAM. --- c/src/lib/libbsp/arm/raspberrypi/startup/bspstarthooks.c | 14 +++-

[PATCH 6/6] libdl/rtl-obj.c: synchronize cache after code relocation.

2016-07-17 Thread pisa
From: Pavel Pisa Memory content changes caused by relocation has to be propagated to memory/cache level which is used/snooped during instruction cache fill. --- cpukit/libdl/rtl-elf.c | 3 +++ cpukit/libdl/rtl-obj.c | 67 -- cpukit/libdl/rtl-obj.h

[PATCH 1/6] arm/raspberrypi: cache manager can be used for mailbox synchronization now. Remove workarounds.

2016-07-17 Thread pisa
From: Pavel Pisa Signed-off-by: Pavel Pisa --- c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 35 ++ 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/c/src/lib/libbsp/arm/raspberrypi/misc/vc.c b/c/src/lib/libbsp/arm/raspberrypi/misc/vc.c index 0bec0c2..a

[PATCH 5/6] arm/raspberrypi: reorder and update MMU config table to nor force RW section later to RO.

2016-07-17 Thread pisa
From: Pavel Pisa Enable even the first megabyte of SDRAM to be cache-able after problems with stale cache content has been resolved by previous commit. Because major part of application usually fits to the first megabyte this speedups test dhrystone application by factor 40. --- .../arm/raspberr

[PATCH 3/6] arm/bsps: CP15 and basic cache support entire cache clean for more architecture variants now.

2016-07-17 Thread pisa
From: Pavel Pisa Next cache operations should work on most of cores now rtems_cache_flush_entire_data() rtems_cache_invalidate_entire_data() rtems_cache_invalidate_entire_instruction() Instruction cache invalidate works on the first level for now only. Data cacache operations are extended

[PATCH 0/6] Update of cache maintenance for ARM and Raspberry Pi specially, generic libdl correction.

2016-07-17 Thread pisa
From: Pavel Pisa The changes correct libdl operation on targets which do not snoop data change during instruction cache fill. Text section/the first 1 MB of data has been noncacheable after VideoCore support inclusion. Enabling cache of this area has revealed problem with stalled data left by lo

Re: Some doubts regarding U-Boot Config in Raspberry Pi.

2016-07-17 Thread Pavel Pisa
Hello Deval Shah, there are more ways how U-boot can be configured. You can experiment from serial console the first. When you see "Hit any key to stop autoboot:", send enter for example to U-boot. Then you can start USB and scan for ethernet usb start You should see U-Boot> usb start startin

[PATCH] beagle: pwm polishing

2016-07-17 Thread Ben Gras
From: Punit Vara . added a README to pwm . added select_pwmss() to select pwmss-generic registers, as opposed to PWM-specific registers . added pwmss_clock_en_status() and pwmss_tb_clock_check() . other API improvements . style improvements --- c