Re: ARM cp15 c1 control on the BBB at _start

2018-03-05 Thread Sebastian Huber
On 05/03/18 23:12, Chris Johns wrote: Note, the Zynq does not clear the A flag in it's specific MMU set up call so does it assume the boot loader will clear it? Why not clear the A flag and remove any restrictions and try and make the BSPs consistent? A set SCTLR[A] bit after initialization (i

Re: [PATCH] CONFIGURE_*_SIMPLE_TASK_CONSOLE_DRIVER

2018-03-05 Thread Sebastian Huber
On 06/03/18 08:15, Chris Johns wrote: Should the documentation make mention of why would you select one of these console drivers? We could move the console driver options into an extra section, but I am quite busy at the moment, so I would leave this currently as is. -- Sebastian Huber, embe

Re: [PATCH] CONFIGURE_*_SIMPLE_TASK_CONSOLE_DRIVER

2018-03-05 Thread Chris Johns
Hi, Looks good. Should the documentation make mention of why would you select one of these console drivers? Chris On 6/3/18 6:08 pm, Sebastian Huber wrote: > Update #3320. > --- > c-user/configuring_a_system.rst | 97 > +++-- > 1 file changed, 84 insertions

[PATCH] Add a simple task console driver

2018-03-05 Thread Sebastian Huber
Close #3320. --- cpukit/include/rtems/confdefs.h| 22 ++- cpukit/include/rtems/console.h | 13 +- cpukit/libcsupport/Makefile.am | 2 + cpukit/libcsupport/src/consolesimple.c | 26 +--- cpukit/libcsupport/src/consolesimple.h | 19 +++ cpukit/libcsu

[PATCH] CONFIGURE_*_SIMPLE_TASK_CONSOLE_DRIVER

2018-03-05 Thread Sebastian Huber
Update #3320. --- c-user/configuring_a_system.rst | 97 +++-- 1 file changed, 84 insertions(+), 13 deletions(-) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index 52d667a..6b7f487 100644 --- a/c-user/configuring_a_system.rst ++

Re: patch regarding 'RTEMS not booting with Qemu PREP larger than 256Mb'

2018-03-05 Thread Joel Sherrill
Can you file a ticket with the patch attached? We don't change things on a release branch without a ticket? devel.rtems.org Are you able to test this on real hardware? It touches files in shared which will be used by multiple powerpc BSPs so it would be good to have feedback on real HW. FWIW we a

ARM cp15 c1 control on the BBB at _start

2018-03-05 Thread Chris Johns
Hi, I have a recent git master build of OpenOCD loading an RTEMS executable and it runs without error until `bsp_reset` where it stops on a break point. I however cannot step cleanly if I set a break point on `Init` and I am looking into this. To start with I am looking at the MMU and cache set up

patch regarding 'RTEMS not booting with Qemu PREP larger than 256Mb'

2018-03-05 Thread Éric Tremblay
Hi, I posted a question last week about a strange behavior I was getting using RTEMS with qemu-system-ppc. Anytime I was specifying more than 256Mb of memory using the -m option the RTEMS kernel was not booting. Here is an example of command line I was using: qemu-system-ppc -M prep -kernel ./h

Re: Implementing a check on FDT header

2018-03-05 Thread Christian Mauderer
Am 05.03.2018 um 16:03 schrieb Udit agarwal: > Hi, > While going through uboot docs, i found something intresting: > Here (Sec: 5.9.4.2), It > is given that if FDT is not passed as the third argument to bootm > command then, by default a data structu

Re: getentropy() implementation on BBB

2018-03-05 Thread Christian Mauderer
Am 05.03.2018 um 14:51 schrieb Udit agarwal: > Hi, > I tried implementing getentropy on BBB, below is the patch. Please have > a look. > I followed these(1 > & 2 >

Implementing a check on FDT header

2018-03-05 Thread Udit agarwal
Hi, While going through uboot docs, i found something intresting: Here (Sec: 5.9.4.2), It is given that if FDT is not passed as the third argument to bootm command then, by default a data structure called bd_info(given here

getentropy() implementation on BBB

2018-03-05 Thread Udit agarwal
Hi, I tried implementing getentropy on BBB, below is the patch. Please have a look. I followed these(1 & 2 ) links for code reference. and this