Failed to flash eMMC from SD card...Using BBB-blank-debian-8.7-lxqt-4gb-armhf-2017-01-22-4gb.img

274 views
Skip to first unread message

Ankit Mishra

unread,
Feb 3, 2017, 1:10:20 PM2/3/17
to BeagleBoard
Failed with the signature-
llocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

--------------------------------------------------------------------------------
==> Formatting rootfs: /dev/mmcblk1p1 complete
==> Creating temporary rootfs directory (/tmp/rootfs)
==> Mounting /dev/mmcblk1p1 to /tmp/rootfs
[   60.322709] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)

================================================================================

================================================================================
Copying: Current rootfs to /dev/mmcblk1p1
----------------------------------------
==> rsync: / -> /tmp/rootfs
----------------------------------------
[   76.424892] EXT4-fs error (device mmcblk0p1): ext4_lookup:1583: inode #48103: comm rsync: deleted inode referenced: 57566
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/connect/node_modules/resolv.conf") failed: Structure needs cleaning (117)
[   87.915872] EXT4-fs error (device mmcblk0p1): ext4_lookup:1583: inode #50890: comm rsync: deleted inode referenced: 57574
rsync: readlink_stat("/opt/source/adafruit-beaglebone-io-python/.git/objects/d0/tmp") failed: Structure needs cleaning (117)

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
writing to [/dev/mmcblk1] failed...
==> Stopping Cylon LEDs ...
==> Setting LEDs to
/opt/scripts/tools/eMMC/functions.sh: line 385:   617 Terminated              cylon_leds

failed_Logs.txt

Robert Nelson

unread,
Feb 3, 2017, 1:17:43 PM2/3/17
to Beagle Board, ankym...@gmail.com
Are you using a 5Volt DC power supply???

in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

Enable the [mkfs_options="-c"] option and try again:

https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v3.sh#L29-L36

Regards,

--
Robert Nelson
https://rcn-ee.com/

Dennis Lee Bieber

unread,
Feb 3, 2017, 8:40:20 PM2/3/17
to beagl...@googlegroups.com
On Fri, 3 Feb 2017 12:17:07 -0600, Robert Nelson
<robert...@gmail.com> declaimed the
following:

>On Fri, Feb 3, 2017 at 11:29 AM, Ankit Mishra <ankym...@gmail.com> wrote:

>> ==> Formatting rootfs: /dev/mmcblk1p1 complete
>> ==> Creating temporary rootfs directory (/tmp/rootfs)
>> ==> Mounting /dev/mmcblk1p1 to /tmp/rootfs
<SNIP>
>> ----------------------------------------
>> [ 76.424892] EXT4-fs error (device mmcblk0p1): ext4_lookup:1583: inode
>> #48103: comm rsync: deleted inode referenced: 57566
>
>Are you using a 5Volt DC power supply???
>
>in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
>

Pardon my jumping in, but based on the device names, those (to me --
admittedly I'm not well up on Linux device/file systems) look like
corruption on the source SD card, not the destination eMMC.
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Robert Nelson

unread,
Feb 3, 2017, 8:57:44 PM2/3/17
to Beagle Board
On Fri, Feb 3, 2017 at 7:39 PM, Dennis Lee Bieber <wlf...@ix.netcom.com> wrote:
> On Fri, 3 Feb 2017 12:17:07 -0600, Robert Nelson
> <robert...@gmail.com> declaimed the
> following:
>
>>On Fri, Feb 3, 2017 at 11:29 AM, Ankit Mishra <ankym...@gmail.com> wrote:
>
>>> ==> Formatting rootfs: /dev/mmcblk1p1 complete
>>> ==> Creating temporary rootfs directory (/tmp/rootfs)
>>> ==> Mounting /dev/mmcblk1p1 to /tmp/rootfs
> <SNIP>
>>> ----------------------------------------
>>> [ 76.424892] EXT4-fs error (device mmcblk0p1): ext4_lookup:1583: inode
>>> #48103: comm rsync: deleted inode referenced: 57566
>>
>>Are you using a 5Volt DC power supply???
>>
>>in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
>>
>
> Pardon my jumping in, but based on the device names, those (to me --
> admittedly I'm not well up on Linux device/file systems) look like
> corruption on the source SD card, not the destination eMMC.

Good Catch, yes you are right. Looks like the initial microSD flash failed..
Reply all
Reply to author
Forward
0 new messages