Merge branch 'devel'

Conflicts:
	tools/gdbinit
This commit is contained in:
Bahadir Balban
2010-03-26 00:28:14 +02:00
519 changed files with 23076 additions and 4614 deletions

View File

@@ -3248,6 +3248,8 @@ if __name__ == '__main__':
sys.exit(1)
for (switch, val) in options:
if switch == "-b":
force_batch = 1
if switch == "-V":
print "cmlconfigure", cml.version
raise SystemExit
@@ -3268,7 +3270,7 @@ if __name__ == '__main__':
raise SystemExit
# Probe the environment to see if we can use X for the front end.
if not force_tty and not force_debugger and not force_curses and not force_x and not force_q:
if not force_tty and not force_debugger and not force_curses and not force_x and not force_q and not force_batch:
force_x = force_q = is_under_X()
# Do we see X capability?
@@ -3278,7 +3280,8 @@ if __name__ == '__main__':
from Dialog import *
except:
print lang["NOTKINTER"]
time.sleep(5)
if not force_batch:
time.sleep(5)
force_curses = 1
force_x = force_q = 0

View File

@@ -4,5 +4,6 @@ stepi
sym final.elf
break break_virtual
continue
sym kernel.elf
stepi
sym /opt/codezero/build/kernel.elf

View File

@@ -1,5 +0,0 @@
cd build
qemu-system-arm -s -kernel final.elf -nographic -m 128 -M versatilepb &
arm-none-insight ; pkill qemu-system-arm
cd ..

4
tools/rvdebug.inc Normal file
View File

@@ -0,0 +1,4 @@
load/r '/home/bahadir/codezero/build/final.elf'
load/ni/np '/home/bahadir/codezero/build/kernel.elf'
bexec smp_start_cores
bexec idle_task

View File

@@ -11,6 +11,8 @@ find ./ -name '*.lds' >> tagfilelist
# Use file list to include in tags.
ctags --languages=C,C++,Asm --recurse -Ltagfilelist
# dont forget Emacs users :)
ctags -e --languages=C,C++,Asm --recurse -Ltagfilelist
# exuberant-ctags --languages=C,C++,Asm --recurse -Ltagfilelist
cscope -q -k -R -i tagfilelist

View File

@@ -28,6 +28,13 @@ def main():
['api', 'arch/'+ arch, 'arch/'+ arch + '/' + subarch, 'drivers', \
'generic', 'glue/' + arch, 'lib', 'platform/' + platform]
# Check if we need realview directory based on platform selected
if platform == "eb" or \
platform == "pba8" or \
platform == "pba9" or \
platform == "pb11mpcore":
search_folder += ['platform/realview']
# Put all sources into a file list.
for extn in file_extn:
for dir in search_folder: