Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
dece0f42
Commit
dece0f42
authored
Nov 27, 2012
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: add default CR/CSR address to relocate script
parent
9c6fae70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
relocate
tools/relocate
+2
-0
No files found.
tools/relocate
View file @
dece0f42
...
...
@@ -12,6 +12,8 @@ if ! (echo $ADDRESS | grep -qi '^0x[0-9a-f]\{8\}' ) ; then
exit
1
fi
CR_CSR_BASE
=
0x600000
BYTE1
=
`
echo
$ADDRESS
|
sed
's!\(0x\)\?\([0-9a-fA-F][0-9a-fA-F]\)......!\2!'
`
BYTE2
=
`
echo
$ADDRESS
|
sed
's!\(0x\)\?..\([0-9a-fA-F][0-9a-fA-F]\)....!\2!'
`
BYTE3
=
`
echo
$ADDRESS
|
sed
's!\(0x\)\?....\([0-9a-fA-F][0-9a-fA-F]\)..!\2!'
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment