Jump to content

svts

Members
  • Posts

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    svts got a reaction from znoxx in Armbian for OrangePi PC2, AllWinner H5   
    So the problem was solved!
    sed -i -e '1imw.l 0x01C20020 0x80101810\' /boot/boot.cmd mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr The reason of crashes was DRAM PLL value which seems too high for the boards I have.
    Default DRAM_PLL value set by u-boot 2017.05+ is 624MHz. It seems not all board support this value.
    I changed it to 600MHz by setting 0x01c20020 register to 0x1810 value (instead of 0x1910 set by u-boot) and there's no any crash anymore.
     
    The script adds "mw.l 0x01C20020 0x80101810" line to boot.cmd and then compiles boot.scr.
    After that u-boot will change DRAM_PLL value to a bit lower one to avoid crashes.
     
    Thanks everybody who helped me to find a solution.
    Special thanks to @znoxx for testing and logging :)
     
  2. Like
    svts got a reaction from guidol in Armbian for OrangePi PC2, AllWinner H5   
    So the problem was solved!
    sed -i -e '1imw.l 0x01C20020 0x80101810\' /boot/boot.cmd mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr The reason of crashes was DRAM PLL value which seems too high for the boards I have.
    Default DRAM_PLL value set by u-boot 2017.05+ is 624MHz. It seems not all board support this value.
    I changed it to 600MHz by setting 0x01c20020 register to 0x1810 value (instead of 0x1910 set by u-boot) and there's no any crash anymore.
     
    The script adds "mw.l 0x01C20020 0x80101810" line to boot.cmd and then compiles boot.scr.
    After that u-boot will change DRAM_PLL value to a bit lower one to avoid crashes.
     
    Thanks everybody who helped me to find a solution.
    Special thanks to @znoxx for testing and logging :)
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines