I am looking to switch my PBP from BSP uboot to mainline since I don’t think S3 sleep will be working any longer using BSP uboot at least in newer kernels. I think I tried to do this a few months before and it messed everything up.
Let me know if I am doing this wrong, but here are the steps I plan on trying:
- Make sure I have mainline uboot-pinebookpro downloaded:
sudo pacman -S uboot-pinebookpro
- Backup then clear the first 16Mb of emmc
sudo dd if=/dev/zero of=/dev/mmcblkX bs=1024 count=16 conv=notrunc
- Then run the dd commands to flash mainline uboot to eMMC: ‘sudo dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc,fsync
sudo if=/boot/u-boot.itb of=/dev/mmcblkX seek=16384 conv=notrunc,fsync’
If feel like I am missing a step. Something about backing up and restoring MBR. Can anyone chime in on the proper way to do this?