mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 20:33:16 +01:00
Kernel updates since December 2009
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
target remote localhost:1234
|
||||
load final.axf
|
||||
load final.elf
|
||||
stepi
|
||||
sym final.axf
|
||||
sym final.elf
|
||||
break break_virtual
|
||||
continue
|
||||
sym kernel.elf
|
||||
stepi
|
||||
sym /opt/codezero/tasks/mm0/mm0.axf
|
||||
|
||||
4
tools/rvdebug.inc
Normal file
4
tools/rvdebug.inc
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user