Re: I've got a problem compiling the 4.11 tools for ARM (fancy_abort)

2017-10-23 Thread groups
I was hoping to go there later but, this is the script that I am using to build the BSP for 4.12: cd cd development/rtems mkdir kernel cd kernel git clone git://git.rtems.org/rtems.git rtems cd rtems ./bootstrap -c && ./bootstrap -p && $HOME/development/rtems/rsb/source-builder/sb-bootstrap cd .

Re: I've got a problem compiling the 4.11 tools for ARM (fancy_abort)

2017-10-23 Thread Sebastian Huber
On 24/10/17 08:33, gro...@chichak.ca wrote: I build the 4.12 tools, newlib and the tools build properly but I cannot build a BSP for stm32f4 or stm32f7x successfully What is the problem with 4.12 and these BSPs? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchhei

I've got a problem compiling the 4.11 tools for ARM (fancy_abort)

2017-10-23 Thread groups
Hello, I’m attempting to get a BSP rolling for STM32F767 and 4.12 is going reasonably poorly, so I am trying to regress back to a BSP for stm32f4 on 4.11. Now, when putting together the tools for 4.11, I use the script: cd mkdir -p development/rtems cd development/rtems git clone git://git.rtem

Re: Filesystem in RTEMS

2017-10-23 Thread Joel Sherrill
On Mon, Oct 23, 2017 at 10:37 AM, Russell Haley wrote: > Hi, > > Just wanted to ask about licensing. ‎Jffs2 is expressly GPL code. My > understanding means that the entirety of your work now becomes GPL licensed > because everything is statically linked together in RTEMS. Is this > understanding

Re: Where interrupts are enabled for the first time?

2017-10-23 Thread Joel Sherrill
On Mon, Oct 23, 2017 at 11:05 AM, Afshin Jamaali (Arian) wrote: > Hi Everybody > > I'm working on a lpc24xx bsp, with an ARM-V7 processor. I know boot_card() > is called at early stages of initialization and interrupts are disabled > there, but I cannot find where they are enabled for the first t

Where interrupts are enabled for the first time?

2017-10-23 Thread Afshin Jamaali (Arian)
Hi Everybody I'm working on a lpc24xx bsp, with an ARM-V7 processor. I know boot_card() is called at early stages of initialization and interrupts are disabled there, but I cannot find where they are enabled for the first time. I'll be so pleased if somebody can help me know. Thanks in Advance,

Re: Filesystem in RTEMS

2017-10-23 Thread Russell Haley
Hi,Just wanted to ask about licensing. ‎Jffs2 is expressly GPL code. My understanding means that the entirety of your work now becomes GPL licensed because everything is statically linked together in RTEMS. Is thi

RE: Installing cexp-2.2.3 for RTEMS 4.12

2017-10-23 Thread Akiv Jhirad
Great, thank you! I’ll install pc-rtems and report back with the success. -- Best Regards, Akiv Jhirad From: Till Straumann [mailto:strau...@slac.stanford.edu] Sent: October 22, 2017 9:42 PM To: Akiv ; users@rtems.org Subject: Re: Installing cexp-2.2.3 for RTEMS 4.12 I have updated c

RE: interrupt example leon3

2017-10-23 Thread Jan.Sommer
> -Original Message- > From: yaron o [mailto:jaron0...@gmail.com] > Sent: Monday, October 23, 2017 4:17 PM > To: Sommer, Jan > Cc: users@rtems.org > Subject: Re: interrupt example leon3 > > Ok thank you , > > i succeeded to implement the interrupt on leon 3 ,thats what i added if some >

Re: interrupt example leon3

2017-10-23 Thread yaron o
Ok thank you , i succeeded to implement the interrupt on leon 3 ,thats what i added if some one want to update the rtems-irq.c in sample file and add also: ... ... #elif defined(LEON3) *(unsigned long *) (0x8240) = 0xc; // for leon 3 *(unsigned long *) (0x8208) = 0xc; // for leon 3

