Giter Club home page Giter Club logo

armstrap's People

Contributors

eddybeaupre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

armstrap's Issues

Filesystem issue when writing CubieBoard image on sd card

Hi

I have successfully build the full cubieboard image but i am having a non working sd card when going with -d option.

Looking at the logs, u-boot is trying to ext2load stuff but the card has been formatted in ext4. Changing ext4 by ext2 in BUILD_DISK_LAYOUT=("1:/:ext4:-1") in file boards/CubieBoard/config.sh is just making things working like a charm.

Should that not be the default then or am i missing something?

Wi-Fi Firmware files

Hello Eddy,

I discovered another issue. The Ubuntu variant of armStrap does not contain Wi-Fi drivers. When I try to install the linux-firmware package, I end up with:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-firmware
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22.4 MB of archives.
After this operation, 41.7 MB of additional disk space will be used.
(Reading database ... 77456 files and directories currently installed.)
Unpacking linux-firmware (from .../linux-firmware_1.106_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-firmware_1.106_all.deb (--unpack):
trying to overwrite '/lib/firmware/yam/9600.bin', which is also in package sunxi-3.4 3.4.43+
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware_1.106_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Maybe you can somehow include the firmware files for Wi-Fi as is in, e.g., the other distros?

Greetz!

** File not found boot/uImage **

This is probably several commits behind. I'll update.

No obvious errors at compile time but ...

@
U-Boot SPL 2013.04-07297-gc8f265c (Jul 14 2013 - 03:35:02)
Board: Cubieboard2
DRAM: 1024MB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
SUNXI SD/MMC: 0

U-Boot 2013.04-07297-gc8f265c (Jul 14 2013 - 03:35:02) Allwinner Technology

CPU: Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
** Unrecognized filesystem type **
** File not found boot/uEnv.txt **
** File not found uEnv.txt **
** Unrecognized filesystem type **
337 bytes read in 20 ms (15.6 KiB/s)
Jumping to boot.scr

Executing script at 44000000

45272 bytes read in 28 ms (1.5 MiB/s)
** File not found boot/uImage **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
45272 bytes read in 28 ms (1.5 MiB/s)
** File not found /boot/uImage **
** Unrecognized filesystem type **
** File not found /script.bin **
sun7i#

Bootable SD

Hello Eddy,

first of all a big thumbsup for your great project. I like this idea of creating a system from scratch a lot. Great job!

One question: when I've crated an image with armStrap, I tried to transfer it to my sd card with

dd if=image.img of=/dev/disk3 bs=1m

on a Mac, as I do with other images as well. Unfortunately, it seems to create only one partition with the system on the SD and thus Cubieboard (1) does not boot the system but starts from nand.

Could you please enhance the README file with information, how one can create a fully bootable SD card? Are the kernel headers included in the system, so I can later compile e.g. Wifi card drivers?

Cheers
Antares

Create debian stable image

hi,
sorry for my bad englisch.

after creating debian stable image for Cubieboard2 not booting.

File not found /boot/script.bin

debian jessie booting fine !

switch for the environment please?

Wotcher,
Enhancement request please: Could we have easier access the target rootfs location i.e. a command switch to retarget the root which is otherwise done via a full run by changing the line in the board config.sh BUILD_ROOT_DEV="/dev/mmcblk0p1". I still haven't managed to work out how to modify it post build. Cheers.

Regards,
Francis.

Cubieboard2 bootloader problem

Hello,
I tried to make image for Cubieboard2 - kernel3.4. The image is made just fine, I don't see any problem in the log. But when I copy the image to SD card, CubieBoard2 won't boot from it.
Here is image build log from armStrap: http://pastebin.com/jkD9YTAH
and here is output from tty console after power up: http://pastebin.com/edBCFJpY

Imho it could be bootloader problem, there is not mentioned any U-Boot bootloader in tty output...
When boot from SD card fails, it tries to boot from NAND with default android - that's the second part of tty output.

ArmStrap was called by ./armStrap.sh -b CubieBoard2 -V 3.4 -C default -s 4096 -n "10.115.252.253 255.255.255.240 10.115.252.254"
and the image was then written to SD card with
dd if=CubieBoard2-wheezy_CubieDebian-130907_170026.img of=/dev/mmcblk0

Nothing special really, I used armStrap about two moths ago and this worked for me...

I'll be glad for any help with tracking this issue.

Thank you.

Debian Armel

Is it possible you add support for debian armel, soft float?

Create debian stable image

hi,
sorry after creating debian stable image for Cubieboard2 not booting.

not found /boot/script.bin and uImage** file

debian jessie build and booting OK.

jobit

How to compile and integrate Kernel

Hello Eddy,

thanks for your effort in this project. I'm just giving it another try.

One question: how can I compile the kernel myself and integrate it into the image?

When I call armstrap with K and I parameters, I get to menuconfig and a kernel is compiled, but no image is built for the SDCARD.

Cheers
-A

Update README to use "image" instead of "file" for Output

The sample from the README:

[Output]
file = armStrap.img
size = 2048

But file = armStrap.img is ignored and device = /dev/mmcblk0 is used instead.

Turns out the documentation is outdated, the correct key to use is image:

[Output]
image = armStrap.img
size = 2048

Cubieboard2 Kernel 3.3 build fail

github not clone the kernel

[13/09/01 21:14:59 kBuilder] Kernel Builder
[13/09/01 21:14:59 kernelBuilder] ----------------------------------------
[13/09/01 21:14:59 kernelBuilder] - Board : cubieboard2
[13/09/01 21:14:59 kernelBuilder] - Type : cubieboard2
[13/09/01 21:14:59 kernelBuilder] - Kernel : 3.3
[13/09/01 21:14:59 kernelBuilder] - Configuration : desktop
[13/09/01 21:14:59 kernelBuilder] ----------------------------------------
[13/09/01 21:14:59 gitClone] Cloning linux-sunxi-3.3 (branch sunxi-3.3-cubieboard2)
[13/09/01 21:17:38 kernelBuilder] Configuring for cubieboard2 (cubieboard2-desktop)
[13/09/01 21:17:38 kernelBuilder] Cleaning Kernel source directory
[13/09/01 21:17:38 checkStatus] Aborting: Cannot clean kernel source directory.

Ubuntu Cubie2 build fails checkStatus] losetup exit with status 1

Wotcher,
When building for Cubie2 obtain checkStatus failure (fails similarly when image or SDcard). Cheers.

