add boards milkv-duo-python and milkv-duo256m-python

This commit is contained in:
carbon
2023-12-22 21:11:05 +08:00
parent e7861d3a43
commit 417deac733
33 changed files with 2185 additions and 18 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
export MV_BOARD=milkv-duo-python
export MV_BOARD_CPU=cv1800b
export MV_VENDOR=milkv
export MV_BUILD_ENV=milkvsetup.sh
export MV_BOARD_LINK=cv1800b_milkv_duo_sd

View File

@ -0,0 +1,38 @@
image boot.vfat {
vfat {
label = "boot"
files = {
"fip.bin",
"rawimages/boot.sd",
}
}
size = 128M
}
image rootfs.ext4 {
ext4 {
label = "rootfs"
}
size = 768M
}
image milkv-duo-python.img {
hdimage {
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
partition empty {
partition-type-uuid = 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
size = 256M
}
}

View File

@ -0,0 +1 @@
../milkv-duo/overlay

View File

@ -0,0 +1,8 @@
#!/bin/bash
export MV_BOARD=milkv-duo256m-python
export MV_BOARD_CPU=cv1812cp
export MV_VENDOR=milkv
export MV_BUILD_ENV=milkvsetup.sh
export MV_BOARD_LINK=cv1812cp_milkv_duo256m_sd

View File

@ -0,0 +1,33 @@
image boot.vfat {
vfat {
label = "boot"
files = {
"fip.bin",
"rawimages/boot.sd",
}
}
size = 128M
}
image rootfs.ext4 {
ext4 {
label = "rootfs"
}
size = 768M
}
image milkv-duo256m-python.img {
hdimage {
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
}

View File

@ -0,0 +1 @@
../milkv-duo256m/overlay/