Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
INTsight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
INTsight
Commits
1d616626
Commit
1d616626
authored
6 years ago
by
Luis Gerhorst
Committed by
Bernhard Heinloth
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused flash_kernel script
parent
1178d575
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/measuremore/scripts/flash_kernel
+0
-4
0 additions, 4 deletions
arch/arm/measuremore/scripts/flash_kernel
arch/arm/measuremore/scripts/flash_kernel.qml
+0
-63
0 additions, 63 deletions
arch/arm/measuremore/scripts/flash_kernel.qml
with
0 additions
and
67 deletions
arch/arm/measuremore/scripts/flash_kernel
deleted
100755 → 0
+
0
−
4
View file @
1178d575
#!/bin/sh
SCRIPT_BASE
=
`
dirname
$0
`
sam-ba
-x
$SCRIPT_BASE
/flash_kernel.qml 2>&1 |
tee
$SCRIPT_BASE
/flash_kernel.log
This diff is collapsed.
Click to expand it.
arch/arm/measuremore/scripts/flash_kernel.qml
deleted
100644 → 0
+
0
−
63
View file @
1178d575
import
SAMBA
3.2
import
SAMBA
.
Connection
.
Serial
3.2
import
SAMBA
.
Device
.
SAMA5D3
3.2
SerialConnection
{
device
:
SAMA5D3Xplained
{
config
{
nandflash
{
header
:
0xc0902405
}
}
}
function
initNand
()
{
/* Placeholder: Nothing to do */
}
function
getEraseSize
(
size
)
{
/* get smallest erase block size supported by applet */
var
eraseSize
for
(
var
i
=
0
;
i
<=
32
;
i
++
)
{
eraseSize
=
1
<<
i
if
((
applet
.
eraseSupport
&
eraseSize
)
!==
0
)
break
;
}
eraseSize
*=
applet
.
pageSize
/* round up file size to erase block size */
return
(
size
+
eraseSize
-
1
)
&
~
(
eraseSize
-
1
)
}
function
eraseWrite
(
offset
,
filename
,
bootfile
)
{
/* get file size */
var
file
=
File
.
open
(
filename
,
false
)
var
size
=
file
.
size
()
file
.
close
()
applet
.
erase
(
offset
,
getEraseSize
(
size
))
applet
.
write
(
offset
,
filename
,
bootfile
)
}
onConnectionOpened
:
{
var
dtbFileName
=
"
at91-sama5d3_xplained.dtb
"
var
ubootEnvFileName
=
"
u-boot-env.bin
"
// initialize Low-Level applet
print
(
"
-I- === Initilize low level (system clocks) ===
"
)
initializeApplet
(
"
lowlevel
"
)
// intialize extram applet (needed for sam9)
print
(
"
-I- === Initialize extram ===
"
)
initializeApplet
(
"
extram
"
)
print
(
"
-I- === Initialize nandflash access ===
"
)
initializeApplet
(
"
nandflash
"
)
print
(
"
-I- === Load Kernel image ===
"
)
eraseWrite
(
0x00200000
,
"
../boot/zImage
"
)
print
(
"
-I- === Done. ===
"
)
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment