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

Re: linux 3.8.12-1 (atari flavour) does not boot



On Mon, May 13, 2013 at 11:29 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
> OK, thanks. What about the others (amiga, bvme*, mac, two mvme*)?

arch/m68k/kernel/head.S has code to set up a 4 MiB mapping (1 page (4 KiB)
of 1024 PTEs) for the kernel, so it applies to all subplatforms:

/*
 *      mmu_init
 *
 *      This block of code does what's necessary to map in the various kinds
 *      of machines for execution of Linux.
 *      First map the first 4 MB of kernel code & data
 */

        mmu_map #PAGE_OFFSET,%pc@(L(phys_kernel_start)),#4*1024*1024,\
                %pc@(m68k_supervisor_cachemode)

I guess it can be extended, if really needed. Does it work if you
change the "#4"
above to "#8"?

Note that > 4 MiB kernels won't work on platforms where the first memory block
is smaller than the kernel size.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: