OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [tools/] [amber-printk.sh] - Diff between revs 2 and 11

Show entire file | Details | Blame | View Log

Rev 2 Rev 11
Line 45... Line 45...
VMLINUXDIS=../../sw/vmlinux/vmlinux.dis
VMLINUXDIS=../../sw/vmlinux/vmlinux.dis
AMBERDIS=amber.dis
AMBERDIS=amber.dis
 
 
 
 
if [[ -e $VMLINUXDIS ]] ; then
if [[ -e $VMLINUXDIS ]] ; then
  ADDR=`grep '<emit_log_char>:' $VMLINUXDIS | awk '{print $1}'`
  ADDR=`grep '<emit_log_char>:' $VMLINUXDIS | awk '{print $1}' | sed 's/^0*//'`
  grep "to $ADDR" $AMBERDIS | awk '{print $8}' | awk -F "" '{print $7 $8}' | ../../sw/tools/amber-mem-ascii
  grep "to $ADDR" $AMBERDIS | awk '{print $8}' | awk -F "" '{print $7 $8}' | ../../sw/tools/amber-mem-ascii
else
else
  echo "Error can't find the file $VMLINUXDIS"
  echo "Error can't find the file $VMLINUXDIS"
fi
fi
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.