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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
0 deletions
-
bbb-convert-stage-5.sh
-
BIN
files/uboot_debian_9.4/MLO
-
BIN
files/uboot_debian_9.4/u-boot.img
|
|
@ -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 |
|
|
|