From: Finn Thain <fthain@linux-m68k.org>
To: Daniel Palmer <daniel@0x0f.com>
Cc: geert@linux-m68k.org, linux-m68k@lists.linux-m68k.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/3] m68k goes DT
Date: Sun, 5 Jan 2025 20:40:51 +1100 (AEDT) [thread overview]
Message-ID: <291d1541-e026-cc50-6a55-42c11c64b6eb@linux-m68k.org> (raw)
In-Reply-To: <20250105071433.3943289-1-daniel@0x0f.com>
On Sun, 5 Jan 2025, Daniel Palmer wrote:
>
> What I'm thinking:
>
> - We initially add passing of an FDT via bootinfo for mmu
> - Add support for a generic machine that can boot almost anything so I
> can bring up my new (to Linux) machines.
> - I will migrate MVME147 to device tree.
> - Some like minded person migrates a machine they have to device tree.
> :)
Interesting ideas. I gather that you've already done a uboot port for
MVME147, and I guess uboot could be made to work on other m68k
platforms... but it may be easier to add your FDT suppor to the
already-available bootloaders on those platforms (?)
> - Maybe embed a FDT for machines that'll never get a bootloader that
> supports this and use the machine type to select the embedded FDT and
> move all of that stuff over without needing to mess with bootloaders.
>
I like this idea. A few weeks back I was recapping a Mac Classic II and
thinking about how I could boot Linux on it.
Pengiun (the bootloader I've been using) can be expected to fail with
"68020 has no MMU. Aborting boot...". However, the source code for EMILE
appears to have ample support for booting a nommu Mac.
Most of the drivers for this logic board are present in Linux. Some are
platform drivers, most rely on bootinfo to some extent (particularly
macfb.c and misc.c). And head.S also relies on bootinfo.
Maybe the easiest approach for head.S is to neglect support for both
bootinfo and FDT in the same binary, so it becomes a build-time choice.
That way, a first cut could be a new head.S that supports your "generic"
platform, lacks bootinfo support, but has an embedded FDT.
Then you could get to work on the drivers, and I'm guessing that may be
where most of the work lies. (I may be wrong, though -- I've never brought
up a new board.) I don't have much experience with FDT but I am curious
about the kind of driver changes this would involve.
next prev parent reply other threads:[~2025-01-05 9:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 7:14 Daniel Palmer
2025-01-05 7:14 ` [RFC PATCH 1/3] m68k: bootinfo: Add tag for FDT address Daniel Palmer
2025-01-05 7:14 ` [RFC PATCH 2/3] m68k: bootinfo: Add generic machine type Daniel Palmer
2025-01-05 7:14 ` [RFC PATCH 3/3] m68k: Add dt support (proof of concept) Daniel Palmer
2025-01-05 9:40 ` Finn Thain [this message]
2025-01-05 11:00 ` [RFC PATCH 0/3] m68k goes DT Daniel Palmer
2025-01-06 3:28 ` Finn Thain
2025-01-06 15:51 ` Josh Juran
2025-01-07 0:57 ` Bootloaders, was " Finn Thain
2025-03-04 10:43 ` Daniel Palmer
2025-03-05 3:42 ` Finn Thain
2025-01-09 10:06 ` Geert Uytterhoeven
2025-01-05 14:59 ` Greg Ungerer
2025-01-06 2:10 ` Daniel Palmer
2025-01-06 11:37 ` Brad Boyer
2025-01-06 22:14 ` Finn Thain
2025-01-09 10:29 ` Geert Uytterhoeven
2025-01-14 0:42 ` Finn Thain
2025-01-09 10:31 ` Geert Uytterhoeven
2025-01-09 14:08 ` Daniel Palmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=291d1541-e026-cc50-6a55-42c11c64b6eb@linux-m68k.org \
--to=fthain@linux-m68k.org \
--cc=daniel@0x0f.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®