Page 2 of 2

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-11-20 15:47
by KSV
Crocodile wrote: 2024-11-20 3:05 You can try using shell commands to define the environment variables you need

Code: Select all

export host-name=<Your HOST name>
This command needs to be run every time you enter the shell, or you can add it to /etc/profile to run automatically every time you enter the shell
Hi, I tried to enter this command in the console. I get the error export: host-name: bad vatiable name. I tried to add this command to the end of the file /etc/profile after rebooting I could not log in to the system and the client information did not appear on the dhcp server. There is an unnamed client. How can I solve this problem? There is definitely no option to add something to buildroot?

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-11-21 1:20
by Crocodile
I'm sorry, I forgot the naming convention. You can't use minus signs “-”. You have to use underscores “_” instead.

Code: Select all

export host_name=<Your HOST name>

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-11-21 9:59
by KSV
Crocodile wrote: 2024-11-21 1:20 I'm sorry, I forgot the naming convention. You can't use minus signs “-”. You have to use underscores “_” instead.

Code: Select all

export host_name=<Your HOST name>
Hello. Thank you, now everything is built in buildroot as needed, the hostname $(hostname) line itself has been added to interfaces. But I ran into another problem. I want to use OLED 0.96 128*64 i2c in the project. And for this screen I need to install pip3 install adafruit-circuitpython-ssd1306 during the installation the system tries to build sysv-ipc . But it runs into an error: it cannot find the gcc build environment because it cannot be on the board system, it refers to luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/bin/arm-rockchip830-linux-uclibcgnueabihf-gcc
I'm trying to build using this material https://github.com/tohfaakib/OLED_Stats

How can I build sysv-ipc? It will probably not be possible to install gcc on the board; there is not enough space on the FLASH.

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-11-28 1:11
by Crocodile
Luckfox pico is not a multi-core single-board computer like Raspberry Pi. As a simple and low-cost embedded device, its own resources are limited. After installing gcc, it not only takes up a lot of storage space, but also cannot run due to insufficient memory when compiling large projects. It is recommended to use cross-compilation tools on PC for all compilation work.

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-12-27 11:52
by KSV
Hello. I have a question about the SD card. The Ubuntu system is written using the SocToolKit utility. I have made some settings. And I want to make a backup copy. But the problem is that my card is 128 GB. How can I make a backup copy of only the contents and not the entire volume of the card? That is, I need a small image to then write it to any card.

Re: Question about Luckfox Pico Max RV1106G3

Posted: 2024-12-30 1:11
by Crocodile
At present, the solution of packaging the image from the board is still under development, and the only way to build the burning image is in the compilation stage