NixOS on ARM/PINE64 ROCK64: Difference between revisions
fix links |
m Dark mode support |
||
| (One intermediate revision by one other user not shown) | |||
| Line 98: | Line 98: | ||
{| class="table" | {| class="table" | ||
|- | |- | ||
!colspan="2" style="background: | !colspan="2" style="background: var(--color-inverted)"| Pi-2 Bus | ||
|- | |- | ||
! Pin | ! Pin | ||
| Line 126: | Line 126: | ||
{| class="table arm-compatibility" | {| class="table arm-compatibility" | ||
| | | | ||
! style="background: | ! style="background: var(--color-inverted)" | Mainline kernel !! style="background: var(--color-inverted)" | ayufan-rock64/linux-mainline-kernel | ||
|- | |- | ||
! Ethernet | ! Ethernet | ||
| Line 154: | Line 154: | ||
This provides sound over HDMI, which the default kernel does not. | This provides sound over HDMI, which the default kernel does not. | ||
=== Initrd fails to unpack during boot === | |||
The old vendor U-Boot 2017.09 did not leave enough room between the kernel and initrd, causing recent kernels to overwrite the beginning of the initrd. This can be fixed by increasing <code>ramdisk_addr_r</code> in the U-Boot console, or using upstream U-Boot. | |||
Here is how to achieve in the uboot console (hit enter during boot to access it): | |||
<syntaxHighlight> | |||
=> print ramdisk_addr_r # this prints the old value | |||
ramdisk_addr_r=0x06000000 | |||
=> set ramdisk_addr_r 0x07000000 # this sets a new value | |||
=> saveenv # this persist the the configuration | |||
=> boot # than you can normally boot, if it still fails, you can try to increase the ramdisk_addr_r value further | |||
</syntaxHighlight> | |||
== Video decoding == | == Video decoding == | ||