Hi!
A few weeks ago I had debian installed on my BeagleBoneBlack, booting from emmc, which worked fine.
Now a few days ago I had to move the board to a different location - I just disconnected power.
Since then the system is not booting from eMMC flash.
I have tried to reflash the system - Angstrom and Debian.
But both are not working after writing the eMMC (debian does not even start)
And I have even connected to the serial console to see that the emmc.sh script has finished its work and nothing mounted any more…
The current situation is that I can only boot a complete Angstrom system from SD-card with the stock Angstrom image.
From the Angstrom SD image I have partitioned the emmc the same way as the SD card (same sizes,…)
and then copied the boot partition from SD to EMMC via dd and checked checksums for the partition.
Here what I got:
`
root@beaglebone:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 3963 MB, 3963617280 bytes
4 heads, 16 sectors/track, 120960 cylinders, total 7741440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 63 144584 72261 c W95 FAT32 (LBA)
/dev/mmcblk0p2 147456 7127039 3489792 83 Linux
root@beaglebone:~# fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 1920 MB, 1920991232 bytes
4 heads, 16 sectors/track, 58624 cylinders, total 3751936 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2e79218b
Device Boot Start End Blocks Id System
/dev/mmcblk1p1 * 63 144584 72261 c W95 FAT32 (LBA)
root@beaglebone:~# md5sum /dev/mmcblk?p1
cb808e0e8fd5be6611847a377029fe9d /dev/mmcblk0p1
cb808e0e8fd5be6611847a377029fe9d /dev/mmcblk1p1
`
Then I did shut down the system, remove the SD card and power it up again.
The problem is that I see no activity on the serial console with regards to u-boot booting from emmc. I would expect the same messages as I see when when pressing boot while powering on to boot directly from SD card. Not even the repeated “C” shows up once a second, when the sd card is not “propperly” formatted with a boot partition…
I know that there is no second partition for booting the OS, but u-boot should start independently of if there is a linux partition to boot or not - for all it matters: I should be able to boot the linux from the SD card using the uboot from the emmc.
What am I missing?
Thanks,
Martin
P.s: as an additional question: how can a power outage trigger such a situation in the first place? This does not give me a lot of confidence putting it into a robot