Search found 10 matches
- 2024-01-28 23:03
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Writing an app using buildroot
- Replies: 11
- Views: 8475
Re: Writing an app using buildroot
Yes, but then I can't use the libraries that are already in the buildroot. For example if I want to use curl library I can't because it'll be different on the compile machine. I want to know how to setup the environment so I can use the toolchain link with libraries that I've selected in buildroot
- 2024-01-28 11:04
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Connection Refused.
- Replies: 1
- Views: 1666
Re: Connection Refused.
172.32.0.99 is your computer ip. try to login to 172.32.0.93 (https://wiki.luckfox.com/Luckfox-Pico/SSH-Telnet-Login/)
- 2024-01-28 10:40
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: In ubuntu modules are missing
- Replies: 1
- Views: 2018
In ubuntu modules are missing
I compiled the zram.ko module (also zsmalloc.ko) but I can't find them in ubuntu. In buildroot they are in `/oem/usr/ko/`. Also not found in /lib. If I manually copy them to /oem/usr/ko/ and use insmod they work. Is it a bug in scripts?
root@luckfox:/# modprobe zram
modprobe: FATAL: Module zram ...
root@luckfox:/# modprobe zram
modprobe: FATAL: Module zram ...
- 2024-01-27 23:46
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Ubuntu image has new MAC address every time.
- Replies: 1
- Views: 2778
Ubuntu image has new MAC address every time.
is there a way to make ubuntu remember the mac address? I used clonned mac in NetworkManager:
Cloned MAC address DA:C6:CE:17:BC:ED_______________________
and it works, but I noticed in buildroot there is ethaddr.txt file in /userdata that contains the mac. I tried copying this file to ubuntu ...
Cloned MAC address DA:C6:CE:17:BC:ED_______________________
and it works, but I noticed in buildroot there is ethaddr.txt file in /userdata that contains the mac. I tried copying this file to ubuntu ...
- 2024-01-27 19:02
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Ram is less than half of what's advertised
- Replies: 3
- Views: 4467
Re: Ram is less than half of what's advertised
I found it - correct me if I'm wrong. in the sdk root:
./.BoardConfig.mk
# Config CMA size in environment
#export RK_BOOTARGS_CMA_SIZE="66M"
export RK_BOOTARGS_CMA_SIZE="24M"
I guess that's memory reserved for the media - camera, etc. Can I set it to 0 if I don't use camera?
./.BoardConfig.mk
# Config CMA size in environment
#export RK_BOOTARGS_CMA_SIZE="66M"
export RK_BOOTARGS_CMA_SIZE="24M"
I guess that's memory reserved for the media - camera, etc. Can I set it to 0 if I don't use camera?
- 2024-01-27 16:24
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Ram is less than half of what's advertised
- Replies: 3
- Views: 4467
Ram is less than half of what's advertised
Hi,
I've got Pico Pro (with the RV1106G2 chip). Why do I have only 55 MB of ram? What is the rest of the ram used for? Can I control how much ram is available?
# free -m
total used free shared buff/cache available
Mem: 55 15 25 0 15 35
Swap: 15 4 11
I've got Pico Pro (with the RV1106G2 chip). Why do I have only 55 MB of ram? What is the rest of the ram used for? Can I control how much ram is available?
# free -m
total used free shared buff/cache available
Mem: 55 15 25 0 15 35
Swap: 15 4 11
- 2024-01-27 12:46
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Writing an app using buildroot
- Replies: 11
- Views: 8475
Writing an app using buildroot
I like the idea of a cheap SBC that doesn't even require SD card. However I couldn't find a tutorial for making a new program from scratch and building it with buildroot. Like a hello world program (in C) that uses a library - for example libcurl.
- 2024-01-27 12:39
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Error in buildroot cannot find -lintl
- Replies: 5
- Views: 3778
Re: Error in buildroot cannot find -lintl
Thank you for the quick answer! Now I can remove the lib to avoid error, but it would be nice to have it. I don't have experience with buildroot. is there a tutorial how to add new libraries - like libintl for example.
- 2024-01-27 11:21
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: buildroot - embed files
- Replies: 1
- Views: 1818
buildroot - embed files
If I want to include files in buildroot image where should I put them? Like:
/etc/ssl/certs/ca-certificates.crt
/root/.ssh/authorized_keys
... etc
Also maybe change the default password, samba configuration/password
I tried (using the docker):
/home/sysdrv/source/buildroot/buildroot-2023.02.6 ...
/etc/ssl/certs/ca-certificates.crt
/root/.ssh/authorized_keys
... etc
Also maybe change the default password, samba configuration/password
I tried (using the docker):
/home/sysdrv/source/buildroot/buildroot-2023.02.6 ...
- 2024-01-26 23:41
- Forum: Luckfox Pico-RV1103/RV1106
- Topic: Error in buildroot cannot find -lintl
- Replies: 5
- Views: 3778
Error in buildroot cannot find -lintl
I'm trying to customize the flash image. I'm following instructions from:
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Buildroot
However many packages lead to the same error while building libglib2-2.72.3:
Checking for function "ngettext" : NO
Library intl found: NO
output/build/libglib2-2 ...
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Buildroot
However many packages lead to the same error while building libglib2-2.72.3:
Checking for function "ngettext" : NO
Library intl found: NO
output/build/libglib2-2 ...