[13/07/07 21:44:14 initBuild] Reading /media/armStrap/armStrap/boards/CubieBoard2/config.sh
[13/07/07 21:44:14 initBuild] Reading /media/armStrap/armStrap/boards/CubieBoard2/init.sh
[13/07/07 21:44:14 initBuild] Reading /media/armStrap/armStrap/boards/CubieBoard2/build.sh
[13/07/07 21:44:19 init] CubieBoard2 Builder initializing
[13/07/07 21:44:19 mkImage] Creating image cubie4.img, size 2048MB
[13/07/07-21:44:19] mkImage : cubie4.img exist
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 7.87593 s, 273 MB/s
[13/07/07 21:44:31 partSync] Flush file system buffers
[13/07/07 21:44:31 partSync] Inform the OS of partition table changes on
[13/07/07 21:44:35 loopImg] Attaching cubie4.img to loop device
[13/07/07 21:44:35 partSync] Flush file system buffers
[13/07/07 21:44:35 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:44:35 partDevice] Creating new MSDOS label on /dev/loop0
[13/07/07 21:44:35 partDevice] Creating a partition using remaining free space (ext4)
[13/07/07 21:44:35 partSync] Flush file system buffers
[13/07/07 21:44:35 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:44:35 uloopImg] Detaching /dev/loop0 from loop device
[13/07/07 21:44:35 partSync] Flush file system buffers
[13/07/07 21:44:35 partSync] Inform the OS of partition table changes on /dev/loop0
Warning: Error fsyncing/closing /dev/loop0: Input/output error
[13/07/07 21:44:35 mapImg] Mapping cubie4.img to loop device
[13/07/07 21:44:35 partSync] Flush file system buffers
[13/07/07 21:44:35 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:44:35 fmtParts] Formatting /dev/mapper/loop0p1 (ext4)
mke2fs 1.42 (29-Nov-2011)
Discarding device blocks: 4096/524032������������� �������������done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524032 blocks
26201 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: 0/16����� 1/16����� 2/16����� 3/16����� 4/16����� 5/16����� 6/16����� 7/16����� 8/16����� 9/16�����10/16�����11/16�����12/16�����13/16�����14/16�����15/16����� �����done
Writing inode tables: 0/16����� 1/16����� 2/16����� 3/16����� 4/16����� 5/16����� 6/16����� 7/16����� 8/16����� 9/16�����10/16�����11/16�����12/16�����13/16�����14/16�����15/16����� �����done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 0/16����� 1/16����� 2/16����� 3/16����� 4/16����� 5/16����� 6/16����� 7/16����� 8/16����� 9/16�����10/16�����11/16�����12/16�����13/16�����14/16�����15/16����� �����done

[13/07/07 21:44:36 partSync] Flush file system buffers
[13/07/07 21:44:36 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:44:36 mountParts] Mounting /dev/mapper/loop0p1 on /media/armStrap/armStrap/mnt/
[13/07/07 21:44:36 partSync] Flush file system buffers
[13/07/07 21:44:36 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:44:36 bootStrap] Fetching and extracting ubuntu-13.04-armv7l-hf.txz
[13/07/07 21:45:40 buildRoot] Configuring /etc/hostname
[13/07/07 21:45:40 disableServices] Disabling services startup in mnt.
[13/07/07 21:45:40 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:45:40 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:45:40 chrootUpgrade] Updating packages in mnt
qemu: Unsupported syscall: 374
Hit http://ports.ubuntu.com raring Release.gpg
Hit http://ports.ubuntu.com raring-updates Release.gpg
Hit http://ports.ubuntu.com raring-backports Release.gpg
Hit http://ports.ubuntu.com raring-security Release.gpg
Hit http://ports.ubuntu.com raring Release
Hit http://ports.ubuntu.com raring-updates Release
Hit http://ports.ubuntu.com raring-backports Release
Hit http://ports.ubuntu.com raring-security Release
Hit http://ports.ubuntu.com raring/main Sources
Hit http://ports.ubuntu.com raring/restricted Sources
Hit http://ports.ubuntu.com raring/universe Sources
Hit http://ports.ubuntu.com raring/main armhf Packages
Hit http://ports.ubuntu.com raring/restricted armhf Packages
Hit http://ports.ubuntu.com raring/universe armhf Packages
Hit http://ports.ubuntu.com raring/main Translation-en
Hit http://ports.ubuntu.com raring/restricted Translation-en
Hit http://ports.ubuntu.com raring/universe Translation-en
Hit http://ports.ubuntu.com raring-updates/main Sources
Hit http://ports.ubuntu.com raring-updates/restricted Sources
Hit http://ports.ubuntu.com raring-updates/universe Sources
Hit http://ports.ubuntu.com raring-updates/main armhf Packages
Hit http://ports.ubuntu.com raring-updates/restricted armhf Packages
Hit http://ports.ubuntu.com raring-updates/universe armhf Packages
Hit http://ports.ubuntu.com raring-updates/main Translation-en
Hit http://ports.ubuntu.com raring-updates/restricted Translation-en
Hit http://ports.ubuntu.com raring-updates/universe Translation-en
Hit http://ports.ubuntu.com raring-backports/main Sources
Hit http://ports.ubuntu.com raring-backports/restricted Sources
Hit http://ports.ubuntu.com raring-backports/main armhf Packages
Hit http://ports.ubuntu.com raring-backports/restricted armhf Packages
Hit http://ports.ubuntu.com raring-backports/main Translation-en
Hit http://ports.ubuntu.com raring-backports/restricted Translation-en
Ign http://ports.ubuntu.com raring/main Translation-en_US
Ign http://ports.ubuntu.com raring/restricted Translation-en_US
Ign http://ports.ubuntu.com raring/universe Translation-en_US
Hit http://ports.ubuntu.com raring-security/main Sources
Hit http://ports.ubuntu.com raring-security/restricted Sources
Hit http://ports.ubuntu.com raring-security/universe Sources
Hit http://ports.ubuntu.com raring-security/multiverse Sources
Hit http://ports.ubuntu.com raring-security/main armhf Packages
Hit http://ports.ubuntu.com raring-security/restricted armhf Packages
Hit http://ports.ubuntu.com raring-security/universe armhf Packages
Hit http://ports.ubuntu.com raring-security/multiverse armhf Packages
Hit http://ports.ubuntu.com raring-security/main Translation-en
Hit http://ports.ubuntu.com raring-security/multiverse Translation-en
Hit http://ports.ubuntu.com raring-security/restricted Translation-en
Hit http://ports.ubuntu.com raring-security/universe Translation-en
Ign http://ports.ubuntu.com raring-updates/main Translation-en_US
Ign http://ports.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-updates/universe Translation-en_US
Ign http://ports.ubuntu.com raring-backports/main Translation-en_US
Ign http://ports.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-security/main Translation-en_US
Ign http://ports.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://ports.ubuntu.com raring-security/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-security/universe Translation-en_US
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[13/07/07 21:46:23 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:46:23 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:46:23 enableServices] Enabling services startup in mnt.
[13/07/07 21:46:23 disableServices] Disabling services startup in mnt.
[13/07/07 21:46:23 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:46:23 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:46:23 chrootInstall] Installing packages in mnt
Reading package lists...
Building dependency tree...
Reading state information...
binfmt-support is already the newest version.
build-essential is already the newest version.
dosfstools is already the newest version.
git is already the newest version.
libncurses5-dev is already the newest version.
libusb-1.0-0 is already the newest version.
libusb-1.0-0-dev is already the newest version.
ntp is already the newest version.
parted is already the newest version.
pkg-config is already the newest version.
ssh is already the newest version.
u-boot-tools is already the newest version.
nvi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[13/07/07 21:46:29 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:46:29 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:46:29 enableServices] Enabling services startup in mnt.
[13/07/07 21:46:29 disableServices] Disabling services startup in mnt.
[13/07/07 21:46:29 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:46:29 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:46:29 chrootReconfig] Reconfiguring packages tzdata in mnt
[13/07/07 21:46:41 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:46:41 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:46:41 enableServices] Enabling services startup in mnt.
[13/07/07 21:46:41 disableServices] Disabling services startup in mnt.
[13/07/07 21:46:41 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:46:41 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:46:41 chrootDPKG] Installing package sunxi-tools.deb in mnt
Selecting previously unselected package sunxi-tools.
(Reading database ... 30232 files and directories currently installed.)
Unpacking sunxi-tools (from /DPKG.0YM5SQ/sunxi-tools.deb) ...
Setting up sunxi-tools (1.0) ...
Processing triggers for man-db ...
[13/07/07 21:46:45 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:46:45 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:46:45 enableServices] Enabling services startup in mnt.
[13/07/07 21:46:45 disableServices] Disabling services startup in mnt.
[13/07/07 21:46:45 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:46:45 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:46:45 chrootReconfig] Configuring root password in mnt
[13/07/07 21:46:45 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:46:45 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:46:45 enableServices] Enabling services startup in mnt.
[13/07/07 21:46:45 addTTY] Configuring terminal ttyS0 for runlevels 2345 at 115200 (vt100)
[13/07/07 21:46:45 initFSTab] Initializing fstab
[13/07/07 21:46:45 addFSTab] Device /dev/root will be mount as /
[13/07/07 21:46:45 addModule] Configuring kernel module
[13/07/07 21:46:45 addIface] Configuring interface eth0
[13/07/07 21:46:45 addIface] IP address : 192.168.0.4/255.255.255.0, default gateway 192.168.0.1
[13/07/07 21:46:45 installLinux] Downloading install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script to mnt
--2013-07-07 21:46:45-- http://armstrap.vls.beaupre.biz/kernel/cubieboard2/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh
Resolving armstrap.vls.beaupre.biz (armstrap.vls.beaupre.biz)... 184.171.241.167
Connecting to armstrap.vls.beaupre.biz (armstrap.vls.beaupre.biz)|184.171.241.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 935 [text/x-sh]
Saving to: `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh'

 0K                                                       100% 43.5M=0s

2013-07-07 21:46:46 (43.5 MB/s) - `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh' saved [935/935]

