Commit 33b90ff9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed placement of u-boot for AmLogic S905X

parent ed62df2f
......@@ -349,7 +349,7 @@ amlogics905x: amlogics905x-boot-cmd amlogics905x-fw_env.config
mkfs -t vfat -n UBOOT /dev/$(DISK)1
sed -i '/\/dev\/root/a \/dev\/disk\/by-label\/UBOOT \/uboot vfat defaults,sync,auto 0 0' /etc/fstab
mount /dev/$(DISK)1 /uboot
dd if=u-boot-2019.04/fip/u-boot.bin of=/dev/$(ROOT_DEVICE) conv=fsync,notrunc bs=512 skip=1
dd if=u-boot-2019.04/fip/u-boot.bin of=/dev/$(ROOT_DEVICE) conv=fsync,notrunc bs=512 seek=1
@echo "$$BOOTCMD_AMLOGICS905X" > 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
......@@ -397,7 +397,7 @@ amlogics905x-mender: amlogics905x-boot-cmd-mender amlogics905x-fw_env.config-men
cd u-boot-2019.04 && gxlimg/gxlimg -t fip --bl2 fip/bl2.bin.enc --bl30 fip/bl30_new.bin.enc --bl31 fip/bl31.img.enc --bl33 fip/bl33.bin.enc fip/u-boot.bin
mount /dev/$(DISK)1 /uboot
dd if=/dev/zero of=/dev/$(ROOT_DEVICE) bs=512 seek=1 count=49151
dd if=u-boot-2019.04/fip/u-boot.bin of=/dev/$(ROOT_DEVICE) conv=fsync,notrunc bs=512 skip=1
dd if=u-boot-2019.04/fip/u-boot.bin of=/dev/$(ROOT_DEVICE) conv=fsync,notrunc bs=512 seek=1
@echo "$$BOOTCMD_AMLOGICS905X_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