Re: Re: Filesystem in RTEMS

2017-10-23 Thread xuelin.t...@qkmtech.com
Sorry, I delete some parts of my code. The sectors of S25FL256S flash chip has a combination of 4KB and 64KB. Only the 64KB sectors will be used, for simplicity, and the beginning address of them is 0x0002. The "beginning" variable I use here is equal to offset plus 0x0002 (S25FL256S_B

Re: Re: Filesystem in RTEMS

2017-10-23 Thread xuelin.t...@qkmtech.com
Wow, that is so cool. I may not have enough time to do the porting :-) Best wishes, xuelin.t...@qkmtech.com From: jameszxj Date: 2017-10-23 17:26 To: xuelin.t...@qkmtech.com CC: rtems-us...@rtems.org Subject: Re: Re: Filesystem in RTEMS -- Original -- From: "xu

Re: Filesystem in RTEMS

2017-10-23 Thread Sebastian Huber
On 23/10/17 11:40, Sebastian Huber wrote: On 23/10/17 11:33, xuelin.t...@qkmtech.com wrote: static int flash_write( rtems_jffs2_flash_control *super, uint32_t offset, unsigned char *buffer, size_t length) { flash_control *self = get_flash_control(super); XQspiPs *flash

Re: Filesystem in RTEMS

2017-10-23 Thread Sebastian Huber
On 23/10/17 11:33, xuelin.t...@qkmtech.com wrote: static int flash_write( rtems_jffs2_flash_control *super, uint32_t offset, unsigned char *buffer, size_t length) { flash_control *self = get_flash_control(super); XQspiPs *flash_handle = self->flash_instance; uint32_

Re: Re: Filesystem in RTEMS

2017-10-23 Thread xuelin.t...@qkmtech.com
Could you please share your flash driver with me? In my code, my flash is accessed via a handler defined in Xilinx BSP. typedef struct { rtems_jffs2_flash_control super; XQspiPs *flash_instance; } flash_control; static flash_control *get_flash_control(rtems_jffs2_flash_control *super)

RE: interrupt example leon3

2017-10-23 Thread Jan.Sommer
Hi Yaron, > -Original Message- > From: users [mailto:users-boun...@rtems.org] On Behalf Of yaron o > Sent: Monday, October 23, 2017 10:21 AM > To: users@rtems.org > Subject: interrupt example leon3 > > Hello all > > I want to add a new interrupt in my program , i check the rtems sample f

Re: Re: Filesystem in RTEMS

2017-10-23 Thread jameszxj
-- Original -- From: "xuelin.t...@qkmtech.com";; Date: Mon, Oct 23, 2017 03:30 PM To: "jameszxj";"users@rtems.org"; Subject: Re: Re: Filesystem in RTEMS > I use JFFS2 on Xilinx Zedboard, QSPI. > The flash I use has a hybrid combination of 4KB and 64KB se

interrupt example leon3

2017-10-23 Thread yaron o
Hello all I want to add a new interrupt in my program , i check the rtems sample folder in order to see how to add one ,i found the rtems-irq.c file and i did as the file says but im using a leon 3 and theirs it says: error Example not intended for LEON3 CPU. my question's are: firs how to call an

Re: Re: Filesystem in RTEMS

2017-10-23 Thread xuelin.t...@qkmtech.com
I use JFFS2 on Xilinx Zedboard, QSPI. The flash I use has a hybrid combination of 4KB and 64KB sectors. I just ignored the 4KB sectors, and use 64KB sectors only. So, the size of block is 64KB same the size of sector in my case. I think it may be related to my device drivers... but, I am not s

Re: Filesystem in RTEMS

2017-10-23 Thread jameszxj
I have encountered a problem like this. I set wrong block size. Maybe you can try to change the block size. I use jffs2 on xilinx zc7020 board, QSPI -- Original -- From: "Sebastian Huber";; Date: Mon, Oct 23, 2017 01:07 PM To: "xuelin.t...@qkmtech.com"; Cc: "