Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
3244725b
Commit
3244725b
authored
Oct 22, 2012
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flash-wrs: erase nand memory before write on it
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
993b3017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
flash-wrs
build/flash-wrs
+5
-1
No files found.
build/flash-wrs
View file @
3244725b
#!/bin/sh
# A script to ease the use of the usb loader, possibly changing the mac address
#
# Authors:
# Authors:
# - Benoit Rat (Seven Solutions, www.sevensols.com)
# - Federico Vaga
# - Alessandro Rubini
#
# GNU Lesser General Public License Usage
...
...
@@ -262,6 +263,9 @@ cd ..
EOF
fakeroot bash
$TMPSCRIPT
# Erase all nand memory
${
WRS_BASE_DIR
}
/usb-loader/mch_flasher
-e
-m
nand
# Start nand flashing procedure
${
WRS_BASE_DIR
}
/usb-loader/mch_flasher
-m
ddr
$FLAGS
$DEV
${
Tbarebox
}
0x0
${
kernel
}
0x1000000
${
TMPCPIO
}
0x1FFFFF8
rm
-rf
$TMPFS
...
...
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