Happy eMMC and SDcard OS usage for Pinebook Pro Newbies...
#13
Ayufan, I think, usually uses GPT partitoning, better check
No, uboot is not in internal memory, bootrom is quite limited,
it searches, in its boot order (SPI, emmc, SD, usb-not-for-booting) for
the signature of idbloader, on the above media (3B 8C DC FC BE 9F 9D 51)
Signature (for rk3399) is 64 sectors in, this is a "raw" read
Then idbloader sets up memory, has more memory available, loads uboot,
I think it is assumed that it will be on that same media as idbloader, 8M in
To have space for this (idbloader, uboot, trust) is why 1st user partition is at 16m, 32768 sectors
The bootrom will use the 1st idbloader found, ignore all others (in its search path)
So,.... if SPI is blank, if emmc uboot area is blank, then idbloader & uboot on SD will be used
To blank,,, save mbr, dd /dev/zero to 1st-16M, restore mbr,, GPT mbr is 34 sectors
--edit--
uboot nearly always has a different search path, looking for extlinux.conf or boot.scr, for example
@localhost mrfixit-uboot]$ strings uboot.img |grep _target
boot_targets=mmc1 nvme0 usb0 mmc0 pxe dhcp ,,,,, mmc0 is emmc

In previous post, if SD partitions are deleted, can't find anything on disk it is still there, just in unknown place
(idbloader/uboot/trust) is equivalent of bios, they are loaded by "raw" reads
  Reply


Messages In This Thread
RE: Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... - by wdt - 10-08-2020, 08:30 AM
Booting from SD - by rkharris - 11-28-2020, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 0 33 Today, 06:33 AM
Last Post: Mengalef
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,738 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 276 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 671,354 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,112 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 962 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 697 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 681 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 604 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 1,336 02-07-2024, 02:12 AM
Last Post: 23Ro

Forum Jump:


Users browsing this thread: 1 Guest(s)