How to rewrite uboot to emmc
#5
(10-29-2020, 10:48 PM)wdt Wrote: >Is the manjaro-arm-flasher erasing the uboot installed on the emmc? How can I check that?
Probably, it is a complete image I would guess, mbr and uboot are there in 1st 16M
If/when you install bsp uboot, nothing is erased, the 1st 16M is UNCHANGED
The new uboot and idbloader (and trust - likely) are in /boot
so the usual dd commands (example simplified)
cd /boot ; su
dd if=idblo... of=/dev/whatever seek=64    (dd default bs=512B)
dd if=uboot... of=/dev/.....  bs=1M seek=8  (I do a little different, easier I think)
If trust,, bsp usually has, mainline not, mainline uboot.itb has trust within
dd if=trust...  of=/dev/....    bs=1M seek=12
Not sure about anyone else, but when I tried that it rendered my Pro unbootable.  I had to reflash the EMMC to get boot again.  After the freflash, it stilltakes a bit before the light goes green and I get boot, but at least it DOES boot.
Ancient teacher (Secondary Field Science/Math), Warrior (USARNG- RET SSG), and IT warrior (30+ years Coder, Network/Systems Administrator, general house geek). 
Pinebook Pro user (Debian, Manjaro)


Messages In This Thread
How to rewrite uboot to emmc - by pineitup - 10-29-2020, 06:34 AM
RE: How to rewrite uboot to emmc - by wdt - 10-29-2020, 08:33 AM
RE: How to rewrite uboot to emmc - by pineitup - 10-29-2020, 06:23 PM
RE: How to rewrite uboot to emmc - by wdt - 10-29-2020, 10:48 PM
RE: How to rewrite uboot to emmc - by wpeckham - 12-27-2020, 09:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to install Ubuntu to eMMC and to install KDE (Neon) Wizzard 66 98,745 12-22-2020, 03:05 PM
Last Post: Wizzard
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 43 53,530 07-28-2020, 03:18 PM
Last Post: SamWilts
Exclamation Flash dhivael's SPI uboot (risky) clover 51 52,997 06-20-2020, 03:24 PM
Last Post: craftkiller
  Using 2 OS images on eMMC for safe upgrades Arwen 0 2,363 06-13-2020, 01:13 PM
Last Post: Arwen
  How to boot Manjaro from NVME with uboot on eMMC as400 47 56,588 06-07-2020, 02:37 AM
Last Post: as400
  Restoring the OS using the eMMC Adapter xircledev 3 6,923 02-20-2020, 05:16 PM
Last Post: Thovthe
  (almost) upstream uboot/atf User 15997 27 30,999 02-08-2020, 10:18 PM
Last Post: Natrox

Forum Jump:


Users browsing this thread: 1 Guest(s)