This commit is contained in:
Pascal Vizeli
2018-08-24 21:50:29 +00:00
parent 9b170812d6
commit 74ff13e25e
12 changed files with 148 additions and 111 deletions

View File

@@ -27,10 +27,13 @@ rm -f $BINARIES_DIR/u-boot-spl-dtb.img
mkimage -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
cat $BINARIES_DIR/u-boot-dtb.bin >> $BINARIES_DIR/u-boot-spl-dtb.img
# Create other layers
prepare_disk_image
create_spl_image u-boot-spl-dtb.img 64
# SPL
create_spl_image
create_disk_image 2
dd if=$BINARIES_DIR/u-boot-spl-dtb.img of=$BINARIES_DIR/spl.img conv=notrunc bs=512 seek=64
# Disk
create_disk_image
convert_disk_image_gz
create_ota_update

View File

@@ -32,10 +32,12 @@ function make_bootable() {
dd if=${UBOOT_GXBB} of=${hdd_img} conv=notrunc bs=512 seek=97
}
# Create other layers
prepare_disk_image
# SPL
create_spl_image
create_disk_mbr 2
make_bootable
# Disk
create_disk_image
convert_disk_image_gz
create_ota_update

View File

@@ -22,11 +22,10 @@ cp ${BR2_EXTERNAL_HASSOS_PATH}/misc/barebox-state-efi.dtb ${BOOT_DATA}/EFI/bareb
echo "console=tty1" > ${BOOT_DATA}/cmdline.txt
# Create other layers
prepare_disk_image
# Create disk images
create_disk_image 6
create_disk_image
# Make VM
convert_disk_image_vmdk
convert_disk_image_gz vmdk

View File

@@ -40,10 +40,8 @@ if [ "${BOARD_ID}" == "rpi3-64" ]; then
echo "arm_64bit=1" >> ${BOOT_DATA}/config.txt
fi
# Create other layers
prepare_disk_image
create_disk_image 2
# Disk
create_disk_image
convert_disk_image_gz
# OTA