Hello,
I intend to implement a firmware update feature for my project, which
is based on stm32f4discovery.
My idea is to load a separated ELF file on the dataflash, which is
loaded using the approach described in the following video:
https://www.youtube.com/watch?v=oL6KAgkTb8M
When running this
I noticed several instances of preprocessor logic like this example
from register_driver() in fs_registerdriver.c:
#ifdef CONFIG_FILE_MODE
node->i_mode= mode;
#endif
But there doesn't seem to be such a Kconfig option.
Did I miss something? Or is this a remnant from a bygone era?
Thank
I noticed several instances of preprocessor logic like this example
from register_driver() in fs_registerdriver.c:
#ifdef CONFIG_FILE_MODE
node->i_mode= mode;
#endif
But there doesn't seem to be such a Kconfig option.
Did I miss something? Or is this a remnant from a bygone era?
Hehehe, you are not the first one to notice it, in fact I commented
that this kind of code exist but is not implemented:
https://issues.apache.org/jira/browse/NUTTX-8
Patch are welcome! ;-)
BR,
Alan
On 4/25/21, Nathan Hartman wrote:
> I noticed several instances of preprocessor logic like thi
Covered in this Issue: https://github.com/apache/incubator-nuttx/issues/3399
On 4/25/2021 12:29 PM, Gregory Nutt wrote:
I noticed several instances of preprocessor logic like this example
from register_driver() in fs_registerdriver.c:
#ifdef CONFIG_FILE_MODE
node->i_mode = mode;
#en
On 4/25/2021 12:31 PM, Alan Carvalho de Assis wrote:
Hehehe, you are not the first one to notice it, in fact I commented
that this kind of code exist but is not implemented:
https://issues.apache.org/jira/browse/NUTTX-8
To be a POSIX, Unix-like system, NuttX should support privileges.
Addi
Hi Tanushree,
It seams the error is related to documentation, maybe if you disable
generating it the binutils will compile.
BR,
Alan
On 4/25/21, Tanushree Baindur wrote:
> Hi,
>
> I started working on issue Illegal calls to romdisk_register() #246 a while
> back. I've been able to figure out h
It seams the error is related to documentation, maybe if you disable
generating it the binutils will compile.
NxFLAT is currently only supported on ARM 32-bit and ARM Thumb ISAs.
Some development would be required to extend that to other architectures.
1. Can an ELF file be executed from dataflash too?
No. ELF cannot run XIP (eXecute In Place) in NOR FLASH. That is
because the ELF module is only partially linked and requires run-time
relocations to the ELF image to access the data area arbitrarily located
in RAM.
An option is to use
beside the privilege, it's more useful to modify the timestamp for IoT
device by utime:
https://pubs.opengroup.org/onlinepubs/009604599/functions/utime.html
BTW, the permission is meaningless in FLAT mode with the unsafe
language(e.g. C/C++).
On Mon, Apr 26, 2021 at 2:39 AM Gregory Nutt wrote:
>
10 matches
Mail list logo