Commit 38baad41 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed installation of u-boot for Terasic DE10 Standard

parent 063c0c40
......@@ -163,8 +163,8 @@ terasicde10standard: terasicde10standard-boot-cmd terasicde10standard-fw_env.con
$(MAKE) -C u-boot-2019.04 socfpga_de10_nano_defconfig
$(MAKE) -C u-boot-2019.04
mkdir /uboot
sfdisk --change-id /dev/$(ROOT_DEVICE) 1 a2
dd if=u-boot-2019.04/u-boot-with-spl.spf of=/dev/$(DISK)1
sfdisk --part-type /dev/$(ROOT_DEVICE) 1 a2
dd if=u-boot-2019.04/u-boot-with-spl.sfp of=/dev/$(DISK)1
@echo "$$BOOTCMD_TERASICDE10STANDARD" > u-boot-2019.04/boot.cmd
u-boot-2019.04/tools/mkimage -C none -A arm -T script -d u-boot-2019.04/boot.cmd /uboot/boot.scr
$(MAKE) -C u-boot-2019.04 envtools
......@@ -196,7 +196,7 @@ terasicde10standard-mender: terasicde10standard-boot-cmd-mender terasicde10stand
$(MAKE) -C u-boot-2019.04 oldconfig
$(MAKE) -C u-boot-2019.04
dd if=/dev/zero of=/dev/$(ROOT_DEVICE) bs=512 seek=1 count=49151
dd if=u-boot-2019.04/u-boot-with-spl.spf of=/dev/$(DISK)1
dd if=u-boot-2019.04/u-boot-with-spl.sfp of=/dev/$(DISK)1
@echo "$$BOOTCMD_TERASICDE10STANDARD_MENDER" > u-boot-2019.04/boot.cmd
u-boot-2019.04/tools/mkimage -C none -A arm -T script -d u-boot-2019.04/boot.cmd /uboot/boot.scr
$(MAKE) -C u-boot-2019.04 envtools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment