Skip to content

Instantly share code, notes, and snippets.

@lheckemann
Last active January 10, 2021 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lheckemann/9c885d8a9a91ef6fe1d5bf76a53c9f21 to your computer and use it in GitHub Desktop.
Save lheckemann/9c885d8a9a91ef6fe1d5bf76a53c9f21 to your computer and use it in GitHub Desktop.
Difference in boot messages on HoneyComb LX2K

FIXED!

The problem was that scriptaddr was set such that it did not leave enough space for extlinux.conf with more than 5 NixOS generations. Setting scriptaddr fixed it. Thanks @thefloweringash!

Retrieving file: /extlinux/../nixos/nbprzb102ykkq5m2km36gca9kl4ry82w-initrd-linux-4.19.68-initrd
13161485 bytes read in 662 ms (19 MiB/s)
Retrieving file: /extlinux/../nixos/5bgxh38xzzw44iinylk5syhr9vj1dfhy-linux-4.19.68-Image
23177728 bytes read in 1141 ms (19.4 MiB/s)
append: systemConfig=/nix/store/gjw21xlgvs9chsbc84h7s6g0dxb43xri-nixos-system-sol-20.09.2382.ca119749d86 init=/nix/store/gjw21xlgvs9chsbc84h7s6g0dxb43xri-nixos-system-sol-20.09.2382.ca119749d86/init console=ttyAMA0,115200 earlycon=pl011,mm
io32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf panic=3 boot.shell_on_fail
Retrieving file: /extlinux/../nixos/5bgxh38xzzw44iinylk5syhr9vj1dfhy-linux-4.19.68-dtbs/freescale/fsl-lx2160a-cex7.dtb
26261 bytes read in 36 ms (711.9 KiB/s)
## Flattened Device Tree blob at 81000000
Booting using the fdt blob at 0x81000000
Loading Device Tree to 000000009fff6000, end 000000009ffff694 ... OK
Releasing fan controller full speed gpio
fsl-mc: ERROR: Bad DPL image (bad header)
fsl-mc: DPL not deployed, DPAA2 ethernet not work
Error: Timeout waiting for MC response
dpbp_destroy() failed: -110
dpbp_exit() failed: -110
Starting kernel ...
Retrieving file: /boot/extlinux/../nixos/0z6abwywwwsndn27ijgjrqsys0hdzxwj-initrd-linux-4.19.68-initrd
9501238 bytes read in 284 ms (31.9 MiB/s)
Retrieving file: /boot/extlinux/../nixos/5bgxh38xzzw44iinylk5syhr9vj1dfhy-linux-4.19.68-Image
23177728 bytes read in 657 ms (33.6 MiB/s)
append: systemConfig=/nix/store/bbiqxby76zkb0764rkllb22vwsyxpcx1-nixos-system-sol-20.09.2382.ca119749d86 init=/nix/store/bbiqxby76zkb0764rkllb22vwsyxpcx1-nixos-system-sol-20.09.2382.ca119749d86/init console=ttyAMA0,115200 earlycon=pl011,mm
io32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf panic=3 boot.shell_on_fail
Retrieving file: /boot/extlinux/../nixos/5bgxh38xzzw44iinylk5syhr9vj1dfhy-linux-4.19.68-dtbs/freescale/fsl-lx2160a-cex7.dtb
26261 bytes read in 87 ms (293.9 KiB/s)
## Flattened Device Tree blob at 81000000
Booting using the fdt blob at 0x81000000
Loading Device Tree to 000000009fff6000, end 000000009ffff694 ... OK
Releasing fan controller full speed gpio
fsl-mc: Deploying data path layout ... WARNING: Firmware returned an error (GSR: 0x3f)
Starting kernel ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment