After writing debian image to uSD card, not able to boot even though S2 is down

Hi,

I am new to embedded linux.

I am trying to boot from uSD and flash eMMC.
I copied .img of debian image to sd card using
dd if=<bone-debian-10.4-lxqt-armhf-2020-05-18-4gb.img> of=/dev/sdb

Later, when I tried to boot from SD card its not booting.

I tried to run fdisk on bone-debian-10.4-lxqt-armhf-2020-05-18-4gb.img and the output is

Disk bone-debian-10.4-lxqt-armhf-2020-05-18-4gb.img: 3.53 GiB, 3774873600 bytes, 7372800 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
Disklabel type: dos
Disk identifier: 0x59d54b87

Device Boot Start End Sectors Size Id Type
bone-debian-10.4-lxqt-armhf-2020-05-18-4gb.img1 * 8192 7372799 7364608 3.5G 83 Linux

Observed only Linux partition. I don’t know does the image had boot part.

Please guide me in this.

Thanks,
Prudhvi

Hi,

I am new to embedded linux.
I am trying to boot from uSD and flash eMMC.
I copied .img of debian image to sd card using
dd if=<bone-debian-10.4-lxqt-armhf-2020-05-18-4gb.img> of=/dev/sdb

  I'd suggest downloading the appropriate version of
balenaEtcher - Flash OS images to SD cards & USB drives and using it to create the SD card.

Later, when I tried to boot from SD card its not booting.

  How old is the current eMMC image? Holding down the boot select button
has not been required since the last Wheezy (7.x) as I recall, though with
the change from kernel loaded device tree to u-boot loaded device tree
(which occurred sometime in Jessie (8.x) as I recall) it may require
flashing a new u-boot first.

  Did you already edit that image into a flasher? I'd normally wait until
it boots successfully before changing into a flasher and rebooting.

Observed only Linux partition. I don't know does the image had boot part.

  That too is normal for quite some time now. The "beginning" partition
that shows up on Windows is not real -- it's a file image mapped to a USB
gadget.

Hi,

Thanks for the info provided. I tried with balenaEtcher it worked.

Regards,
Prudhvi