sofware/liblitesdcard: enable Long Filename (LFN).
This commit is contained in:
parent
fb282d1a72
commit
f1aba7e45c
|
@ -591,7 +591,7 @@ void sdcardboot(void)
|
||||||
if (result)
|
if (result)
|
||||||
result &= copy_image_from_sdcard_to_ram("Image", MAIN_RAM_BASE + KERNEL_IMAGE_RAM_OFFSET);
|
result &= copy_image_from_sdcard_to_ram("Image", MAIN_RAM_BASE + KERNEL_IMAGE_RAM_OFFSET);
|
||||||
if (result)
|
if (result)
|
||||||
result &= copy_image_from_sdcard_to_ram("ROOTFS", MAIN_RAM_BASE + ROOTFS_IMAGE_RAM_OFFSET); /* FIXME should be rootfs.cpio */
|
result &= copy_image_from_sdcard_to_ram("rootfs.cpio", MAIN_RAM_BASE + ROOTFS_IMAGE_RAM_OFFSET);
|
||||||
f_mount(0, "", 0);
|
f_mount(0, "", 0);
|
||||||
if (result)
|
if (result)
|
||||||
boot(0, 0, 0, MAIN_RAM_BASE + EMULATOR_IMAGE_RAM_OFFSET);
|
boot(0, 0, 0, MAIN_RAM_BASE + EMULATOR_IMAGE_RAM_OFFSET);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include ../include/generated/variables.mak
|
include ../include/generated/variables.mak
|
||||||
include $(SOC_DIRECTORY)/software/common.mak
|
include $(SOC_DIRECTORY)/software/common.mak
|
||||||
|
|
||||||
OBJECTS=ff.o sdcard.o spisdcard.o
|
OBJECTS=ffunicode.o ff.o sdcard.o spisdcard.o
|
||||||
|
|
||||||
all: liblitesdcard.a
|
all: liblitesdcard.a
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define FF_USE_LFN 0
|
#define FF_USE_LFN 1
|
||||||
#define FF_MAX_LFN 255
|
#define FF_MAX_LFN 255
|
||||||
/* The FF_USE_LFN switches the support for LFN (long file name).
|
/* The FF_USE_LFN switches the support for LFN (long file name).
|
||||||
/
|
/
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue