Triode,

Up and running in dynamic QEMU now:

'[image: http://s27.postimg.org/i89dox173/soa1.jpg]'
(http://postimg.org/image/i89dox173/)


'[image: http://s18.postimg.org/hxg09ko39/soa2.jpg]'
(http://postimg.org/image/hxg09ko39/)

'[image: http://s29.postimg.org/wydyyqh1f/soa3.jpg]'
(http://postimg.org/image/wydyyqh1f/)

It's not real hardware, but allows basic testing.

Will attempt LMS install via static QEMU  ASAP.

Brilliant work, as always. 

Will need to check what if any ARCH ARM base images exist for
Cubieboard.  Will also test install in x86_64 in VirtualBox  on ARCH
base and Manjaro.


For ref:

Wandboard image built on Debain unstable for QEMU test as follows:


Code:
--------------------
    dd if=/dev/zero of=awcard.img bs=1M count=2000
--------------------


as root:


Code:
--------------------
    modprobe loop max_part=63
  losetup -f awcard.img
  
--------------------


Prepare awcard.img by using loop dev it's attached to.


Code:
--------------------
    
  fdisk /dev/loop0 (follow web page to create single parititon starting at 8192 
ref given by triode above)
  fdisk -lu /dev/loop0
  mkfs.ext4 /dev/loop0p1
  mount /dev/loop0p1 /mnt/tmp
  tar -xf ArchLinuxARM-wand-latest.tar.gz -C /mnt/tmp
  sync
  umount /mnt/tmp
  dd if=u-boot-dual.imx of=/dev/loop0 bs=512 seek=2
  sync
  Check awcard.img is OK. 
  
--------------------
  

Run QMEU with ...


Code:
--------------------
    #! /bin/bash
  ############################################################################
  #                 Boot Arch Wandbaord image QEMU Emulation
  ############################################################################
  #  Note: All files in same directory and bridged tap0 already configured
  #        for full network access. DHCP on host via router
  #
  #   Arch ARM for Wandboard image
  #  Qemu kernel compiled from latest stable source: 3.13.6 at time of writing.
  #
  #############################################################################
  
  
  qemu-system-arm -m 1024M \
  -M vexpress-a9 \
  -kernel zImage3.13AA \
  -append "root=/dev/mmcblk0p1 rw rootfstype=ext4 rootwait 
console=ttyAMA0,115200n console=ttyS0"  \
  -drive if=sd,cache=writeback,file=awcard.img \
  -serial stdio \
  -net nic \
  -net tap,ifname=tap0,script=no
  
--------------------


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to