Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
bccae903
Commit
bccae903
authored
19 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Fix booting from serial dataflash on AT91RM9200
Patch by Peter Menzebach, 29 Aug 2005
parent
6ebc7921
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
common/cmd_bootm.c
+9
-7
9 additions, 7 deletions
common/cmd_bootm.c
with
12 additions
and
7 deletions
CHANGELOG
+
3
−
0
View file @
bccae903
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
Changes for U-Boot 1.1.4:
======================================================================
======================================================================
* Fix booting from serial dataflash on AT91RM9200
Patch by Peter Menzebach, 29 Aug 2005
* Add JFFS2 support for TRAB board
* Add JFFS2 support for TRAB board
Patch by Martin Krause, 25 Aug 2005
Patch by Martin Krause, 25 Aug 2005
...
...
This diff is collapsed.
Click to expand it.
common/cmd_bootm.c
+
9
−
7
View file @
bccae903
...
@@ -204,19 +204,21 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
...
@@ -204,19 +204,21 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
}
SHOW_BOOT_PROGRESS
(
3
);
SHOW_BOOT_PROGRESS
(
3
);
#ifdef CONFIG_HAS_DATAFLASH
if
(
addr_dataflash
(
addr
)){
len
=
ntohl
(
hdr
->
ih_size
)
+
sizeof
(
image_header_t
);
read_dataflash
(
addr
,
len
,
(
char
*
)
CFG_LOAD_ADDR
);
addr
=
CFG_LOAD_ADDR
;
}
#endif
/* for multi-file images we need the data part, too */
/* for multi-file images we need the data part, too */
print_image_hdr
((
image_header_t
*
)
addr
);
print_image_hdr
((
image_header_t
*
)
addr
);
data
=
addr
+
sizeof
(
image_header_t
);
data
=
addr
+
sizeof
(
image_header_t
);
len
=
ntohl
(
hdr
->
ih_size
);
len
=
ntohl
(
hdr
->
ih_size
);
#ifdef CONFIG_HAS_DATAFLASH
if
(
addr_dataflash
(
addr
)){
read_dataflash
(
data
,
len
,
(
char
*
)
CFG_LOAD_ADDR
);
data
=
CFG_LOAD_ADDR
;
}
#endif
if
(
verify
)
{
if
(
verify
)
{
puts
(
" Verifying Checksum ... "
);
puts
(
" Verifying Checksum ... "
);
if
(
crc32
(
0
,
(
char
*
)
data
,
len
)
!=
ntohl
(
hdr
->
ih_dcrc
))
{
if
(
crc32
(
0
,
(
char
*
)
data
,
len
)
!=
ntohl
(
hdr
->
ih_dcrc
))
{
...
...
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