Search found 13 matches

by kornpow
2025-06-12 22:40
Forum: Luckfox Pico-RV1103/RV1106
Topic: Increase SPI buffer size
Replies: 1
Views: 752

Increase SPI buffer size

I am trying to increase the buffer size of the SPI driver, to be greater than `4096`.

```
[root@luckfox ]# cat /sys/module/spidev/parameters/bufsiz
4096
```

I've recompiled with the below change. But it didn't do what I wanted.
```
--- a/sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico ...
by kornpow
2025-05-22 21:27
Forum: Luckfox Pico-RV1103/RV1106
Topic: Unable to get PWM output
Replies: 1
Views: 1369

Unable to get PWM output

Device: Luckfox Pico Pro Max

PWM Device: PWM5_M1, Pin 72

I am trying to get PWM to work on my device, but even though I am confident I have followed instructions correctly, I am not getting any PWM output.

I am able to export the PWM5 pin, which then gives me the additional PWM properties ...
by kornpow
2025-05-08 16:43
Forum: Luckfox Pico-RV1103/RV1106
Topic: Enable camera in buildroot SDK
Replies: 6
Views: 3744

Re: Enable camera in buildroot SDK

Can you please provide me `.config` file and highlight the relevant sections?

```
sysdrv/source/buildroot/buildroot-2023.02.6/.config
```

I can compile buildroot images for SPI flash which work fine (camera works), but if I do the same exact process (as far as I can tell) using a SD card target ...
by kornpow
2024-12-20 4:45
Forum: Luckfox Pico-RV1103/RV1106
Topic: Enable camera in buildroot SDK
Replies: 6
Views: 3744

Re: Enable camera in buildroot SDK

In the end, I DONT GOT IT.

The above configuration, does work using SPI flash, but in MicroSD mode, it does not work.

I am quite stumped at this point.
by kornpow
2024-12-19 17:15
Forum: Luckfox Pico-RV1103/RV1106
Topic: Enable camera in buildroot SDK
Replies: 6
Views: 3744

Re: Enable camera in buildroot SDK

In the end, I got it.

It seems like LIBCAMERA_APPS was the missing one.

```
BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS=y
BR2_PACKAGE_LIBCAMERA=y
BR2_PACKAGE_LIBCAMERA_V4L2=y
BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE=y
# BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI is not set
BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1 ...
by kornpow
2024-12-18 3:53
Forum: Luckfox Pico-RV1103/RV1106
Topic: Enable camera in buildroot SDK
Replies: 6
Views: 3744

Re: Enable camera in buildroot SDK

I just wanted to add some additional info here:

Here is my `/etc/luckfox.cfg` file:

```
SPI0_M0_CS_ENABLE=1
SPI0_M0_MODE=1
SPI0_M0_STATUS=1
SPI0_M0_MISO_ENABLE=0
SPI0_M0_SPEED=40000000
CSI_ENABLE=1
UART4_M1_STATUS=0
PWM11_M1_STATUS=0
PWM10_M1_STATUS=0
PWM9_M1_STATUS=0
PWM8_M1_STATUS=0
PWM0_M1 ...
by kornpow
2024-12-17 23:18
Forum: Luckfox Pico-RV1103/RV1106
Topic: Enable camera in buildroot SDK
Replies: 6
Views: 3744

Enable camera in buildroot SDK

I have successfully flashed my Luckfox Pico Pro Max with the stock OS images, which are available on Google Drive. With this image installed, I am able to communicate with the camera.

I see files located in /userdata/ and /dev/video0 is populated.

However, when I use the SDK to do my own buildroot ...
by kornpow
2024-10-22 23:16
Forum: Luckfox Pico-RV1103/RV1106
Topic: Pico Pro/Max with Linux Host (SocToolKit/upgrade_tool for Linux with SD card support)
Replies: 8
Views: 44920

Re: Pico Pro/Max with Linux Host (SocToolKit/upgrade_tool for Linux with SD card support)


Also, for clarification, there is a SocToolKit for Linux at https://github.com/LuckfoxTECH/luckfox-pico/tree/main/tools/linux/SocToolKit

As SocToolKit didn't work for me, I did this blkenvflash script which allows to write to the SD card direct on the Linux Host: https://gist.github.com ...
by kornpow
2024-08-24 4:00
Forum: Luckfox Pico-RV1103/RV1106
Topic: $250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format
Replies: 2
Views: 2806

Re: $250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format

I appreciate your message Crocodile. I will take your advise and hopefully I figure it out before somebody else does.

But the bounty is ON, if someone can provide me with a fully working implementation with instructions, I will pay out. If they can save me 5 hours of headaches it will be worth it ...
by kornpow
2024-08-23 18:19
Forum: Luckfox Pico-RV1103/RV1106
Topic: $250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format
Replies: 2
Views: 2806

$250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format

Development bounty: $250 payable in Bitcoin

I really need some help with something, which could have a large impact,and I have wasted too much time trying to figure it out already.

Goal: Using the buildroot image and Python, I want to be able to take photos using the CSI camera, and read them into ...