Re: Getting stuck during boot on a 68VZ328 (DragonBallVZ).

2014-04-01 Thread Daniel Palmer
On Wed, Apr 2, 2014 at 2:06 PM, Finn Thain wrote: >> - For the 68[EZ|VZ|SZ]328 you will need to fix up the PLL settings and >> do the fixes from Luis Alves at >> https://github.com/ljalves/alce68k/commit/4ef1df317c7acb6dfcd0fe9e87be9b4a60b141a4 > > It would be nice if that work was pushed upstrea

Re: Getting stuck during boot on a 68VZ328 (DragonBallVZ).

2014-04-01 Thread Finn Thain
On Wed, 2 Apr 2014, Daniel Palmer wrote: > I now have this mostly working. Well done! > - For the 68[EZ|VZ|SZ]328 you will need to fix up the PLL settings and > do the fixes from Luis Alves at > https://github.com/ljalves/alce68k/commit/4ef1df317c7acb6dfcd0fe9e87be9b4a60b141a4 It would be nice

Re: Getting stuck during boot on a 68VZ328 (DragonBallVZ).

2014-04-01 Thread Daniel Palmer
I now have this mostly working. I have some issues with busybox and the clock frequency showing incorrectly in /proc/cpuinfo. It's running at 33MHz and it has to be running somewhere near that as the baud rate for the serial is derived from that clock. Just in case someone else wants to run the la

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Michael Schmitz
Hi Finn, >> Don't know about Mac, > > It may be possible to boot Linux with MacOS running in 24-bit mode, and > ISTR that this leads to a large number of memory chunks. The Penguin The chunk size would still be 16 MB, perhaps? (Unless Geert is right and interleaving means multiple small memory c

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Finn, On Tue, Apr 1, 2014 at 2:23 PM, Finn Thain wrote: >> but I have some memories of interleaved banks and such... > > There are some Mac models with memory controllers that do interleaving. I > don't know whether interleaving is relevant here. I meant that if you have e.g. 16 MiB of RAM, b

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Finn Thain
On Tue, 1 Apr 2014, Geert Uytterhoeven wrote: > On Tue, Apr 1, 2014 at 1:52 AM, Michael Schmitz wrote: > > > > do we know the size of the first memory chunk early enough in > > > > head.S? Maybe it's time to increase INIT_MAPPED_SIZE at least in > > > > cases where we know that there's more tha

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Andreas Schwab
schmitz writes: > What size FastRAM did precipitate that bug for you, Andreas? It's the combination of kernel size and FastRAM setting that matters. You can easily watch it by adding the bootmem_debug kernel parameter. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 5

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Michael, On Tue, Apr 1, 2014 at 10:12 AM, schmitz wrote: > While poking around in head.S, I came across a comment that stated the > second page at the start of the kernel is used for the kernel page dir - > that is the second page of virtual address space (FastRAM, in the case we > care about

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread schmitz
Hi Geert, Hi Michael, On Tue, Apr 1, 2014 at 9:39 AM, schmitz wrote: On Mon, Mar 31, 2014 at 11:24 PM, Michael Schmitz wrote: do we know the size of the first memory chunk early enough in head.S? Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where we know that ther

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Michael, On Tue, Apr 1, 2014 at 9:45 AM, schmitz wrote: > do we know the size of the first memory chunk early enough in head.S? > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where > we know that there's more than 4 MB in the first memchunk ... How do yo

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Michael, On Tue, Apr 1, 2014 at 9:39 AM, schmitz wrote: >> On Mon, Mar 31, 2014 at 11:24 PM, Michael Schmitz >> wrote: >>> do we know the size of the first memory chunk early enough in head.S? >>> Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where >>> we know that there's mo

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread schmitz
Hi Geert, do we know the size of the first memory chunk early enough in head.S? Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where we know that there's more than 4 MB in the first memchunk ... How do you know? You would have to reimplement the check paging_init does

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread schmitz
Hi Geert Hi Michael, On Mon, Mar 31, 2014 at 11:24 PM, Michael Schmitz wrote: do we know the size of the first memory chunk early enough in head.S? Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where we know that there's more than 4 MB in the first memchunk ... "get_

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Michael, On Tue, Apr 1, 2014 at 1:52 AM, Michael Schmitz wrote: >> Michael Schmitz writes: >> > do we know the size of the first memory chunk early enough in head.S? >> > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where >> > we know that there's more than 4 MB in the first

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-04-01 Thread Geert Uytterhoeven
Hi Michael, On Mon, Mar 31, 2014 at 11:24 PM, Michael Schmitz wrote: > do we know the size of the first memory chunk early enough in head.S? > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where > we know that there's more than 4 MB in the first memchunk ... "get_bi_record BI_ME