summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorroot <root@usrp1-e.(none)>2010-02-24 02:18:54 +0000
committerroot <root@usrp1-e.(none)>2010-02-24 02:18:54 +0000
commitf6ec1e45117f5794facd1cd8e11cbfacabdeb166 (patch)
treee6400801d4a4f05f936c7dda50464663716571d1 /host
parent3cd7bc9be6420623eb7803e490b39ecc75d83ed9 (diff)
downloaduhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.tar.gz
uhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.tar.bz2
uhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.zip
Commit wip. Programs that fetch OS code sync now.
Diffstat (limited to 'host')
-rwxr-xr-xhost/apps/omap_debug/fetch-bin.sh1
-rwxr-xr-xhost/apps/omap_debug/fetch-kernel.sh1
-rwxr-xr-xhost/apps/omap_debug/fetch-module.sh1
-rwxr-xr-xhost/apps/omap_debug/set_debug_pins.py4
4 files changed, 5 insertions, 2 deletions
diff --git a/host/apps/omap_debug/fetch-bin.sh b/host/apps/omap_debug/fetch-bin.sh
index 9fb09a10d..1ceec4fd2 100755
--- a/host/apps/omap_debug/fetch-bin.sh
+++ b/host/apps/omap_debug/fetch-bin.sh
@@ -1 +1,2 @@
scp balister@192.168.1.182:Download/u1e.bin .
+sync
diff --git a/host/apps/omap_debug/fetch-kernel.sh b/host/apps/omap_debug/fetch-kernel.sh
index e3bc1b0ad..08b470e9b 100755
--- a/host/apps/omap_debug/fetch-kernel.sh
+++ b/host/apps/omap_debug/fetch-kernel.sh
@@ -1,2 +1,3 @@
scp balister@192.168.1.182:src/git/kernel_usrp/arch/arm/boot/uImage /media/mmcblk0p1/uImage
+sync
diff --git a/host/apps/omap_debug/fetch-module.sh b/host/apps/omap_debug/fetch-module.sh
index 95140df15..6511958f9 100755
--- a/host/apps/omap_debug/fetch-module.sh
+++ b/host/apps/omap_debug/fetch-module.sh
@@ -1 +1,2 @@
scp balister@192.168.1.182:src/git/kernel_usrp/drivers/misc/usrp1_e.ko /lib/modules/2.6.33-rc3/kernel/drivers/misc
+sync
diff --git a/host/apps/omap_debug/set_debug_pins.py b/host/apps/omap_debug/set_debug_pins.py
index d67cc3e58..bedabc20c 100755
--- a/host/apps/omap_debug/set_debug_pins.py
+++ b/host/apps/omap_debug/set_debug_pins.py
@@ -17,10 +17,10 @@ gpio_ctrl_lo = 8
gpio_ctrl_hi = 12
def set_reg(reg, val):
- os.system("usrp1-e-ctl w %d 1 %d" % (reg,val))
+ os.system("./usrp1-e-ctl w %d 1 %d" % (reg,val))
def get_reg(reg):
- fin,fout = os.popen4("usrp1-e-ctl r %d 1" % (reg,))
+ fin,fout = os.popen4("./usrp1-e-ctl r %d 1" % (reg,))
print fout.read()
# Set DDRs to output