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 315
315
kernelParams =
316
316
if cfg . uboot . enable then [ ]
317
317
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"
326
320
"init=/sbin/init"
327
321
] ;
328
322
initrd = {
Original file line number Diff line number Diff line change 9
9
boot . consoleLogLevel = lib . mkDefault 7 ;
10
10
11
11
# 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
+ ] ;
13
22
14
23
sdImage =
15
24
let
You can’t perform that action at this time.
0 commit comments