Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

dennis wrote:

> That generic x68x requires a 68030 makes sense since that's the first
> CPU where the code can count on knowing how the MMU works.

Well, it's not a guess but the design of NetBSD/x68k.

> A 68020
> would have a manufacturer-specific MMU,

Note there is Motorola MC68851 PMMU for 68020 and
some hp300 and mac68k machines have it (and we support them).

> There is no reason to restrict the instruction set to
> that of the 68000 in any case since NetBSD won't run on that.

In this prinary bootloader case, 68000 was intended to be supported
to print "wrong MPU" warning for users, while it isn't implemented yet.

Actually X68000 EXPERT (emulated by XM6i) can run the primary boot_ustar
in NetBSD/x68k 6.1.3 boot floppy and it loads the secondary boot.
(though it fails in the secondary boot without proper warning yet)

>> AFLAGS+=   -Wa,-march=m68000 -Wa,-mcpu=m68000
works both with gcc 4.5 and 4.8 (and same binaries are generated)
so I'll put it back to the Makefile.

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index