Re: Build failure on windows

2021-01-15 Thread Chris Johns



On 16/1/21 2:10 am, ND wrote:
> Trying to compile RBS for riscv on windows using MSYS2 fails with following 
> error.
> 
> error: shell macro failed: sh -c "/usr/bin/python3-config --ldflags --embed |
> awk 'BEGIN{FS=\" \"}

What does the command ...

 /usr/bin/python3-config --ldflags --embed

show you in an MSYS2 shell?

> Compiling master branch.
> Any ideas, what might be wrong?

The output of the command may help.

Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


how to jffs2

2021-01-15 Thread Ярослав Лещинский
Hello,

I'm trying to add jff2 to my current project. I have qspi NAND flash
w25q128. Currently it works through the SPI(not QSPI). Operations Write,
Read and Erase Sector are working well.

control struct is:







*static rtems_jffs2_flash_control spiflash_control ={.block_size =
SPIFLASH_BLOCK_SIZE,.flash_size = SPIFLASH_SIZE,.read =
flash_read,.write = flash_write,.erase = flash_erase};*

where

*#define SPIFLASH_BLOCK_SIZE 0x1000#define SPIFLASH_SIZE (16 *
SPIFLASH_BLOCK_SIZE)*
 ---
When I'm trying to mount I see the following sequence:
1. read sequence for a addresses from 0x1000 to 0xF000
2. trying to erase on 0xE000
3. drop to loop with a message:
*<4>JFFS2: Failed to allocate page buffer for verifying erase at
0xe000. Refiling*

Behavior can be different if I start playing with *SPIFLASH_BLOCK_SIZE
*and *SPIFLASH_SIZE
*but in any cases by the meaning of time I see "Failed to allocate page
buffer..." message.

Could someone suggest what I'm doing wrong?

-- 
--
Kind regards,
*Yaroslav Leshchinsky*
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Build failure on windows

2021-01-15 Thread ND
Trying to compile RBS for riscv on windows using MSYS2 fails with following
error.

error: shell macro failed: sh -c "/usr/bin/python3-config --ldflags --embed
| awk 'BEGIN{FS=\" \"}

Compiling master branch.
Any ideas, what might be wrong?

Regards,
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users