zz-update-uimg: Don't mkimage of initrd
This commit is contained in:
parent
2c1dd008fa
commit
007a60c5ba
|
|
@ -4,9 +4,6 @@
|
|||
# Kernel ABI string
|
||||
ABI="${1}"
|
||||
|
||||
# Create U-Boot ramdisk image
|
||||
mkimage -A arm64 -T ramdisk -C none -d "/boot/initrd.img-${ABI}" "/boot/initrd.uimg-${ABI}"
|
||||
|
||||
# List of paths to search for fdtfile in
|
||||
FDT="\
|
||||
/lib/firmware/${ABI}/device-tree/\${vendor} \
|
||||
|
|
@ -19,7 +16,7 @@ FDT="\
|
|||
# Create U-Boot boot script
|
||||
cat << EOF > /boot/boot.cmd
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${kernel_addr_r} /boot/vmlinuz-${ABI}
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${ramdisk_addr_r} /boot/initrd.uimg-${ABI}
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${ramdisk_addr_r} /boot/initrd.img-${ABI}
|
||||
setexpr kernel_comp_addr_r \${ramdisk_addr_r} + \${filesize}
|
||||
setexpr kernel_comp_size 0x4000000
|
||||
setenv ramdisk_size \${filesize}
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@
|
|||
# Kernel ABI string
|
||||
ABI="${1}"
|
||||
|
||||
# Create U-Boot ramdisk image
|
||||
mkimage -A arm -T ramdisk -C none -d "/boot/initrd.img-${ABI}" "/boot/initrd.uimg-${ABI}"
|
||||
|
||||
# List of paths to search for fdtfile in
|
||||
FDT="\
|
||||
/lib/firmware/${ABI}/device-tree/\${vendor} \
|
||||
|
|
@ -19,7 +16,7 @@ FDT="\
|
|||
# Create U-Boot boot script
|
||||
cat << EOF > /boot/boot.cmd
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${kernel_addr_r} /boot/vmlinuz-${ABI}
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${ramdisk_addr_r} /boot/initrd.uimg-${ABI}
|
||||
load \${devtype} \${devnum}:\${distro_bootpart} \${ramdisk_addr_r} /boot/initrd.img-${ABI}
|
||||
setenv ramdisk_size \${filesize}
|
||||
part uuid \${devtype} \${devnum}:\${distro_bootpart} partuuid
|
||||
setenv bootargs root=PARTUUID=\${partuuid} rw rootwait
|
||||
|
|
|
|||
Loading…
Reference in New Issue