remahl / cubietruck

0 stars 0 forks source link

cubietruck images: bootable sdcard and runqemu ..... #1

Open kubden opened 9 years ago

kubden commented 9 years ago

Hello,

I builded an image in the environment Poky dizzy (1.7.1) and I obtained this files:

$ls poky-dizzy/cubietruck/tmp/deploy/images/cubietruck
core-image-minimal-installer-cubietruck-20150504185613.rootfs.cpio.gz core-image-minimal-installer-cubietruck-20150504185613.rootfs.ext3 core-image-minimal-installer-cubietruck-20150504185613.rootfs.manifest core-image-minimal-installer-cubietruck-20150504185613.rootfs.sunxi-sdimg core-image-minimal-installer-cubietruck-20150504185613.rootfs.tar.gz core-image-minimal-installer-cubietruck.cpio.gz core-image-minimal-installer-cubietruck.ext3 core-image-minimal-installer-cubietruck.manifest core-image-minimal-installer-cubietruck.sunxi-sdimg core-image-minimal-installer-cubietruck.tar.gz fex.bin fex-cubietruck-1.0-r6.bin fex-cubietruck.bin modules--3.4.79-r0-cubietruck-20150504133126.tgz modules-cubietruck.tgz README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt u-boot.bin u-boot-cubietruck.bin u-boot-cubietruck-v2013.10+v2014.01-rc1-r0.bin u-boot-sunxi-with-spl.bin u-boot-sunxi-with-spl.bin-cubietruck u-boot-sunxi-with-spl.bin-cubietruck-v2013.10+v2014.01-rc1-r0 uImage uImage--3.4.79-r0-cubietruck-20150504133126.bin uImage-cubietruck.bin

I installed one of these images on sdcard (16GB) with the following command: sudo dd if=core-image-minimal-installer-cubietruck.sunxi-sdimg of=/dev/mmcblk0

After I have inserted the sdcard into the card drive and restarted the cubietruck board (computer), the boot do not appears. Is there any reason for that?

Other problems: How to use runqemu? The trouble is I do not know how to use it and the documentation Poky about QEMU is a little confusing. I typed the following command:

~/poky-dizzy/cubietruck$ runqemu qemuarm tmp/deploy/images/cubietruck/uImage-cubietruck.bin tmp/deploy/images/cubietruck/core-image-minimal-installer-cubietruck.ext3 Continuing with the following parameters: KERNEL: [tmp/deploy/images/cubietruck/uImage-cubietruck.bin] ROOTFS: [/home/voxit/poky-dizzy/cubietruck/tmp/deploy/images/cubietruck/core-image-minimal-installer-cubietruck-20150504185613.rootfs.ext3] FSTYPE: [ext3] Setting up tap interface under sudo [sudo] password for voxit: Acquiring lockfile for tap0... Error: No QEMU binary 'qemu-system-arm' could be found. Set 'tap0' nonpersistent Releasing lockfile of preconfigured tap device 'tap0'

I found on the web:
http://redmine.digitalstrom.org/projects/dss/wiki/Cubietruck https://gitorious.digitalstrom.org/projects Do you know these projects?

I thank you in advance.

remahl commented 9 years ago

Hello Creating the SD-Card looks ok. The SD-Card image does not support a graphical output. So there is no output on the vga (or dvi?) output.

However, if you connect the serial line (115200, 8N1) and start up, you should get more information about the bootup. If everything succeeds, you should get a linux prompt. ( Attention special cable USB <-> 3.3V serial line. See http://cubietruck.com/collections/frontpage/products/usb-to-ttl-uart-serial-cable)

The core-image-minimal-installer-cubietruck was designed to program the internal flash of the cubietruck from data you put on the SD-Card. (see /home/root directory on the image)

So far I could avoid the usage of qemu. So I am the wrong person to help you with that.

The projects you mentioned were just for the evaluation of the cubietruck. They are basically the same.