[13/07/07 21:46:46 disableServices] Disabling services startup in mnt.
[13/07/07 21:46:46 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/07 21:46:46 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/07 21:46:46 installLinux] Executing install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script in mnt
gpg: directory /root/.gnupg' created gpg: new configuration file/root/.gnupg/gpg.conf' created
gpg: WARNING: options in /root/.gnupg/gpg.conf' are not yet active during this run gpg: keyring/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key A99BC726 from hkp server pgpkeys.mit.edu
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key A99BC726: public key "Eddy Beaupre (armStrap) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
qemu: Unsupported syscall: 374
qemu: Unsupported syscall: 374
Hit http://ports.ubuntu.com raring Release.gpg
Hit http://ports.ubuntu.com raring-updates Release.gpg
Hit http://ports.ubuntu.com raring-backports Release.gpg
Hit http://ports.ubuntu.com raring-security Release.gpg
Hit http://ports.ubuntu.com raring Release
Hit http://ports.ubuntu.com raring-updates Release
Hit http://ports.ubuntu.com raring-backports Release
Hit http://ports.ubuntu.com raring-security Release
Get:1 http://packages.vls.beaupre.biz cubieboard2 Release.gpg [836 B]
Hit http://ports.ubuntu.com raring/main Sources
Get:2 http://packages.vls.beaupre.biz cubieboard2 Release [1,584 B]
Hit http://ports.ubuntu.com raring/restricted Sources
Hit http://ports.ubuntu.com raring/universe Sources
Hit http://ports.ubuntu.com raring/main armhf Packages
Hit http://ports.ubuntu.com raring/restricted armhf Packages
Hit http://ports.ubuntu.com raring/universe armhf Packages
Hit http://ports.ubuntu.com raring/main Translation-en
Hit http://ports.ubuntu.com raring/restricted Translation-en
Hit http://ports.ubuntu.com raring/universe Translation-en
Hit http://ports.ubuntu.com raring-updates/main Sources
Hit http://ports.ubuntu.com raring-updates/restricted Sources
Hit http://ports.ubuntu.com raring-updates/universe Sources
Hit http://ports.ubuntu.com raring-updates/main armhf Packages
Hit http://ports.ubuntu.com raring-updates/restricted armhf Packages
Hit http://ports.ubuntu.com raring-updates/universe armhf Packages
Hit http://ports.ubuntu.com raring-updates/main Translation-en
Hit http://ports.ubuntu.com raring-updates/restricted Translation-en
Hit http://ports.ubuntu.com raring-updates/universe Translation-en
Hit http://ports.ubuntu.com raring-backports/main Sources
Hit http://ports.ubuntu.com raring-backports/restricted Sources
Hit http://ports.ubuntu.com raring-backports/main armhf Packages
Hit http://ports.ubuntu.com raring-backports/restricted armhf Packages
Hit http://ports.ubuntu.com raring-backports/main Translation-en
Hit http://ports.ubuntu.com raring-backports/restricted Translation-en
Ign http://ports.ubuntu.com raring/main Translation-en_US
Ign http://ports.ubuntu.com raring/restricted Translation-en_US
Ign http://ports.ubuntu.com raring/universe Translation-en_US
Hit http://ports.ubuntu.com raring-security/main Sources
Hit http://ports.ubuntu.com raring-security/restricted Sources
Hit http://ports.ubuntu.com raring-security/universe Sources
Hit http://ports.ubuntu.com raring-security/multiverse Sources
Hit http://ports.ubuntu.com raring-security/main armhf Packages
Hit http://ports.ubuntu.com raring-security/restricted armhf Packages
Hit http://ports.ubuntu.com raring-security/universe armhf Packages
Hit http://ports.ubuntu.com raring-security/multiverse armhf Packages
Get:3 http://packages.vls.beaupre.biz cubieboard2/main Sources [20 B]
Hit http://ports.ubuntu.com raring-security/main Translation-en
Hit http://ports.ubuntu.com raring-security/multiverse Translation-en
Hit http://ports.ubuntu.com raring-security/restricted Translation-en
Hit http://ports.ubuntu.com raring-security/universe Translation-en
Get:4 http://packages.vls.beaupre.biz cubieboard2/main armhf Packages [879 B]
Ign http://ports.ubuntu.com raring-updates/main Translation-en_US
Ign http://ports.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-updates/universe Translation-en_US
Ign http://ports.ubuntu.com raring-backports/main Translation-en_US
Ign http://ports.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-security/main Translation-en_US
Ign http://ports.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://ports.ubuntu.com raring-security/restricted Translation-en_US
Ign http://ports.ubuntu.com raring-security/universe Translation-en_US
Ign http://packages.vls.beaupre.biz cubieboard2/main Translation-en_US
Ign http://packages.vls.beaupre.biz cubieboard2/main Translation-en
Fetched 3,319 B in 4s (770 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
cubieboard2-linux-firmware-image
The following NEW packages will be installed:
cubieboard2-linux-headers-3.3.0+ cubieboard2-linux-image-3.3.0+
qemu: Unsupported syscall: 374
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.3 MB of archives.
After this operation, 95.9 MB of additional disk space will be used.
Get:1 http://packages.vls.beaupre.biz/apt/armstrap/ cubieboard2/main cubieboard2-linux-headers-3.3.0+ armhf 3.3.0+-1 [7,160 kB]
Get:2 http://packages.vls.beaupre.biz/apt/armstrap/ cubieboard2/main cubieboard2-linux-image-3.3.0+ armhf 3.3.0+-1 [28.1 MB]
Fetched 35.3 MB in 21s (1,663 kB/s)
Selecting previously unselected package cubieboard2-linux-headers-3.3.0+.
(Reading database ... 30250 files and directories currently installed.)
Unpacking cubieboard2-linux-headers-3.3.0+ (from .../cubieboard2-linux-headers-3.3.0+_3.3.0+-1_armhf.deb) ...
Selecting previously unselected package cubieboard2-linux-image-3.3.0+.
Unpacking cubieboard2-linux-image-3.3.0+ (from .../cubieboard2-linux-image-3.3.0+_3.3.0+-1_armhf.deb) ...
Setting up cubieboard2-linux-headers-3.3.0+ (3.3.0+-1) ...
Setting up cubieboard2-linux-image-3.3.0+ (3.3.0+-1) ...
update-initramfs: Generating /boot/initrd.img-3.3.0+
Creating symlink /boot/uImage for /boot/uImage-3.3.0+.
[13/07/07 21:48:51 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/07 21:48:52 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/07 21:48:52 enableServices] Enabling services startup in mnt.
[13/07/07 21:48:52 bootStrap] Fetching and extracting Cubieboard2-u-boot.txz
[13/07/07 21:48:53 ubootSetEnv] Adding setenv bootargs console=tty0 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 root=/dev/mmcblk0p1 rootwait panic=10 to /media/armStrap/armStrap/mnt/boot/boot.cmd
[13/07/07 21:48:53 ubootSetEnv] Adding setenv machid 0xf35 to /media/armStrap/armStrap/mnt/boot/boot.cmd
[13/07/07 21:48:53 ubootExt2Load] Adding ext2load mmc 0 0x43000000 boot/script.bin to /media/armStrap/armStrap/mnt/boot/boot.cmd
[13/07/07 21:48:53 ubootExt2Load] Adding ext2load mmc 0 0x48000000 boot/uImage to /media/armStrap/armStrap/mnt/boot/boot.cmd
[13/07/07 21:48:53 ubootBootM] Adding bootm 0x48000000 to /media/armStrap/armStrap/mnt/boot/boot.cmd
[13/07/07 21:48:53 sunxiMkImage] Generating /media/armStrap/armStrap/mnt/boot/boot.scr from /media/armStrap/armStrap/mnt/boot/boot.cmd
Image Name:
Created: Sun Jul 7 21:48:53 2013
Image Type: ARM Linux Script (uncompressed)
Data Size: 273 Bytes = 0.27 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 265 Bytes = 0.26 kB = 0.00 MB
[13/07/07 21:48:53 sunxiSetMac] Configuring board mac address to 008010EDDF01
[13/07/07 21:48:53 ubootDDLoader] Installing /media/armStrap/armStrap/mnt/boot/sunxi-spl.bin to /dev/loop0, block size 1024, seek 8
22+1 records in
22+1 records out
23040 bytes (23 kB) copied, 0.00971961 s, 2.4 MB/s
[13/07/07 21:48:53 ubootDDLoader] Installing /media/armStrap/armStrap/mnt/boot/u-boot.bin to /dev/loop0, block size 1024, seek 32
237+1 records in
237+1 records out
242696 bytes (243 kB) copied, 0.00201353 s, 121 MB/s
[13/07/07 21:48:53 partSync] Flush file system buffers
[13/07/07 21:48:53 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:48:53 umountParts] Unmounting /media/armStrap/armStrap/mnt/
[13/07/07 21:48:53 partSync] Flush file system buffers
[13/07/07 21:48:53 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/07 21:48:53 umapImg] UnMapping cubie4.img from loop device
loop deleted : /dev/loop0
read error, sector 0
llseek error
llseek error
llseek error
loop: can't delete device /dev/loop0: No such device or address
[13/07/07 21:48:57 checkStatus] losetup exit with status 1

qemu: Unsupported syscall: 374

I have no idea whether this is important or not but I should own up to running this in an Oracle Virtualbox session.

snippet from the build command ...
[13/07/08 23:04:13 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:04:13 chrootKernel] Executing install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script in mnt
qemu: Unsupported syscall: 374
OK
[13/07/08 23:06:18 umountPFS] Unmounting pseudo-filesystems from mnt

log ...
[13/07/08 23:01:37 checkDirectory] Directory /media/armStrap/armStrap/mnt created
[13/07/08 23:01:37 checkDirectory] Directory /media/armStrap/armStrap/img created
[13/07/08 23:01:51 initBuilder] Initializing builder for #[1m#[32mCubieBoard2#[39m#(B#[m
[13/07/08 23:01:52 mkImage] Creating image cubie4.img, size 2048MB
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 8.35605 s, 257 MB/s
[13/07/08 23:02:01 partSync] Flush file system buffers
[13/07/08 23:02:01 partSync] Inform the OS of partition table changes on
[13/07/08 23:02:04 loopImg] Attaching cubie4.img to loop device
[13/07/08 23:02:04 partSync] Flush file system buffers
[13/07/08 23:02:04 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:02:04 partDevice] Creating new MSDOS label on /dev/loop0
[13/07/08 23:02:04 partDevice] Creating a partition using remaining free space (ext4)
[13/07/08 23:02:04 partSync] Flush file system buffers
[13/07/08 23:02:04 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:02:04 uloopImg] Detaching /dev/loop0 from loop device
[13/07/08 23:02:04 partSync] Flush file system buffers
[13/07/08 23:02:04 partSync] Inform the OS of partition table changes on /dev/loop0
Warning: Error fsyncing/closing /dev/loop0: Input/output error
[13/07/08 23:02:04 mapImg] Mapping cubie4.img to loop device
[13/07/08 23:02:04 partSync] Flush file system buffers
[13/07/08 23:02:04 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:02:04 fmtParts] Formatting /dev/mapper/loop0p1 (ext4)
mke2fs 1.42 (29-Nov-2011)
Discarding device blocks: 4096/524032############# #############done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524032 blocks
26201 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: 0/16##### 1/16##### 2/16##### 3/16##### 4/16##### 5/16##### 6/16##### 7/16##### 8/16##### 9/16#####10/16#####11/16#####12/16#####13/16#####14/16#####15/16##### #####done
Writing inode tables: 0/16##### 1/16##### 2/16##### 3/16##### 4/16##### 5/16##### 6/16##### 7/16##### 8/16##### 9/16#####10/16#####11/16#####12/16#####13/16#####14/16#####15/16##### #####done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 0/16##### 1/16##### 2/16##### 3/16##### 4/16##### 5/16##### 6/16##### 7/16##### 8/16##### 9/16#####10/16#####11/16#####12/16#####13/16#####14/16#####15/16##### #####done

[13/07/08 23:02:05 partSync] Flush file system buffers
[13/07/08 23:02:05 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:02:05 mountParts] Mounting /dev/mapper/loop0p1 on /media/armStrap/armStrap/mnt/
[13/07/08 23:02:05 partSync] Flush file system buffers
[13/07/08 23:02:05 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:02:06 bootStrap] Fetching and extracting ubuntu-13.04-armv7l-hf.txz
[13/07/08 23:02:48 disableServices] Disabling services startup in mnt.
[13/07/08 23:02:48 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:02:49 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:02:49 chrootLocales] Adding locale en_GB.UTF-8 to avalable locales
Generating locales...
en_AG.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_HK.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NG.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.ISO-8859-1... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZM.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
Generation complete.
[13/07/08 23:03:07 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:03:07 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:03:07 enableServices] Enabling services startup in mnt.
[13/07/08 23:03:07 disableServices] Disabling services startup in mnt.
[13/07/08 23:03:07 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:03:07 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:03:07 chrootTimeZone] Setting timezone to Europe/London
[13/07/08 23:03:08 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:03:08 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:03:08 enableServices] Enabling services startup in mnt.
[13/07/08 23:03:08 buildRoot] Configuring /etc/hostname
[13/07/08 23:03:08 disableServices] Disabling services startup in mnt.
[13/07/08 23:03:08 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:03:08 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:03:08 chrootUpgrade] Updating packages in mnt
qemu: Unsupported syscall: 374
Atteint http://ports.ubuntu.com raring Release.gpg
Réception de : 1 http://ports.ubuntu.com raring-updates Release.gpg [933 B]
Atteint http://ports.ubuntu.com raring-backports Release.gpg
Atteint http://ports.ubuntu.com raring-security Release.gpg
Atteint http://ports.ubuntu.com raring Release
Réception de : 2 http://ports.ubuntu.com raring-updates Release [40.8 kB]
Atteint http://ports.ubuntu.com raring-backports Release
Atteint http://ports.ubuntu.com raring-security Release
Atteint http://ports.ubuntu.com raring/main Sources
Atteint http://ports.ubuntu.com raring/restricted Sources
Atteint http://ports.ubuntu.com raring/universe Sources
Atteint http://ports.ubuntu.com raring/main armhf Packages
Atteint http://ports.ubuntu.com raring/restricted armhf Packages
Atteint http://ports.ubuntu.com raring/universe armhf Packages
Réception de : 3 http://ports.ubuntu.com raring/main Translation-en_GB [73.8 kB]
Atteint http://ports.ubuntu.com raring/main Translation-en
Réception de : 4 http://ports.ubuntu.com raring/main Translation-fr [626 kB]
Réception de : 5 http://ports.ubuntu.com raring/restricted Translation-en_GB [2,358 B]
Atteint http://ports.ubuntu.com raring/restricted Translation-en
Réception de : 6 http://ports.ubuntu.com raring/restricted Translation-fr [3,427 B]
Réception de : 7 http://ports.ubuntu.com raring/universe Translation-en_GB [4,620 B]
Atteint http://ports.ubuntu.com raring/universe Translation-en
Réception de : 8 http://ports.ubuntu.com raring/universe Translation-fr [2,111 kB]
Réception de : 9 http://ports.ubuntu.com raring-updates/main Sources [46.7 kB]
Réception de : 10 http://ports.ubuntu.com raring-updates/restricted Sources [14 B]
Réception de : 11 http://ports.ubuntu.com raring-updates/universe Sources [61.2 kB]
Réception de : 12 http://ports.ubuntu.com raring-updates/main armhf Packages [119 kB]
Réception de : 13 http://ports.ubuntu.com raring-updates/restricted armhf Packages [14 B]
Réception de : 14 http://ports.ubuntu.com raring-updates/universe armhf Packages [108 kB]
Réception de : 15 http://ports.ubuntu.com raring-updates/main Translation-en [59.3 kB]
Atteint http://ports.ubuntu.com raring-updates/restricted Translation-en
Réception de : 16 http://ports.ubuntu.com raring-updates/universe Translation-en [60.0 kB]
Atteint http://ports.ubuntu.com raring-backports/main Sources
Atteint http://ports.ubuntu.com raring-backports/restricted Sources
Atteint http://ports.ubuntu.com raring-backports/main armhf Packages
Atteint http://ports.ubuntu.com raring-backports/restricted armhf Packages
Atteint http://ports.ubuntu.com raring-backports/main Translation-en
Atteint http://ports.ubuntu.com raring-backports/restricted Translation-en
Atteint http://ports.ubuntu.com raring-security/main Sources
Atteint http://ports.ubuntu.com raring-security/restricted Sources
Atteint http://ports.ubuntu.com raring-security/universe Sources
Atteint http://ports.ubuntu.com raring-security/multiverse Sources
Atteint http://ports.ubuntu.com raring-security/main armhf Packages
Atteint http://ports.ubuntu.com raring-security/restricted armhf Packages
Atteint http://ports.ubuntu.com raring-security/universe armhf Packages
Atteint http://ports.ubuntu.com raring-security/multiverse armhf Packages
Atteint http://ports.ubuntu.com raring-security/main Translation-en
Atteint http://ports.ubuntu.com raring-security/multiverse Translation-en
Atteint http://ports.ubuntu.com raring-security/restricted Translation-en
Atteint http://ports.ubuntu.com raring-security/universe Translation-en
Ign http://ports.ubuntu.com raring-updates/main Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/main Translation-fr
Ign http://ports.ubuntu.com raring-updates/restricted Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/restricted Translation-fr
Ign http://ports.ubuntu.com raring-updates/universe Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/universe Translation-fr
Ign http://ports.ubuntu.com raring-backports/main Translation-en_GB
Ign http://ports.ubuntu.com raring-backports/main Translation-fr
Ign http://ports.ubuntu.com raring-backports/restricted Translation-en_GB
Ign http://ports.ubuntu.com raring-backports/restricted Translation-fr
Ign http://ports.ubuntu.com raring-security/main Translation-en_GB
Ign http://ports.ubuntu.com raring-security/main Translation-fr
Ign http://ports.ubuntu.com raring-security/multiverse Translation-en_GB
Ign http://ports.ubuntu.com raring-security/multiverse Translation-fr
Ign http://ports.ubuntu.com raring-security/restricted Translation-en_GB
Ign http://ports.ubuntu.com raring-security/restricted Translation-fr
Ign http://ports.ubuntu.com raring-security/universe Translation-en_GB
Ign http://ports.ubuntu.com raring-security/universe Translation-fr
3,317 ko réceptionnés en 19s (173 ko/s)
Lecture des listes de paquets...
Lecture des listes de paquets...
Construction de l'arbre des dépendances...
Lecture des informations d'état...
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
[13/07/08 23:04:08 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:04:08 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:04:08 enableServices] Enabling services startup in mnt.
[13/07/08 23:04:09 disableServices] Disabling services startup in mnt.
[13/07/08 23:04:09 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:04:09 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:04:09 chrootDPKG] Installing package sunxi-tools.deb in mnt
Sélection du paquet sunxi-tools précédemment désélectionné.
(Lecture de la base de données... 30232 fichiers et répertoires déjà installés.)
Dépaquetage de sunxi-tools (à partir de /DPKG.Y2Nziw/sunxi-tools.deb) ...
Paramétrage de sunxi-tools (1.0) ...
Traitement des actions différées (« triggers ») pour « man-db »...
[13/07/08 23:04:13 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:04:13 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:04:13 enableServices] Enabling services startup in mnt.
[13/07/08 23:04:13 disableServices] Disabling services startup in mnt.
[13/07/08 23:04:13 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:04:13 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:04:13 chrootReconfig] Configuring root password in mnt
[13/07/08 23:04:13 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:04:13 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:04:13 enableServices] Enabling services startup in mnt.
[13/07/08 23:04:13 addTTY] Configuring terminal ttyS0 for runlevels 2345 at 115200 (vt100)
[13/07/08 23:04:13 initFSTab] Initializing fstab
[13/07/08 23:04:13 addFSTab] Device /dev/root will be mount as /
[13/07/08 23:04:13 addModule] Configuring kernel module
[13/07/08 23:04:13 addIface] Configuring interface eth0
[13/07/08 23:04:13 addIface] IP address : 192.168.0.47/255.255.255.0, default gateway 192.168.0.1
[13/07/08 23:04:13 chrootKernel] Downloading install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script to mnt
--2013-07-08 23:04:13-- http://armstrap.vls.beaupre.biz/kernel/cubieboard2/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh
Resolving armstrap.vls.beaupre.biz (armstrap.vls.beaupre.biz)... 184.171.241.167
Connecting to armstrap.vls.beaupre.biz (armstrap.vls.beaupre.biz)|184.171.241.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1000 [text/x-sh]
Saving to: `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh'

 0K                                                       100% 63.2M=0s

2013-07-08 23:04:13 (63.2 MB/s) - `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh' saved [1000/1000]

[13/07/08 23:04:13 disableServices] Disabling services startup in mnt.
[13/07/08 23:04:13 installQEMU] Installing QEMU Arm Emulator in mnt.
[13/07/08 23:04:13 mountPFS] Mounting pseudo-filesystems in mnt
[13/07/08 23:04:13 chrootKernel] Executing install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script in mnt
gpg: keyring /tmp/tmp.z9wYRS8lUX/secring.gpg' created gpg: keyring/tmp/tmp.z9wYRS8lUX/pubring.gpg' created
gpg: requesting key A99BC726 from hkp server pgpkeys.mit.edu
gpg: /tmp/tmp.z9wYRS8lUX/trustdb.gpg: trustdb created
gpg: key A99BC726: public key "Eddy Beaupre (armStrap) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
qemu: Unsupported syscall: 374
qemu: Unsupported syscall: 374
Atteint http://ports.ubuntu.com raring Release.gpg
Atteint http://ports.ubuntu.com raring-updates Release.gpg
Atteint http://ports.ubuntu.com raring-backports Release.gpg
Atteint http://ports.ubuntu.com raring-security Release.gpg
Atteint http://ports.ubuntu.com raring Release
Atteint http://ports.ubuntu.com raring-updates Release
Atteint http://ports.ubuntu.com raring-backports Release
Atteint http://ports.ubuntu.com raring-security Release
Réception de : 1 http://packages.vls.beaupre.biz cubieboard2 Release.gpg [836 B]
Atteint http://ports.ubuntu.com raring/main Sources
Atteint http://ports.ubuntu.com raring/restricted Sources
Atteint http://ports.ubuntu.com raring/universe Sources
Atteint http://ports.ubuntu.com raring/main armhf Packages
Réception de : 2 http://packages.vls.beaupre.biz cubieboard2 Release [1,587 B]
Atteint http://ports.ubuntu.com raring/restricted armhf Packages
Atteint http://ports.ubuntu.com raring/universe armhf Packages
Atteint http://ports.ubuntu.com raring/main Translation-en_GB
Atteint http://ports.ubuntu.com raring/main Translation-en
Atteint http://ports.ubuntu.com raring/main Translation-fr
Atteint http://ports.ubuntu.com raring/restricted Translation-en_GB
Atteint http://ports.ubuntu.com raring/restricted Translation-en
Atteint http://ports.ubuntu.com raring/restricted Translation-fr
Atteint http://ports.ubuntu.com raring/universe Translation-en_GB
Atteint http://ports.ubuntu.com raring/universe Translation-en
Atteint http://ports.ubuntu.com raring/universe Translation-fr
Atteint http://ports.ubuntu.com raring-updates/main Sources
Atteint http://ports.ubuntu.com raring-updates/restricted Sources
Atteint http://ports.ubuntu.com raring-updates/universe Sources
Atteint http://ports.ubuntu.com raring-updates/main armhf Packages
Atteint http://ports.ubuntu.com raring-updates/restricted armhf Packages
Atteint http://ports.ubuntu.com raring-updates/universe armhf Packages
Atteint http://ports.ubuntu.com raring-updates/main Translation-en
Atteint http://ports.ubuntu.com raring-updates/restricted Translation-en
Atteint http://ports.ubuntu.com raring-updates/universe Translation-en
Atteint http://ports.ubuntu.com raring-backports/main Sources
Atteint http://ports.ubuntu.com raring-backports/restricted Sources
Atteint http://ports.ubuntu.com raring-backports/main armhf Packages
Atteint http://ports.ubuntu.com raring-backports/restricted armhf Packages
Atteint http://ports.ubuntu.com raring-backports/main Translation-en
Atteint http://ports.ubuntu.com raring-backports/restricted Translation-en
Atteint http://ports.ubuntu.com raring-security/main Sources
Atteint http://ports.ubuntu.com raring-security/restricted Sources
Atteint http://ports.ubuntu.com raring-security/universe Sources
Atteint http://ports.ubuntu.com raring-security/multiverse Sources
Atteint http://ports.ubuntu.com raring-security/main armhf Packages
Atteint http://ports.ubuntu.com raring-security/restricted armhf Packages
Réception de : 3 http://packages.vls.beaupre.biz cubieboard2/main Sources [20 B]
Atteint http://ports.ubuntu.com raring-security/universe armhf Packages
Atteint http://ports.ubuntu.com raring-security/multiverse armhf Packages
Atteint http://ports.ubuntu.com raring-security/main Translation-en
Atteint http://ports.ubuntu.com raring-security/multiverse Translation-en
Atteint http://ports.ubuntu.com raring-security/restricted Translation-en
Réception de : 4 http://packages.vls.beaupre.biz cubieboard2/main armhf Packages [1,647 B]
Atteint http://ports.ubuntu.com raring-security/universe Translation-en
Ign http://ports.ubuntu.com raring-updates/main Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/main Translation-fr
Ign http://ports.ubuntu.com raring-updates/restricted Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/restricted Translation-fr
Ign http://ports.ubuntu.com raring-updates/universe Translation-en_GB
Ign http://ports.ubuntu.com raring-updates/universe Translation-fr
Ign http://ports.ubuntu.com raring-backports/main Translation-en_GB
Ign http://ports.ubuntu.com raring-backports/main Translation-fr
Ign http://ports.ubuntu.com raring-backports/restricted Translation-en_GB
Ign http://ports.ubuntu.com raring-backports/restricted Translation-fr
Ign http://ports.ubuntu.com raring-security/main Translation-en_GB
Ign http://ports.ubuntu.com raring-security/main Translation-fr
Ign http://ports.ubuntu.com raring-security/multiverse Translation-en_GB
Ign http://ports.ubuntu.com raring-security/multiverse Translation-fr
Ign http://ports.ubuntu.com raring-security/restricted Translation-en_GB
Ign http://packages.vls.beaupre.biz cubieboard2/main Translation-en_GB
Ign http://ports.ubuntu.com raring-security/restricted Translation-fr
Ign http://ports.ubuntu.com raring-security/universe Translation-en_GB
Ign http://ports.ubuntu.com raring-security/universe Translation-fr
Ign http://packages.vls.beaupre.biz cubieboard2/main Translation-en
Ign http://packages.vls.beaupre.biz cubieboard2/main Translation-fr
4,090 o réceptionnés en 4s (867 o/s)
Lecture des listes de paquets...
Lecture des listes de paquets...
Construction de l'arbre des dépendances...
Lecture des informations d'état...
Paquets suggérés :
cubieboard2-linux-firmware-image
Les NOUVEAUX paquets suivants seront installés :
cubieboard2-linux-headers-3.3.0+ cubieboard2-linux-image-3.3.0+
qemu: Unsupported syscall: 374
0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 35.3 Mo dans les archives.
Après cette opération, 95.9 Mo d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://packages.vls.beaupre.biz/apt/armstrap/ cubieboard2/main cubieboard2-linux-headers-3.3.0+ armhf 3.3.0+-1 [7,160 kB]
Réception de : 2 http://packages.vls.beaupre.biz/apt/armstrap/ cubieboard2/main cubieboard2-linux-image-3.3.0+ armhf 3.3.0+-1 [28.1 MB]
35.3 Mo réceptionnés en 16s (2,075 ko/s)
Sélection du paquet cubieboard2-linux-headers-3.3.0+ précédemment désélectionné.
(Lecture de la base de données... 30250 fichiers et répertoires déjà installés.)
Dépaquetage de cubieboard2-linux-headers-3.3.0+ (à partir de .../cubieboard2-linux-headers-3.3.0+_3.3.0+-1_armhf.deb) ...
Sélection du paquet cubieboard2-linux-image-3.3.0+ précédemment désélectionné.
Dépaquetage de cubieboard2-linux-image-3.3.0+ (à partir de .../cubieboard2-linux-image-3.3.0+_3.3.0+-1_armhf.deb) ...
Paramétrage de cubieboard2-linux-headers-3.3.0+ (3.3.0+-1) ...
Paramétrage de cubieboard2-linux-image-3.3.0+ (3.3.0+-1) ...
update-initramfs: Generating /boot/initrd.img-3.3.0+
Creating symlink /boot/uImage for /boot/uImage-3.3.0+.
[13/07/08 23:06:18 umountPFS] Unmounting pseudo-filesystems from mnt
[13/07/08 23:06:18 RemoveQEMU] Removing QEMU Arm Emulator from mnt.
[13/07/08 23:06:18 enableServices] Enabling services startup in mnt.
[13/07/08 23:06:18 bootStrap] Fetching and extracting Cubieboard2-u-boot.txz
[13/07/08 23:06:19 ubootSetEnv] Setting variable bootargs to console=tty0 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 root=/dev/mmcblk0p1 rootwait panic=10
[13/07/08 23:06:19 ubootSetEnv] Setting variable machid to 0xf35
[13/07/08 23:06:19 ubootSetCMD] Setting command ext2load to mmc 0 0x43000000 boot/script.bin
[13/07/08 23:06:19 ubootSetCMD] Setting command ext2load to mmc 0 0x48000000 boot/uImage
[13/07/08 23:06:19 ubootSetCMD] Setting command bootm to 0x48000000
[13/07/08 23:06:19 ubootImage] Generating /media/armStrap/armStrap/mnt/boot/boot.scr from /media/armStrap/armStrap/mnt/boot/boot.cmd
Image Name:
Created: Mon Jul 8 23:06:19 2013
Image Type: ARM Linux Script (uncompressed)
Data Size: 273 Bytes = 0.27 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 265 Bytes = 0.26 kB = 0.00 MB
[13/07/08 23:06:19 fexMac] Configuring board mac address to FA0000000C04
[13/07/08 23:06:19 ubootDDLoader] Installing /media/armStrap/armStrap/mnt/boot/sunxi-spl.bin to /dev/loop0, block size 1024, seek 8
22+1 records in
22+1 records out
23040 bytes (23 kB) copied, 0.00589537 s, 3.9 MB/s
[13/07/08 23:06:19 ubootDDLoader] Installing /media/armStrap/armStrap/mnt/boot/u-boot.bin to /dev/loop0, block size 1024, seek 32
237+1 records in
237+1 records out
242696 bytes (243 kB) copied, 0.00561552 s, 43.2 MB/s
[13/07/08 23:06:20 partSync] Flush file system buffers
[13/07/08 23:06:20 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:06:20 umountParts] Unmounting /media/armStrap/armStrap/mnt/
[13/07/08 23:06:20 partSync] Flush file system buffers
[13/07/08 23:06:20 partSync] Inform the OS of partition table changes on /dev/loop0
[13/07/08 23:06:20 umapImg] UnMapping cubie4.img from loop device
loop deleted : /dev/loop0
read error, sector 0
llseek error
llseek error
llseek error
loop: can't delete device /dev/loop0: No such device or address
[13/07/08 23:06:24 partSync] Flush file system buffers
[13/07/08 23:06:24 partSync] Inform the OS of partition table changes on /dev/loop0
Warning: Error fsyncing/closing /dev/loop0: Input/output error

locales issue (post latest commit ef82236ef8)

[13/07/14 17:18:14 chrootLocales] Adding locale en_GB.UTF-8 to avalable locales
./lib/armbian.sh: line 230: /media/armStrap/armStrap/mnt/var/lib/locales/supported.d/local: No such file or directory
./lib/armbian.sh: line 231: /media/armStrap/armStrap/mnt/var/lib/locales/supported.d/en: No such file or directory
[13/07/14 17:18:39 umountPFS] Unmounting pseudo-filesystems from mnt

eth0 not working on startup

Hi Eddy,

I have a problem I created a new image (Debian armv7l, debian, stable, sun7i, default, 3.4.67). At startup, the network interface is not loaded automatically. In the / etc / network / interfaces is all right until a ifconfig eth0 start it.
Need help.
Thank sfreddy

More Info req than issue

Hi Eddy,
I have to say this is an awesome script although I was not expecting it to take the time that it did it worked and I have a working debian build.
Now onto my question I want to install asterisk from source which means I require the linux headers and source typically there are in the standard repo and I can simple install the ones with the correct versions as identofied by uname; e.g.
root@Cubie:~# uname -r
3.4.43+
I can then simply apt-get the linux headers and source but the standard repo does not have them for the kernel version I have, how do I get them?

Many thanks
for this awesome utility

Paul

Support for cubietruck

Hi Eddy Beaupre,
You have done great the job here. I had tested the script. Its working fine and can able create the new wheezy image file for cubieboard2. However, I am using Cubietruck now. Unfortunately, the script wont support for cubietruck at this moment. Kindly let me know can I get the support for cubietuck as well. Moreover, I am new to cubieboard; but not to embedded Linux. I can also contribute on this project.

Regards,
Prakash.

Kernel TUN Module

Hi Eddy,
First of all good job
Before the changes you could make changes to the kernel yet (TUN modules), that no longer works now with your new script.
Can you please take the TUN modules in the Kernel config.
greeting sfreddy

invalid owner 1000:1000 on / files

Permissions on /

drwxr-xr-x 22 1000 1000  4096 Oct 19 17:44 .
drwxr-xr-x 10 root root  4096 Oct 19 13:48 ..
drwxr-xr-x  2 1000 1000  4096 Oct 19 17:44 bin
drwxr-xr-x  2 1000 1000  4096 Jun  3 23:15 boot
drwxr-xr-x  3 1000 1000  4096 Jul  1 23:56 dev
drwxr-xr-x 92 1000 1000  4096 Oct 20 04:27 etc
drwxr-xr-x  2 1000 1000  4096 Jun  3 23:15 home
drwxr-xr-x 12 1000 1000  4096 Jul  2 00:24 lib
drwx------  2 root root 16384 Oct 20 04:25 lost+found
drwxr-xr-x  2 1000 1000  4096 Jul  1 23:54 media
drwxr-xr-x  2 1000 1000  4096 Jun  3 23:15 mnt
drwxr-xr-x  2 1000 1000  4096 Jul  1 23:54 opt
dr-xr-xr-x 82 root root     0 Oct 20 04:22 proc
drwx------  3 1000 1000  4096 Jul  2 10:16 root
drwxr-xr-x  9 1000 1000  4096 Jul  2 00:24 run
drwxr-xr-x  2 1000 1000  4096 Oct 19 17:44 sbin
drwxr-xr-x  2 1000 1000  4096 Jun 10  2012 selinux
drwxr-xr-x  2 1000 1000  4096 Jul  1 23:54 srv
drwxr-xr-x 12 root root     0 Oct 20 04:22 sys
drwxrwxrwt  2 1000 1000  4096 Oct 19 17:43 tmp
drwxr-xr-x 10 1000 1000  4096 Jul  1 23:54 usr
drwxr-xr-x 11 1000 1000  4096 Jul  1 23:54 var

My config:

diff --git a/config.sh b/config.sh
index 294cfeb..9fb2855 100644
--- a/config.sh
+++ b/config.sh
@@ -2,7 +2,7 @@
 # Build configuration
 #
 # Set this to the name of the board you want to build
-ARMSTRAP_CONFIG="CubieBoard"
+ARMSTRAP_CONFIG="CubieBoard2"

 ##############################################################################
 # Basic configuration

I was able to reproduce this problem on both ubuntu and debian builds.

[13/07/14 15:05:40 chrootKernel] Downloading install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script to mnt chmod: cannot access `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh': No such file or directory

Wotcher,
Will investigae this further but looks like missing download.

[13/07/14 15:05:40 chrootKernel] Downloading install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh script to mnt
chmod: cannot access `/media/armStrap/armStrap/mnt/install-cubieboard2-linux-kernel-3.3.0+_3.3.0+-1_armhf.sh': No such file or directory

SATA modules

Wotcher, It's working, probably always did other than the phantom mounts! When this was first released the code built the whole system on the fly, now it downloads it. Would it be possible to offer either behaviour based on a switch? I wish to include the SATA modules in order to hopefully boot from NAND with the rootfs on an SDD.

Best Regards,
Francis.

SATA modules

Wotcher,
Still at it I see, keep the faith. Anyhoo. I have convinced myself that I need the SATA modules compiled into the kernel to allow sda1 to be the rootfs. I'm thinking that makes sense ... how does it load the module with the SATA driver from the SATA drive.

Leastwise I boot perfectly with
ARMSTRAP_ROOT_DEV="/dev/mmcblk0p1"
but mopes around with the occasional i2c0 message waiting for the device with
ARMSTRAP_ROOT_DEV="/dev/sda1" (when the root is present on both devices)

I note that you are adding the SATA support as modules any chance of a version of each or any with

CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_SW_SATA_AHCI_PLATFORM=y

Go on, you know you want to ;-)

or not :-(

Cheers.

Regards,
Francis.

ui.sh Pgrep is using an invalid parameter --newest for Ubuntu based boxes

Hi Eddy,

Great work on the armStrap project!

Just wanted to point out an issue with your lib/ui.sh script on line 78

TMP_PID=$(/usr/bin/pgrep --newest dialog)

Pgrep on Ubuntu 12.04 this is an invalid parameter (maybe on debian it is ok?)

Change it to TMP_PID=$(/usr/bin/pgrep -n dialog) then your gui script will work.

Also, could you add examples to the Root updater etc with examples - as it can be a bit confusing with the options.

One last thing, you have misspelt - Familly, should be Family.

Keep up the great work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.