From 5eba8e4b239dc5643a0e064454ba186a3b4b079a Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Sat, 19 Jan 2019 22:06:49 +0000 Subject: [PATCH] Speculative rock64 boot parameters --- src/freedombone-image-hardware-setup | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/freedombone-image-hardware-setup b/src/freedombone-image-hardware-setup index 90ec37fa7..8dfc527e6 100755 --- a/src/freedombone-image-hardware-setup +++ b/src/freedombone-image-hardware-setup @@ -183,10 +183,16 @@ arm_setup_boot() { "sun"*) { echo "rtc_sunxi"; echo "vfat"; } >> /etc/initramfs-tools/modules ;; - "rock"*) arm_arch=arm64 - cp /root/${PROJECT_NAME}/image_build/dts/rk3328-rock64.dtb /boot/dtbs - echo "vfat" >> /etc/initramfs-tools/modules - ;; + "rk3328-rock64") arm_arch=arm64 + cp /root/${PROJECT_NAME}/image_build/dts/rk3328-rock64.dtb /boot/dtbs + arm_boot_dev='bootdev=0:1' + arm_boot_device="usb \${bootdev}" + arm_loadaddr='0x80300000' + arm_initrd_addr='0x81600000' + arm_fdtaddr='0x815f0000' + arm_boot_start='usb start; ' + echo "vfat" >> /etc/initramfs-tools/modules + ;; esac if [ $arm_pack_kernel ]; then -- GitLab