I'm sorry, forget to add links. Petr [1] https://gitlab.com/-/snippets/2420133 [2] https://gitlab.com/postmarketOS/pmaports/-/blob/master/main/postmarketos-mkinitfs/init_functions.sh#L514-523 [3] https://gitlab.com/postmarketOS/pmaports/-/blob/master/main/postmarketos-mkinitfs-hook-debug-shell/20-debug-shell.sh [4] https://gitlab.com/-/snippets/2420128 On Fri, 30 Sept 2022 at 23:30, Petr Vorel <petr.vorel@xxxxxxxxx> wrote: > > Hi all, > > [ sorry for sending mail twice, now as plain text. I should move away > from gmail.com to something which allows to use mutt... ] > > Some releases after 5.17 bullhead rev 1.01 started to reset. > I'm not sure which kernel version it started, because it might be > caused by kernel config or dts changes. > > On current qcom/for-next (e89c75d437ca292d3ef377de341892f571d5d87a) it > resets immediately when loading sdhci controller (before reaching > initramfs). > I tried to disable sdhc1 and whole rpm_requests in > arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi, which helped to > reach initramfs (from postmarketOS) and then it got reset in initramfs > during touching network [1] either in setup_usb_network() or later. > NOTE I'm using debug-shell hook [3], which probably calls > setup_usb_network(). > > I also tried to add tlmm { gpio-reserved-ranges = <85 4>; }; > (inspiration from angler), but that obviously didn't help. > > Maybe I have something harmful in config [4]. > > Any idea what could be wrong, what to try? > > Kind regards, > Petr