Add Alpine Linux support for the Luckfox Pico Max board using NAND flash #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have added support for storing the Alpine Linux distribution on the Luckfox Pico Max's flash memory.
When it boots up, it's necessary to have the ethernet connected to the Internet. It will obtain the IP address from your local network's DHCP server and then configure Alpine Linux with the installation of OpenRC and other packages.
To adapt the distribution, you can modify the following files:
project/cfg/BoardConfig_IPC/BoardConfig-SPI_NAND-Alpine-RV1106_Luckfox_Pico_Max-IPC.mk project/cfg/BoardConfig_IPC/luckfox-alpine-post.sh
And those located in project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-alpine-spi_nand folder, such as:
etc/ntp.conf
etc/timezone
You can configure your own packages by modifing the file project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-alpine-spi_nand/sbin/firstboot.sh
The username for login is 'root' and the password is 'luckfox'
TO DO: Recompile the example files using the musl library