Jump to content

Benik3

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Benik3

  1. Hi and thanks for reply. I tried to dig more into the ethernet problem. I found that there was already similar problem: https://forum.radxa.com/t/rock-pi-e-board-version-1-21-ethhernet-not-working-in-armbian/15061/4 There are 2 boards of RockPi-E 1.2 (using RTL8211E) and 1.21 (using RTL8211F). So I tested the provided dts and it really helped. After sme trial-tests I found, that the real thing which helps is the compatible = "ethernet-phy-id001c.c916"; So using dts: /dts-v1/; / { compatible = "rockchip,rk3328"; fragment@0 { target-path = "/ethernet@ff540000/mdio"; __overlay__ { ethernet-phy@1 { compatible = "ethernet-phy-id001c.c916"; }; }; }; }; ethernet 0 is working fine. Problem is, that with this dts the older RTL8211E will probably stop to work... Thanks for pointing to the System updates. On 25 Armbian I see it, but on 24.8.3 when I updated only armbian-config, the Updates option is missing:
  2. 25.5.0-trunk.316_Rockpi-e_plucky_current_6.12.21_minimal boots, but the problem with ethernet persist. Bootlog with level 7: https://paste.armbian.com/bimosoyupi.yaml
  3. It looks like the problem with not working ethernet after upgrade is after 24.11.1 version, because I now noticed, that I have one device upgraded to 24.11.1 and ethernet is working...
  4. Hi. I have RockPi E v1.21 and I found, that I'm not able to boot image with new kernel 6.12 (tried minimal images 25.2.1 and 24.11.1, USBImager and Balena Etcher, 3 SD cards, different power supplies). With image 24.8.3 it boots normally. Also I found, that after upgrading 24.8.3 to kernel 6.12 the RockPi boots, but Ethernet doesn't work (even LEDs are dead). Another thing which I notice is, that I didn't find any option to disable kernel upgrades, but what I googled, it should be present in armbian-config->system->kernel->Y203. But this Y203 option is missing. Here is successful boot log of 24.8.3: https://paste.armbian.com/ixuvimofis.sql here is boot log of 24.8.3 upgraded to 6.12: https://paste.armbian.com/ahezanixol.sql Here is failing boot of 25.2.1: https://paste.armbian.com/onuhumomob.yaml P.S. on the successful boot of 24.8.3 I didn't have ETH cable connected, that's why there is Network connection timeout!, but it works fine after connecting. What's weird, that both 24.8.3 boots says on the beginning Net: Could not get PHY for ethernet@ff540000: addr -1 No ethernet found. But I assume that's problem only of u-boot, because it's before kernel boot. Thanks!
  5. So the conclusion is, that on PWM2 (GPIO2_A6) is connected Power Management IC (RK805-1) INT pin, so it's not available for PWM, genius...
  6. I enabled higher verbosity level to debug uart. It looks like there is some conflict with I2C, but it doesn't make sense, because PWM2 pin has only 2 functoins - GPIO and PWM. I2C is common with PWM0 and 1... From the log: I will dig more... EDIT: it looks like this pin is used by pmic (from decompiled dtb on running system). But I didn't find pmic in the source codes: https://github.com/armbian/linux-rockchip/blob/0c0949a270027b749ab2c818e7ff61fc542757cc/arch/arm64/boot/dts/rockchip/rk3328.dtsi I'm new in Device Tree, so it takes me some time to get oriented in it... pmic { pmic-int-l { rockchip,pins = <0x02 0x06 0x00 0x65>; phandle = <0x2a>; }; }; EDIT2: Ok, it's under https://github.com/armbian/linux-rockchip/blob/1725188c90e86921c54e72f8b306c2177097256d/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts#L334 But what I don't understand is, that I didn't find any reference to this pin control (nor in source code nor in decompiled dtb), so why it is a problem? EDIT3: ok, I found it. I searched for wrong name: &i2c1 { status = "okay"; rk805: pmic@18 { compatible = "rockchip,rk805"; reg = <0x18>; interrupt-parent = <&gpio2>; interrupts = <6 IRQ_TYPE_LEVEL_LOW>; #clock-cells = <1>; clock-output-names = "xin32k", "rk805-clkout2"; gpio-controller; #gpio-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pmic_int_l>; But Radxa has this pin from RK805 (or I assume that it's this one) connected to GPIO0_A2 in their schematics (for Rev 1.2):
  7. Hello. I'm trying to get the PWM2 and 3 to work on RockPi E. I made a custom dts to enable PWM2, loaded using armbian-add-overlay: /dts-v1/; /plugin/; / { compatible = "rockchip,rk3328"; fragment@0 { target = <0xffffffff>; __overlay__ { status = "okay"; }; }; __fixups__ { pwm2 = "/fragment@0:target:0"; }; }; But the kernel doesn't boot: Any idea? I already tried to enable uart1 using custom dtbo and it works without problem. I'm testing on Ubuntu Noble Minimal/IoT v24.8.3 for Rockpi E running Armbian Linux 6.6.51-current-rockchip64 Thank you
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines