Blame

e48949 Bob Green 2026-04-07 16:17:56
1
# Linux Port
2
1f5d66 Bob Green 2026-04-07 16:26:18
3
> [!WARNING]
4
> This page is very much a work in progress!
32a8d2 Bob Green 2026-04-07 16:24:40
5
f2f9ec Bob Green 2026-04-07 16:23:29
6
A _"linux system"_ comprises a few components:
7
1. A Kernel
8
2. A Root filesystem
9
3. Some utilities/commands
10
32a8d2 Bob Green 2026-04-07 16:24:40
11
## Building
12
### Kernel
2d13af Bob Green 2026-04-07 16:27:51
13
```
14
git clone --depth 1 --branch "v6.15" https://github.com/torvalds/linux
15
cd linux
16
make ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- tinyconfig
17
make ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- menuconfig
18
make ARCH=m68k CROSS_COMPILE=m68k-linux-gnu-
19
```
20
32a8d2 Bob Green 2026-04-07 16:24:40
21
### Utilities
2d13af Bob Green 2026-04-07 16:27:51
22
I am using BusyBox for a basic set of utilities
23
```
24
wget https://busybox.net/downloads/busybox-1.37.0.tar.bz2
25
tar xvf busybox-1.37.0.tar.bz2
26
cd busybox-1.37.0
27
make CROSS_COMPILE=m68k-linux-gnu- menuconfig
28
make CROSS_COMPILE=m68k-linux-gnu-
29
```
32a8d2 Bob Green 2026-04-07 16:24:40
30
e48949 Bob Green 2026-04-07 16:17:56
31
## Links
32
- [Helpful Article](https://www.aslak.net/index.php/2022/01/11/porting-linux-to-the-68030-based-maxi030/), and [related code](https://github.com/aslak3/MAXI030).
df18ea Bob Green 2026-04-07 16:19:29
33
- [Explanation of the boot process](https://tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html)
680239 Bob Green 2026-04-07 16:20:31
34
- [BusyBox](https://busybox.net/)
680931 Bob Green 2026-04-07 16:28:30
35
- https://www.subrat.info/build-kernel-and-userspace/
36
- https://weeraman.com/building-a-tiny-linux-kernel/
37
- https://github.com/bluedragon1221/minlinux2