This repository was archived by the owner on Mar 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 315315 kernelParams =
316316 if cfg . uboot . enable then [ ]
317317 else [
318- # This is ugly and fragile, but the sdImage image has an msdos
319- # table, so the partition table id is a 1-indexed hex
320- # number. So, we drop the hex prefix and stick on a "02" to
321- # refer to the root partition.
322- # "root=PARTUUID=${lib.strings.removePrefix "0x" config.sdImage.firmwarePartitionID}-02"
323- # "rootfstype=ext4"
324- "fsck.repair=yes"
325- "rootwait"
318+ "console=tty1"
319+ "console=serial0,115200n8"
326320 "init=/sbin/init"
327321 ] ;
328322 initrd = {
Original file line number Diff line number Diff line change 99 boot . consoleLogLevel = lib . mkDefault 7 ;
1010
1111 # https://github.com/raspberrypi/firmware/issues/1539#issuecomment-784498108
12- boot . kernelParams = [ "console=serial0,115200n8" "console=tty1" ] ;
12+ boot . kernelParams = [
13+ # This is ugly and fragile, but the sdImage image has an msdos
14+ # table, so the partition table id is a 1-indexed hex
15+ # number. So, we drop the hex prefix and stick on a "02" to
16+ # refer to the root partition.
17+ "root=PARTUUID=${ lib . strings . removePrefix "0x" config . sdImage . firmwarePartitionID } -02"
18+ "rootfstype=ext4"
19+ "fsck.repair=yes"
20+ "rootwait"
21+ ] ;
1322
1423 sdImage =
1524 let
You can’t perform that action at this time.
0 commit comments