So you booted from SD card, copied SD to eMMC, like this, I assume: `dd if=/dev/mmcblk2 of=/dev/mmcblk0` Correct? And now booting to SD gives the same bad result as booting to eMMC did previously. It sure sounds like you inadvertently copied the eMMC contents to the SD card.
If all this is correct, then re-flash the SD card with a bootable image, from another device. Note that several bootable SD images won't work when written to the eMMC. I'd copy a compressed image suitable for eMMC to the filesystem on the SD. Boot from SD, and use `mount` to verify which device you've booted from. Decompress and write your new eMMC image to the device you now think should be the eMMC.
I normally use NetBSD which doesn't use the mmcblk? nomenclature so I'm not positive what to recommend for which device is which.
09-23-2020, 06:21 PM
(This post was last modified: 09-23-2020, 09:30 PM by wdt.)
>internal eMMC was listed as mmcblk0.
Most distros are NOT consistent, why they don't follow the uboot ordering, I am not sure
(uboots numbers in order found by bootrom)
That the last paragraphs about the SPI are how to zero, that is a gigantic clue
I am amazed at the compulsion to do this, with somewhat immature firmware
Bottom line, unless you are an expert (or almost), you shouldn't do this
Maybe next year
--edit--
You should NOT dd a running system to emmc, you can rsync, exclude proc, sys, dev, run
In a non-running system they should be empty directories
Do make sure fstab and extlinux.conf are right
Better to copy image to sd or usb stick, cd to image,(as root) xzcat compressed-image |dd of=/dev/emmc bs=1M status=progress
(emmc as appropriate)
Try the Debian image for PBP. When I first got mine, for reasons I don't understand, that was the only image I could download, for which the U-boot would actually work. (Well not the only. The Chrome OS one worked too).
I seem to be able to boot into Arch Linux and can configure that way. Been a little while since I've installed Arch so I'll run through that and see if I can get it to work but for the most part I can confirm there is no actual damage to the laptop. I'll mark this as completed now since I have access to it and it can actually boot into an OS now. Thanks for all the help and suggestions.