Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/arch/netwinder/conf



Module Name:    src
Committed By:   martin
Date:           Tue Dec 19 12:49:40 UTC 2023

Modified Files:
        src/sys/arch/netwinder/conf [netbsd-10]: GENERIC Makefile.netwinder.inc
            kern.ldscript std.netwinder

Log Message:
Pull up following revision(s) (requested by uwe in ticket #510):

        sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12
        sys/arch/netwinder/conf/std.netwinder: revision 1.17
        sys/arch/netwinder/conf/kern.ldscript: revision 1.11
        sys/arch/netwinder/conf/GENERIC: revision 1.146
        sys/arch/netwinder/conf/GENERIC: revision 1.147

netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT.  Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script.  Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.

netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page.  While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.

netwinder: GENERIC - trim down some
It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.

netwinder: GENERIC - trim down some more
Disable more stuff to make GENERIC just about fit.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.144.4.1 src/sys/arch/netwinder/conf/GENERIC
cvs rdiff -u -r1.11 -r1.11.48.1 \
    src/sys/arch/netwinder/conf/Makefile.netwinder.inc
cvs rdiff -u -r1.10 -r1.10.48.1 src/sys/arch/netwinder/conf/kern.ldscript
cvs rdiff -u -r1.16 -r1.16.68.1 src/sys/arch/netwinder/conf/std.netwinder

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index