# Luckfox Lyra on PicoCalc

**URL:** <https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280>\
**Category:** PicoCalc\
**Tags:** hardware, alternatives, alternative-board\
**Created:** [March 25, 2025, 12:27pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280 "2025-03-25T12:27:50Z")\
**Posts on this page:** 20\
**Page:** 23

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 23, 2025, 7:01am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/444 "2025-06-23T07:01:21Z")

</div>

I found these other pictures of the Ethernet pinout on the Luckfox Forum

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/e8b68a8cf38db1994025791d59908cd37a18123e.png)  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/8/8cf93704bb2e5059f1e2f3f9b8c45165a2a3ef89.jpeg)

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 23, 2025, 7:04am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/445 "2025-06-23T07:04:48Z")

</div>

You would still need the actual display DSI panel-init-sequence for this specific display to be defined in device-tree not just the connection. The 10.1 inch is the default display defined

> **[SDK Environment Deployment(x86\_64 platform) | LUCKFOX WIKI](https://wiki.luckfox.com/Luckfox-Lyra/SDK/#6-device-tree-configuration)**
>
> omni3576 RK3576 Core Board

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/ben/32/11799_2.png) [@Ben](https://forum.clockworkpi.com/u/Ben)\
**Post date:** [June 23, 2025, 12:23pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/446 "2025-06-23T12:23:51Z")

</div>

This is quite nice. Can these pins be used for sound?

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 23, 2025, 12:45pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/447 "2025-06-23T12:45:15Z")

</div>

Im not quite sure if they are indeed available for any user use like the specific RM\_IO pins (that can be assigned for any use).

