The reason for compiling the SD card image is that the built-in NOR FLASH is too small and not enough, so compile the SD card image
1. Preparation
1. LuckFox development board
2. The basic compilation environment has been built
3. Prepare an 8G SD card
2. Compilation method
After consulting the official, to compile the SD card image, it is necessary to compile the RV1103 image based on BoardConfig-EMMC-Ubuntu-RV1103_Luckfox_Pico_Mini_A-IPC.mk.
Compile SD card firmware reference: https://wiki.luckfox.com/zh/Luckfox-Pic ... x-Pico-SDK
1. Modify the configuration
Modify LF_TARGET_ROOTFS to buildroot
2. SDK configuration file description
① Open the corresponding configuration file. Since Ubuntu is started through the SD card, you only need to make simple modifications in the corresponding configuration file.
② Adjust to match the SD card space. Please note that the TF card system image does not support the expansion of space according to the TF card size.
③ Change the configuration to use buildroot. Select the modified branch to compile.
3. Select the compile option
./build.sh lunch
Option 3
4. Compilation successful
3. Download
Preparation: Clear the SPI NAND FLASH and the compiled Luckfox Pico Mini B SD card image.
1. Clear Flash: https://wiki.luckfox.com/zh/Luckfox-Pic ... nand-flash
1) Press and hold the boot button, insert the computer, and the computer will display the MarkRom port
2) Load the firmware downloadBin
3) Select Advanced Features
4) Download downloadBin
5) Click Erase All
6) Erase successful
2. Create an SD card image
1) Open the burning tool and select the SD card tool;
2) Select the SD card to be burned;
3) Select SD card to boot;
4) Select the startup file. Note that you do not need to select update.img;
5) The selected file is as shown in the figure;
6) Create SD card;
7) SD card created successfully
3. Insert the created SD card into the board
Start normally; use the df -h command to view the storage space
You can see that the available space in the root directory is 5.5G, because the size of the EMMC configured in dts is 6G;
At this point, the SD card image is created successfully and started successfully.