Jump to content

Search the Community

Showing results for tags 'rockpi-s'.

  • 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

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’m trying to get a RockPi S connected by a slow ethernet connection with 10mbps (half or full duplex) but it doesn’t seem to work. If I test with a 100mbps connection, everything works fine and as expected. Using 10mbps, it seems to look fine, e.g. ethtool shows a link with 10mpbs, advertised modes look fine but the RockPi S doesn’t even retrieve an IP via DHCP. If configuring a static IP, no ping to any address beside the own IP address is possible. I’m using latest debian-based armbian 23.8.1 stable and performed apt-get update & upgrade. Anyone encountered the same problem and has some hints? Unfortunately I’m not a linux pro so unfortunately I’m a bit stuck but I’m happy to provide any missing information or execute commands on the RockPi S and post the results here. Cheers
  2. On a fresh install from the website on kernel 6.1 bookworm/Jammy when rebooting the board a kernel panic occurs and the device will not boot unless power cycled. This was not the case even a few months ago on a 6.6 edge kernel. I also tried the current edge 6.7 kernel and the board wouldn't boot at all not that I expected it to. The board says 3308B on the chip(samsung memory) and ive also tried two different micro sd. Anyone else having this issue? Serial output is below of the relevant failure Thanks for anyone willing to look. Update: Reboot works fine on rockpi-s ordered more recently late 2023 with non-samsung ram module. I wonder if that is a reason. I will try the last 5.15 firmware created for this board and see if that works.
  3. Hi. For my application it would be very advantageous to speed up the boot time of the device as much as possible. The application depends on the network, and unfortunately it seems it takes a while for the interface to establish a connection. After plugging in the device, I count that it takes about 25-30 seconds until my application starts (which is set to start on reboot by cron). However, at that time, the network is still not up, so it matters little that the application has started. It takes another 20 seconds or so until the device is reachable by the network. So total 45-50 seconds from boot. Why is this? I see in systemd-analyze that NetworkManager.service starts at around 30 seconds, same as cron. So what is the holdup? The IP is static and it is plugged in with Ethernet, so I don't understand what takes time when it comes to connecting to the network, after the network manager has started. How can I troubleshoot this or make it connect faster? Bonus question. Another thing that takes a lot of time in the boot is armbian-ramlog.service, at nearly 8 seconds long. See attachment for full boot chart. Is there a way to shorten this too, without disabling ram logging entirely? bootanalyze.svg
  4. I have add user dtbo with "armbian-add-overlay rk3308-w1-gpio.dts" but it's NOT work.Some message is shown as below: pi@Pi-S:/boot/overlay-user$ dmesg | grep gpio [ 0.063257] OF: /onewire@0: could not get #gpio-cells for /usb@ff400000 [ 0.096538] rockchip-gpio ff220000.gpio: probed /pinctrl/gpio@ff220000 [ 0.097838] rockchip-gpio ff230000.gpio: probed /pinctrl/gpio@ff230000 [ 0.099097] rockchip-gpio ff240000.gpio: probed /pinctrl/gpio@ff240000 [ 0.100300] rockchip-gpio ff250000.gpio: probed /pinctrl/gpio@ff250000 [ 0.101462] rockchip-gpio ff260000.gpio: probed /pinctrl/gpio@ff260000 [ 8.818566] gpio-17 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 8.818683] OF: /onewire@0: could not get #gpio-cells for /usb@ff400000 [ 8.818731] w1-gpio onewire@0: gpio_request_one (ext_pullup_enable_pin) failed [ 8.818742] w1-gpio: probe of onewire@0 failed with error -22 [ 8.872897] rk3308-acodec ff560000.acodec: Don't need hp-ctl gpio [ 8.872955] rk3308-acodec ff560000.acodec: Don't need spk-ctl gpio [ 8.872984] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio [ 8.873096] rk3308-acodec ff560000.acodec: Don't need micbias-en gpio What should I do to ?
  5. Hi everyone! I am struggling with audio input. Output audio from LINEOUT pins works fine out-of-the-box! What about the audio input? To begin with I have tested the arecord command with these error messages… TEST 1 root@rockpi-s:~# arecord -f S16_LE -d 10 -r 16000 --device=“hw:0,0” test-mic.wav Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Mono arecord: set_params:1358: Channels count non available TEST 2 root@rockpi-s:~# arecord -f S16_LE -c 2 -d 10 -r 16000 --device=“hw:0,0” test-mic.wav Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo arecord: set_params:1416: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 16000 PERIOD_TIME: 125000 PERIOD_SIZE: 2000 PERIOD_BYTES: 8000 PERIODS: 4 BUFFER_TIME: 500000 BUFFER_SIZE: 8000 BUFFER_BYTES: 32000 TICK_TIME: 0 Any suggestions?
  6. Hello, I have Rock Pi S V13 and Armbian 23.8.1 Bookworm with Linux 6.1.50-current-rockchip64. When I change CPU settings (min frequency, max frequency, scaling governor) using armbian-config, the change works correctly as expected. However, these settings are lost on reboot. When I check the status of cpufrequtils service, it seems that it does not load correctly as it is not able to find the requested governor: But if I start it manually later, it seems to load all my settings correctly: Any ideas to fix the problem except manually reloading it later? armbianmonitor: https://paste.armbian.com/owolufawif
  7. Per Radxa here, it is possible to obtain CPU temperature via "sudo cat /sys/class/thermal/thermal_zone0/temp". But the following paths do not exist on Armbian 23.05.1 Bookworm with Linux 6.1.30-rockchip64: /etc/armbianmonitor/datasources/soctemp /sys/devices/virtual/thermal/thermal_zone0/temp Running armbianmonitor -M, also does not show the temp: Time CPU load %cpu %sys %usr %nice %io %irq C.St. 22:29:52 408 MHz 0.02 0% 0% 0% 0% 0% 0% 0/6
  8. None of the images from https://www.armbian.com/rockpi-s/ work (neither minimal nor cli). I tried writing minimal image onto SD NAND and tried booting both cli and minimal from SD card. I tried 2 different SD cards too. Board was connected through UART0 to PC and while I get output when I use rkdeveloptool, there is no output when trying to boot normally. However, latest image from https://github.com/radxa/rock-pi-s-images-released/releases works (rockpis_debian_buster_server_arm64_20210924_0412-gpt.img) does boot if I write it to SD NAND or SD card. I have V1.3 with RK3308 and 1GB SD NAND.
  9. I am using the rockpi-s board(with rockchip rk3308 soc), and want to change the console serial of the uboot. According to https://docs.armbian.com/Developer-Guide_User-Configurations/#user-provided-patches, I tried: rm userpatches/u-boot/u-boot-rockchip64-v2022.04/u-boot-rockchip64-edge.patch ./compile.sh uboot-patch BOARD=rockpi-s BRANCH=edge RELEASE=bullseye BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img EXTRAWIFI=n After I modified what I want in the uboot source code, I continue to copy the path to the userpatches path: cp output/patch/u-boot-rockchip64-edge.patch userpatches/u-boot/u-boot-rockchip64-v2022.04/ And compile the whole image: ./compile.sh BOARD=rockpi-s BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=yes COMPRESS_OUTPUTIMAGE=sha,img EXTRAWIFI=no KERNEL_CONFIGURE=no RELEASE=bullseye Everything seems to be fine, after compiled, I flashed the image to my EMMC flash, but it could not boot. And even if I don't make any meaningful changes, as long as I use this method to patch u-boot, the system will not start. As long as there is no this patch, it can be started. So I wonder if there is something wrong with this method?
  10. Hi there, I've been using ARMbian for a couple of years now under a Rock Pi S board. I'm using an ARMbian OS image based on kernel 4.4x because it have a virtual wlan interface called P2P0, this allow me to use the board as WiFi repeater, I've written a post about it here. However, in recent ARMbian OS images with kernel 5.x and 6.x that virtual interface isn't there. I see in ARMbian OS image with kernel 6.x that the WiFi Hotspot set up menu in the armbian-config tool show an interface called p2p0-dev, but it doesn't work. My question: why? these newer kernels have limitations on this board? or maybe need to compile the kernel with custom modifications?. Any lead will be appreciated it.
  11. I tested boot time and node-red-reboot time and noticed that boot-time is with bookworm ~2 sec and node-red-reboot got from 14sec to 20sec. I hope you can improve performance so I can upgrade. https://paste.armbian.com/uhocorarad
  12. Is there any existing solution how to use SPI2 on Radxa Rock Pi S? In dmesg I found these messages: [ 1.619008] rockchip-pinctrl pinctrl: pin gpio1-22 already requested by ff0c0000.serial; cannot claim for ff140000.spi [ 1.619046] rockchip-pinctrl pinctrl: pin-54 (ff140000.spi) status -22 [ 1.619065] rockchip-pinctrl pinctrl: could not request pin 54 (gpio1-22) from group spi2-miso on device rockchip-pinctrl [ 1.619082] rockchip-spi ff140000.spi: Error applying setting, reverse things back Is it somehow possible to disable the serial port which is in collision with the SPI? There is a log from armbian monitor: http://ix.io/4yF8
  13. I am working with a Rock Pi S v1.3 and thus far the only image I have been able to get to boot is Armbian 21.05.9 Focal with Linux 4.4.247-rockpis. I have tried the recent Arabian Bookworm, Armbian Jammy and a few other variations I have come across on various forum posts here. With the above working image I can communicate with it via UART and get to the terminal. With everything else I don't even get the blinking blue LED; just two solid green LEDs. I have a few of these boards and have confirmed this issue across all of them. I am not sure what next steps to take so any pointers would be greatly appreciated. Thank you very much in advance.
  14. For the Rock PI S, what is the recommended gpio library? I tried using Radxa libmraa but encountered the following errors (using bullseye-stable): $ sudo apt-get install -y libmraa ... The following packages have unmet dependencies: libmraa : Depends: libjson-c3 but it is not installable Depends: python but it is not installable Depends: python2.7 but it is not installable Depends: libpython2.7 but it is not installable Depends: python3.7 but it is not installable Depends: libpython3.7 but it is not installable E: Unable to correct problems, you have held broken packages.
  15. Im stubmeld accros armbian while search for a ARM distribution for my RockPi S. I started successful with writing it to a SD Card and run it from there. Now i want to write it to the internal storage and start it from there. So far so got, everything "worked". But it stucks in a boot loop. I attached a Serial/TTL to USB converter and noticed the same output over and over again. Willkommen zu minicom 2.7.1 Optionen: I18n Übersetzt am Aug 13 2017, 15:25:34. Port /dev/ttyUSB0, 15:37:49 Drücken Sie CTRL-A Z für Hilfe zu speziellen Tasten DDR Version V2.06 20211109 CHIP ID = 0x00003308 REG2C: 0x00000033, 0x00000034 In 589MHz DDR3 Col=10 Bank=3 Row=15 Size=512MB OUT: sdram_init finish. Boot1 Release Time: Mar 24 2022 08:28:57, version: 1.36 ROM VER:0x56323030, 19 chip_id:330800,0 ChipType = 0x13, 511 DPLL = 1300 MHz ...nandc_flash_init enter... No.1 FLASH ID:ff ff ff ff ff ff DPLL = 1300 MHz sfc nor id: ff ff ff DPLL = 1300 MHz sfc_nand id: ff ff ff NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz mmc2:cmd5,20 DPLL = 1300 MHz NeedKHz=24000KHz,clock=650000KHz DPLL = 1300 MHz NeedKHz=40000KHz,clock=650000KHz SdmmcInit=2 0 BootCapSize=0 UserCapSize=3696MB FwPartOffset=2000 , 0 SdmmcInit=0 NOT PRESENT StorageInit ok = 19304 SecureMode = 0 Secure read PBA: 0x4 Secure read PBA: 0x404 Secure read PBA: 0x804 Secure read PBA: 0xc04 Secure read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0) GPT 0x3306530 signature is wrong recovery gpt... GPT 0x3306530 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x600000, size=0x994c8 RunBL31 0x40000 @ 96576 us INFO: Preloader serial: 0 NOTICE: BL31: v1.3(release):30f1405 NOTICE: BL31: Built : 17:08:28, Sep 23 2019 INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe b INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x600000 INFO: SPSR = 0x3c9 U-Boot 2022.04-armbian (May 27 2023 - 19:27:05 +0000) Model: Radxa ROCK Pi S DRAM: 510 MiB Core: 276 devices, 20 uclasses, devicetree: separate MMC: dwmmc@ff480000: 1, dwmmc@ff490000: 0 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Model: Radxa ROCK Pi S rockchip_dnl_key_pressed read board id failed Net: eth0: ethernet@ff4e0000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3045 bytes read in 5 ms (594.7 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 0 176 bytes read in 4 ms (43 KiB/s) 14086333 bytes read in 597 ms (22.5 MiB/s) 29331968 bytes read in 1238 ms (22.6 MiB/s) 54770 bytes read in 10 ms (5.2 MiB/s) Failed to load '/boot/dtb/rockchip/overlay/rk3308-fixup.scr' Moving Image from 0x680000 to 0x800000, end=2490000 ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 14086269 Bytes = 13.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02800000 Booting using the fdt blob at 0x2800000 Loading Ramdisk to 1d1b7000, end 1df2607d ... OK ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) Loading Device Tree to 000000001d141000, end 000000001d1b6fff ... OK Starting kernel ... Loading, please wait... Starting systemd-udevd version 252.6-1 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.38.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 armbi_root: clean, 29764/73296 files, 263864/292864 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Armbian 23.05.1 bookworm! [ OK ] Created slice system-modpr��…lice - Slice /system/modprobe. [ OK ] Created slice system-seria��… - Slice /system/serial-getty. [ OK ] Created slice user.slice - User and Session Slice. [ OK ] Started systemd-ask-passwo��…quests to Console Directory Watch. [ OK ] Started systemd-ask-passwo��… Requests to Wall Directory Watch. [ OK ] Set up automount proc-sys-��…rmats File System Automount Point. [ OK ] Reached target cryptsetup.��…get - Local Encrypted Volumes. DDR Version V2.06 20211109 CHIP ID = 0x00003308 REG2C: 0x00000033, 0x00000034 In 589MHz DDR3 Col=10 Bank=3 Row=15 Size=512MB OUT: sdram_init finish. Boot1 Release Time: Mar 24 2022 08:28:57, version: 1.36 ROM VER:0x56323030, 19 chip_id:330800,0 ChipType = 0x13, 512 DPLL = 1300 MHz ...nandc_flash_init enter... No.1 FLASH ID:ff ff ff ff ff ff DPLL = 1300 MHz sfc nor id: ff ff ff DPLL = 1300 MHz sfc_nand id: ff ff ff NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz mmc2:cmd5,20 DPLL = 1300 MHz NeedKHz=24000KHz,clock=650000KHz DPLL = 1300 MHz NeedKHz=40000KHz,clock=650000KHz SdmmcInit=2 0 BootCapSize=0 UserCapSize=3696MB FwPartOffset=2000 , 0 SdmmcInit=0 NOT PRESENT StorageInit ok = 19297 SecureMode = 0 Secure read PBA: 0x4 Secure read PBA: 0x404 Secure read PBA: 0x804 Secure read PBA: 0xc04 Secure read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0) GPT 0x3306530 signature is wrong recovery gpt... GPT 0x3306530 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x600000, size=0x994c8 RunBL31 0x40000 @ 96630 us INFO: Preloader serial: 0 NOTICE: BL31: v1.3(release):30f1405 NOTICE: BL31: Built : 17:08:28, Sep 23 2019 INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe b INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x600000 INFO: SPSR = 0x3c9 U-Boot 2022.04-armbian (May 27 2023 - 19:27:05 +0000) Model: Radxa ROCK Pi S DRAM: 510 MiB Core: 276 devices, 20 uclasses, devicetree: separate MMC: dwmmc@ff480000: 1, dwmmc@ff490000: 0 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Model: Radxa ROCK Pi S rockchip_dnl_key_pressed read board id failed Net: eth0: ethernet@ff4e0000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3045 bytes read in 5 ms (594.7 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 0 176 bytes read in 5 ms (34.2 KiB/s) 14086333 bytes read in 597 ms (22.5 MiB/s) 29331968 bytes read in 1238 ms (22.6 MiB/s) 54770 bytes read in 10 ms (5.2 MiB/s) Failed to load '/boot/dtb/rockchip/overlay/rk3308-fixup.scr' Moving Image from 0x680000 to 0x800000, end=2490000 ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 14086269 Bytes = 13.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02800000 Booting using the fdt blob at 0x2800000 Loading Ramdisk to 1d1b7000, end 1df2607d ... OK ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) Loading Device Tree to 000000001d141000, end 000000001d1b6fff ... OK Starting kernel ... Loading, please wait... Starting systemd-udevd version 252.6-1 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.38.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 armbi_root: clean, 29764/73296 files, 263864/292864 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Armbian 23.05.1 bookworm! [ OK ] Created slice system-modpr��…lice - Slice /system/modprobe. [ OK ] Created slice system-seria��… - Slice /system/serial-getty. [ OK ] Created slice user.slice - User and Session Slice. [ OK ] Started systemd-ask-passwo��…quests to Console Directory Watch. [ OK ] Started systemd-ask-passwo��… Requests to Wall Directory Watch. DDR Version V2.06 20211109 CHIP ID = 0x00003308 REG2C: 0x00000033, 0x00000034 In 589MHz DDR3 Col=10 Bank=3 Row=15 Size=512MB OUT: sdram_init finish. Boot1 Release Time: Mar 24 2022 08:28:57, version: 1.36 ROM VER:0x56323030, 19 chip_id:330800,0 ChipType = 0x13, 511 DPLL = 1300 MHz ...nandc_flash_init enter... No.1 FLASH ID:ff ff ff ff ff ff DPLL = 1300 MHz sfc nor id: ff ff ff DPLL = 1300 MHz sfc_nand id: ff ff ff NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz mmc2:cmd5,20 DPLL = 1300 MHz NeedKHz=24000KHz,clock=650000KHz DPLL = 1300 MHz NeedKHz=40000KHz,clock=650000KHz SdmmcInit=2 0 BootCapSize=0 UserCapSize=3696MB FwPartOffset=2000 , 0 SdmmcInit=0 NOT PRESENT StorageInit ok = 19338 SecureMode = 0 Secure read PBA: 0x4 Secure read PBA: 0x404 Secure read PBA: 0x804 Secure read PBA: 0xc04 Secure read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0) GPT 0x3306530 signature is wrong recovery gpt... GPT 0x3306530 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x600000, size=0x994c8 RunBL31 0x40000 @ 96666 us INFO: Preloader serial: 0 NOTICE: BL31: v1.3(release):30f1405 NOTICE: BL31: Built : 17:08:28, Sep 23 2019 INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe b INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x600000 INFO: SPSR = 0x3c9 U-Boot 2022.04-armbian (May 27 2023 - 19:27:05 +0000) Model: Radxa ROCK Pi S DRAM: 510 MiB Core: 276 devices, 20 uclasses, devicetree: separate MMC: dwmmc@ff480000: 1, dwmmc@ff490000: 0 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Model: Radxa ROCK Pi S rockchip_dnl_key_pressed read board id failed Net: eth0: ethernet@ff4e0000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3045 bytes read in 5 ms (594.7 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 0 176 bytes read in 4 ms (43 KiB/s) 14086333 bytes read in 597 ms (22.5 MiB/s) 29331968 bytes read in 1238 ms (22.6 MiB/s) 54770 bytes read in 10 ms (5.2 MiB/s) Failed to load '/boot/dtb/rockchip/overlay/rk3308-fixup.scr' Moving Image from 0x680000 to 0x800000, end=2490000 ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 14086269 Bytes = 13.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02800000 Booting using the fdt blob at 0x2800000 Loading Ramdisk to 1d1b7000, end 1df2607d ... OK ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) Loading Device Tree to 000000001d141000, end 000000001d1b6fff ... OK Starting kernel ... Loading, please wait... Starting systemd-udevd version 252.6-1 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.38.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 armbi_root: clean, 29764/73296 files, 263864/292864 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Armbian 23.05.1 bookworm! I followed this tutorials: - https://www.armbian.com/rockpi-s - https://wiki.radxa.com/RockpiS/dev/sdnand-install - https://wiki.radxa.com/RockpiS/dev/serial-console Unfotunatly some of the links are broken and i need to find the file (rk3308_loader_uart0_m0_emmc_port_support_sd_20190717.bin) via google: https://forum.radxa.com/t/where-can-i-find-the-rk3308-loader-binary/2769 As i found it, i extracted the armbian image (Armbian_23.5.1_Rockpi-s_bookworm_current_6.1.30_minimal.img) and proceeded with the flasing progress. It worked, but as said, its stucks in a boot loop. Can any one help me and point out where to start debugging? Im not very familiar with embedded linux/hardware. Thanks in advance and for the awesome work!
  16. Using the 5.xx kernal I have been changing the eth0 MAC address at /etc/NetworkManager/system-connections/ 'Wired connection 1.nmconnection'. This has changed a bit as the versions progress - but version Armbian 21.08.2 Focal / Linux 5.14.5-rockchip64 has now moved the "wired ..." file to the /run/NetworkManager/system-connections/ and suspect the file is recreated at every boot (edits do not stick). I have tried to set MAC at /boot/armbianEnv.txt and in the eth config file. None work. Any ideas as to how to set the MAC address - and is it now even possible?.
  17. armbianmonitor output: http://ix.io/4s3z I'm testing Armbian 23.02 Jammy on a Rock Pi S with its matching "PoE HAT" (which provides a 3.5mm headphone jack). No sound cards are available despite the device tree evidently containing sound devices/codecs [1, 2]. aplay output: rockpi-s:~:% aplay -l aplay: device_list:274: no soundcards found... The armbianmonitor/dmesg output contains the following suspicious lines: [ 24.551148] platform acodec-sound: deferred probe pending [ 24.551191] platform sound: deferred probe pending Digging into this a bit further, I found this root@rockpi-s:/home/dale# cat /sys/kernel/debug/devices_deferred acodec-sound asoc-simple-card: parse error sound asoc-simple-card: parse error If I were to guess, it looks like a devicetree issue, but unfortunately I have no idea how to debug devicetree issues. If anyone can provide any pointers on how to capture more detailed devicetree logs to try and figure out this "parse error", I'd appreciate it. Thanks!
  18. I have Rock Pi S V13, that has 4 UART ports. I'm already connecting to the board via serial console on /dev/ttyS0. How can I find out what are the other ports assignments/paths? I have tried to use a Python script to detect the output by using an FTDI to USB board with no luck (the voltage and baudrate are correct). The Python script taken from manual: import serial import time # I've tried /dev/ttyS2 and /dev/ttyS4 ser = serial.Serial(port='/dev/ttyS4', baudrate=115200, timeout=0.1) print(ser.name) try: while True: ser.write(b'hello') time.sleep(0.5) except KeyboardInterrupt: ser.close() Running outputs and outputs
  19. The Armbian 22.11.4 Jammy with Linux 6.0.10-rockchip64 doesn't have the drivers for a USB Bluetooth bought from Amazon. The kernel gives me these errors at boot: Listing the available bluetooth drivers ls -l /usr/lib/firmware/rtl_bt gives me: while the latest Linux kernel contains the driver: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_bt Where can I get it or how can I install the bluetooth driver?
  20. Booting first time my device works fine but after apt update & upgrade always appears an error opening Firefox
  21. Hi, everyone I have 2 rockpi s based boards, and I tried to apply an overlay to one. It actually compiled, I rebooted and the nothing more. I connected serial, e it was on U-boot, spitting this: U-boot seems unable to load the device tree, but to my knowledge, a broken overlay shouldn't break anything Any help is welcome Thx
  22. Good morning, I cannot seem to get the the newest image (22.08 Bullseye) to boot. I've noticed the disk arrangement is significantly different than the known working image I am using. Here is what I see on the known working image... #fdisk -l Disk /dev/mmcblk0: 28.9 GiB, 30985420800 bytes, 60518400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 2A33F1A5-75EA-4125-AC19-16C0435D774A Device Start End Sectors Size Type /dev/mmcblk0p1 64 8063 8000 3.9M Linux filesystem /dev/mmcblk0p2 16384 24575 8192 4M Linux filesystem /dev/mmcblk0p3 24576 32767 8192 4M Linux filesystem /dev/mmcblk0p4 32768 262143 229376 112M EFI System /dev/mmcblk0p5 262144 60518366 60256223 28.7G Linux filesystem #cat /etc/debian_version 9.9 The newest image is in has a DOS partition table and only one partition. Disk /dev/sdc: 28.91 GiB, 31016878080 bytes, 60579840 sectors Disk model: STORAGE DEVICE Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x1640add5 Device Boot Start End Sectors Size Id Type /dev/sdc1 32768 3833855 3801088 1.8G 83 Linux Also may be important to note my rock pi S has no onboard flash, only SD slot. Am I missing something? Thank you for your time.
  23. I just tried the official Jammy image on the Rock Pi S, which does not boot. Looking at serial, it halts after "Starting kernel ...". I've tried redownloading the image, burning it again and on a different SD card. I also tried the bullseye image, which *does* boot (which makes me believe this is not a hardware issue). Anyone with a Rock Pi S that could confirm my observation? This image failed to boot: Armbian_22.08.7_Rockpi-s_jammy_edge_5.19.16.img Serial output: rock-pi-s-fail.txt This image booted ok: Armbian_22.08.7_Rockpi-s_bullseye_edge_5.19.16.img Serial output: rock-pi-s-ok.txt Diff of serial output (up to Staring kernel... line): --- rock-pi-s-fail.txt 2022-11-09 12:40:03.199949846 +0100 +++ rock-pi-s-ok.txt 2022-11-09 12:58:16.937136391 +0100 @@ -52,7 +52,7 @@ BootCapSize=0 UserCapSize=29554MB FwPartOffset=2000 , 0 -StorageInit ok = 27839 +StorageInit ok = 27858 SecureMode = 0 Secure read PBA: 0x4 Secure read PBA: 0x404 @@ -70,7 +70,7 @@ No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x600000, size=0x9dad0 -RunBL31 0x40000 @ 106200 us +RunBL31 0x40000 @ 106201 us ^AINFO: Preloader serial: 0 NOTICE: BL31: v1.3(release):30f1405 NOTICE: BL31: Built : 17:08:28, Sep 23 2019 @@ -108,8 +108,8 @@ 3045 bytes read in 5 ms (594.7 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 1 -176 bytes read in 5 ms (34.2 KiB/s) -23219213 bytes read in 986 ms (22.5 MiB/s) +176 bytes read in 4 ms (43 KiB/s) +19531454 bytes read in 831 ms (22.4 MiB/s) 31263232 bytes read in 1328 ms (22.5 MiB/s) 54638 bytes read in 9 ms (5.8 MiB/s) Failed to load '/boot/dtb/rockchip/overlay/rk3308-fixup.scr' @@ -117,15 +117,33 @@ ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) - Data Size: 23219149 Bytes = 22.1 MiB + Data Size: 19531390 Bytes = 18.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02800000 Booting using the fdt blob at 0x2800000 - Loading Ramdisk to 0c8fd000, end 0df21bcd ... OK + Loading Ramdisk to 0cc81000, end 0df2167e ... OK ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) - Loading Device Tree to 000000000c887000, end 000000000c8fcfff ... OK + Loading Device Tree to 000000000cc0b000, end 000000000cc80fff ... OK Starting kernel ...
  24. Thanks to @brentr we got new images with several fixes: https://armbian.atlassian.net/browse/AR-1269 RockPI WiFi assigned different MAC address on each boot https://armbian.atlassian.net/browse/AR-1268 RockPI-S WiFi throughput only 300K bytes/second https://armbian.atlassian.net/browse/AR-1265 Rock PI-S images will not boot from internal EMMC (SDNAND) https://www.armbian.com/rockpi-s/
  25. Hello, I have installed the Armbian image for Rock Pi S (https://www.armbian.com/rockpi-s/) released 19th of October 2022 on my Rock Pi S and it boots fine. However, if I update the linux kernel (using apt-get install linux-dtb-edge-rockchip64 linux-image-edge-rockchip64) this breaks the image and it will be stuck on starting kernel the next time I reboot. These packages are not installed automatically, but are listed as kept back. However, since they break the system they should maybe not be possible to install.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines