PINE64
How to update/compile Debian 12.5? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: How to update/compile Debian 12.5? (/showthread.php?tid=19095)



How to update/compile Debian 12.5? - Wizardknight - 02-22-2024

I am running Debian 12.5 on my Rock64. I am using the nightly images https://d-i.debian.org/daily-images/arm64/daily/netboot/SD-card-images/ offered here.
The image works great for the most part.

I would really like to fix two things.
1. There is a 5v error related to the DTS file that has what looks like an easy patch to implement.

Code:
  rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
  rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
  rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv  on device rockchip-pinctrl
  reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back

Described here: https://patchew.org/linux/20230421213841.3079632-1-lorenz@brun.one/

2. I would like to see the boot messages during boot time. 
That requires removing the quiet option from the boot.scr file to the best of my understanding. As far as I can tell that requires it to be recompiled too.

Can anyone point me to a guide for doing these changes? I am fairly comfortable at the CLI, but I have never tried to compile like this before.


RE: How to update/compile Debian 12.5? - dmitrymyadzelets - 03-14-2024

In order to see all the messages you'd need a serial console. The process is described here: https://forum.pine64.org/showthread.php?tid=5029 

Btw I have the same messages on `Debian 6.1.76-1 (2024-02-01) ` on my Rock64.


RE: How to update/compile Debian 12.5? - diederik - 03-14-2024

(02-22-2024, 01:09 PM)Wizardknight Wrote: I would really like to fix two things.
1. There is a 5v error related to the DTS file that has what looks like an easy patch to implement.

Code:
  rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
  rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
  rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv  on device rockchip-pinctrl
  reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back

Described here: https://patchew.org/linux/20230421213841.3079632-1-lorenz@brun.one/

The best way would be to ask the upstream Stable kernel maintainers to apply this patch to 6.1.
If that happens, then the Debian kernel will 'automatically' get it too when it upgrades to a newer 6.1 kernel.

Otherwise you'd have to stop getting kernel upgrades from Debian and/or recompile the kernel to upgrade yourself.


RE: How to update/compile Debian 12.5? - gedas07 - 03-29-2024

How do you make the Debian installation work, since I have combined the 2 installations as they say in the tutorial and then I have installed it on the SD card and it does not start or at least I do not see an image in the Rock64 output