OpenGrok
Cross Reference: boot.ldscript
xref
: /
src
/
sys
/
arch
/
luna68k
/
stand
/
boot
/
boot.ldscript
Home
|
History
|
Annotate
|
Download
|
only in
boot
History log of
/src/sys/arch/luna68k/stand/boot/boot.ldscript
Revision
Date
Author
Comments
1.5
26-Jan-2013
tsutsui
branches: 1.5.4;
Add proper padding to text section for elf2aout conversion.
The data and bss sections are 8 byte aligned on m68k ELF format,
but a.out header doesn't have section addresses and only
contains size values, so we have to pad size of text section
to make data section get aligned even after elf2aout.
Note elf2aout merges ELF data section into a.out text section
if binary is OMAGIC (i.e. text is writable too) so only
BSS section address was affected (and was almost harmless).
1.4
20-Jan-2013
tsutsui
branches: 1.4.2;
Specify text address via Makefile rather than hardcoding in boot.ldscript.
1.3
10-Jan-2013
tsutsui
Revert to using elf2aout(1) to build a.out binary.
a.out binary linked by ldscript doesn't work on some uncertain conditions.
1.2
10-Jan-2013
tsutsui
Link the target boot binary as a.out directly rather than using elf2aout(1).
Confirmed working on LUNA-I.
1.1
05-Jan-2013
tsutsui
First cut at NetBSD/luna68k native bootloader.
Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.
Tested on LUNA-I and old DK315C SCSI disk drive.
LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)
TODO:
- LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
- secondary SCSI support for LUNA-II
- netboot via le(4) (should be trivial)
- support boot options on bootloader prompt
- bootinfo (passing info about booted device and kernel symbols)
- support "press return to boot now, any other key for boot menu" method
like x86 bootloader (needs cnscan() like functions)
- tapeboot (anyone wants it?)
1.4.2.3
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.4.2.2
23-Jan-2013
yamt
sync with head
1.4.2.1
20-Jan-2013
yamt
file boot.ldscript was added on branch yamt-pagecache on 2013-01-23 00:05:53 +0000
1.5.4.2
25-Feb-2013
tls
resync with head
1.5.4.1
26-Jan-2013
tls
file boot.ldscript was added on branch tls-maxphys on 2013-02-25 00:28:48 +0000
Indexes created Tue Oct 21 19:09:51 GMT 2025