On the Milk-V DUO for example they were multiplexed for either network or i2s use - [【i2s】Milk-V Duo添加speaker——i2s2 - Duo - Milk-V Community](https://community.milkv.io/t/i2s-milk-v-duo-speaker-i2s2/666#i2s2-5)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/5/5c2c5029759740a763fdc12169cd7fb1f1563185.png)

---

<div class="post-metadata">

**Author:** ![benklop](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/benklop/32/11258_2.png) [@benklop](https://forum.clockworkpi.com/u/benklop)\
**Post date:** [June 23, 2025, 1:57pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/448 "2025-06-23T13:57:35Z")

</div>

That is one heck of a weird pin out. Ah well.

---

<div class="post-metadata">

**Author:** ![benklop](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/benklop/32/11258_2.png) [@benklop](https://forum.clockworkpi.com/u/benklop)\
**Post date:** [June 23, 2025, 2:00pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/449 "2025-06-23T14:00:00Z")

</div>

3,4,5, and 6 have an i2s peripheral, so with a codec, they could be used for sounds without having to use soft pwm. I’m planning to experiment with that eventually, but it probably won’t be soon.

---

<div class="post-metadata">

**Author:** ![benklop](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/benklop/32/11258_2.png) [@benklop](https://forum.clockworkpi.com/u/benklop)\
**Post date:** [June 23, 2025, 2:14pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/450 "2025-06-23T14:14:57Z")

</div>

From the datasheet:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/8/80ba7f1bea00f9fb54b597d2d8c7de83fbaf5387.png)  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/a/a0ae7a29e93c638c89fb3e53cee83cece25ca8af.png)

GPIO1\_D0 has a few more options, but it’s still not one of the remappable IO pins. These all can be set to GPIO (and then software SPI or something could be used), ethernet, I2S, or UART. I think anything flexible is going to require bitbanging.

I’m sure this will require configuration in the devicetree.

---

<div class="post-metadata">

**Author:** ![kowloonjew](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/kowloonjew/32/10733_2.png) [@kowloonjew](https://forum.clockworkpi.com/u/kowloonjew)\
**Post date:** [June 25, 2025, 3:26am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/451 "2025-06-25T03:26:36Z")

</div>

little PSA for everyone, you need to recompile the kernel if you want to have wifi support, most of the modules have not been selected when the kernel was built

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 25, 2025, 10:53am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/452 "2025-06-25T10:53:40Z")

</div>

yes, with my image the default kernel config only includes the minimal modules enabled by default.

I received the Luckfox Lyra Zero W today and will be looking if i can make adaptor in the near future to fit PicoCalc

512mb ram will result much less swap usage

> **[Luckfox Lyra Zero W Micro Linux Development Board Based On RK3506B Chip,...](https://www.waveshare.com/product/luckfox/luckfox-lyra-zero-w.htm)**
>
> Luckfox Lyra Zero W Micro Linux Development Board Based On RK3506B Chip, Integrated With Triple-core Arm Cortex-A7 And Arm Cortex-M0 processors

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/5/51731f03e41da92a1ea08550755a3e8041d30fe3.jpeg)

---

<div class="post-metadata">

**Author:** ![bifo8](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/bifo8/32/12415_2.png) [@bifo8](https://forum.clockworkpi.com/u/bifo8)\
**Post date:** [June 25, 2025, 1:32pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/453 "2025-06-25T13:32:16Z")

</div>

I’ve had one of these sitting around from an old Anbernic game system build, the chip is an RTL8821CU and they’re extremely cheap on aliexpress: [Amazon.com: USB WiFi Bluetooth Adapter, 600Mbps Dual Band 2.4/5Ghz Wireless Network External Receiver, Mini WiFi Dongle for PC/Laptop/Desktop : Electronics](https://www.amazon.com/Bluetooth-Adapter-Wireless-External-Receiver/dp/B07YDFZWT8)

It’s an RTL8821CU chip, will this work outright with the latest version or will I need to compile a kernel with drivers?

I haven’t gotten my Picocalc yet but I’m super grateful for all the hard work being done, this is looking like everything I dreamed of when I was in high school a quarter century ago.

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 25, 2025, 1:40pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/454 "2025-06-25T13:40:13Z")

</div>

I ordered such a dongle already, waiting to receive it, but think it will also be the rtw88 driver.  
so yes compile from the already posted notes

Also i can already see the Luckfox Lyra Zero W using the same aic800 driver I have for the large external dongle - i posted before - [Luckfox Lyra on PicoCalc - #426 by markbirss](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/426)

so wifi works and ble on Luckfox Lyra Zero W  
im using lyra compiled image at the moment

```auto
root@luckfox:/# speedtest-cli 
Retrieving speedtest.net configuration...
Testing from OPTINET (197.94.94.95)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by WIOCC (Johannesburg) [1259.92 km]: 22.033 ms
Testing download speed................................................................................
Download: 44.71 Mbit/s
Testing upload speed......................................................................................................
Upload: 27.05 Mbit/s
root@luckfox:/# bluetoothctl 
Waiting to connect to bluetoothd...[bluetooth]# hci0 new_settings: powered bondable ssp br/edr le secure-conn 
[bluetooth]# Agent registered
[bluetooth]# [CHG] Controller D8:74:EF:67:24:2D Pairable: yes
[bluetooth]# 

```

lsusb

```auto
root@luckfox:/# lsusb -tv
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc2/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 1a86:8091 QinHeng Electronics 
        |__ Port 001: Dev 003, If 0, Class=Wireless, Driver=btusb, 480M
            ID a69c:88dc  
        |__ Port 001: Dev 003, If 1, Class=Wireless, Driver=btusb, 480M
            ID a69c:88dc  
        |__ Port 001: Dev 003, If 2, Class=Vendor Specific Class, Driver=aic8800_fdrv, 480M
            ID a69c:88dc  
root@luckfox:/# 

```

---

<div class="post-metadata">

**Author:** ![bifo8](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/bifo8/32/12415_2.png) [@bifo8](https://forum.clockworkpi.com/u/bifo8)\
**Post date:** [June 25, 2025, 1:51pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/455 "2025-06-25T13:51:55Z")

</div>

Thanks, I was looking at the thread the other day and saw that other 8821 chip things were working, so I figured it was probably going to be usable.

I’ve been playing with a Luckfox Pico Mini for a few months, it’s crazy how much people expect of computers now when I first started using linux on a 166mhz 32mb packard bell. That thing was FIRE when my dad bought it.

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [June 25, 2025, 5:36pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/456 "2025-06-25T17:36:33Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/e71ee03000d54e908fa06d4f8744315278b8868a.png)

---

<div class="post-metadata">

**Author:** ![kowloonjew](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/kowloonjew/32/10733_2.png) [@kowloonjew](https://forum.clockworkpi.com/u/kowloonjew)\
**Post date:** [June 26, 2025, 1:45am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/457 "2025-06-26T01:45:11Z")

</div>

Probably will need to recompile the kernel, there were very, very few Wi-Fi drivers selected.

---

<div class="post-metadata">

**Author:** ![cjstoddard](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@cjstoddard](https://forum.clockworkpi.com/u/cjstoddard)\
**Post date:** [July 1, 2025, 4:04pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/458 "2025-07-01T16:04:08Z")

</div>

I finally have some time to dip into the Ubuntu image. I was not super happy with hisptoot’s image because it required too much work to get to a usable state. Before I jump in, I have a couple of questions.

I have a TP-Link Nano USB WiFi (rtl8821cu) one of the supported drivers or will I need to recompile the kernel?

I understand I will have to manually update the kernel, but other than that, can I just use the apt repositories to install software or do I need to build from source if I want to add anything?

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [July 2, 2025, 8:39am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/459 "2025-07-02T08:39:15Z")

</div>

> [@cjstoddard](#):
>
> I have a TP-Link Nano USB WiFi (rtl8821cu) one of the supported drivers or will I need to recompile the kernel?

you wont be re-compiling the whole kernel just modules using the kernel source, kernel headers and driver source

the kernel source, kernel headers, wifi firmware binaries and some driver source is already incl in the developer image, yes you must compile the module and install them

I have not pre-compiled the various drivers i found since they overlap with the support they offer.

`make install`  
refer to the driver source for full instructions

Yes, simplest is to start with sharing your internet connection over USB

```auto
adb shell
dhclient usb0

```

then check if you can ping 1.1.1.1 or [www.google.com](http://www.google.com)

then apt update and apt install as usual

---

<div class="post-metadata">

**Author:** ![michael\_mayer](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael_mayer/32/5278_2.png) [@michael\_mayer](https://forum.clockworkpi.com/u/michael_mayer)\
**Post date:** [July 2, 2025, 8:42am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/460 "2025-07-02T08:42:07Z")

</div>

If I have compiled the drivers I need on the device is it possible to generate a image? What would be the tool for this?

---

<div class="post-metadata">

**Author:** ![markbirss](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/markbirss/32/12114_2.png) [@markbirss](https://forum.clockworkpi.com/u/markbirss)\
**Post date:** [July 2, 2025, 8:51am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/461 "2025-07-02T08:51:50Z")

</div>

I not found a tool or way to interact with the “image” files for the partitions yet. I tried x-rock and upgrade\_tool to read my firmware back, but this creates files as large as your sdcard and not user mountable like other image files

I used the approach of modifying the supplied/used “ubuntu.tar.gz” and the various ubuntu rootfs creation scripts in the SDK

---

<div class="post-metadata">

**Author:** ![cjstoddard](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@cjstoddard](https://forum.clockworkpi.com/u/cjstoddard)\
**Post date:** [July 2, 2025, 12:37pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/462 "2025-07-02T12:37:55Z")

</div>

Cool, I am an old hand at this, I can handle compiling and installing kernel modules, I just wanted to know what needed to be done. Thank you.

---

<div class="post-metadata">

**Author:** ![callimero](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/callimero/32/11706_2.png) [@callimero](https://forum.clockworkpi.com/u/callimero)\
**Post date:** [July 2, 2025, 2:06pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/463 "2025-07-02T14:06:53Z")

</div>

```auto
sudo ~/Downloads/linux/upgrade_tool uf update.img

```

Were do I get this “upgrade\_tool”?

Found it. This Rockchip is all quite confusing and cumbersome. “Proprietäre Kackscheiße” as we would say in german…

I guess I stay at hitpots dist, as long as Pico8 runs and I have internet I am fine 🙂

All the best,  
Carsten

[Previous page](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280.md?page=22)

[Next page](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280.md?page=24)
