Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this version 1.2.1 available only for NAND versions? #48

Open
TWizardsan opened this issue Aug 9, 2024 · 11 comments
Open

Is this version 1.2.1 available only for NAND versions? #48

TWizardsan opened this issue Aug 9, 2024 · 11 comments

Comments

@TWizardsan
Copy link

This WebServer is cool option, but is it available only for NAND Luckfox versions?
I have Luckfox Pico without NAND chip (with SD Card)

@0x1iii1ii
Copy link
Owner

go here

@nico9julio
Copy link

@TWizardsan not only is 1.2.1 not available for Luckfox Pico without NAND, but harsha0110's version is also not available because custom images don't work on Luckfox Pico. They only work on Pro, Max and Plus, as seen in the image.
image

Furthermore, the latest build of 0x1iii1ii that does work on Luckfox Pico with MicroSD (https://drive.google.com/drive/folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) is also not compatible with any of the two current scripts of 0x1iii1ii or harsha0110.folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) tampoco es compatible con ninguno de los dos scripts actuales de 0x1iii1ii ni harsha0110.

@nico9julio
Copy link

I expand the reason why the script does not work:
The build of 0x1iii1ii that works on Luckfox Pico with MicroSD does not have sudo or systemctl.
image

Sudo is not a problem as it can be removed from the code quickly as I did in that test and the installer runs, but systemctl is needed to control the service and is not found in the build.

@harsha-0110
Copy link

@TWizardsan not only is 1.2.1 not available for Luckfox Pico without NAND, but harsha0110's version is also not available because custom images don't work on Luckfox Pico. They only work on Pro, Max and Plus, as seen in the image. image

Furthermore, the latest build of 0x1iii1ii that does work on Luckfox Pico with MicroSD (https://drive.google.com/drive/folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) is also not compatible with any of the two current scripts of 0x1iii1ii or harsha0110.folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) tampoco es compatible con ninguno de los dos scripts actuales de 0x1iii1ii ni harsha0110.

You can try using the Luckfox-Pico plus image from my build it should work on Luckfox Pico as they have same chip. Or you can try NAND install on to your sd card.

@TWizardsan
Copy link
Author

Furthermore, the latest build of 0x1iii1ii that does work on Luckfox Pico with MicroSD (https://drive.google.com/drive/folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) is also not compatible with any of the two current scripts of 0x1iii1ii or harsha0110.folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) tampoco es compatible con ninguno de los dos scripts actuales de 0x1iii1ii ni harsha0110.

In the 0x1iii1ii readme I think is warned to use pico plus ubuntu image for pico devices. In downloaded archives there are 2 images - one in root of archive and one in subfolder. I used the one in subfolder and it worked for me.

@nico9julio
Copy link

@TWizardsan not only is 1.2.1 not available for Luckfox Pico without NAND, but harsha0110's version is also not available because custom images don't work on Luckfox Pico. They only work on Pro, Max and Plus, as seen in the image. image
Furthermore, the latest build of 0x1iii1ii that does work on Luckfox Pico with MicroSD (https://drive.google.com/drive/folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) is also not compatible with any of the two current scripts of 0x1iii1ii or harsha0110.folders/19yaqAy5IpGvoiDCfNno8yw2BaHwwiSbt?usp=drive_link) tampoco es compatible con ninguno de los dos scripts actuales de 0x1iii1ii ni harsha0110.

You can try using the Luckfox-Pico plus image from my build it should work on Luckfox Pico as they have same chip. Or you can try NAND install on to your sd card.

Thank you @harsha-0110 for answering and sharing your work! Yes, I had tried your version for Pico Plus to see if it worked and found that it boots, but then I think it doesn't recognize free space correctly. Attached screenshot... There is only free space in /oem and /userdata even though the SD memory card does have free space.
image

I'm going to try @TWizardsan's advice and see what happens (thanks ;))

@TWizardsan
Copy link
Author

Thank you @harsha-0110 for answering and sharing your work! Yes, I had tried your version for Pico Plus to see if it worked and found that it boots, but then I think it doesn't recognize free space correctly. Attached screenshot... There is only free space in /oem and /userdata even though the SD memory card does have free space.

What capacity is your SD card?

@nico9julio
Copy link

Well, I found the problem. All versions of the install_SD.sh installation script I found use systemd when minimalist images (less than 600MB) running on Luckfox Pico use init.d.
So when I looked at the code for install_NAND.sh I saw that it use init.d so I understood that it should also work for the installation on the SD. Clearly the custom images that are made for Luckfox Pico (SD) under 600MB are the same as for the NAND versions since they do not use systemd and that is the problem.

Creating the /etc/ppp directory and then running install_NAND.sh works. Obviously the webserver does not work, since the nginx dependencies are not there either.

mkdir /etc/ppp
./install_NAND.sh

@nico9julio
Copy link

Thank you @harsha-0110 for answering and sharing your work! Yes, I had tried your version for Pico Plus to see if it worked and found that it boots, but then I think it doesn't recognize free space correctly. Attached screenshot... There is only free space in /oem and /userdata even though the SD memory card does have free space.

What capacity is your SD card?

2GB and yes, that's probably the problem I'm having with the lack of space using @harsha-0110's images but anyway, I wanted to run the minimalist version because it's lighter and starts faster. Thanks @TWizardsan and @harsha-0110

@TWizardsan
Copy link
Author

2GB and yes, that's probably the problem I'm having with the lack of space using @harsha-0110's images but anyway, I wanted to run the minimalist version because it's lighter and starts faster. Thanks @TWizardsan and @harsha-0110

I tried with 2GB too, but face the same problem as you - no free space. Now I am with 64gigs, because I don't have something near 4G

@harsha-0110
Copy link

Thank you @harsha-0110 for answering and sharing your work! Yes, I had tried your version for Pico Plus to see if it worked and found that it boots, but then I think it doesn't recognize free space correctly. Attached screenshot... There is only free space in /oem and /userdata even though the SD memory card does have free space.

What capacity is your SD card?

I have 64gb sd card, but anything over 8gb should do the work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants