I'm guessing this was on x86?
So what OS and what version and
what version of qemu-arm-static
qemu-arm-static -version
I'm not 100% sure of this is qemu to blame or the network went down..
BTW: due to issues with qemu across the board, I only run this script
on native arm hardware (Debian Jessie)..
For me.. Sometimes this version works..
voodoo@work-e6400:~$ qemu-arm-static -version
qemu-arm version 1.7.0 (Debian 1.7.0+dfsg-2), Copyright (c) 2003-2008
Fabrice Bellard
depending on mode the git calls just fail..
>> I'm not 100% sure of this is qemu to blame or the network went down..
>>
>> BTW: due to issues with qemu across the board, I only run this script
>> on native arm hardware (Debian Jessie)..
btw, this should help the script atleast complete on totaly failure
qemu/git failure..
https://github.com/beagleboard/image-builder/commit/7e308e293e6d524e00406590a8cefc57d2173115
Just copy it via any means, rsync/apache/etc.
When you run ./beagleboard.org_image.sh, your final image "base" image
will be under the deploy directory.
You'll also see a "ship.sh" script, this created the final 3 images i
uploaded to here:
http://rcn-ee.net/deb/testing/2014-01-10/
Normally i copy these 2 files (ship.sh/debian*-.tar) to an x86 and
then run ./ship.sh as the xz compression takes a lot of resources
before uploading..
How do I use this link to update the script? I'm quite new to git.
I think this was the real issue..
https://github.com/beagleboard/image-builder/commit/95f61a4c3c050492c252152f7fff1379c4aa50b4
Running a full rerun right now and so far it looks good..
Humm, i thought we fixed that.. what kernel version on your BBB?
Humm, honestly I'm not sure on the "minimum" spec's. I really don't
mess around with the script, using a quad A9 with 2GB of ram and a
fast sata drive..
Just started a fresh run right now, so i'll get those numbers..
No on restarting..
But if you build alot, look at setting up "apt-cacher-ng" on a local server..
then just set the apt-proxy variable
like: https://github.com/beagleboard/image-builder/blob/master/host/rcn-ee-host.sh#L12
Then on the 2nd run every is gotten from the local cache server...
When you run ./beagleboard.org_image.sh, your final image "base" image
will be under the deploy directory.
You'll also see a "ship.sh" script, this created the final 3 images i
uploaded to here:
http://rcn-ee.net/deb/testing/2014-01-10/
Normally i copy these 2 files (ship.sh/debian*-.tar) to an x86 and
then run ./ship.sh as the xz compression takes a lot of resources
before uploading..
BBB-eMMC-flasher-deb..> 10-Jan-2014 10:52 358M bone-debian-7.3-2014..> 10-Jan-2014 10:54 358M debian-7.3-console-a..> 10-Jan-2014 10:36 302M
When my PC was done I ran the ship.sh script in the deploy directory. When I look at the files I see the following:dennis@dennis-VirtualBox:~/BBB/image-builder/deploy$ ls -hltotal 3.1G-rw-r--r-- 1 root root 1.2G Jan 15 09:02 armhf-rootfs-debian-wheezy-2014-01-14-src.tar-rw-r--r-- 1 root root 1.7G Jan 15 09:46 BBB-eMMC-flasher-debian-7.3-2014-01-14-2gb.img-rw-r--r-- 1 dennis dennis 254K Jan 15 09:38 BBB-eMMC-flasher-debian-7.3-2014-01-14-2gb.img.xz-rw-r--r-- 1 dennis dennis 362M Jan 15 09:48 bone-debian-7.3-2014-01-14-4gb.img.xz-rw-r--r-- 1 dennis dennis 300M Jan 15 09:05 debian-7.3-lxde-armhf-2014-01-14.tar.xz-rwxr-xr-x 1 dennis dennis 689 Jan 15 09:05 ship.sh
It looks like xz just died, it should remove
"BBB-eMMC-flasher-debian-7.3-2014-01-14-2gb.img" when done..
I changed that this week, seemed kinda silly calling it "console" when
obviously an 'lxde' image..
> Where does the armhf... file come from? I tried tracing through the build
> scripts, but I couldn't see where it was created.
The "armhf" is the name of the debian port we are using..
https://wiki.debian.org/ArmHardFloatPort
This will work around that.. ;)
https://github.com/beagleboard/image-builder/commit/d856d07c209f6af4022c95fd8fecf9d1f86514c6
Oh that, it gets dumped out here:
https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L719
just un-comment the "chroot_ENABLE_DEB_SRC=enable" line..
It serves only one purpose. If someone was to ask you.
Do you have the source to package xyz which was installed in release_xyz?
You'd be able to give it to them..
It's just a tar file with the source package for everything that was installed.
how about just plain old:
sudo dd if=./bone-debian-7.3-2014-01-14-4gb.img of=/dev/sdd
> dennis@dennis-VirtualBox:~$ cat /sys/block/sdd/size
> 7626752
>
> I believe this is units of 512B blocks. This corresponds to 3.904 GB or
> 3.637 GiB.
>
> The image file size is:
>
> root@dennis-VirtualBox:/home/dennis/BBB/image-builder/deploy# ls -l
> bone-debian-7.3-2014-01-14-4gb.img
> -rw-r--r-- 1 dennis dennis 3932160000 Jan 15 12:26
> bone-debian-7.3-2014-01-14-4gb.img
>
> This size is 3.932 GB or 3.662 GiB (i.e. the 3.7GB reported earlier).
Other than the fact i HATE debugging VMware/VirtualBox with a
passion.. What brand are these 4GB microSD cards?
The magic number I've been using is 3750, which is working on
SanDisk/Kingston/Samsung 4GB
https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L1540
> I know that the armhf.com images are 2 GB. These can be copied to a larger
> SD card and then fdisk is used to resize the second partition to fill the SD
> card, and finally the filesystem is resized to match the new partition size.
> This seems like a better approach than arbitrarily reducing the image size
> to fit on undersized SD cards, though it is more complicated.
If you want a 2Gb image, pass the "--img" option vs the "img-4gb"
option to setup_sdcard.sh..
Okay, just dropped it to 3700..
https://github.com/beagleboard/image-builder/commit/b6288e9ebbe3a688b4c9623ce3c94bfdb9e5e305
What i'd really like to see is a script that can be run on target to
automatically re-size it, even on bootup...
Because, if your already running linux, instead of resizing the *.img
for your microSD, you can just already call "--mmc /dev/sdX" with
setup_sdcard.sh and it'll auto partition your microSD using all the
available space.
Of course the "--img" option allows you to easily share a completed
image that doesn't need network access to pull in the extra bits
setup_sdcard.sh..