# 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:** 8

<div class="post-metadata">

**Author:** ![hisptoot](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hisptoot/32/5260_2.png) [@hisptoot](https://forum.clockworkpi.com/u/hisptoot)\
**Post date:** [April 9, 2025, 9:16am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/142 "2025-04-09T09:16:58Z")

</div>

Hi, I uploaded a new version of ili9488\_fb.ko.  
Replace the old one in /usr/lib.  
I think it would fix fbterm rendering.

---

<div class="post-metadata">

**Author:** ![Pardalcv](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/pardalcv/32/7256_2.png) [@Pardalcv](https://forum.clockworkpi.com/u/Pardalcv)\
**Post date:** [April 9, 2025, 9:41am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/143 "2025-04-09T09:41:59Z")

</div>

Hi, I’ve uploaded Lyra Ubuntu to PicoCalc, so far it’s working via the terminal. Can you advise me on how to move the screen and keyboard?

---

<div class="post-metadata">

**Author:** ![hisptoot](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hisptoot/32/5260_2.png) [@hisptoot](https://forum.clockworkpi.com/u/hisptoot)\
**Post date:** [April 9, 2025, 10:02am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/144 "2025-04-09T10:02:13Z")

</div>

1.Setup build env:

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

I don’t know if the official ubuntu image is built via the same toolchain. Maybe you should ask luckfox for help.

2.get the kernel devel header of your ubuntu image

3.modify makefile, change kernel header location and cross compiler prefix

4.modify the device tree of your ubuntu kernel, according to the dts file on github.

5.build drivers and load them.

---

<div class="post-metadata">

**Author:** ![Pardalcv](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/pardalcv/32/7256_2.png) [@Pardalcv](https://forum.clockworkpi.com/u/Pardalcv)\
**Post date:** [April 9, 2025, 11:53am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/145 "2025-04-09T11:53:11Z")

</div>

Thanks for the information, I’ll try it this weekend. Hopefully it works.

---

<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:** [April 9, 2025, 5:59pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/146 "2025-04-09T17:59:09Z")

</div>

I’ve been poking around in the keyboard firmware, and I’ve created a branch that is supposed to add a i2c message sent to the MCU on long and short press of the power button, instead of shutting things down. This would have to be enabled by setting a flag over I2C first.

I’ve also added a way to adjust the long press time for the button.

all I know is that it compiles - I don’t have anything to test this stuff on currently. I wouldn’t mind if someone wanted to see how this works, of course some Linux kernel stuff will also be needed to make use of any of it.

> **[GitHub - benklop/PicoCalc at power-mgmt](https://github.com/benklop/PicoCalc/tree/power-mgmt)**
>
> power-mgmt

---

<div class="post-metadata">

**Author:** ![hisptoot](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hisptoot/32/5260_2.png) [@hisptoot](https://forum.clockworkpi.com/u/hisptoot)\
**Post date:** [April 10, 2025, 2:27am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/147 "2025-04-10T02:27:09Z")

</div>

![1000126295](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/1/1536b14248dd988c19e1757b63e44aafa634bfda.jpeg)  
 ![1000126296](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/ec31adc201a5af3b81d8ff8bfa3991e2b8046136.jpeg)  
 ![1000126298](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/4/4a0ef436ef885b38af1b4107ce5d1ab8da3143f8.jpeg)  
lyra plus board on PicoCalc

---

<div class="post-metadata">

**Author:** ![jutleys](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jutleys](https://forum.clockworkpi.com/u/jutleys)\
**Post date:** [April 10, 2025, 7:28am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/148 "2025-04-10T07:28:13Z")

</div>

So that’s one way to get internet then, Is the board plug and play with your same guide for the Lyra standard board? We would just need to cut some space for the Port. and would sound work with this or still need to hack it.

---

<div class="post-metadata">

**Author:** ![hisptoot](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hisptoot/32/5260_2.png) [@hisptoot](https://forum.clockworkpi.com/u/hisptoot)\
**Post date:** [April 10, 2025, 7:31am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/149 "2025-04-10T07:31:55Z")

</div>

I think the only difference between lyra and lyra plus should be kernel device tree.

---

<div class="post-metadata">

**Author:** ![jutleys](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jutleys](https://forum.clockworkpi.com/u/jutleys)\
**Post date:** [April 10, 2025, 7:33am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/150 "2025-04-10T07:33:21Z")

</div>

You have it booting or still working on it. How about the Lyra pro max.?

---

<div class="post-metadata">

**Author:** ![jutleys](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jutleys](https://forum.clockworkpi.com/u/jutleys)\
**Post date:** [April 10, 2025, 7:49am UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/151 "2025-04-10T07:49:34Z")

</div>

Indeed same specs.

|Ethernet|RJ45 100M|  
| **Memory and Storage** |  
|Flash|256MB|  
|Memory|128MB DDR3L(OPTIONS)|  
| **SOC Features** |  
|Processor|Tripe-core@1.2Ghz|  
| **Interfaces & Peripherals** |  
|Display Interface|MIPI DSI 2-lane|  
|GPIO|24-Pin|  
|USB|USB OTG2.0|

---

<div class="post-metadata">

**Author:** ![hisptoot](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hisptoot/32/5260_2.png) [@hisptoot](https://forum.clockworkpi.com/u/hisptoot)\
**Post date:** [April 10, 2025, 1:47pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/152 "2025-04-10T13:47:16Z")

</div>

![1000126323](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/0/0634481e6974cccd98ee2ed75b5046e584470c38.jpeg)  
New image uploaded.

Kbd driver supports reading battery percent, setting screen backlight and emulating mouse. But I think the preloaded keyboard firmware has a bug, which causes battery percent to be reported as zero.

Fix a bug in LCD driver, fbterm works now.

w3m, openssh, mosh and gcc are included.

---

<div class="post-metadata">

**Author:** ![white-round-square](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/white-round-square/32/10385_2.png) [@white-round-square](https://forum.clockworkpi.com/u/white-round-square)\
**Post date:** [April 10, 2025, 1:53pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/153 "2025-04-10T13:53:50Z")

</div>

> [@hisptoot](#):
>
> But I think the preloaded keyboard firmware has a bug, which causes battery percent to be reported as zero.

actually, it is: [Reading battery level from mmbasic - #3 by guu](https://forum.clockworkpi.com/t/reading-battery-level-from-mmbasic/16433/3)

---

<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:** [April 10, 2025, 3:24pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/154 "2025-04-10T15:24:51Z")

</div>

Looks great. I cannot test it now because my screen is broke. Looking forward to try it out.

---

<div class="post-metadata">

**Author:** ![jutleys](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jutleys](https://forum.clockworkpi.com/u/jutleys)\
**Post date:** [April 10, 2025, 3:32pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/155 "2025-04-10T15:32:51Z")

</div>

I will try it tonight will this work on lyra plus too?

---

<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:** [April 10, 2025, 5:27pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/156 "2025-04-10T17:27:04Z")

</div>

Do you know how to flash the SD card from linux (no access to windows currently)?

---

<div class="post-metadata">

**Author:** ![white-round-square](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/white-round-square/32/10385_2.png) [@white-round-square](https://forum.clockworkpi.com/u/white-round-square)\
**Post date:** [April 10, 2025, 5:35pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/157 "2025-04-10T17:35:54Z")

</div>

> [@Ben](#):
>
> Do you know how to flash the SD card from linux

> [@Unofficial FUZIX images for pico and pico2](https://forum.clockworkpi.com/t/unofficial-fuzix-images-for-pico-and-pico2/16559/7):
>
> The SD card that comes with the picocalc is pre-partitioned to include a FUZIX root partition in its last 32MB. If you want to update that image, you can use dd. There’s a little bit about that in [GitHub - wez/FUZIX: FuzixOS: Because Small Is Beautiful](https://github.com/wez/FUZIX?tab=readme-ov-file#installation) and also in the picocalc SD readme docs, but the gist is shown below MAKE SURE to check which partition you are writing to with the command below, as you will DESTROY whatever is on that partition! $ sudo dd if=filesystem.img of=/dev/sdb2 ofla…

**very important** to find proper output device: `of=/dev/sdX` because you can easily overwrite system partition

---

<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:** [April 10, 2025, 6:51pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/158 "2025-04-10T18:51:59Z")

</div>

I mean the rootfs.img for the Lyra (from stock ubuntu image). I tried dd-ing it on the sd but it looks like it needs a partition structure. An it doesn’t boot.

---

<div class="post-metadata">

**Author:** ![white-round-square](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/white-round-square/32/10385_2.png) [@white-round-square](https://forum.clockworkpi.com/u/white-round-square)\
**Post date:** [April 10, 2025, 6:54pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/159 "2025-04-10T18:54:39Z")

</div>

> [@Ben](#):
>
> I tried dd-ing it on the sd but it looks like it needs a partition structure.

`dd` write partitions structure too, have you did `dd of=/dev/sdb` or `dd of=/dev/sdb1`? try to use device without any number.

you can check partitions structure by doing `sudo cfdisk /dev/sdb` before and after `dd`

**and please be sure that `/dev/sdb` is your sdcard 🙂**

---

<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:** [April 10, 2025, 6:57pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/160 "2025-04-10T18:57:28Z")

</div>

My device is /dev/mmcblk0. I did not specify a partition number as it was partitionned for something else before.

fdisk tells me that there is no partition table on the sd after writing it. Do I need a dos partition table with a single fat32 partition?

---

<div class="post-metadata">

**Author:** ![white-round-square](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/white-round-square/32/10385_2.png) [@white-round-square](https://forum.clockworkpi.com/u/white-round-square)\
**Post date:** [April 10, 2025, 7:09pm UTC](https://forum.clockworkpi.com/t/luckfox-lyra-on-picocalc/16280/161 "2025-04-10T19:09:39Z")

</div>

> [@Ben](#):
>
> Do I need a dos partition table with a single fat32 partition?

ineresting, tutorial says:

> Note: It only supports flashing using SPI NAND FLASH. If you need to flash the firmware to a TF card, you will need to use SocToolKit software in a Windows environment.  
> [https://wiki.luckfox.com/Luckfox-Pico/Linux-MacOS-Burn-Image](https://wiki.luckfox.com/Luckfox-Pico/Linux-MacOS-Burn-Image)

a bit weird that `dd` doesn’t work as it should, I agree with you.

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

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