Broken Boot
#11
Something you could try, with balena
Write the image to an USB stick (make sure stick has nothing on it that you care about)
Check stick with fdisk, 1st part should be 32768 or 62500 sectors in
Stick should be generally readable
OR
xzcat xz_image |dd of=/dev/mmcblkX bs=1M status=progress
----
My experience with armbian is 50-50 viz bootability
try original mrfixit, quite reliable
---
and, BTW, every time you put a non-bootable sd in (and try to boot)
it may need the 8s,,20s dance (with a new card in obviously, 'bad' card OUT)
With no media, you will get nothing, ever, will think device dead
  Reply
#12
(05-04-2021, 12:31 PM)wdt Wrote: Something you could try, with balena
Write the image to an USB stick (make sure stick has nothing on it that you care about)
Check stick with fdisk, 1st part should be 32768 or 62500 sectors in
Stick should be generally readable
OR
xzcat xz_image |dd of=/dev/mmcblkX bs=1M status=progress
----
My experience with armbian is 50-50 viz bootability
try original mrfixit, quite reliable
---
and, BTW, every time you put a non-bootable sd in (and try to boot)
it may need the 8s,,20s dance (with a new card in obviously, 'bad' card OUT)
With no media, you will get nothing, ever, will think device dead
Thanks. I flashed the manjaro image to a usb stick and it started at 62500, and was mounted with 2 partitions readable. 

I was looking in some other threads, and I found someone with a similar situation getting it to boot by flashing an image to emmc. Since the adapter is supposed to arrive tomorrow, I will leave it alone until then. I'll have a look at mrfixit if these other things don't work.

Edit: I decided not to wait, and flashed mrfixit onto a 64gig samsung evo select. It still did not boot. I did hold the powerbutton down until I counted to 27, since I have the back cover off, I also pressed the reset button.
  Reply
#13
I found this on the wiki. The way I read it, I need a uboot on the emmc (possibly spi flah as well), it is what defines the boot order. Even if booting from a micro sd. I don't have a uboot on the emmc, but I do have one on the nmve. I bet if I can somehow move the boot partition to the emmc , and edit extlinux.conf, it will work.



"At this time, the Pinebook Pro ships with a Manjaro + KDE build with uboot on the eMMC. Its boot order is: SD, USB, then eMMC.

(An update has been pushed for the older Debian + MATE build that improves compatibility with booting other OSs from an SD card. In order to update, fully charge the battery, establish an internet connection, click the update icon in the toolbar, and then reboot your Pinebook Pro. Please see this log for details.)

Please note that PCIe, the interface used for NVMe SSD on the Pinebook Pro, is not bootable on the RK3399 and therefore is not a part of the boot hierarchy. It is possible to run the desired OS from NVMe by pointing extlinux on the eMMC to rootfs on the SSD. This requires uboot, the Kernel image, DTB, and extlinux.conf in a /boot partition on the eMMC."
  Reply
#14
The rom on cpu boot order (to find idbloader & then uboot) is SPI, emmc, uSD, usb for emmc/SPI write
Once uboot is found, its' boot order is used, usually (varies) uSD, usb, network, nvme, emmc
An experiment for you,,, zero with fdisk a uSD (note numbers so you can restore),
NOT mrfixit because it hasn't had uboot updated, insert usb stick and uSD
Maybe the usb stick will boot
It is really odd that mrfixit did not work
Boot rom (on cpu) looks for signature of idbloader 64 sectors, raw read, no FS, in boot order
From that media, uboot is read (and ATF maybe) then uboot searches filesystems for extlinux or boot.scr,
in its' boot order
BTW, try with BOTH usb sockets, I seem to recall often only 1 works and not other, not consistently
Oh, don't try sd -> usb adapter, I've never had that work--- for booting
----
BTW, any uboot should make green light (manjaro=red,then grn) come on.. I assume you see this?
  Reply
#15
Don't do anything with the SPI flash ROM at this point. You don't need it just yet. But you won't be able to directly boot to the NVME drive without it.

And don't worry about the eMMC until you can boot from micro SD. If you can't boot from micro SD, you can't boot from anything. It isn't unheard-of to have one or more micro SD cards just quit working with the PBP. I would try another card. Flash a bootable image to it, and you should get the power LED to turn on. This is done by software (U-boot). A dark power LED is a pretty good sign that U-boot is failing. U-boot exists in an unformatted partition at the start of your micro SD. This is why correct flashing is pertinent; and why sometimes just inserting such a card into another computer can corrupt your U-boot (operating systems don't know what to do with that unformatted partition and some might do any manner of things to it at any time).
  Reply
#16
I just removed the emmc, placed it into the usb adapter, flashed manjaro onto it, now everything works as expected again.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PBP Can't Boot Up iscmob 4 318 05-11-2022, 09:14 AM
Last Post: iscmob
  Kali Linux on SD card boot wils91 5 1,058 03-08-2022, 04:39 AM
Last Post: Tazdevl
  U-Boot, video console, and visual artifacts dsimic 18 7,418 03-02-2022, 06:17 AM
Last Post: alchemist
  Very low battery (but charging) causes boot failures Phillip Bell 7 1,073 02-22-2022, 11:20 AM
Last Post: wdt
  Updated stock Manjaro, now won't boot (brick?) pineymousepad 17 3,241 02-18-2022, 02:29 PM
Last Post: jiyong
Information Buying broken Pinebook Pro AtomC3 2 917 01-29-2022, 01:29 PM
Last Post: AtomC3
  boot order straightwalker 7 2,865 12-25-2021, 09:23 AM
Last Post: alidonkaka6
  2021.10 u-boot broken on emmc clonex10100 3 1,514 12-14-2021, 04:24 PM
Last Post: jiyong
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 122 141,250 12-13-2021, 03:48 PM
Last Post: wdt
  Boot from NVME theboz1@verizon.net 2 953 10-22-2021, 07:58 PM
Last Post: theboz1@verizon.net

Forum Jump:


Users browsing this thread: 1 Guest(s)