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
a73c8dbb
Commit
a73c8dbb
authored
18 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
Update NAND boot documentation
Patch by Stefan Roese, 12 Sep 2006
parent
98e43917
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG
+4
-1
4 additions, 1 deletion
CHANGELOG
Makefile
+2
-2
2 additions, 2 deletions
Makefile
doc/README.nand-boot-ppc440
+24
-0
24 additions, 0 deletions
doc/README.nand-boot-ppc440
nand_spl/board/amcc/sequoia/Makefile
+2
-2
2 additions, 2 deletions
nand_spl/board/amcc/sequoia/Makefile
with
32 additions
and
5 deletions
CHANGELOG
+
4
−
1
View file @
a73c8dbb
...
...
@@ -2,7 +2,10 @@
Changes since U-Boot 1.1.4:
======================================================================
* Add documentation on the latest build environment extensions to
* Update NAND boot documentation
Patch by Stefan Roese, 12 Sep 2006
* Add documentation on the latest build environment extensions to
the README file.
* Remove dead code (i2o and dma) from cpu/mpc824x/drivers/ directory.
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
2
View file @
a73c8dbb
...
...
@@ -78,7 +78,7 @@ saved-output := $(BUILD_DIR)
# Attempt to create a output directory.
$(
shell
[
-d
${
BUILD_DIR
}
]
||
mkdir
-p
${
BUILD_DIR
})
# Verify if it was successful.
# Verify if it was successful.
BUILD_DIR
:=
$(
shell
cd
$(
BUILD_DIR
)
&&
/bin/pwd
)
$(
if
$(
BUILD_DIR
)
,,
$(
error output directory
"
$(
saved-output
)
"
does not exist
))
endif
# ifneq ($(BUILD_DIR),)
...
...
@@ -272,7 +272,7 @@ $(NAND_SPL): version
$(
MAKE
)
-C
nand_spl all
$(U_BOOT_NAND)
:
$(NAND_SPL) $(obj)u-boot.bin
cat
nand_spl/u-boot-spl-
4
k.bin
$(
obj
)
u-boot.bin
>
$(
obj
)
u-boot-nand.bin
cat
nand_spl/u-boot-spl-
16
k.bin
$(
obj
)
u-boot.bin
>
$(
obj
)
u-boot-nand.bin
version
:
@
echo
-n
"#define U_BOOT_VERSION
\"
U-Boot "
>
$(
VERSION_FILE
);
\
...
...
This diff is collapsed.
Click to expand it.
doc/README.nand-boot-ppc440
+
24
−
0
View file @
a73c8dbb
...
...
@@ -33,4 +33,28 @@ is set up. While still running from cache, I experienced problems accessing
the NAND controller.
Example: Build and install NAND boot image for Sequoia (440EPx):
a) Configure for sequoia with NAND boot support:
# make sequoia_nand_config
b) Build image(s)
# make
This will generate the SPL image in the "nand_spl" directory:
nand_spl/u-boot-spl.bin
Also another image is created spanning a whole NAND block (16kBytes):
nand_spl/u-boot-spl-16k.bin
The main NAND U-Boot image is generated in the toplevel directory:
u-boot.bin
A combined image of u-boot-spl-16k.bin and u-boot.bin is also created:
u-boot-nand.bin
This image should be programmed at offset 0 in the NAND flash:
# tftp 100000 /tftpboot/sequoia/u-boot-nand.bin
# nand erase 0 60000
# nand write 100000 0 60000
September 07 2006, Stefan Roese <sr@denx.de>
This diff is collapsed.
Click to expand it.
nand_spl/board/amcc/sequoia/Makefile
+
2
−
2
View file @
a73c8dbb
...
...
@@ -35,11 +35,11 @@ COBJS = nand_boot.o ndfc.o sdram.o
SRCS
:=
$(
SOBJS:.o
=
.S
)
$(
COBJS:.o
=
.c
)
OBJS
:=
$(
addprefix
$(
obj
)
,
$(
SOBJS
)
$(
COBJS
))
ALL
=
u-boot-spl u-boot-spl.bin u-boot-spl-
4
k.bin
ALL
=
u-boot-spl u-boot-spl.bin u-boot-spl-
16
k.bin
all
:
$(obj).depend $(ALL)
u-boot-spl-
4
k.bin
:
u-boot-spl
u-boot-spl-
16
k.bin
:
u-boot-spl
$(
OBJCOPY
)
${
OBJCFLAGS
}
--pad-to
=
$(
PAD_TO
)
-O
binary
$<
$@
u-boot-spl.bin
:
u-boot-spl
...
...
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