On Wed, Oct 30, 2024 at 11:33 AM Matteo Golin
wrote:
> Hi Alan,
>
> This makes sense, but I guess the SD card must be formatted in advance for
> the "parse_block_partition" to detect and register the partitions as
> "/dev/mmcsd0p0" and "/dev/mmcsd0p1"? In my use case I was hoping to have
> this w
Hi Alan,
This makes sense, but I guess the SD card must be formatted in advance for
the "parse_block_partition" to detect and register the partitions as
"/dev/mmcsd0p0" and "/dev/mmcsd0p1"? In my use case I was hoping to have
this work on a blank SD card.
I was hoping to format a completely unfor
Hi Matteo,
If the /dev/mmc0pX were created you can format it from the NSH> command
line.
BR,
Alan
On Tue, Oct 29, 2024 at 6:17 PM Matteo Golin wrote:
> While we try to get that working, this would require that the SD card be
> formatted in advance, right? I would imagine we could possibly pre
While we try to get that working, this would require that the SD card be
formatted in advance, right? I would imagine we could possibly pre-format
two FAT partitions, load both partitions and then re-format one of them to
be littlefs (since littlefs formatting from a host computer is non-trivial
as
On 2024/10/26 05:27:35 Xiang Xiao wrote:
> have you enable CONFIG_GPT_PARTITION or CONFIG_MBR_PARTITION and
> call parse_block_partition:
>
https://github.com/apache/nuttx/blob/master/include/nuttx/fs/partition.h#L81
> to register partitions as block devices again, so you can mount the
> different
On Tue, Oct 29, 2024 at 10:02 AM Jia Lin wrote:
> On 2024/10/26 05:27:35 Xiang Xiao wrote:
> > have you enable CONFIG_GPT_PARTITION or CONFIG_MBR_PARTITION and
> > call parse_block_partition:
> >
>
> https://github.com/apache/nuttx/blob/master/include/nuttx/fs/partition.h#L81
> > to register part