add device milkv-duo256m-glibc-arm64-sd

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-06-16 15:41:05 +08:00
parent 1141d4090c
commit 6899736143
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
export MV_BOARD=milkv-duo256m-glibc-arm64-sd
export MV_VENDOR=milkv
export MV_BUILD_ENV=envsetup_milkv.sh
export MV_BOARD_LINK=sg2002_milkv_duo256m_glibc_arm64_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-glibc-arm64-sd.img {
hdimage {
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
}