Jump to content

yo8aiv

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    yo8aiv reacted to ls819011 in Why recent images for Orange Pi Plus / Plus 2 does not boot?   
    I was able to boot my Orange Pi Plus 2 using Armbian 22.11.1 Jammy but only after replacing boot loader with boot loader from working image 22.08.1.

    Here is a procedure of replacing boot loader:

    1) Get root privilegies, make directory for doing a job and change working directory:
    sudo -i mkdir <whatever_you_want> cd <whatever_you_want>  
    2) Download recent working image, unpack it, save boot loader and remove image:
    wget https://archive.armbian.com/orangepiplus/archive/Armbian_22.08.1_Orangepiplus_jammy_current_5.15.63.img.xz unxz -d Armbian_22.08.1_Orangepiplus_jammy_current_5.15.63.img.xz dd if=Armbian_22.08.1_Orangepiplus_jammy_current_5.15.63.img of=armbian_bootloader.bin bs=512 count=8192 rm Armbian_22.08.1_Orangepiplus_jammy_current_5.15.63.img  
    3) Download recent non-working image, unpack it, associate image with loop device:
    wget https://dl.armbian.com/orangepiplus/archive/Armbian_22.11.1_Orangepiplus_jammy_current_5.15.80.img.xz unxz -d Armbian_22.11.1_Orangepiplus_jammy_current_5.15.80.img.xz losetup -P -f Armbian_22.11.1_Orangepiplus_jammy_current_5.15.80.img  
    4) You can run losetup command without parameters to see loop device which image is associated with.
     
    5) Backup image partition table, replace boot loader, restore partition table, remove loop device, compress image (replace "loop#" with actual device name):
    sfdisk --dump /dev/loop# >partition_table_backup.txt dd if=armbian_bootloader.bin of=/dev/loop# bs=512 count=8192 sfdisk /dev/loop# <partition_table_backup.txt losetup -d /dev/loop# unxz -z Armbian_22.11.1_Orangepiplus_jammy_current_5.15.80.img  
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines