Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Armbian Cubietruck Image via QEMU on a x64 Linux

Featured Replies

Hi,

 

I have search in the internet a long time but can't get an answer for:

Can I start a Armbian Cubietruck Image on my Ubuntu-Linux (x64) with QEMU?

 

What I tested:

a) I downloaded "Debian Server Mainline" (Kernel 4.14) from https://www.armbian.com/cubietruck/

b ) Mounted   the Image and extracted "vmlinuz-4.14.14-sunxi" and "initrd.img-4.14.14-sunxi"

c) Try to start the Armbian Image on my x64 Linux with:

qemu-system-arm -m 1024M -M vexpress-a9 -kernel ./vmlinuz-4.14.14-sunxi -initrd ./initrd.img-4.14.14-sunxi  -append "root=/dev/mmcblk0p1 rw rootfstype=ext4 cgroup_enable=memory swapaccount=1  enforcing=0 console=ttyAMA0,115200 loglevel=8" -sd Armbian_5.38_Cubietruck_Debian_stretch_next_4.14.14_CT.img

d) All I get is a black qemu window. Nothing happens

 

...I have tried several variants of the qemu command. But perhaps I have a general error...

 

Greetings

tanarri

Edited by chwe
moved, since not related to A20 hardware.

On 26.04.2018 at 12:57 AM, TanarRi said:

Mounted   the Image and extracted "vmlinuz-4.14.14-sunxi" and "initrd.img-4.14.14-sunxi"

...

But perhaps I have a general error...

This kernel (which is targeting Allwinner devices and requiring a valid DTB to work) will not boot on QEMU which is emulating a Vexpress machine. You will need to find or build a kernel which could be executed by QEMU and then you will be able to boot the rootfs, though obviously QEMU will not emulate any devices specific to Allwinner A20.

You will also need to adjust or remove some kernel arguments (root, console, ...) for QEMU.

Hi,

 

thanks for this info. Since I didn't have the knowledge do do this I will drop this work

 

Thanks!

 

Greetings

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.