Open andregrillo opened 2 months ago
@andregrillo Tu branches lCF
@andregrillo You connect the luckfox to the network to flash its nand?
Hey @Regis242 , sorry for the late reply. You don't need network access to flash the nand. It's done using the USB connection to your PC. Just follow the official Luckfox wiki as I mentioned in my post above.
Hope this can help somebody else
I encountered some issues while attempting the NAND installation on the Luckfox Pico Plus model, which has less memory and storage compared to other models, making the installation process less straightforward.
Firstly, I removed the SD card to ensure I was booting from NAND. Upon booting, I faced errors like “Connection refused” when trying to connect via SSH. I discovered that the firmware version I had did not have SSH running.
To resolve this, I flashed the NAND with a new firmware version following the tutorial on the Luckfox website: Luckfox Pico Flash-burn image.
I downloaded the necessary image from this link: Luckfox Pico Plus Flash Folder, specifically the contents of the Luckfox_Pico_Plus_Flash folder, and followed the instructions on the wiki above. Just to let you know, the link for this firmware update is provided also in their wiki pages: Luckfox Pico SD Card Image Burning
After flashing the NAND, I checked my router to find the IP of my Luckfox Pico Plus and accessed it via SSH on port 22.
However, I encountered another problem: there was insufficient space to copy the PPPwn files to the device. Here's a summary of the space available:
The “/” partition had only 5.2MB available! :)
I initially tried copying the PPPwn files to the /tmp folder, which had more space, but this folder gets cleared upon reboot, and the PPPwn scripts require the files in the /root folder. So, this was not a good idea...
To find space, I examined the contents of the root partition using:
This revealed that Python was using a lot of space:
I made a backup (not needed) of the Python folder (/usr/lib/python3.11) and then deleted it:
As we are not using Python in the PPPwn process, I did not see problems removing it.
This provided enough space to copy the PPPwn folder to the Luckfox Pico. From this point, I followed the instructions in the README.md to install the new NAND version successfully!
I also noticed that the NAND version is significantly faster than the one for SD cards. The overall performance and responsiveness of the Luckfox Pico improved dramatically, making it much more efficient.
I hope this helps!