How to update/compile Debian 12.5?
#1
I am running Debian 12.5 on my Rock64. I am using the nightly images https://d-i.debian.org/daily-images/arm6...rd-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...@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.
  Reply
#2
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.
  Reply
#3
(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...@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.
  Reply
#4
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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,477 10-12-2023, 05:14 PM
Last Post: tpaul
  rock64-debian-mrfixit-190531.img.xz : missing /usr/lib/dri/rockchip_dri.so popi 5 5,286 08-12-2021, 04:55 AM
Last Post: igorp
  Debian build from mrfixit2001 Luke 18 27,330 05-17-2021, 02:35 AM
Last Post: Wizzard
  Spinlock Lock after Firmware Update Watcher 4 4,094 02-18-2021, 08:52 PM
Last Post: Rocklobster
  Debian kernel stuck at 4.4.167 Enig123 5 5,667 12-29-2020, 12:57 PM
Last Post: kwinz
  How can I update from Ubuntu 18 to Ubuntu 20? gedas07 3 4,124 10-04-2020, 10:02 PM
Last Post: tomarm
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 5,289 09-21-2020, 04:33 AM
Last Post: as365n4
  pcsx rearmed on rock64 debian stretch does not go fullscreen RockyBoulder 2 4,247 05-09-2020, 03:15 AM
Last Post: lawrencejd
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 4,183 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Upgrading Debian Stretch image to Buster cosuhi 2 4,740 08-27-2019, 02:42 AM
Last Post: Malmgren

Forum Jump:


Users browsing this thread: 2 Guest(s)