# Milk V Duo Development

**URL:** <https://forum.clockworkpi.com/t/milk-v-duo-development/16629>\
**Category:** PicoCalc\
**Tags:** alternatives, alternative-board\
**Created:** [April 8, 2025, 9:45am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629 "2025-04-08T09:45:20Z")\
**Posts on this page:** 18\
**Page:** 1

<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 8, 2025, 9:45am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/1 "2025-04-08T09:45:20Z")

</div>

Has anyone received this board yet and or working on anything.

I just found this on AliExpress:  
￡11.82 | Milk-V Duo 256 256M 256MB SG2002 RISC V Linux Board【First-level Agency Distributor】  
[https://a.aliexpress.com/\_EHxwdQM](https://a.aliexpress.com/_EHxwdQM)

---

<div class="post-metadata">

**Author:** ![JackCarterSmith](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/jackcartersmith/32/11509_2.png) [@JackCarterSmith](https://forum.clockworkpi.com/u/JackCarterSmith)\
**Post date:** [April 8, 2025, 10:16am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/2 "2025-04-08T10:16:01Z")

</div>

I wish to play with it someday but not for now.

I didn’t find if it’s better to use it with an OS or like-“that” (baremetal).  
SG2002 have a V extension, wanted to play with it for 3D acceleration!

---

<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 12, 2025, 10:13am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/3 "2025-04-12T10:13:44Z")

</div>

My board just came in inasked for headers to be soildered before shipping.

**Specification】**

Processor : SG2002

Memory : DDR2 256MB

Storage : 1x Mirco SD slot,1x SD NAND solder pad

USB : 1x Type-C for data and Power,1x USB2 solder pad

Camera : 1x 16P FPC connector (MIPI CSI 2-lane)

GPIO : up to 26 Pins available for general purpose I/O（GPIO）

Size : 21mm\*51mm

**【Features】**

Processor

SG2002 processors

Integrated CVITEK TPU for smart detection Like neural networks hardware accelerators, AI image recognition.

Supports H.264/H.265 video encoding, up to 2880x1620@20fps.

Compatible with high-definition CMOS sensors.

Programmable frequency output for sensor clock.

Comprehensive ISP features for image optimization.

Partial OpenCV library support with CV hardware acceleration.

16-bit audio codec with built-in mic input and output functions.

Flexible network configurations with 1 Ethernet PHY.

CSI-2 (MIPI serial camera)

Features a 16-pin FPC interface for 2-lane MIPI camera input.

Operates I2C, CLK, and RST signals at a 1.8V voltage level.

Ethernet

Milk-V Duo includes SG2002 chip with a 100Mbps PHY.

PHY is linked to a 5-pin solder pad.

External transformer and RJ45 socket are needed for Ethernet use.

USB

USB 2.0 compliant, backward compatible with USB 1.1.

Supports various speed modes, Host/Device functionality, and transfer protocols.

Expandable interfaces via USB Hub (up to 127 devices).

Power-saving mode, supports HID devices.

Functions as USB slave device with configurable software.

USB Type-C for storage media access.

Micro SD

SDIO0 is compatible with Secure Digital Memory (SD 3.0) protocol.

GPIO

Up to 26 GPIO pins on the MilkV-Duo 40-pin header provide access to internal peripherals such as SDIO, I2C, PWM, SPI, J-TAG, and UART.

Up to 3x I2C

Up to 5x UART

Up to 1x SDIO1

Up to 1x SPI

Up to 2x ADC

Up to 7x PWM

Up to 1x RUN

Up to 1x JTAG

Board Specifications

Single-sided PCB

Dimensions: 51×21mm

Thickness: 1mm

Type-C port located on the top edge

Dual castellated/through-hole pins around the remaining edges

Can be used as a surface mount module or in Dual Inline Package (DIP) format

40 main user pins on a 2.54mm (0.1") pitch grid with 1mm holes

Compatible with veroboard and breadboard

**【Pin Definition】**

 ![1000003151](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/c/c844ac730692468cfb978ccdd099107e7db85f2b.jpeg)  
 ![1000003152](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/f/f4cdd44366475ee9b41acd8ad8903bdc418e1a79.jpeg)  
 ![1000003153](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/8/8b222208fc7ae03063c587d42e43995fb4c98e51.jpeg)

---

<div class="post-metadata">

**Author:** ![DigitalDreams](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/digitaldreams/32/16007_2.png) [@DigitalDreams](https://forum.clockworkpi.com/u/DigitalDreams)\
**Post date:** [April 12, 2025, 2:31pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/4 "2025-04-12T14:31:34Z")

</div>

No onboard flash memory ?, how much ram onboard ? (specs are a little confusing as vary between suppliers).

---

<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 12, 2025, 4:23pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/5 "2025-04-12T16:23:56Z")

</div>

See the link at the very top thats where i bought it from.

---

<div class="post-metadata">

**Author:** ![Hatchback4](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hatchback4/32/10076_2.png) [@Hatchback4](https://forum.clockworkpi.com/u/Hatchback4)\
**Post date:** [April 12, 2025, 4:33pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/6 "2025-04-12T16:33:42Z")

</div>

No onboard flash and 256 mb of memory. One bad thing though is it has a similar pinout to the luckfox boards in that the pin on the picocalc supports audio does not support pwm.

---

<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 12, 2025, 4:56pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/7 "2025-04-12T16:56:39Z")

</div>

It has 256mb Ram on board no flash but you can solder some on.

---

<div class="post-metadata">

**Author:** ![Hatchback4](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hatchback4/32/10076_2.png) [@Hatchback4](https://forum.clockworkpi.com/u/Hatchback4)\
**Post date:** [April 12, 2025, 6:56pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/8 "2025-04-12T18:56:16Z")

</div>

The flash pad is there but none is installed. The 256 mb is RAM. See Tech specs:

> **[Milk-V](https://milkv.io/duo)**
>
> Milk-V Duo is an ultra-compact embedded development platform based on the CV1800B chip. It can run Linux and RTOS, providing a reliable, low-cost, and high-performance platform for professionals, industrial ODMs, AIoT enthusiasts, DIY hobbyists, and...

---

<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 12, 2025, 7:48pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/9 "2025-04-12T19:48:37Z")

</div>

It has the micro sd card.

---

<div class="post-metadata">

**Author:** ![JackCarterSmith](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/jackcartersmith/32/11509_2.png) [@JackCarterSmith](https://forum.clockworkpi.com/u/JackCarterSmith)\
**Post date:** [April 13, 2025, 11:19am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/10 "2025-04-13T11:19:03Z")

</div>

Just for those who are curious, they have some [PoC](https://forum.sophgo.com/t/use-opensbi-to-boot-your-own-operating-system/340/1) about using SG2002 in a baremetal “fashion” with openSBI and the Milk-V sdk.  
More details are provided in this [forum](https://www.eevblog.com/forum/microcontrollers/a-couple-questions-about-milk-v-duo-boards/msg5553475/#msg5553475) too.

---

<div class="post-metadata">

**Author:** ![hpsaturn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hpsaturn/32/8358_2.png) [@hpsaturn](https://forum.clockworkpi.com/u/hpsaturn)\
**Post date:** [July 14, 2025, 7:39pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/11 "2025-07-14T19:39:36Z")

</div>

but maybe we will able to fix that like was fixed using other pin, like is implemented here, and the audio is working on this LuckFox:

[![](https://img.youtube.com/vi/UQHswDvl3CA/maxresdefault.jpg "Picocalc Luckfox Lyra Update May") ](https://www.youtube.com/watch?v=UQHswDvl3CA&t=1332s)

Would be so good if we reach the Milk V Duo, because it has more RAM and Ethernet 😄

---

<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 21, 2025, 9:06am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/12 "2025-07-21T09:06:13Z")

</div>

[![](https://img.youtube.com/vi/V2hTLabfsEM/maxresdefault.jpg "Milk-v DUO 64 Meshtastic Gui with keyboard and mouse inpt") ](https://www.youtube.com/watch?v=V2hTLabfsEM)

[![](https://img.youtube.com/vi/GZrx2HP-tp4/maxresdefault.jpg "Milk-v DUO 256 3.5inch ILI9486 480x320 no touch working") ](https://www.youtube.com/watch?v=GZrx2HP-tp4)

---

<div class="post-metadata">

**Author:** ![hpsaturn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hpsaturn/32/8358_2.png) [@hpsaturn](https://forum.clockworkpi.com/u/hpsaturn)\
**Post date:** [July 21, 2025, 9:12am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/13 "2025-07-21T09:12:46Z")

</div>

Nice! Yes, I seen your video, some days ago. Is it running over Linux image? or is Meshtastic running like a standalone app? Can you share the code? thanks!

---

<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 21, 2025, 9:25am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/14 "2025-07-21T09:25:26Z")

</div>

Yes, modified Ubuntu image. Running native-linuux meshtaticd part of - [GitHub - meshtastic/firmware: The official firmware for Meshtastic, an open-source, off-grid mesh communication system.](https://github.com/meshtastic/firmware.git)

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

you should join the discord server for meshtastic

the process is bit involved that why instead above i ran the milk-v duo-256 in ARM64 mode to simply the install on meshtasticd

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

---

<div class="post-metadata">

**Author:** ![hpsaturn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hpsaturn/32/8358_2.png) [@hpsaturn](https://forum.clockworkpi.com/u/hpsaturn)\
**Post date:** [July 21, 2025, 9:33am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/15 "2025-07-21T09:33:03Z")

</div>

I knew the Meshtastic Project, I have a T-Deck and other LoRA devices, but I never tested the native-tft env from PlatformIO. I didn’t know that it deploy a Linux image with its Meshtastic app.

---

<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 21, 2025, 9:48am UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/16 "2025-07-21T09:48:20Z")

</div>

Yes, so the specific linux board os part is still somewhat separate.

But you have many Raspberry Pi boards also as option

Using platformio command-line pio you compile on your linux board if you are not able to install a ready made package

here for example is the duo-256 arm64 sdk changes i made to get the board kernel configure for spi etc

> **[GitHub - markbirss/duo-buildroot-sdk-v2: Milk-V Duo Official buildroot SDK V2](https://github.com/markbirss/duo-buildroot-sdk-v2)**
>
> Milk-V Duo Official buildroot SDK V2

then i mix in the armbian rootfs instead of buildroot

and compiled on the device above, but there is now already arm64 meshtastic ready build packages available here -

> **[Meshtastic on Linux-Native Devices | Meshtastic](https://meshtastic.org/docs/hardware/devices/linux-native-hardware/)**
>
> Set up and configure Meshtastic on Linux-native devices using the meshtasticd binary.

and also i have my own usb meshstick dongle

> **[GitHub - markbirss/MESHSTICK: diy CH341 USB-TO-SPI SX1262 LR1121 LoRa Meshstick](https://github.com/markbirss/MESHSTICK)**
>
> diy CH341 USB-TO-SPI SX1262 LR1121 LoRa Meshstick

---

<div class="post-metadata">

**Author:** ![hpsaturn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hpsaturn/32/8358_2.png) [@hpsaturn](https://forum.clockworkpi.com/u/hpsaturn)\
**Post date:** [July 22, 2025, 5:37pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/17 "2025-07-22T17:37:12Z")

</div>

Thanks to share this info! The question now, is it possible to add the Picocalc screen and keyboard driver like a simple PlatformIO project? I mean, like a standalone application with a simple TFT library for instance? or we would need put the drivers of Picocalc like a buildroot package? or like a overlay driver? I ask that because you have a different TFT display.

---

<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 22, 2025, 6:01pm UTC](https://forum.clockworkpi.com/t/milk-v-duo-development/16629/18 "2025-07-22T18:01:22Z")

</div>

For Ubuntu on Picocalc with Luckfox Lyra core ,I took the approach of adding  
the drivers to the kernel in the sdk.

The MilkV is not pinout compatible so that will be your next issue.
