Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Conversation

@pollardd
Copy link

This PR configures the SD filesystem as the new default for the pico. Previously this was set to the NAND Flash storage and this is reportedly flaky or simply not working. I could not get the filesystem to load from flash at all. The SD card worked like a breeze.
There are also several minor changes to the build configuration that was causing the process to fail. These changes allow the build process to complete successfully.

Testing was performed on the Raspberry Pi Pico W with a SD card connected to the default GPIO pins and a terminal (picoterm) connected via the usb port.
The del key now functions correctly from configuration in the added .profile.
These changes are entirely contained within the raspberry pi pico code base and no other platforms are affected.

The existing Pico README.md states that the root filesystem is stored in internal flash.
However, in current builds the flash-based block device no longer mounts reliably.
The SD-card block device mounts successfully and provides a stable root filesystem.

This PR updates the Pico configuration to mount hdb1 as the root device (SD card), which reflects the only storage configuration currently working consistently in testing.
PS including .gitignore is my mistake. I can't figure out how to remove it, please discard it.

…es/2048/Makefile.common

- Added FUZIX_ROOT include path for Pico builds
- Moved optimization flag to preserve platform-specific CFLAGS
- Prevents missing header errors on rpipico target
…armm0

- The ROOT variable was not defined, causing include/lib/linker paths to fail
- Replaced all occurrences of $(ROOT) with $(FUZIX_ROOT)
- Ensures absolute paths to Library includes, libs, and linker scripts are correct for all builds
- Move -lgcc to end of linker options in Makefile.common to resolve missing __aeabi_* symbols
- Define LINKER_TAIL = -lgcc in Target/rules.armm0 with explanatory comment
- Ensures Cortex-M0 runtime helpers are linked for integer division and compiler-generated routines
- Added LINKER_TAIL to include libgcc, libcarmm0, and termcap library
- Fixes undefined reference errors for __aeabi_* and __gnu_thumb1_case_* functions
- Ensures proper linking order for Cortex-M0+ target applications
@EtchedPixels
Copy link
Owner

Thanks but the project (like all my projects) has moved to codeberg. I do need to go hit the archive button them all to make it more obvious

@pollardd
Copy link
Author

pollardd commented Nov 26, 2025 via email

@EtchedPixels
Copy link
Owner

I think I can fish it out from github and apply it on Codeberg. Will see what I can do but currently a bit busy.

@pollardd
Copy link
Author

pollardd commented Nov 27, 2025 via email

@pollardd
Copy link
Author

pollardd commented Nov 27, 2025 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants