Browse Source

Merge pull request #50 from DominikAdamski/temp_uboot_fix_for_debian_9.5

Temporary uboot fix for debian 9.5
1.0.x
DominikAdamski 6 years ago
committed by GitHub
parent
commit
8a3bc64e2f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      bbb-convert-stage-5.sh
  2. BIN
      files/uboot_debian_9.4/MLO
  3. BIN
      files/uboot_debian_9.4/u-boot.img

6
bbb-convert-stage-5.sh

@ -225,6 +225,12 @@ install_files() {
sudo ln -fs /sbin/fw_printenv $rootfs_dir/usr/bin/fw_printenv
sudo ln -fs /sbin/fw_setenv $rootfs_dir/usr/bin/fw_setenv
#Replace U-Boot default images for Debian 9.5
if grep -q '9.5' $rootfs_dir/etc/debian_version ; then
sudo cp ${tool_dir}/files/uboot_debian_9.4/MLO ${boot_dir}/MLO
sudo cp ${tool_dir}/files/uboot_debian_9.4/u-boot.img ${boot_dir}/u-boot.img
fi
#Create links for grub
sudo ln -sf /boot/dtbs/$linux_version/am335x-boneblack.dtb $rootfs_dir/boot/dtb
sudo ln -sf /boot/vmlinuz-$linux_version $rootfs_dir/boot/kernel

BIN
files/uboot_debian_9.4/MLO

Binary file not shown.

BIN
files/uboot_debian_9.4/u-boot.img

Binary file not shown.
Loading…
Cancel
Save