Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
targets
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Feed
targets
Commits
d8781887
Commit
d8781887
authored
12 years ago
by
Benjamin Larsson
Browse files
Options
Downloads
Patches
Plain Diff
Fix brcm_ref Makefiles
parent
2380e274
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
brcm63xx_ref_nand/Makefile
+23
-0
23 additions, 0 deletions
brcm63xx_ref_nand/Makefile
brcm63xx_ref_nand/image/Makefile
+39
-0
39 additions, 0 deletions
brcm63xx_ref_nand/image/Makefile
with
62 additions
and
0 deletions
brcm63xx_ref_nand/Makefile
0 → 100644
+
23
−
0
View file @
d8781887
#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include
$(TOPDIR)/rules.mk
ARCH
:=
mips
BOARD
:=
brcm63xx_ref_nand
BOARDNAME
:=
Broadcom BCM63xx_ref_nand
FEATURES
:=
LINUX_VERSION
:=
3.3.8
MAINTAINER
:=
Benjamin Larsson <benjamin.larsson@inteno.se>
include
$(INCLUDE_DIR)/target.mk
define
Target/Description
Build
firmware
images
for
Broadcom
based
xDSL/routers
based
on
the
Broadcom
4.14
SDK
endef
$(
eval
$(
call BuildTarget
))
This diff is collapsed.
Click to expand it.
brcm63xx_ref_nand/image/Makefile
0 → 100644
+
39
−
0
View file @
d8781887
#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include
$(TOPDIR)/rules.mk
include
$(INCLUDE_DIR)/image.mk
KERNEL_ENTRY
:=
$(
shell readelf
-h
$(
KDIR
)
/vmlinux.bcm.elf |
grep
Entry |
awk
'{print $$4
}
'
)
define
Image/Build/REF
# Generate the tagged image
$(STAGING_DIR_HOST)/bin/imagetag_nand
-i
$(KDIR)/root.$(1)
-f
$(KDIR)/root.$(1)
\
-o
$(BIN_DIR)/IOPSYS-$(4).w
\
-b
$(2)
\
-c
$(3)
\
-q
NANDFS128
endef
define
Image/Prepare
$(STAGING_DIR_HOST)/bin/lzma
e
-d22
-lp2
-lc1
$(KDIR)/vmlinux.bcm
$(KDIR)/vmlinux.lzma
$(STAGING_DIR_HOST)/bin/imagetag_nand
-K
-i
$(KDIR)/vmlinux.lzma
-o
$(KDIR)/vmlinux.lz
-e
$(KERNEL_ENTRY)
dd
if
=
/dev/zero
of
=
$(
TMP_DIR
)
/file128k.tmp
bs
=
1k
count
=
128
echo
-e
"/cferam.000"
>
$(KDIR)/nocomprlist
echo
-e
"/vmlinux.lz"
>>
$(KDIR)/nocomprlist
touch
$(TARGET_DIR)/cferam.000
endef
define
Image/Build
dd
if
=
$(
KDIR
)
/root.
$(
1
)
of
=
$(
BIN_DIR
)
/
$(
IMG_PREFIX
)
-root
.
$(
1
)
bs
=
128k
conv
=
sync
# Various routers
$(
call
Image/Build/REF,
$(
1
)
,963268,63268,VG50
)
endef
$(
eval
$(
call BuildImage
))
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