0
Chaton Pascal

How to update u-boot on EMMC (orangepi 3)

Recommended Posts

Hi,

 

Perhaps it is documented elsewhere but I could not find a direct solution after googling few minutes. My u-boot partition was stuck at the same version on the nightly. I needed to fix the reboot issue. I've tried few things like apt upgrade or direct dpkg -i... 

 

Anyway, this is what I did on a EMMC installation (/dev/mmcblk2) after I've built and download my own version of the package:

dpkg -i ./linux-u-boot-dev-orangepi3_5.86_arm64.deb
cd /usr/lib/linux-u-boot-dev-orangepi3_5.86_arm64
cat sunxi-spl.bin u-boot.itb > u-boot-sunxi-with-spl.bin
dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1024 seek=8 
reboot

I'm my case I had to unplug it and replug...  (broken reboot). The new version is now installed : U-Boot 2019.04-armbian (May 11 2019 - 08:05:18 -0400)

Reboot works, and now it has a fixed mac addr (new feature). 


 

Share this post


Link to post
Share on other sites

All boards have the same procedure for updating u-boot, but we are behind with updating documentation ...

 

armbian-config -> system -> install to eMMC/USB/... -> "Update U-boot" 

Share this post


Link to post
Share on other sites
0