Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor 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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
070610c5
Commit
070610c5
authored
19 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Add support for OF flat tree for the STXtc board.
Patch by Pantelis Antoniou, 04 Sep 2005
parent
f57f70aa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
board/stxxtc/Makefile
+10
-1
10 additions, 1 deletion
board/stxxtc/Makefile
include/configs/stxxtc.h
+8
-12
8 additions, 12 deletions
include/configs/stxxtc.h
with
21 additions
and
13 deletions
CHANGELOG
+
3
−
0
View file @
070610c5
...
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
======================================================================
* Add support for OF flat tree for the STXtc board.
Patch by Pantelis Antoniou, 04 Sep 2005
* Support passing of OF flat trees to the kernel.
Patch by Pantelis Antoniou, 04 Sep 2005
...
...
This diff is collapsed.
Click to expand it.
board/stxxtc/Makefile
+
10
−
1
View file @
070610c5
...
...
@@ -25,11 +25,19 @@ include $(TOPDIR)/config.mk
LIB
=
lib
$(
BOARD
)
.a
OBJS
=
$(
BOARD
)
.o
OBJS
=
$(
BOARD
)
.o
oftree.o
$(LIB)
:
.depend $(OBJS)
$(
AR
)
crv
$@
$(
OBJS
)
%.dtb
:
%.dts
dtc
-f
-V
0x10
-I
dts
-O
dtb
$<
>
$@
%.c
:
%.dtb
xxd
-i
$<
\
|
sed
-e
"s/^unsigned char/const unsigned char/g"
\
|
sed
-e
"s/^unsigned int/const unsigned int/g"
>
$@
#########################################################################
.depend
:
Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
...
...
@@ -38,3 +46,4 @@ $(LIB): .depend $(OBJS)
sinclude
.depend
#########################################################################
This diff is collapsed.
Click to expand it.
include/configs/stxxtc.h
+
8
−
12
View file @
070610c5
...
...
@@ -574,19 +574,15 @@ typedef unsigned int led_id_t;
#define CONFIG_CRC32_VERIFY 1
#define CONFIG_HUSH_OLD_PARSER_COMPATIBLE 1
/*
Note: change below for your network setting!!!
* This was done just to facilitate manufacturing test and configuration.
*/
#define CONFIG_
ETHADDR 00:e0:0c:07:9b:8a
/*
****************************************************************************/
/* pass open firmware flat tree
*/
#define CONFIG_
OF_FLAT_TREE 1
#define CONFIG_SERVERIP 192.168.08.1
#define CONFIG_IPADDR 192.168.08.85
#define CONFIG_GATEWAYIP 192.168.08.1
#define CONFIG_NETMASK 255.255.255.0
#define CONFIG_HOSTNAME stx_xtc
#define CONFIG_ROOTPATH /xtcroot
#define CONFIG_BOOTFILE uImage
#define CONFIG_LOADADDR 0x1000000
/* maximum size of the flat tree (8K) */
#define OF_FLAT_TREE_MAX_SIZE 8192
#define OF_CPU "PowerPC,MPC870@0"
#define OF_TBCLK (MPC8XX_HZ / 16)
#endif
/* __CONFIG_H */
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