Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157734319
D6242.id15976.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6242.id15976.diff
View Options
Index: sys/conf/Makefile.mips
===================================================================
--- sys/conf/Makefile.mips
+++ sys/conf/Makefile.mips
@@ -37,7 +37,7 @@
KERNLOADADDR?=0x80001000
# This obscure value is defined by CFE for WR160N
# To be changed later
-TRAMPLOADADDR?=0x807963c0
+TRAMPLOADADDR?=0x80800000
# We default to the MIPS32 ISA, if none specified in the
# kernel configuration file.
@@ -62,6 +62,7 @@
.if !defined(WITHOUT_KERNEL_TRAMPOLINE)
KERNEL_EXTRA=trampoline
+KERNEL_EXTRA_INSTALL=${KERNEL_KO}.tramp.bin
trampoline: ${KERNEL_KO}.tramp.bin
${KERNEL_KO}.tramp.bin: ${KERNEL_KO} $S/$M/$M/elf_trampoline.c \
$S/$M/$M/inckern.S
@@ -72,7 +73,7 @@
${CC} -O -nostdlib -I. -I$S ${TRAMP_EXTRA_FLAGS} ${TRAMP_LDFLAGS} -Xlinker \
-T -Xlinker ${LDSCRIPT_NAME}.tramp.noheader \
-DKERNNAME="\"${KERNEL_KO}.tmp\"" -DELFSIZE=${TRAMP_ELFSIZE} \
- $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S \
+ $S/$M/$M/inckern.S $S/$M/$M/elf_trampoline.c \
-o ${KERNEL_KO}.tramp.elf
${OBJCOPY} -S -O binary ${KERNEL_KO}.tramp.elf \
${KERNEL_KO}.tramp.bin
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 25, 3:42 PM (4 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33511095
Default Alt Text
D6242.id15976.diff (1 KB)
Attached To
Mode
D6242: [BCM] Improve MIPS trampoline code
Attached
Detach File
Event Timeline
Log In to Comment