Dingoo A320 >> OpenDingux

安裝OpenDingux(QEMU)


參考資訊:
1. 2015-04-23-opendingux-qemu

安裝步驟如下:

$ cd
$ wget https://github.com/steward-fu/a320/releases/download/v1.0/cc-dx.tar.gz
$ tar xvf cc-dx.tar.gz
$ sudo cp -a a320 /opt/a320
$ export PATH=$PATH:/opt/a320/usr/bin/

$ cd
$ git clone -b jz-3.16-qemu  https://github.com/dmitrysmagin/linux.git
$ cd linux
$ export ARCH=mips
$ make gcw0-qemu_defconfig
$ make

$ cd
$ git clone -b opendingux-2012.11 https://github.com/dmitrysmagin/opendingux-buildroot.git
$ cd opendingux-buildroot
$ make a380_defconfig
$ make

$ cd
$ dd if=/dev/zero of=512M bs=1M count=512
$ sudo mkdosfs 512M
$ sudo mount 512M /mnt/
$ sudo cp rootfs.squashfs /mnt/
$ sudo mkdir /mnt/local /mnt/local/apps /mnt/local/home /mnt/local/etc
$ sudo umount /mnt/

$ sudo apt-get install qemu -y
$ vim run.sh
  #!/bin/sh
  MACHINE="-M malta -m 256"
  FIRMWARE="-kernel vmlinux -hda 512M"
  HARDWARE="-sdl -soundhw ac97 -k en-us -rtc clock=vm"
  NETWORK="-net nic,model=e1000 -net user"
  SERIAL="-serial stdio -monitor none"
  qemu-system-mipsel $MACHINE $FIRMWARE $HARDWARE $NETWORK $SERIAL

$ chmod a+x ./run.sh
$ ./run.sh


返回上一頁