From 827e5711de22df254f82c70f0c32037e44abe500 Mon Sep 17 00:00:00 2001 From: Yaroslav Veremenko Date: Thu, 26 Dec 2024 13:15:40 -0700 Subject: [PATCH 1/2] pico: added lost command to build uf2 filesystem --- Kernel/platform/platform-rpipico/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/platform/platform-rpipico/Makefile b/Kernel/platform/platform-rpipico/Makefile index e6f68f1ca1..c5ada8e49b 100644 --- a/Kernel/platform/platform-rpipico/Makefile +++ b/Kernel/platform/platform-rpipico/Makefile @@ -35,6 +35,7 @@ build/Makefile: CMakeLists.txt $(wildcard ../../*.[chS]) $(wildcard ../../*/*.[c image:: world ./update-flash.sh ../../../Standalone/mkftl -s 1952 -e 0x1000 -g 10 filesystem.img -o filesystem.ftl + ${PICOTOOL} uf2 convert --verbose filesystem.ftl -t bin filesystem.uf2 -o 0x10018000 --family ${FSFAMILY} diskimage: From c0390be629369e5313183d70fa660a369c3b6357 Mon Sep 17 00:00:00 2001 From: Yaroslav Veremenko Date: Thu, 26 Dec 2024 13:29:24 -0700 Subject: [PATCH 2/2] pico: fixed missing library object files --- Applications/util/Makefile.generic | 1 + Library/libs/Makefile.armm0 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Applications/util/Makefile.generic b/Applications/util/Makefile.generic index 76bb518d09..b63cc46555 100644 --- a/Applications/util/Makefile.generic +++ b/Applications/util/Makefile.generic @@ -63,6 +63,7 @@ SRCS = \ free.c \ fsck.c \ fsck-fuzix.c \ + gpiotool.c \ gptparse.c \ grep.c \ id.c \ diff --git a/Library/libs/Makefile.armm0 b/Library/libs/Makefile.armm0 index 72cf70acd3..faa39d0b03 100644 --- a/Library/libs/Makefile.armm0 +++ b/Library/libs/Makefile.armm0 @@ -35,9 +35,9 @@ SRC_C += listen.c localtim.c localtim_r.c lseek.c lsearch.c lstat.c ltoa.c ltost SRC_C += malloc.c mkfifo.c mkstemps.c mntent.c nanosleep.c SRC_C += opendir.c opendir_r.c pause.c perror.c SRC_C += popen.c printf.c putenv.c putchar.c putpwent.c putw.c pwent.c qsort.c -SRC_C += raise.c rand.c readdir.c readlink.c realloc.c regerror.c +SRC_C += raise.c rand.c readdir.c readlink.c realloc.c recvfrom.c regerror.c SRC_C += regsub.c remount.c remove.c rewind.c rewinddir.c rindex.c rootmntent.c -SRC_C += seekdir.c setbuffer.c setenv.c +SRC_C += seekdir.c sendto.c setbuffer.c setenv.c SRC_C += setlocale.c setvbuf.c settimeofday.c sgetl.c sigdisp.c SRC_C += sleep.c socket.c sprintf.c SRC_C += sputl.c stat.c statvfs.c stdio0.c stime.c