Jump to content

Search the Community

Showing results for tags 'rockpi-4b'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Hello, I am new to Armbian and Linux and want to set up my raspberry pi camera module 2 for my rock pi4b so I can start doing computer vision work. Does anyone know how to do this?
  2. Hi I want to modify base armbian image using choot in order to install necessary software. I am also creating user during that process. My question is how can I skip or prefill the form that appears on first run? (user creation, time zone setting etc.) I was surfing the forum and found this answer. So, I came up with few options: 1) It looks like I can prefill my desired values for the form in "/usr/lib/armbian/armbian_firstlogin" file by editing it during chroot 2) I can remove user input parts in "/usr/lib/armbian/armbian_firstlogin", but preserve other important lines, since user will be created during chroot Is this valid options or there is more proper way to do this?
  3. I enabled spi-spidev through armbian-config but it does not show in the /dev/ directory. How do i fix this?
  4. Hello everyone, I was going to purchase Rock Pi 4 model B+ (with WiFi/BT and eMMC chip). I see that Rock Pi 4 family is supported by Armbian (https://www.armbian.com/rockpi4/), however, there is no mention of models A+ and B+. There are just A, B and C+. Could you please confirm/refute that Rock Pi 4 B+ is supported by Armbian and point me to the image for that model?
  5. I am in the process to migrate a project from a Raspberry Pi 4B to a Rock Pi 4B+. Among others external devices shall be connected via WiFi AP, I2C, 1-Wire and UART to the Rock Pi. To emphasis, the system is running healthy on a Rasberry. I managed to get WiFi AP and 1-Wire up and running on the Rock Pi. Now I got stuck with UART/UART4. Armbian 22.11.1 Bullseye with Linux 5.15.80-rockchip64 I enabled UART4 via Armbian-Config. Therefore, /boot/armbianEnv.txt shows: ... overlays=i2c7 uart4 w1-gpio param_w1_pin=GPIO4_D6 param_w1_pin_int_pullup=1 ... I can take a jump wire and bridge the TX-pin (GPIO1_B0, Pin#19) and RX-pin (GPIO1_A7, Pin#21). When sending bytes to the TX-pin I am receiving them instantly on the RX-Pin. That indicates to me the UART4 is working. On my system the serial port is /dev/ttyS4, with a baud rate of 1000!!. (I am doing this test via Node Red using a standard serial node) However, if I connect my TTL-signal cable to the RX-pin (TX disconnected), I do not see anything the RX-Pin (however this setup works on the Rasberry). I have done the same test on UART (/dev/ttyS2) with same result, not showing anything. I have no experience in Armbian or Rock Pi and would appreciate any hint into which direction to look. Is the unusual baud rate of 1000 a problem, or do I need some pull-up resistors or do I need to compile another dtbo driver like for the 1-wire?
  6. Hi just a quick question What package is dt-bindings normally located in, i would assume kernel headers but i tried installation via armbian-config and couldn't see them. Can anyone confirm what package it normally is in or was i blind thanks. Was just working on adding support Waveshare Dual RS232 on SPI2, uploaded DTS to https://github.com/radxa/overlays/blob/main/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-sc16is752.dts Atm i hardcoded the defines on machine but not ideal if it changes in the future Thanks
  7. Hello, Devices: RockPi 4b v1.5 + remotable eMMC + NVMe KingSpec M.2 NMVe SSD NE 2280 512 GB I am using instructions to erase SPI https://wiki.radxa.com/Rockpi4/dev/spi-install $ sudo rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=103 Maskrom $ sudo rkdeveloptool db ./rk3399_loader_spinor_v1.20.126.bin Downloading bootloader succeeded. $ dd if=/dev/zero of=./zero.img bs=1M count=4 4+0 records in 4+0 records out 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0160027 s, 262 MB/s $ sudo rkdeveloptool wl 0 ./zero.img Write LBA from file (100%) $ sudo rkdeveloptool td Test Device OK. $ sudo rkdeveloptool rd Reset Device OK. After that, insert eMMC and use instruction to write image to eMMChttps://wiki.radxa.com/Rockpi4/dev/usb-install $ sudo rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=103 Maskrom $ sudo rkdeveloptool db ./rk3399_loader_v1.20.119.bin Downloading bootloader succeeded. $ sudo rkdeveloptool wl 0 ./Armbian_22.08.8_Rockpi-4b_bullseye_current_5.15.76.img Write LBA from file (100%) $ sudo rkdeveloptool rd Reset Device OK. After reboot device work fine. But if I insert NVMe the system not booting, blue led just blinking and that all. I tryed several images: Armbian_22.11.0-trunk_Rockpi-4b_bullseye_current_5.15.76_minimal.img Armbian_22.08.8_Rockpi-4b_bullseye_current_5.15.76.img rockpi-4b-debian-bullseye-xfce4-arm64-20221101-0519-gpt.img rockpi-4b-debian-buster-xfce4-arm64-20220401-0335-gpt.img The main goal is system on eMMC and stored data on NVMe (like mini NAS) Also if I use armbian-install have the same issue. Any help with it ?
  8. Hi guys, I am building armbian image for rockpi4b+ and its kernel is 6.0.11(edge version) and the bluetooth failed start up. If anyone knows what kernel 6.0.11 did that cause the problem: wzkiro@rockpi-4bplus:~$ dmesg | grep brcm [ 7.069061] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 7.108688] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.109142] usbcore: registered new interface driver brcmfmac [ 7.236547] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.245940] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 wzkiro@rockpi-4bplus:~$ dmesg | grep Bluetooth [ 7.089775] Bluetooth: Core ver 2.22 [ 7.089894] Bluetooth: HCI device and connection manager initialized [ 7.089914] Bluetooth: HCI socket layer initialized [ 7.089922] Bluetooth: L2CAP socket layer initialized [ 7.089943] Bluetooth: SCO socket layer initialized [ 7.394043] Bluetooth: HCI UART driver ver 2.3 [ 7.394074] Bluetooth: HCI UART protocol H4 registered [ 7.394081] Bluetooth: HCI UART protocol BCSP registered [ 7.403820] Bluetooth: HCI UART protocol LL registered [ 7.403831] Bluetooth: HCI UART protocol ATH3K registered [ 7.405384] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 7.416771] Bluetooth: HCI UART protocol Intel registered [ 7.440646] Bluetooth: HCI UART protocol Broadcom registered [ 7.453388] Bluetooth: HCI UART protocol QCA registered [ 7.453410] Bluetooth: HCI UART protocol AG6XX registered [ 7.459664] Bluetooth: HCI UART protocol Marvell registered [ 9.738700] Bluetooth: hci0: command 0xfc18 tx timeout [ 13.642153] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.642193] Bluetooth: BNEP filters: protocol multicast [ 13.642220] Bluetooth: BNEP socket layer initialized [ 17.894543] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 17.894570] Bluetooth: hci0: Failed to set baudrate [ 19.910475] Bluetooth: hci0: command 0x0c03 tx timeout [ 28.484626] Bluetooth: hci0: BCM: Reset failed (-110)
  9. Hi, my current CI build fails, and i cannot make up, whats wrong with it. It was working previously until i moved my project within the GitLab instance to another folder. Now i'm getting the following errors: tail output.log OBJCOPY lib/efi_loader/dtbdump.efi CC lib/vsprintf.o CC lib/strto.o CC lib/abuf.o OBJCOPY lib/efi_loader/initrddump.efi CC lib/date.o CC lib/rtc-lib.o CC lib/elf.o AR lib/built-in.o [ error ] ERROR in function compile_uboot [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:261 -> functions/main/build-tasks.sh:128 -> functions/compilation/uboot.sh:131 -> functions/logging/traps.sh:0 ] [ error ] U-boot compilation failed [ o.k. ] Process terminated # somewhere in the middle of the compilation.log CC cmd/sf.o AR drivers/nvme/built-in.o AR drivers/power/battery/built-in.o AR drivers/power/fuel_gauge/built-in.o CC cmd/sysboot.o drivers/net/phy/phy.c: In function ‘get_phy_driver’: drivers/net/phy/phy.c:652:15: error: ‘YT_8531C_PHY_ID’ undeclared (first use in this function) 652 | if(phy_id == YT_8531C_PHY_ID) | ^~~~~~~~~~~~~~~ drivers/net/phy/phy.c:652:15: note: each undeclared identifier is reported only once for each function > AR drivers/power/mfd/built-in.o make[3]: *** [scripts/Makefile.build:254: drivers/net/phy/phy.o] Error 1 make[2]: *** [scripts/Makefile.build:394: drivers/net/phy] Error 2 make[2]: *** Waiting for unfinished jobs.... CC drivers/pinctrl/pinctrl-uclass.o CC drivers/power/pmic/pmic-uclass.o CC drivers/power/regulator/regulator-uclass.o tail compilation.log CC drivers/video/panel-uclass.o CC drivers/video/simple_panel.o TTF drivers/video/u_boot_logo.S OBJCOPY lib/efi_loader/initrddump.efi CC drivers/video/dw_hdmi.o AR lib/built-in.o AS drivers/video/u_boot_logo.o AR drivers/video/rockchip/built-in.o AR drivers/video/built-in.o make: *** [Makefile:1894: drivers] Error 2 I have tried to switch the repo mirrors, or different tags. I even deleted the entire checked out directory (build) and checked it out again. After cloning the repo and running the compile script with my config-default.config i'm ending up with the same error. Any idea, what could be wrong? I already checked the permissions (actually I'm running the compile script as root). It seems there is some issue with the network driver? my config-default.conf # Read build script documentation https://docs.armbian.com/Developer-Guide_Build-Options/ # for detailed explanation of these options and for additional options not listed here # leave empty to select each time, set to "yes" or "no"> KERNEL_ONLY="no" # leave empty to select each time, set to "yes" or "no" to skip> KERNEL_CONFIGURE="no" # comma-separated list of clean targets: "make" = make clean for select> # "debs" = delete packages in "./output> # "alldebs" = delete all packages in ".> # "cache" = delete "./output/cache", "s> # "oldcache" = remove old cached rootfs> CLEAN_LEVEL="make,debs,cache" # yes: use kernel config file from previous compilation for the same branch, device family and version # no: use default or user-provided config file KERNEL_KEEP_CONFIG="yes" # comma-separated list of core modules which will be installed > # "u-boot", "kernel", "bsp", "armbian-config", "armbian-firmwar> # leave empty to build from sources or use local cache REPOSITORY_INSTALL="" BUILD_DESKTOP="yes" DEST_LANG="de_DE.UTF-8" # advanced # compile and install or install prebuilt additional packages EXTERNAL_NEW="prebuilt" # change to "branchname" to use any branch currently available. LIB_TAG="v22.08" # additions to compile 'unattended' DESKTOP_ENVIRONMENT="xfce" DESKTOP_APPGROUPS_SELECTED="editors, internet" DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base" # additions to compile for the rock-pi4 BOARD="rockpi-4b" BRANCH="current" RELEASE="bullseye" # yes: will stop the script and prompt for adding userpatches (kernel, u-boot) CREATE_PATCHES="no" # creates logs in output/debug PROGRESS_LOG_TO_FILE="yes" # set to yes, to prevent cloning from git OFFLINE_WORK="no" # provides a faster download USE_MAINLINE_GOOGLE_MIRROR="yes" USE_GITHUB_UBOOT_MIRROR="yes" # create compressed archive with image file and GPG signature f> # yes - compatibility shorcut for sha,gpg,7z COMPRESS_OUTPUTIMAGE="yes"
  10. Hello. I am finished Armbian Jammy 22.05 Bulseye edge 5.16.20 gnome desktop on a Rockpi4 (rk3399). When I try to overclock from Armbian-config, it doesn't work. That is, I can enter the application, apply rockchip-rk3399-opp-2ghz.dtbo. Then reboot, go to armbian-config and set a new unlocked CPU clock speed of 2.2Ghz. But instead it is only available up to a maximum of 1.8hz. How can this be fixed? Do I have to create an image from scratch, or maybe there is some trick?
  11. tried several armbian images with kernel 5.15.76, no success! even tried to disable SPI flash, although radxa says "no SPI Flash on the board" in contrast to the 4B version official 4.4 radxa image is booting: rockpi-4b-debian-bullseye-xfce4-arm64-20221109-1447-gpt.img can someone send me armbian bullseye image with older kernel?
  12. Hi! After update to kernel 5.15.75 via apt upgrade, boot fails. Though I can flash an older image, I would prefer trying to recover existing setup and rollback to a previous kernel. What would be the best approach, ie flash image to usb, boot from usb and what then? I will appreciate any advice. U-Boot 2022.07-armbian (Oct 18 2022 - 07:36:22 +0000)SoC: Rockchip rk3399Reset cause: PORModel: Radxa ROCK Pi 4BDRAM: 3.9 GiBPMIC: RK808Core: 285 devices, 31 uclasses, devicetree: separateMMC: mmc@fe310000: 2, mmc@fe320000: 1, mmc@fe330000: 0Loading Environment from SPIFlash... jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff*** Warning - spi_flash_probe_bus_cs() failed, using default environmentIn: serialOut: serialErr: serialModel: Radxa ROCK Pi 4BNet: eth0: ethernet@fe300000Hit any key to stop autoboot: 0starting USB...Bus usb@fe380000: ehci_generic usb@fe380000: Failed to get clocks (ret=-19)Port not available.Bus usb@fe3c0000: ehci_generic usb@fe3c0000: Failed to get clocks (ret=-19)Port not available.Bus usb@fe800000: Register 2000140 NbrPorts 2Starting the controllerUSB XHCI 1.10Bus usb@fe900000: Register 2000140 NbrPorts 2Starting the controllerUSB XHCI 1.10scanning bus usb@fe800000 for devices... 1 USB Device(s) foundscanning bus usb@fe900000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) foundDevice 0: unknown deviceCard did not respond to voltage select! : -110switch to partitions #0, OKmmc0(part 0) is current deviceScanning mmc 0:1...Found U-Boot script /boot/boot.scr3185 bytes read in 19 ms (163.1 KiB/s)## Executing script at 00500000Boot script loaded from mmc 0266 bytes read in 15 ms (16.6 KiB/s)17307706 bytes read in 1665 ms (9.9 MiB/s)30540288 bytes read in 2916 ms (10 MiB/s)76240 bytes read in 48 ms (1.5 MiB/s)376 bytes read in 37 ms (9.8 KiB/s)Applying kernel provided DT overlay rockchip-rk3399-opp-2ghz.dtbo1314 bytes read in 44 ms (28.3 KiB/s)Applying kernel provided DT overlay rockchip-spi-jedec-nor.dtbo2698 bytes read in 39 ms (67.4 KiB/s)Applying kernel provided DT fixup script (rockchip-fixup.scr)## Executing script at 09000000Moving Image from 0x2080000 to 0x2200000, end=3fc0000## Loading init Ramdisk from Legacy Image at 06000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 17307642 Bytes = 16.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to f0e8a000, end f1f0b7fa ... OK Loading Device Tree to 00000000f0e0f000, end 00000000f0e89fff ... OKStarting kernel ...efi_free_pool: illegal free 0x00000000f0f0d040efi_free_pool: illegal free 0x00000000f0f0a040[ 3.806881] Internal error: implementation fault (unsupported exclusive): 96000035 [#1] PREEMPT SMP[ 3.807711] Modules linked in:[ 3.808001] CPU: 2 PID: 224 Comm: kworker/u12:4 Not tainted 5.15.75-rockchip64 #22.08.8[ 3.808728] Hardware name: Radxa ROCK Pi 4B (DT)[ 3.809152] Workqueue: events_unbound deferred_probe_work_func[ 3.809698] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)[ 3.810334] pc : ww_mutex_lock_interruptible+0x1a4/0x308[ 3.810830] lr : phy_power_off+0x28/0xd8[ 3.811200] sp : ffff80000a713ab0[ 3.811505] x29: ffff80000a713ab0 x28: 00000000fffffffe x27: 0000000000a000c4[ 3.812167] x26: 0000000000a000c4 x25: 0000000010624dd3 x24: 0000000000900004[ 3.812828] x23: 0000000000900004 x22: 0000000000000000 x21: ffff80000f000300[ 3.813489] x20: 00000000e2808257 x19: ffff80000f000000 x18: 0000000000000001[ 3.814149] x17: 7469772074756f65 x16: 6d697420316e6567 x15: 00000000000001b5[ 3.814810] x14: ffff80000a713730 x13: 00000000ffffffea x12: ffff800009b1fd10[ 3.815472] x11: 0000000000000003 x10: ffff800009b07cd0 x9 : ffff800009b07d28[ 3.816133] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001[ 3.816793] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffff80000f000300[ 3.817453] x2 : ffff00000120d880 x1 : 0000000000000000 x0 : ffff80000f000300[ 3.818113] Call trace:[ 3.818341] ww_mutex_lock_interruptible+0x1a4/0x308[ 3.818803] phy_power_off+0x28/0xd8[ 3.819142] rockchip_pcie_host_init_port+0x564/0x5a0[ 3.819616] rockchip_pcie_probe+0xf8/0x4c0[ 3.820011] platform_probe+0x68/0xd8[ 3.820359] really_probe+0xbc/0x428[ 3.820696] __driver_probe_device+0x114/0x188[ 3.821111] driver_probe_device+0xb0/0x110[ 3.821502] __device_attach_driver+0xbc/0x158[ 3.821917] bus_for_each_drv+0x7c/0xd0[ 3.822284] __device_attach+0xec/0x1a8[ 3.822644] device_initial_probe+0x14/0x20[ 3.823036] bus_probe_device+0x9c/0xa8[ 3.823396] deferred_probe_work_func+0x9c/0xf0[ 3.823817] process_one_work+0x20c/0x4c8[ 3.824199] worker_thread+0x208/0x478[ 3.824554] kthread+0x138/0x150[ 3.824863] ret_from_fork+0x10/0x20[ 3.825211] Code: c8017e60 35ffffa1 17fffd08 f9800071 (c85ffc60)[ 3.825769] ---[ end trace a4970fb3a1b23494 ]---
  13. This is for those experiencing a similar issue on the Rock Pi 4B (possibly RK3399 in general) who don't have a fix yet. On Armbian Focal current for the Rock Pi 4B the sound from both HDMI and the audio jack stopped working and became undetectable to the system (Both Pulse-audio and ALSA couldn't detect anything except hdmi-sound and even then HDMI sound did not work). I fixed the issue by rolling back to the latest "current" kernel version in armbian-config (5.10.63-rockchip64). Now the system sound has gone back to normal.
  14. Hi, i'd like to know if it's possible to disable the first run wizard (set up of root password, timezone locale etc) via armbian build framework? I have build my own image, and set the parameter DEST_LANG="de_DE.UTF-8" , but still the wizard shows up after flashing and asks me for the locale. Can i do this type of customization in the customize-image.sh? (sorry if that's a too stupid or obvious question). This is my customize-image.sh script (i have truncated it). #!/bin/bash # arguments: $RELEASE $LINUXFAMILY $BOARD $BUILD_DESKTOP # # This is the image customization script # NOTE: It is copied to /tmp directory inside the image # and executed there inside chroot environment # so don't reference any files that are not already installed # NOTE: If you want to transfer files between chroot and host # userpatches/overlay directory on host is bind-mounted to /tmp/overlay in chroot # The sd card's root path is accessible via $SDCARD variable. echo "add user rock" useradd -s /bin/bash -m -c "rock" rock -p rock echo "set hostname" hostname -b "myrockpi" echo "update armbianEnv" ARMBIANENV="/boot/armbianEnv.txt" if grep -q "console=" "$ARMBIANENV"; then sed -i 's/console=.*/console=display/g' $ARMBIANENV else echo "console=display" >> $ARMBIANENV fi Michael
  15. Hi, I am using Rock Pi 4B and want to be able to turn the system on after sleep (suspend/hibernate or any other state that would allow it). Previously, I have used MRAA library to set an interrupt, and called system("shutdown now") inside interrupt code. I did it according to the following post and according to the MRAA examples. I wrote a shell script, which executes the MRAA program. Shell script, in its turn, is called by a service on a start-up. So, with this method I was able to shutdown the system, but I cannot get out of this state via button press. I researched few posts, such as: 1, 2, and 3. It looks like either I have to modify the DTS file and generate new OS image, or perhaps there is a method to set the pin as a wake-up source inside the OS. While on Debian, when I go into directory: cd /sys/kernel/irq/<PIN #>/ There is a field called wakeup When doing cat wakeup it shows disabled Though I didn't find this folder in Armbian, but I suppose they may share similar settings for the pins. Can anyone please help me to achieve my goal? I came across another similar post, but unfortunately there was no solution there.
  16. Hello everyone, I have a screen of 1280x800 resolution. while connecting the screen to my rockpi-4b, the resolution is set to 1024x768, and there is no 1280x800 option in the display setting panel. after learning from Internet for days, I think the root is that my screen doesn't have a correct EDID information. so I made some changes to let the kernel ignores the screen's edid information and use specified edid file. The resolution is successfully set to 1280x800, the only problem is that the screen display is shaking, as the attached video shows. The edid file's timing settings are shown as below: I tried to change the settings but it doesn't work. It would be greatly appreciated if somebody can share with me the correct edid file of 1280x800 resolution. Thanks, Yuming normal video.mp4
  17. Hello everyone, I'm using SBC Rockpi4b running the Armbian system. I encountered a problem when using the Ethernet port. I connected the SBC to my laptop via an ethernet cable directly, just like what I did with the RaspberryPi. while playing with RaspberryPi (Raspbian OS) I can get the ethernet connected, the ip address is set to 168.254.xxx.xxx, i.e., private address. then I can successfully ping the RaspberryPi's ip address in my PC. while playing with the SBC (Armbian OS), the network manager seems to keep waiting a DHCP server repeatedly; and after a while (around 40 seconds) it pops up saying the ethernet disconnected; the only way I can make it connected is to set static ip addresses, but it's not the proper solution. After googling for days I realized that the two OS (Raspbian vs Armbian) run different programs for the DHCP. Raspbian apply dhcpcd, Armbian apply NetworkManager. so the first idea came to my mind was using the dhcpcd in Armbian. I have learnt that the NetworkManager can specify to use the dhcpcd as dhcp client. I followed some tutorials: 1. installing dhcpcd (sudo apt-get install dhcpcd5); 2. modifying the /etc/NetworkManager/NetworkManager.conf to add: [main] dhcp=dhcpcd it seems work at the beginning, I can see a 169.254.xxx.xxx ip address in the "ifconfig" output, but after a while it was destroyed. I checked the two services' status: pi@192.168.0.108:~$ sudo systemctl status dhcpcd ● dhcpcd.service - DHCP Client Daemon Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2022-07-11 14:32:17 CST; 6min ago Docs: man:dhcpcd(8) Process: 861 ExecStart=/usr/sbin/dhcpcd (code=exited, status=0/SUCCESS) Main PID: 1128 (dhcpcd) Tasks: 1 (limit: 4461) Memory: 968.0K CGroup: /system.slice/dhcpcd.service └─1128 /usr/sbin/dhcpcd Jul 11 14:33:25 rockpi-4b dhcpcd[1128]: eth0: adding address fe80::3eb:def9:d81e:17aa Jul 11 14:33:25 rockpi-4b dhcpcd[1128]: ipv6_addaddr1: Permission denied Jul 11 14:33:26 rockpi-4b dhcpcd[1128]: eth0: soliciting a DHCP lease Jul 11 14:33:26 rockpi-4b dhcpcd[1128]: eth0: soliciting an IPv6 router Jul 11 14:33:31 rockpi-4b dhcpcd[1128]: eth0: probing for an IPv4LL address Jul 11 14:33:35 rockpi-4b dhcpcd[1128]: eth0: using IPv4LL address 169.254.39.239 Jul 11 14:33:35 rockpi-4b dhcpcd[1128]: eth0: adding route to 169.254.0.0/16 Jul 11 14:33:51 rockpi-4b dhcpcd[1128]: eth0: deleted route to 169.254.0.0/16 Jul 11 14:33:51 rockpi-4b dhcpcd[1128]: eth0: adding route to 169.254.0.0/16 Jul 11 14:33:51 rockpi-4b dhcpcd[1128]: if_route (ADD): Invalid argument pi@192.168.0.108:~$ sudo systemctl status NetworkManager ● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2022-07-11 14:32:17 CST; 6min ago Docs: man:NetworkManager(8) Main PID: 860 (NetworkManager) Tasks: 3 (limit: 4461) Memory: 13.8M CGroup: /system.slice/NetworkManager.service └─860 /usr/sbin/NetworkManager --no-daemon Jul 11 14:34:36 rockpi-4b NetworkManager[860]: <info> [1657521276.7314] device (eth0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') Jul 11 14:34:36 rockpi-4b NetworkManager[860]: <info> [1657521276.7344] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds) Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <warn> [1657521321.6769] dhcp4 (eth0): request timed out Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.6771] dhcp4 (eth0): state changed unknown -> timeout Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.6773] device (eth0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'ma> Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <warn> [1657521321.6828] device (eth0): Activation: failed for connection 'Wired connection 1' Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.6842] device (eth0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.7049] dhcp4 (eth0): canceled DHCP transaction Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.7051] dhcp4 (eth0): state changed timeout -> done Jul 11 14:35:21 rockpi-4b NetworkManager[860]: <info> [1657521321.7177] manager: startup complete It's my first post here, it will be greatly appreciated if anyone could tell me how to make the NetworkManager stop reinitializing the ethernet connection and assign a private ip address (169.254.xxx.xxx) instead? Regards, Yuming
  18. Has anyone gotten this display to work in Armbian? I'm on a Rock Pi 4b and its getting power but I can't get any kind of display out of it over the MIPI cable. I can't find any kind of documentation for how to do this, just vague discussions of overlays - I did try the rock pi raspberry pi display overlay and it doesn't work. Thanks.
  19. rock@rock-3a:~$ dmesg |grep spi [ 6.279244] spi-nor spi4.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 [ 6.279275] spi-nor: probe of spi4.0 failed with error -2 the armbianEnv is as below. verbosity=1 bootlogo=false extraargs=systemd.unified_cgroup_hierarchy=0 overlay_prefix=rk35xx fdtfile=rockchip/rk3568-rock-3a.dtb rootdev=UUID=6359cdcb-b9a7-4930-9257-30f4e34b0a4f rootfstype=ext4 overlays=spi-spidev param_spidev_spi_bus=0 param_spidev_spi_cs=0 param_spidev_max_freq=40000000 Is there anyone know which version is ok for Rock 3a or rock p;i 4b?
  20. Hi, I'm using a RockPi 4 B as a wifi access point. Everything is working fine with good performances until the Wifi stop working, usually after 3-4 days. When that happens, dmesg is flooded with these logs : [221057.075187] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [221057.075202] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110 [221124.657840] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [221127.217786] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110 [221127.217806] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110 Reloading `brcmfmac` module do not fix the issue, only a reboot. I'm using the latest firmware provided by armbian-firmare : # dmesg | grep brcm Jan 28 09:36:13 crumble kernel: [240969.028417] brcmfmac: F1 signature read @0x18000000=0x15294345 Jan 28 09:36:13 crumble kernel: [240969.038152] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 Jan 28 09:36:13 crumble kernel: [240969.041051] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b.txt failed with error -2 Jan 28 09:36:13 crumble kernel: [240969.042548] usbcore: registered new interface driver brcmfmac Jan 28 09:36:13 crumble kernel: [240969.149643] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 Jan 28 09:36:13 crumble kernel: [240969.149719] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available Jan 28 09:36:13 crumble kernel: [240969.149965] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 I'm not sure where to go from there. How can I debug or workaround this issue ?
  21. I have tried the following: ------------------------------------------------------------------------ CONVERT dtb to dts ------------------------------------------------------------------------ dtc -I dtb -O dts /boot/dtb-4.4.192-rockchip64/rockchip/rk3399-rockpi4b.dtb -o /boot/dtb-4.4.192-rockchip64/rockchip/rk3399-rockpi4b.dts ------------------------------------------------------------------------ EDIT dts ------------------------------------------------------------------------ nano /boot/dtb-4.4.192-rockchip64/rockchip/rk3399-rockpi4b.dts ---------------------------------------------------------------------------------- uart4 enabled: serial@ff370000 { compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart"; reg = < 0x00 0xff370000 0x00 0x100 >; clocks = < 0x31 0x06 0x31 0x22 >; clock-names = "baudclk\0apb_pclk"; interrupts = < 0x00 0x66 0x04 0x00 >; reg-shift = < 0x02 >; reg-io-width = < 0x04 >; pinctrl-names = "default"; pinctrl-0 = < 0x81 >; status = "okay"; assigned-clocks = < 0x31 0x0c >; assigned-clock-parents = < 0x31 0x01 >; phandle = < 0x114 >; }; uart4 disable as it uses the same pins as SPI1: serial@ff370000 { compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart"; reg = < 0x00 0xff370000 0x00 0x100 >; clocks = < 0x31 0x06 0x31 0x22 >; clock-names = "baudclk\0apb_pclk"; interrupts = < 0x00 0x66 0x04 0x00 >; reg-shift = < 0x02 >; reg-io-width = < 0x04 >; pinctrl-names = "default"; pinctrl-0 = < 0x81 >; status = "disable"; assigned-clocks = < 0x31 0x0c >; assigned-clock-parents = < 0x31 0x01 >; phandle = < 0x114 >; }; spi1 is disabled: spi@ff1d0000 { compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi"; reg = < 0x00 0xff1d0000 0x00 0x1000 >; clocks = < 0x08 0x48 0x08 0x15c >; clock-names = "spiclk\0apb_pclk"; dmas = < 0x41 0x0c 0x41 0x0d >; dma-names = "tx\0rx"; interrupts = < 0x00 0x35 0x04 0x00 >; pinctrl-names = "default"; pinctrl-0 = < 0x4d 0x4e 0x4f 0x50 >; #address-cells = < 0x01 >; #size-cells = < 0x00 >; status = "disabled"; phandle = < 0x106 >; }; SP1 enable: spi@ff1d0000 { compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi"; reg = < 0x00 0xff1d0000 0x00 0x1000 >; clocks = < 0x08 0x48 0x08 0x15c >; clock-names = "spiclk\0apb_pclk"; dmas = < 0x41 0x0c 0x41 0x0d >; dma-names = "tx\0rx"; interrupts = < 0x00 0x35 0x04 0x00 >; pinctrl-names = "default"; pinctrl-0 = < 0x4d 0x4e 0x4f 0x50 >; #address-cells = < 0x01 >; #size-cells = < 0x00 >; status = "okay"; phandle = < 0x106 >; }; save CTRL-O exit: CTRL-X ------------------------------------------------------------------------ CONVERT (BACK) dts to dtb ------------------------------------------------------------------------ dtc -I dts -O dtb /boot/dtb-4.4.192-rockchip64/rockchip/rk3399-rockpi4b.dts -o /boot/dtb-4.4.192-rockchip64/rockchip/rk3399-rockpi4b.dtb reboot And it never wakes up again! Is there any way to make the SPI working on this board??
  22. Hi there, I have a rockpi 4b running armbian bionic desktop legacy kernel 4.4y on a 128 GB emmc module, I’d like to use this machine as a server. I was just tinkering around with Plex, .bashrc and crontab while all of a sudden the keyboard mapping over RDP changed (e.g. > became ;, ~ became @ etc) (indication of the problem?). I tried to fix this by changing the system keyboard layout and running dpkg-reconfigure keyboard-configuration, this all didnt work. I decided to reboot the machine to see if that would work. After the reboot I could not connect to either RDP or SSH so I decided to connect the machine to a HDMI monitor. This resulted in the following output: Can anyone help me understand what I am seeing here and how this could have happened ? Is this even Ubuntu ? Or is this GRUB ? Where in the boot process is this ? My guess is that the whole EMMC is disconnected but this seems very weird since I did not touch the board in any way. (I have no SD installed) I’m now thinking of solving this problem by attaching the emmc to a sd reader and backing up the etc,home,opt,root,srv,usr and var folder, reflashing the image and putting the folders back. This is however a very destructive process so I hope something less destructive is possible. I also even don’t know if this is going to work since I have no idea how this problem was caused. Can anyone help me please ? Thanx in advance! Thank you in advance
  23. Hello, I think this is my first post here. I am trying to operate an Epson L4150 on-board Rock pi4 b multifunction printer. I was successful in running the printer. But the scanner is another story. Xsane does not recognize it. I have been trying to install the driver which is downloaded from the Epson page, but it is for armhf. I tried a dpkg --add-architecture armhf, then update, but when I try to run install.sh from the Epson driver, it throws error: E: Failed to locate package libboost-filesystem1.58.0 Somebody could help me? Thank you
  24. I recently plugged in a 4TB Seagate Expansion hard drive and it worked fine. After rebooting the Rockpi4B via 'sudo reboot' the drive is not recognised - dmesg shows: [ 3.877060] sd 1:0:0:0: [sdb] Unit Not Ready [ 3.877082] sd 1:0:0:0: [sdb] Sense Key : 0x4 [current] [ 3.877094] sd 1:0:0:0: [sdb] ASC=0x44 <<vendor>>ASCQ=0x81 Any ideas?
  25. Hello, I have an ARMBIAN image 08.21.6 kernel 5.10.16 it works very well on rockpi 4B + rev 1.6 I tested the last Kernel but without more success. when we fix the ip address and we up (several times) the eth0 network this one puts to work at a time. Do you have an idea ? Regards.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines