Jump to content

Superkoning

Members
  • Posts

    79
  • Joined

  • Last visited

Posts posted by Superkoning

  1. FWIW: on my other RISC-V machine (nezha), squashfs does exist.

     

    And this is a kind-of Armbian, made by @balbes150

     

    sander@nezha:~$ lsmod | grep -i squashfs
    squashfs               98304  0
    
    
    
    sander@nezha:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 22.04.4 LTS
    Release:    22.04
    Codename:    jammy
    sander@nezha:~$ 
    
    
    sander@nezha:~$ uname -a
    Linux nezha 6.1.0-rc3-d1 #trunk Thu Dec  1 14:53:18 MSK 2022 riscv64 riscv64 riscv64 GNU/Linux


     

  2. I need squashfs for snap, but it seems it's not there.

    I tried installing libsquashfs-dev, libsquashfs1, libsquashfuse0, squashfs-tools, squashfuse, but no improvement

     

    Tips how to solve this?

     

    sander@bananapif3:~$ sudo modprobe squashfs
    modprobe: FATAL: Module squashfs not found in directory /lib/modules/6.1.15-legacy-k1

     

     

    sander@bananapif3:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Armbian-bpi-SpacemiT 24.5.0-trunk noble
    Release:    24.04
    Codename:    noble


     

    sander@bananapif3:~$ apt list --installed | grep -i squashfs
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    libsquashfs-dev/noble,now 1.2.0-1 riscv64 [installed]
    libsquashfs1/noble,now 1.2.0-1 riscv64 [installed]
    squashfs-tools/noble,now 1:4.6.1-1build1 riscv64 [installed]


     

    sander@bananapif3:~$ snap install hello-world
    error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
           mount: /tmp/syscheck-mountpoint-1699862111: unknown filesystem type 'squashfs'.
    
           dmesg(1) may have more information after failed mount system call.
    
           -----


     

     

  3. I tried the below, but it didn't work.

     

    However I found a workaround! Boot without HDMI connected, and after booting connect HDMI: low resolution, but everything is in the screen!

     

     

     

    sander@nezha:~$ sudo find / | grep edid | grep 1920
    /usr/lib/firmware/edid/1920x1080.bin
    /usr/lib/firmware/edid/1920x1200_30hz.bin
    /usr/lib/firmware/edid/1920x1080_50hz.bin
    /usr/lib/firmware/edid/1920x1080_24hz.bin
    /usr/lib/firmware/edid/1920x800.bin
    /usr/lib/firmware/edid/1920x1200_60hz.bin
    /usr/lib/firmware/edid/1920x1080_23_976hz.bin

     

    So I added

    drm.edid_firmware=/usr/lib/firmware/edid/1920x1080.bin

    to /boot/extlinux/extlinux.conf and reboot. But no solution

     

  4. I have a problem with my HP monitor connected via HDMI to my Sipeed Lichee Rv Dock Allwinner D1:

     

    When HDMI is connected to my Lichee at boot, the screen is in perfect resolution: 1920x1080 60 Hz, small letters, everything visible.

     

    However, but after boot, when I reconnect my monitor again to the Lichee, I only see a part of the output: the lower lines are not in the screen, the characters are bigger.

     

    When I then go into the HP settings (via the buttons on the underside of the screen), the HP monitor popup menu says:

     

    Current Mode: 1024x768 60Hz

    Optimal Mode: 1920x1080 60 Hz

     

    I tried, but in the HP monitor menu I cannot see a way to change that. I tried different options, but no result.

     

    I read https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output and tried "setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=0", but get "-bash: setenv: command not found". I installed gnulib, but no change. Weird.

     

    So tips how to solve this?

  5. @balbes150

     

    It indeed works with an Ubuntu image from 2022-07 (july): download&write&boot ... perfect.Thanks!

     

    FWIW: Linux version 5.19.0-rc1-d1

     

     

    EDIT

     

    Oh, with "sudo apt update" I get

    N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://deb.volian.org/volian scar InRelease' doesn't support architecture 'riscv64'

    volian.org? I disabled that in the repo

     

  6. On my Sipeed Lichee RV:

     

    I had Debian running for a few weeks, but wanted Ubuntu.

     

    I downloaded Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0.img.xz, burned it to a SD card, booted it:

     

    First few boots: USB keyboard not working. Also not after plugging in-and-out

     

    And then, on boot #4 and higher: boot says

    thermal thermal_zone0: cpu-htermal: critical temperature reached down
    
    reboot: HARDWARE PROTECTION shutdown (Temperature too high)
    
    thermal thermal_zone0: cpu-htermal: critical temperature reached down
    
    reboot: HARDWARE PROTECTION shutdown (Temperature too high)
    
    thermal thermal_zone0: cpu-htermal: critical temperature reached down
    
    reboot: HARDWARE PROTECTION shutdown (Temperature too high)

     

    Indeed the D1 is quite warm

     

    After disconnecting all cables (HDMI, power, USB), and let the SBC cool off for an hour: the same message on the next boot.

     

    I'm now back on the debian version, and all is well.

     

    So ... could there be something wrong with Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0.img.xz

     

    FWIW: about two months ago, I had an earlier version of Ubuntu on my SBC, working great.

     

  7. @Elrie FWIW:

     

    I felt the D1 on my Lichee RV, and it's warm (not hot, not cool).

     

    superkoning@nezha:~$ cat /etc/armbianmonitor/datasources/soctemp
    44743

     

    So I guess that is "milli" degrees celsius

     

    About your setup: without any device connected (no USB, no HDMI), and cooled off, if you boot it, is it hot & locked before it finishes booting?

  8. From https://www.cnx-software.com/2022/08/01/linux-5-19-release-main-changes-arm-risc-v-and-mips-architectures/ "Linux 5.19 Release – Main changes, Arm, RISC-V and MIPS architectures"

     

    I guess we can expect the 5.19 release on our board?

     

    RISC-V updates

    Allwinner D1

    DMA and LRADC drivers

    Implementation of page-based memory attributes

    Device tree – Enables display engine 2.0 with two mixers, a TCON TOP (with DSI and HDMI), one TCON LCD, and one TCON TV.

    Support for the Svpbmt extension, which allows memory attributes to be encoded in pages

    Support for running rv32 binaries on rv64 systems, via the compat subsystem

    Support for kexec_file()

    Support for the new generic ticket-based spinlocks, which allows us to also move to qrwlock. These should have already gone in through the asm-geneic tree as well

    A handful of cleanups and fixes, including some larger ones around atomics and XIP

  9. I had to create a new image, and afterwards discovered I had the debian not ubuntu version.

     

    So for people like me, I've created an overview:


     

    $ lynx --dump 'https://disk.yandex.ru/d/da8qJ8wyE1hhcQ/Nezha_D1/ArmbianTV/20220722' | grep xz
    
    
    
       Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0.img.xz
       Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0_icewm_desktop.img.xz
       Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0_xfce_desktop.img.xz
    
    
    
       Armbian_22.08.0-trunk_Nezha_sid_current_5.19.0.img.xz
       Armbian_22.08.0-trunk_Nezha_sid_current_5.19.0_icewm_desktop.img.xz
       Armbian_22.08.0-trunk_Nezha_sid_current_5.19.0_xfce_desktop.img.xz

     

    So:

    • jammy (Ubuntu) versus sid (Debian)
    • ... each with text-only versus icewm versus xfce

     

    @balbes150 Why is the directory called ArmbianTV? Does TV stand for Television, or something else?

  10. 9 hours ago, Nexus said:

    Package `gcc-riscv64-linux-gnu` should be added as a dependency for usage in Docker, else it errors out with it missing.
    Based on how the depends are configured, it seems as if the intention was that this package would be provided by the distro or built by the user? Is Docker intended to build this toolchain itself?

     

     

    I can NOT confirm: I can just run

    apt install docker.io -y

    and then

    docker run -it ubuntu:22.04 /bin/bash

    and it all works

    root@nezha:~# docker run -it ubuntu:22.04 /bin/bash
    Unable to find image 'ubuntu:22.04' locally
    22.04: Pulling from library/ubuntu
    1edfbf9ed16b: Pull complete 
    Digest: sha256:b6b83d3c331794420340093eb706a6f152d9c1fa51b262d9bf34594887c2c7ac
    Status: Downloaded newer image for ubuntu:22.04
    root@130be7978c79:/# uname -a
    Linux 130be7978c79 5.19.0-rc1-d1 #trunk Thu Jun 23 10:42:46 MSK 2022 riscv64 riscv64 riscv64 GNU/Linux
    root@130be7978c79:/# 

     

    So ... how/when did you get an error?

  11. FYI / FWIW:

    my syslog was full with hostapd logging like below. Annoying.

    I "solved" that by using armbian-config -> set up the AP ... which failed, but the logging disappeared from my syslog.

     

    Jun 25 15:29:34 nezha systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2195.
    Jun 25 15:29:34 nezha systemd[1]: Stopped Access point and authentication server for Wi-Fi and Ethernet.
    Jun 25 15:29:34 nezha systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
    Jun 25 15:29:34 nezha hostapd[4725]: Could not open configuration file '/etc/hostapd/hostapd.conf' for reading.
    Jun 25 15:29:34 nezha hostapd[4725]: Failed to set up interface with /etc/hostapd/hostapd.conf
    Jun 25 15:29:34 nezha hostapd[4725]: Failed to initialize interface
    Jun 25 15:29:34 nezha systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
    Jun 25 15:29:34 nezha systemd[1]: hostapd.service: Failed with result 'exit-code'.
    Jun 25 15:29:34 nezha systemd[1]: Failed to start Access point and authentication server for Wi-Fi and Ethernet.


     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines