Browse Source

update qemu/mini2440 on ubuntu to support keypad

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1431 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc 14 years ago
parent
commit
d9256a31a1
2 changed files with 6 additions and 0 deletions
  1. 6 0
      tools/mount-sdcart-on-ubuntu.sh
  2. BIN
      tools/qemu-system-arm-on-ubuntu

+ 6 - 0
tools/mount-sdcart-on-ubuntu.sh

@@ -1,4 +1,10 @@
 #!/bin/bash
 #!/bin/bash
+
+if [ -d /mnt/card ] 
+then
+echo "/mnt/card has been created"
+else
 sudo mkdir /mnt/card
 sudo mkdir /mnt/card
+fi
 sudo mount -o loop,offset=32256 SDCARD /mnt/card
 sudo mount -o loop,offset=32256 SDCARD /mnt/card
 
 

BIN
tools/qemu-system-arm-on-ubuntu