forked from dan/liminix
Now the kernel starts: ``` Starting kernel ... Linux version 5.15.137 (nixbld@liminix.builder) (mips-unknown-linux-musl-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.40) #1 SMP Fri Jan 26 14:47:51 UTC 2024 SoC Type: MediaTek MT7621 ver:1 eco:4 printk: bootconsole [early0] enabled CPU0 revision is: 0001992f (MIPS 1004Kc) VPE topology {2,2} total 4 Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes MIPS secondary cache 256kB, 8-way, linesize 32 bytes. Zone ranges: Normal [mem 0x0000000000000000-0x0000000007ffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x0000000007ffffff] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] OF: fdt: No valid device tree found, continuing without percpu: Embedded 11 pages/cpu s14544 r8192 d22320 u45056 Built 1 zonelists, mobility grouping on. Total pages: 32512 Kernel command line: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) Writing ErrCtl register=0003003d Readback ErrCtl register=0003003d mem auto-init: stack:all(zero), heap alloc:off, heap free:off Memory: 119864K/131072K available (6564K kernel code, 622K rwdata, 1244K rodata, 1220K init, 217K bss, 11208K reserved, 0K cma-reserved) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. NR_IRQS: 256 Kernel panic - not syncing: Failed to find mediatek,mt7621-sysc node ---[ end Kernel panic - not syncing: Failed to find mediatek,mt7621-sysc node ]--- ``` I'm guessing the important bits are: ``` OF: fdt: No valid device tree found, continuing without Kernel panic - not syncing: Failed to find mediatek,mt7621-sysc node ---[ end Kernel panic - not syncing: Failed to find mediatek,mt7621-sysc node ]--- ``` ... due to me booting with 'bootm <image>' instead of 'bootm <image> - <dtm>' because it seems my version of u-boot doesn't support '-' for the ramdisk. |
||
---|---|---|
.. | ||
arch | ||
bridge | ||
dhcp6c | ||
dnsmasq | ||
firewall | ||
hostapd | ||
mount | ||
network | ||
ntp | ||
outputs | ||
ppp | ||
s6 | ||
schnapps | ||
ssh | ||
vlan | ||
watchdog | ||
all-modules.nix | ||
base.nix | ||
busybox.nix | ||
hardware.nix | ||
hostname.nix | ||
kernel.nix | ||
outputs.nix | ||
ramdisk.nix | ||
squashfs.nix | ||
usb.nix | ||
users.nix | ||
wlan.nix |