mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
meson adjust (#4461)
* onecloud: adjust partition offset * meson: odroidc1: special `write_uboot_platform` * onecloud: use 24bit u-boot logo
This commit is contained in:
@@ -7,7 +7,11 @@ BOOTCONFIG="none"
|
||||
BOOTSCRIPT="boot-onecloud.cmd:boot.cmd"
|
||||
BOOTENV_FILE="onecloud.txt"
|
||||
|
||||
BOOTSIZE="200"
|
||||
OFFSET="16"
|
||||
BOOTSIZE="256"
|
||||
BOOTFS_TYPE="fat"
|
||||
|
||||
# ROOTFS_TYPE="f2fs"
|
||||
# FIXED_IMAGE_SIZE=7456
|
||||
|
||||
BOOT_LOGO=desktop
|
||||
|
||||
@@ -23,6 +23,13 @@ case $BOARD in
|
||||
|
||||
UBOOT_TARGET_MAP=';;sd_fuse/bl1.bin.hardkernel sd_fuse/u-boot.bin'
|
||||
|
||||
write_uboot_platform() {
|
||||
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
|
||||
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
|
||||
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
|
||||
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
|
||||
}
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -49,15 +56,12 @@ case $BRANCH in
|
||||
;;
|
||||
esac
|
||||
|
||||
write_uboot_platform() {
|
||||
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
|
||||
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
|
||||
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
|
||||
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
|
||||
}
|
||||
|
||||
family_tweaks() {
|
||||
:
|
||||
case $BOARD in
|
||||
onecloud)
|
||||
cp $SRC/packages/blobs/splash/armbian-u-boot-24.bmp $SDCARD/boot/boot.bmp
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
family_tweaks_bsp() {
|
||||
|
||||
Reference in New Issue
Block a user