>>A self-contained example would be nice including the application
>>configuration (<rtems/confdefs.h> stuff).
#ifndef CONFIG_H
#define CONFIG_H
#include "user.h"
void* POSIX_Init(void *arg);
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE 1024
#define CONFIGURE_MAXIMUM_SEMAPHORES 15
#define CONFIGURE_MAXIMUM_POSIX_THREADS 20
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_FILESYSTEM_JFFS2
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 3
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
(CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
USER_SPAWN_MAX_NUM_MESSAGES_IN_QUEUE, USER_SPAWN_MESSAGE_SIZE))
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
#endif
>>Any output from JFFS2 during the mount?
No, it's keep quite just hanging.
>>What is the errno?
Failed with: Not enough space
Thanks.
On Wed, 4 Sep 2019 at 07:21, Sebastian Huber <
[email protected]> wrote:
> On 03/09/2019 18:40, Ярослав Лещинский wrote:
> > rv is equal to -1 after the try of mounting. Qspiflash driver was
> > checked separately for the write, read, erase operations.
> >
> > Can someone suggest what to do here?
>
> A self-contained example would be nice including the application
> configuration (<rtems/confdefs.h> stuff).
>
> Any output from JFFS2 during the mount?
>
> What is the errno?
>
> Maybe you have to step through the mount() call with a debugger to
> figure out what is wrong.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : [email protected]
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
--
--
Kind regards,
*Yaroslav Leshchinsky*
_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users