Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. @emor acid you could also edit the dts and compile a dtb. Then transfer it to your sdcard. https://stackoverflow.com/questions/21670967/how-to-compile-dts-linux-device-tree-source-files-to-dtb
  3. I know this is older, but you need fping6 as well. See inside my install script for Zabbix server https://github.com/sgjava/install-zabbix/blob/589abd9527b1dbd505776a4c80afe8e515aef878/scripts/install.sh#L210
  4. Can you use @Nick A instructions?
  5. Today
  6. It seems this shitty utility should be redesigned for better user use.
  7. @dale Sure, I'll upload what have so far. Need help debugging it.
  8. @emor acid You could use the armbian build system to create patches https://docs.armbian.com/Developer-Guide_Build-Commands/#rewrite-uboot-patches. I like to use the git commands and make my own patches. git clone https://github.com/NickAlilovic/build.git --branch v20250306 cd build ./compile.sh choose "Do not change kernel configuration" choose "Show CSC/WIP/EOS/TVB" choose "I understand and agree" choose "x98h" choose "edge" rest is up to you. Stop the build after the kernel patches are applied in the middle of the kernel build. Use "ctrl c" keys. ctrl c Patch your u-boot dts. cd cache/sources/u-boot-worktree/u-boot/v2025.01 sudo pico dts/upstream/src/arm64/allwinner/sun50i-h618-x98h.dts Delete this. ethernet0 = &emac1; &emac1 { pinctrl-names = "default"; pinctrl-0 = <&rmii_pins>; phy-mode = "rmii"; phy-handle = <&rmii_phy>; phy-supply = <&reg_aldo1>; allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; status = "okay"; }; &mdio1 { rmii_phy: ethernet-phy@16 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <16>; }; }; Add this ethernet0 = &emac0; ethernet1 = &emac1; &emac0 { compatible = "allwinner,sun50i-h616-emac"; pinctrl-names = "default"; pinctrl-0 = <&ext_rgmii_pins>; phy-mode = "rgmii"; phy-handle = <&ext_rgmii_phy>; phy-supply = <&reg_gmac_3v3>; phy-io-supply = <&reg_dldo1>; allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; status = "okay"; }; &mdio0 { ext_rgmii_phy: ethernet-phy@1 { /* rtl8211F compatible string for mdio and phy */ compatible = "ethernet-phy-id001c.c916"; reg = <1>; reset-assert-us = <20000>; reset-deassert-us = <100000>; reset-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ }; }; &emac1 { compatible = "allwinner,sunxi-gmac"; status = "disabled"; }; &mdio1 { rmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; }; }; sudo git add dts/upstream/src/arm64/allwinner/sun50i-h618-x98h.dts sudo git commit This opens up an editor. First line is your Title. The rest is your description. Remember to save when you are done. Title Description sudo git format-patch -1 Your new patch. 0001-Title.patch Rename 0001-Title.patch to 172-Title.patch Copy your patch into the build/patch/u-boot/u-boot-h616 directory. Patch your kernel dts. cd cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64 sudo pico arch/arm64/boot/dts/allwinner/sun50i-h618-x98h.dts Same changes as above. sudo git add arch/arm64/boot/dts/allwinner/sun50i-h618-x98h.dts sudo git commit Title Description sudo git format-patch -1 Rename 0001-Title.patch to 2002-Title.patch. Copy your patch into the build/patch/kernel/archive/warpme-6.12 directory.
  9. I am trying to extend the chipselect from spi4. Because I will need to control more boards, so I tried to transform GPIO into chipselect (CS). This is the original SPI4: /dts-v1/; / { fragment@0 { target = <0xffffffff>; __overlay__ { status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; pinctrl-names = "default"; pinctrl-0 = <0xffffffff 0xffffffff 0xffffffff>; spidev@0 { compatible = "rockchip,spidev"; status = "okay"; reg = <0x00>; spi-max-frequency = <0x2faf080>; }; spidev@1 { compatible = "rockchip,spidev"; status = "okay"; reg = <0x01>; spi-max-frequency = <0x2faf080>; }; }; }; __fixups__ { spi4 = "/fragment@0:target:0"; spi4m1_cs0 = "/fragment@0/__overlay__:pinctrl-0:0"; spi4m1_cs1 = "/fragment@0/__overlay__:pinctrl-0:4"; spi4m1_pins = "/fragment@0/__overlay__:pinctrl-0:8"; }; }; And this is the my change that is compiling with warning: /dts-v1/; / { fragment@0 { target = <0xffffffff>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <0xffffffff 0xffffffff 0xffffffff>; cs-gpios = < 0xffffffff 4 1 /* CS2: GPIO1_A4 */ 0xffffffff 6 1 /* CS3: GPIO1_A6 */ 0xffffffff 7 1 /* CS4: GPIO4_A7 */ >; spidev@0 { compatible = "rockchip,spidev"; reg = <0>; spi-max-frequency = <50000000>; status = "okay"; }; spidev@1 { compatible = "rockchip,spidev"; reg = <1>; spi-max-frequency = <50000000>; status = "okay"; }; spidev@2 { compatible = "rockchip,spidev"; reg = <2>; spi-max-frequency = <50000000>; status = "okay"; }; spidev@3 { compatible = "rockchip,spidev"; reg = <3>; spi-max-frequency = <50000000>; status = "okay"; }; spidev@4 { compatible = "rockchip,spidev"; reg = <4>; spi-max-frequency = <50000000>; status = "okay"; }; }; }; __fixups__ { spi4 = "/fragment@0:target:0"; spi4m1_cs0 = "/fragment@0/__overlay__:pinctrl-0:0"; /* CS0 */ spi4m1_cs1 = "/fragment@0/__overlay__:pinctrl-0:4"; /* CS1 */ spi4m1_pins = "/fragment@0/__overlay__:pinctrl-0:8"; /* SCLK/MISO/MOSI */ spi4m1_cs2 = "/fragment@0/__overlay__:cs-gpios:0"; /* CS2 */ spi4m1_cs3 = "/fragment@0/__overlay__:cs-gpios:1"; /* CS3 */ spi4m1_cs4 = "/fragment@0/__overlay__:cs-gpios:2"; /* CS4 */ }; };
  10. I can provide you the vmlinuz and uInitrd 5.10.43, if that helps. You should be able to put them on your SD card. Don't know of the newer userland can handle that old kernel, but at least you should be able to see the kernel log, to rule out hardware or u-boot problems.
  11. I simply don't need or want a desktop or anything with icons. I do use a few things on occasion that have toolbars like libre office or krita, gimp, ink scape, and kicad. But otherwise I have no use for all that mess of desktop window management and mousing. Xfce is ok for a half day of installing stuff. But otherwise I have no use for that stuff.
  12. A bad news, I am not good at customizing armbian dts, and I don't know how to apply it to the x98h compilation project. Can anyone help me? @going @Nick A
  13. due to network limitations, how to compile Ubuntu 22.04 Gnome OS image in offline mode, build.sh need to download many debs,can I download them in advance,then install them locally. I have already downloaded kernel and uboot.
  14. Yesterday
  15. need help regarding wifi, i tried different server img and found no working wifi, should i just install armbian full or keep searching,,,,,plus is latest recommended or older versions......my device is 1gb ram with 8 rom, it may sound cheap, but i got this piece for free just tryin to repurpose it rather than getting a pi, i need it only for klipper, i got no lan ports left(lan ports are filled with different uses), only wifi, or should i just give up
  16. Thank you so much for your help and explaining how it should work! I tried all the cores that you ordered - it only worked on this: #unnamed -a Linux orangepi5-plus 6.16.4-edge-rockchip64 #1 SMP PREEMPT Thu Aug 28 14:34:51 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux I put it like this: @apt install linux-image-edge-rockchip64 linux-headers-edge-rockchip64 The old cores were not suitable because the wifi card 0002:21:00.0 Network controller: MEDIATEK Corp. Device 7925 refuses to run on cores less than 6.12.X I bow low to you! cat /boot/armbianEnv.txt verbosity=1 bootlogo=true console=both overlay_prefix=rockchip-rk3588 fdtfile=rockchip/rk3588-orangepi-5-plus.dtb rootdev=UUID=e08e0355-09a7-41ad-a6db-fa17566a7f12 rootfstype=ext4 extraargs=cma=1G usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u With the extraargs=cma=1G parameter, videos in the browser somehow load faster.
  17. Switch to edge or vendor kernel (latter either with panthor overlay or proprietary mali blobs). current is a bad choice for desktop usage.
  18. Not planned but should be possible. A good start would be to copy the mentioend 2f and extract the device tree from official image and add it to vendor kernel source. If you're lucky that's all what's needed to get it to work.
  19. moved to offtopic. not using Armbian. If you need support with that image, ask at the place where you downloaded from.
  20. DDR d5483af87d cym 23/11/23-16:15:24,fwver: v1.15 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x0 ch:0 dq0 fail,write:0x1,read:0x0 ch:0 dq1 fail,write:0x2,read:0x0 ch:0 dq2 fail,write:0x4,read:0x0 ch:0 dq3 fail,write:0x8,read:0x0 ch:0 dq4 fail,write:0x10,read:0x0 ch:0 dq5 fail,write:0x20,read:0x0 ch:0 dq6 fail,write:0x40,read:0x0 ch:0 dq7 fail,write:0x80,read:0x0 ch:0 dq8 fail,write:0x100,read:0x0 ch:0 dq9 fail,write:0x200,read:0x0 ch:0 dq10 fail,write:0x400,read:0x0 ch:0 dq11 fail,write:0x800,read:0x0 ch:0 dq12 fail,write:0x1000,read:0x0 ch:0 dq13 fail,write:0x2000,read:0x0 ch:0 dq14 fail,write:0x4000,read:0x0 ch:0 dq15 fail,write:0x8000,read:0x0 ch:0 dq0 fail,write:0xfffffffe,read:0x0 ch:0 dq1 fail,write:0xfffffffd,read:0x0 ch:0 dq2 fail,write:0xfffffffb,read:0x0 ch:0 dq3 fail,write:0xfffffff7,read:0x0 ch:0 dq4 fail,write:0xffffffef,read:0x0 ch:0 dq5 fail,write:0xffffffdf,read:0x0 ch:0 dq6 fail,write:0xffffffbf,read:0x0 ch:0 dq7 fail,write:0xffffff7f,read:0x0 ch:0 dq8 fail,write:0xfffffeff,read:0x0 ch:0 dq9 fail,write:0xfffffdff,read:0x0 ch:0 dq10 fail,write:0xfffffbff,read:0x0 ch:0 dq11 fail,write:0xfffff7ff,read:0x0 ch:0 dq12 fail,write:0xffffefff,read:0x0 ch:0 dq13 fail,write:0xffffdfff,read:0x0 ch:0 dq14 fail,write:0xffffbfff,read:0x0 ch:0 dq15 fail,write:0xffff7fff,read:0x0 error ERR I am using Orangepi5B, OS: Copy of Orangepi5b_1.0.8_debian_bookworm_desktop_xfce_linux6.1.43 Providing sufficient power, with 5V and 4A. any solution to recover from this phase ? i have also inserted the SD card, but using that i am also getting error, it is not booting up.
  21. Hello, Noticed the NanoPi Zero2 the other day and it might help me setting up a wifibridge WiFi (WiFi6) to LAN. Since it has the RK3528A SoC there is an image avaiable based on that SoC , though for the Rock 2F Therefore wondering about its status and if it will be (not) adapted? Thanks
  22. In the afternoon, I decided to look at dmesg. There: 25.729785] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 7307264 bytes), total 32768 (slots), used 11243 (slots) [ 25.734888] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 1740800 bytes), total 32768 (slots), used 9297 (slots) [ 26.197594] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 1150976 bytes), total 32768 (slots), used 10017 (slots) [ 26.875802] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 7307264 bytes), total 32768 (slots), used 11243 (slots) [ 26.884778] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 2097152 bytes), total 32768 (slots), used 11759 (slots) [ 27.976904] swiotlb_tbl_map_single: 1 callbacks suppressed [ 27.976917] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 2940928 bytes), total 32768 (slots), used 9787 (slots) [ 28.798413] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 438272 bytes), total 32768 (slots), used 9819 (slots) [ 30.420185] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 7307264 bytes), total 32768 (slots), used 11735 (slots) [ 30.423002] rockchip-drm display-subsystem: swiotlb buffer is full (sz: 1642496 bytes), total 32768 (slots), used 9841 (slots) [ 99.648400] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[30] not 4 pixel aligned [ 99.665159] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[29] not 4 pixel aligned [ 99.681872] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[25] not 4 pixel aligned and there: 911.698942] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[22] not 4 pixel aligned [ 911.715603] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[21] not 4 pixel aligned [ 912.032227] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[21] not 4 pixel aligned [ 912.065671] rockchip-drm display-subsystem: [drm] *ERROR* vp0 Cluster1-win0 actual_w[26] not 4 pixel aligned root@orangepi5-plus:/etc/default# dmesg | grep -i "swiotlb" # Nameless -ah Linux orangepi5-plus 6.12.44-current-rockchip64 #1 OUTPUTS SMP, August 28, 14:31:16 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux at 14:00 local time. # cat /boot/armbianEnv.txt verbosity=1 bootlogo=true console=both overlay_prefix=rockchip-rk3588 fdtfile=rockchip/rk3588-orangepi-5-plus.dtb rootdev=UUID=e08e0355-09a7-41ad-a6db-fa17566a7f12 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u How to fix it?
  23. I got my issue resolved with labwc+greetd+nwg-hello See this link https://github.com/nwg-piotr/nwg-hello/issues/43 Please check it and post any corrections if needed Getting rpi-greeter (no python) and wf-panel-pi (combines panel and launcher in compact form) would be ideal, but not resolved yet. If anyone is interested in getting rpi-greeter working, this is my partial progress, and I still cannot make it start under lightdm, without any X11: sudo apt install lightdm accountsservice polkitd These might be needed. I installed them the day after I installed greetd and ngw-hello. Note: I am working from a minimal debian trixie image appmenu-gtk-module-common libaccountsservice-dev gir1.2-accountsservice-1.0 liblightdm-gobject-dev liblightdm-gobject-1-0 libgtk-3-dev gnome-common nasm ~$ mkdir rpi-greeter ; cd rpi-greeter wget https://github.com/raspberrypi-ui/pi-greeter/archive/refs/heads/master.zip unzip master.zip ; cd rpi-greeter-master autogen.sh ./configure make sudo make install Change /etc/lightdm/lightdm.conf with: greeter-session=pi-greeter-labwc Test with: $ sudo lightdm --test-mode --debug or $ sudo systemctl start lightdm $ journalctl -b -u lightdm.service The error is: Oct 13 22:01:49 orangepizero3 lightdm[845]: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory) I think I am very close to getting rpi-greeter working. What could be missing? I see that in a raspberry pi, the folder /etc/xdg/labwc-greeter/ exists, with 3 files inside, but in armbian, it doesn't exist. Should it be created by sudo make install? sudo nano /var/log/lightdm/lightdm.log: Nothing weird. Only: [+0.07s] DEBUG: Session pid=6392: Running command /usr/bin/labwc -C /etc/xdg/labwc-greeter/ (and this folder /etc/xdg/labwc-greeter/ does not exist) In raspberry: /etc/xdg/labwc-greeter/ contains autostart, rc.xml and environment sudo nano /var/log/lightdm/seat0-greeter.log: ** (process:6392): WARNING **: 00:23:07.745: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.E> 00:00:00.000 [ERROR] [../src/main.c:202] XDG_RUNTIME_DIR is unset The etc/xdg/labwc-greeter/autostart, etc files come from a package named raspberrypi-ui-mods (raspberry$ dpkg -S /etc/xdg/labwc-greeter/autostart) What part of https://github.com/raspberrypi-ui/raspberrypi-ui-mods would get my lightdm+labwc+rpigreeter working? Copying the /etc/xdg/labwc-greeter/ folder with the 3 files, with the same permissions, allow the pi-greeter to display (it is very plain), but after entering the password, the text mode display shows for 2 seconds, then the labwc black background and cursor shows for 1/4 second, then returns to the login screen. Found this error in the log: /etc/xdg/labwc-greeter//autostart: 2: /usr/bin/kanshi: not found
  24. Hi @Nick A, can you please publish the updated git verision with 6.17?
  25. Hello friends, I'm trying to install Armban from sd card or usb disk on a x96 max+ box( s905x3 confirmed, 4gb ram+ 32gb flash, realtek wifi and samsund emmc or nand). but nothing works. tried minimal and CLI but non of them works. I've done this before for another box(s905), but this one is giving me a hard time. Tried almost all dtb files, and renamed u-boot file as per instruction above( didn't patch the dtb file (as I felt it's already done for S905x3 in latest community image I used(Ubuntu 25.04 (Plucky) , Ubuntu 24.04 (Noble)). Tried installing from usb flash drive and sd card to make sure it's not about medium, no success. Some times the device enters into recovery menu( I think the toothpick method works but as it cannot detect a bootable media goes into recovery menu). and most of the times it goes into a loop ( I see boot logo and then restarts) from both usb and sd card. any Idea? someone said, they were able to boot from 24.5 desktop, but I was unable to find the exact same image to download. cheers, Ignore the message. found out what was wrong and fix it.
  26. I think this device already have a working linux on SD-card, make a complete documentation of the boot method used by the current ambernic present in the SOC, and how it makes the search for the SD-card your work around will be only inside the rkbin and the u-boot. you will need to match the needs for this rkbin to find armbian, You may need to migrate armbian to mainline uboot or you may need something legacy, only with a debugger connected to the TTL port will it be possible to distinguish link link link I got this folder with some examples: https://github.com/hqnicolas/Rockchip-Library/tree/main/RK356x/rkbin https://github.com/hqnicolas/Rockchip-Library/blob/main/RK356x/rkbin/ABOUT.md also: Ambernic use some custom rkbin and u-boot, please share your research https://github.com/hqnicolas/Rockchip-Library/tree/main/RK356x/u-boot/socfpga https://github.com/hqnicolas/Rockchip-Library/blob/main/RK356x/u-boot/socfpga/rk3568_common.h
  27. @djtecha6 I have faced the same issue. And it's the Armbian 25.8.2 problem, use the Armbian 25.5.1 image indeed.
  28. OK, tried build my own full server image and the same error. It cannot find SSD, but nand-sata-install had no problem copying the file system over from the SD. The fstabs and boot.ini looks fine. I guess no one has tested this for a while. I'm just going to use Jammy version for now since it still works.
  1. Load more activity
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines