Skip to content

Commit 8d6ad29

Browse files
committed
Linux is starting to boot
1 parent 0cde87a commit 8d6ad29

5 files changed

Lines changed: 44 additions & 12 deletions

File tree

‎README.md‎

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ b
9292
c
9393
9494
95-
U-Boot 2026.01-00661-gc899199e221c-dirty (Jun 09 2026 - 21:18:13 +0900)
95+
U-Boot 2026.01-00663-g58351542bd04-dirty (Jun 09 2026 - 21:45:36 +0900)
9696
9797
DRAM: 3.8 MiB
9898
SR is 0x2700
@@ -110,15 +110,43 @@ Err: serial
110110
Hit any key to stop autoboot: 0
111111
status; 0xa500
112112
status; 0xa500
113-
Loading vmlinux.lz4, 771594 bytes
113+
Loading vmlinux.lz4, 772901 bytes
114114
status; 0xa500
115115
Done
116-
Uncompressed size: 1336992 = 0x1466A0
117-
ELF overwrites reserved memory: 0x00000400 -> 0x00103170: -22
118-
ELF overwrites reserved memory: 0x0011f76c -> 0x0011f77c: -22
119-
ELF overwrites reserved memory: 0x0011fa80 -> 0x0011fad4: -22
120-
ELF overwrites reserved memory: 0x001438b4 -> 0x0014628c: -22
116+
Uncompressed size: 1337124 = 0x146724
117+
ELF overwrites reserved memory: 0x00000400 -> 0x00103860: -22
118+
ELF overwrites reserved memory: 0x0011f808 -> 0x0011f810: -22
119+
ELF overwrites reserved memory: 0x0011f810 -> 0x0011f81c: -22
120+
ELF overwrites reserved memory: 0x0011f81c -> 0x0011f82c: -22
121+
ELF overwrites reserved memory: 0x0011f82c -> 0x0011f83c: -22
122+
ELF overwrites reserved memory: 0x0011f83c -> 0x0011f84c: -22
123+
ELF overwrites reserved memory: 0x0011f84c -> 0x0011f85c: -22
124+
ELF overwrites reserved memory: 0x00134000 -> 0x00143928: -22
121125
new fdt 0033b1d0
126+
L
127+
s
128+
K[ 0.000000] Linux version 7.1.0-rc6-00187-g59679e53ee8a-dirty (daniel@kinako) (m68k-linux-gcc.br_real (Buildroot -gdb75a8eea0bd) 15.2.0, GNU ld (GNU Binutils) 2.46.0.20260210) #16 Tue Jun 9 22:43:03 JST 2026
129+
[ 0.000000] printk: legacy bootconsole [debug0] enabled
130+
[ 0.000000] Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
131+
[ 0.000000] Generic DT Machine (C) 2024 Daniel Palmer <daniel@thingy.jp>
132+
[ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
133+
[ 0.000000] Zone ranges:
134+
[ 0.000000] DMA [mem 0x0000000000000000-0x00000000003fffff]
135+
[ 0.000000] Normal empty
136+
[ 0.000000] Movable zone start for each node
137+
[ 0.000000] Early memory node ranges
138+
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000003fffff]
139+
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000003fffff]
140+
[ 0.000000] Kernel command line: earlyprintk
141+
[ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
142+
[ 0.000000] printk: log buffer data + meta data: 8192 + 25600 = 33792 bytes
143+
[ 0.000000] Dentry cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
144+
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
145+
[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 1024
146+
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
147+
[ 0.000000] SLUB: HWalign=16, Order=0-1, MinObjects=0, CPUs=1, Nodes=1
148+
[ 0.000000] NR_IRQS: 32
149+
[ 0.000000] timer_probe: no matching timers found
122150
```
123151

124152
Loading and decompressing the kernel will take some time. Wait!

‎buildlinux.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

3+
set -e
4+
set -u
5+
36
make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` megadrive_defconfig
47
make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` vmlinux -j8
58
./buildroot/output/host/bin/m68k-linux-strip linux/vmlinux
69
lz4 -f -B65536 --best linux/vmlinux linux/vmlinux.lz4
7-
8-
#make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` menuconfig
9-
#make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` savedefconfig

‎configlinux.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` menuconfig
4+
make -C linux ARCH=m68k CROSS_COMPILE=`realpath ./buildroot/output/host/bin/m68k-linux-` savedefconfig

‎u-boot‎

0 commit comments

Comments
 (0)