Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC Bus
Commits
44817c43
Commit
44817c43
authored
Nov 16, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: added example-fru-generator-loop
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
92bd62fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
example-fru-generator-loop
tools/example-fru-generator-loop
+13
-0
No files found.
tools/example-fru-generator-loop
0 → 100755
View file @
44817c43
#!/bin/sh
export
FRU_VENDOR
=
"CERN"
export
FRU_NAME
=
"FmcAdc100m14b4cha"
export
FRU_PART
=
"EDA-02063-V5-0"
serial
=
"HCCFFIA___-CR"
for
number
in
$(
seq
1 50
)
;
do
# build number-string "ns"
ns
=
"
$(
printf
%06d
$number
)
"
./fru-generator
-s
"
${
serial
}${
ns
}
"
>
eeprom-
${
ns
}
.bin
done
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