Flashin BBB with new image I built from RC guide

Hi,

I’ve followed the guide https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RemovemicroSD/SDcard on compiling a kernel and choosing a root file system in a attempt to build a working debian 8 4.1.21 image.

When I insert the sd card into the BBB i get the heart beat LED and can access the BBB thru the serial debug console thru my dev machine.

How do I flash what I have built to the eMMC.

I tried using /opt/scripts/tools/./beaglebone-black-eMMC-flasher.sh

but I get an error:

root@arm:/opt/scripts/tools# ./beaglebone-black-eMMC-flasher.sh
Error: script halting, system unrecognized…

What am I missing here?

Kind Regards,

Hi,

I've followed the guide
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RemovemicroSD/SDcard
on compiling a kernel and choosing a root file system in a attempt to build
a working debian 8 4.1.21 image.

When I insert the sd card into the BBB i get the heart beat LED and can
access the BBB thru the serial debug console thru my dev machine.

How do I flash what I have built to the eMMC.

Scroll a little bit farther on that page, and that is explained right here:

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-eMMC

I tried using /opt/scripts/tools/./beaglebone-black-eMMC-flasher.sh

but I get an error:

root@arm:/opt/scripts/tools# ./beaglebone-black-eMMC-flasher.sh
Error: script halting, system unrecognized...

That script is not used, explanation is here:

Regards,

Yes I saw this stuff and used the

/dev/sdX options to get it all on the uSD card.

Now that it is on there and I am booted into the serial consol on the bbb running I built do I do all this again but with /mmblk0 option?

No... If you actually click on the link..

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-eMMC

It says:
eMMC

Script to copy your microSD card to eMMC: (this will need these packages
installed: initramfs-tools dosfstools rsync)
wget https://
raw.githubusercontent.com/RobertCNelson/boot-scripts/master/tools/eMMC/bbb-eMMC-flasher-eewiki-ext4.sh
chmod +x bbb-eMMC-flasher-eewiki-ext4.sh
sudo /bin/bash ./bbb-eMMC-flasher-eewiki-ext4.sh

Regards,

Doh thank you that did it

Thanks again for the hand holding.

Hi again,

Trying to flash another device with the uSD that worked great before and gettting a bunch of odd stuff out the serial debugger port, ending in cylon LEDS :confused:

c: deleted inode referenced: 6031
dules/rusha/rusha.js") failed: Input/output error (5)
rsync: re[ 176.707788] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3485: comm rsync: deleted inode referenced: 6040
adlink_stat("/opt/cloud9/
build/s[ 176.722007] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3485: comm rsync: deleted inode referenced: 6039
tandalonebuild/node_modules/rusha/rusha.sweet.js[ 176.737121] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3486: comm rsync: deleted inode referenced: 6043
“) failed: Input/output error (5)
rsync: readlink_stat(”/opt/cloud9/build/standalonebuild/node_modules/rusha/node_modules") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/rusha/Gruntfile.js") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/rusha/LICENSE") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/rusha/rusha.js.map") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/send/node_modules") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/send/lib") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/simplefunc/test") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/simplefunc/lib") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/source-map/node_modules") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/source-map/lib") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/node_modules/systemd/example") failed: Input/output error (5)
[ 182.934944] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6057
rsync: readlink_stat("/opt/cloud9/build/standalo[ 182.951614] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6051
nebuild/plugins/c9.ide.closeconfirmation") failed: Input/output [ 182.969373] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6046
error (5)
rsync: readlink_stat("/opt/cloud9/bui[ 182.985178] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6047
ld/standalonebuild/plugins/c9.ide.ace.keymaps") failed: Input/output error (5)
[ 183.003398] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6058
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.connect.favic[ 183.021934] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6055
on") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.core") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.collab") failed: Input/output error (5)
rsync: readlink_s[ 183.057445] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6060
tat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.ace") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/[ 183.085578] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6050
c9.ide.dialog.wizard") failed: Input/output error (5)
rsync: re[ 183.102634] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6059
adlink_stat("/opt/cloud9/build/standalonebuild/p[ 183.118903] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6052
lugins/c9.ide.ace.gotoline") failed: Input/outpu[ 183.134504] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6053
t error (5)
rsync: readlink_stat("/opt/cloud9/build/standaloneb[ 183.151302] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6048
uild/plugins/c9.ide.configuration") failed: Inpu[ 183.168058] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6049
t/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.ace.repl") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.ace.statusbar") failed: Input/outpu[ 183.199729] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6056
t error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.error") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/[ 183.227428] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6061
plugins/c9.ide.ace.emmet") failed: Input/output error (5)
rsync[ 183.244222] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #3391: comm rsync: deleted inode referenced: 6054
: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.behaviors") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.find.infiles") failed: Input/output error (5)
rsync: readlink_stat("/opt/cloud9/build/standalonebuild/plugins/c9.ide.ace.stripws") failed: Input/output error (5)
[ 222.435002] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8098
rsync: readlink_stat("/usr/bin/xwininfo") failed: Input/output error (5)
[ 222.467978] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8088
rsync: readlink_stat("/usr/bin/xscreensaver-text") failed: Input/output error (5)
[ 222.502905] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8089
rsync: readlink_stat("/usr/bin/xset") failed: Input/output error (5)
[ 222.540954] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8095
rsync: readlink_stat("/usr/bin/xsubpp") failed: Input/output error (5)
[ 222.572040] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8106
rsync: readlink_stat("/usr/bin/zdump") failed: Input/output error (5)
[ 222.606600] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8103
rsync: readlink_stat("/usr/bin/xzless") failed: Input/output error (5)
[ 222.642500] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8090
rsync: readlink_stat("/usr/bin/xsetmode") failed: Input/output error (5)
[ 222.670331] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8083
rsync: readlink_stat("/usr/bin/xscreensaver-command") failed: Input/output error (5)
[ 222.697848] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8099
rsync: readlink_stat("/usr/bin/xxd") failed: Input/output error (5)
[ 223.286568] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8102
rsync: readlink_stat("/usr/bin/xzgrep") failed: Input/output error (5)
[ 223.904216] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8091
rsync: readlink_stat("/usr/bin/xsetpointer") failed: Input/output error (5)
[ 224.482492] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8104
rsync: readlink_stat("/usr/bin/xzmore") failed: Input/output error (5)
[ 224.508006] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8087
rsync: readlink_stat("/usr/bin/xscreensaver-getimage-video") failed: Input/output error (5)
[ 224.537022] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8082
rsync: readlink_stat("/usr/bin/xscreensaver") failed: Input/output error (5)
[ 224.580232] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8097
rsync: readlink_stat("/usr/bin/xvinfo") failed: Input/output error (5)
[ 224.624223] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8105
rsync: readlink_stat("/usr/bin/yes") failed: Input/output error (5)
[ 224.684133] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8101
rsync: readlink_stat("/usr/bin/xzdiff") failed: Input/output error (5)
[ 224.713936] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8086
rsync: readlink_stat("/usr/bin/xscreensaver-getimage-file") failed: Input/output error (5)
[ 224.783820] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8084
rsync: readlink_stat("/usr/bin/xscreensaver-demo") failed: Input/output error (5)
[ 224.820246] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8081
rsync: readlink_stat("/usr/bin/xrefresh") failed: Input/output error (5)
[ 224.857912] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8093
rsync: readlink_stat("/usr/bin/xsetwacom") failed: Input/output error (5)
[ 224.906092] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8096
rsync: readlink_stat("/usr/bin/xvidtune") failed: Input/output error (5)
[ 224.944966] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8094
rsync: readlink_stat("/usr/bin/xstdcmap") failed: Input/output error (5)
[ 224.964793] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8085
rsync: readlink_stat("/usr/bin/xscreensaver-geti[ 224.981610] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8100
mage") failed: Input/output error (5)
rsync: readlink_stat("/usr/bin/xz") faile[ 225.000312] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8107
d: Input/output error (5)
rsync: readlink_stat("/usr/bin/zsoelim") failed: Input/output error (5)
[ 225.608124] EXT4-fs error (device mmcblk1p2): ext4_lookup:1416: inode #6776: comm rsync: deleted inode referenced: 8092
rsync: readlink_stat("/usr/bin/xsetroot") failed: Input/output error (5)
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on “/tmp/rootfs/opt/source/pru-software-support-package/examples/PRU_access_const_table/Debug/makefile”: No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.9]
rsync: connection unexpectedly closed (117763 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
writing to [/dev/mmcblk1] failed…