0%

Milk-V Duo 256M - 02

Happy Chinese Dragon Year !!! Today, let's continue this SBC: Milk-V Duo 256M.

1. Some Suggestions

  • Auto resizing in order to use the full TF card). So far, I'll have to do it manually. Anyway, now I can use my full TF card as:
    1
    2
    3
    4
    5
    6
    7
    [root@milkv-duo]~# df -h
    Filesystem Size Used Available Use% Mounted on
    /dev/root 28.5G 146.0M 27.2G 1% /
    devtmpfs 83.1M 0 83.1M 0% /dev
    tmpfs 83.1M 0 83.1M 0% /dev/shm
    tmpfs 83.1M 48.0K 83.1M 0% /tmp
    tmpfs 83.1M 32.0K 83.1M 0% /run
    Without resizing, as in my previous blog Milk-V Duo 256M - 01
    1
    2
    3
    4
    5
    6
    7
    [root@milkv-duo]~# df -h
    Filesystem Size Used Available Use% Mounted on
    /dev/root 752.0M 152.6M 557.0M 22% /
    devtmpfs 83.1M 0 83.1M 0% /dev
    tmpfs 83.1M 0 83.1M 0% /dev/shm
    tmpfs 83.1M 48.0K 83.1M 0% /tmp
    tmpfs 83.1M 32.0K 83.1M 0% /run
  • Fix eth0's MAC address. For the wired connection on this particular small SBC Milk-V Duo 256M, I'd strongly recommend to use the physical MAC address for eth0, rather than a dynamic one. Whenever rebooting, Milk-V Duo 256M will change its MAC address, as well as the IP address, which is seriously NOT what I expected. Therefore, what we need to do is to modify file /etc/network/interfaces as suggested by StackExchange issue Change Mac Address permanently inside /etc/network/interfaces:
    1
    2
    3
    4
    5
    6
    auto eth0
    iface eth0 inet static
    address 192.168.1.51
    netmask 255.255.255.0
    gateway 192.168.1.1
    hwaddress ether 00:11:22:33:44:55

2. Yolo5 Example Based on TPU