Jump to content

guidol

Members
  • Posts

    1786
  • Joined

  • Last visited

Reputation Activity

  1. Like
    guidol reacted to Pedro Lucas in NanoPi R4S rk_gmac-dwmac WAN on 1Gbps/Full network packet loss problem   
    The command below seems to be the solution for this problem: 
     
    ethtool -K enp1s0 tso off  
    I have found this post, where the command was.
     
  2. Like
    guidol got a reaction from Myron in Which windows utility will reliably take an SD card image and restore it back exactly as is?   
    I can recommend the USB Image Tool:
    Info-Page: https://www.alexpage.de/usb-image-tool/
    Download at: https://www.alexpage.de/usb-image-tool/download/
     

  3. Like
    guidol reacted to jekader in Armbian image and build support for RISC-V.   
    First of all I want to thank Armbian and balbes150 for producing a working image for D1! I still remember the old days of fiddling with ancient BSP kernels for Allwinner-based boards when they first showed up years ago. Today I'm able to boot into mainline on a fresh board with a fresh ISA. Great work, really appreciated and hopefully this will speed up RISC-V adoption across the industry!
     
    I installed the image 5.19.0-rc1-d1  on my MQ-Pro and it worked like a charm. Eventually "upgraded" it to sid by swapping out repos but the kernel is still the same custom build. Debian now has linux-image-5.19.0-1-riscv64 in its repos - any idea if it would even boot on D1 or I better stick with the custom one? If so - where can I get a more recent build as there's an announcement of a 5.19.0 build in this thread.
  4. Like
    guidol reacted to balbes150 in Armbian image and build support for RISC-V.   
    Added alpha version of image build support for RISC-V.
    So far, this is an early version and some of the functions do not work in it.
    Currently, support has been added for the StarFive model.
     
    https://rvspace.org/
     
    Details can be seen in this topic.
     
    https://forum.rvspace.org/t/armbian-for-starfive-build-system-ubuntu-debian/468
     
     
    Added support for Nezha D1 and Lichee RV (Dock) with Allwinner D1 RISC-V chip. To start the system. Download the image, unpack it, burn it to the SD card.  Connect the SD card to the device and turn on the power. Further steps for initial setup are similar for all Armbian systems.
     
    For the Nezha D1 model, HDMI, LAN, USB, analog audio via 3.5 jack works.
    For Lichee RV Dock  works HDMI WiFi USB USB-LAN
     
    Link to download images.
    https://disk.yandex.ru/d/da8qJ8wyE1hhcQ
     
    https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-risc-v-module-gets-5-carrier-board-with-hdmi-and-usb-ports-optional-wifi/
  5. Like
    guidol reacted to Igor in Unofficial image for the cubietruck   
    Since several weeks, we build all not supported images that at least build, but they are elsewhere https://github.com/armbian/community and untested.
     
    Improvements, if any, are still accepted:
    https://docs.armbian.com/Process_Contribute/
  6. Like
    guidol reacted to Valentin Luque in Raspberry Pi zero 2 w not detect all Hardware Memory   
    Exactly, Easy!!
    I comment gpu_mem=256 ...and armbian its for know correctly booted and hardware detect on Raspberry Pi Zero 2 W . 
    Thank you!!
     
  7. Like
    guidol reacted to Urmas in banana pi m2 zero with Waveshare 7inch HDMI LCD (H) 1024x600   
    for anyone have same problem 7" display
    what i did was changing boot script

     1. modify file /boot/boot.cmd
    setenv disp_mode "1024x600p60"
    mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
     
    but now I have another problem.
    It's loading long time can anybody help me with that?
  8. Like
    guidol reacted to Werner in SSH connection refused from windoze (11 enterprise) ethernet   
    Then either adjust one of the ip addresses to be in the same /24 subnet or adjust subnet mask on both to /16
  9. Like
    guidol reacted to nathalis in Lichee Pi zero   
    Here are compiled kernel and uboot by me with ethernet and lcd 800x480 support:
     
    https://github.com/nathalis/Lichee_kernel_uboot_eth_lcd800x480_
     
    also guide how to compile it...
     
  10. Like
    guidol reacted to Gabor Hidvegi in Orange Pi 2G-IOT   
    Of course, I will, but I'm far from that. Most probably it would be faster if I shared the kernel file, that would render all available 2G IoT images usable. I will see what I can do.
     
    Unfortunately I couldn't make the sound card work yet, and on my device the touch screen stopped to respond. I ordered another one from Aliexpress, but it will take a few weeks to arrive. I also discovered that the full size USB port is running at 10 mbps normally, because the modem needs to initialize the micro USB port first, and this procedure takes about six seconds. If we start to load the kernel USB drivers after this, then our USB works at 480 mbps. I have to figure out how to deal with it.
  11. Like
    guidol got a reaction from MattWestB in [Info] create SSH-Login for a serial device (here Z80-MBC2) using ser2net and a local User   
    The Z80-MBC2 is a 4-chip Z80-computer which can run CP/M and has a 5V TTL-serial-port.
    The Z80-MBC2 is powered and accessable via a USB-TTL-serial-adapter (configured to 5V - not 3.3V) type CP2102 seen as /dev/ttyUSB0
     
    The easy way would be to connect the USB-adapter to a Pi-style computer wth armbian, login via SSH and start minicom for the port.

    But that way doenst look as good - to me - as the following way  
     
    First we need to install ser2net and telnet (telnet doesnt seem to be installed as standard) in armbian via
    apt install ser2net telnet
     
    Then we have to edit /etc/ser2net.conf (delete all lines after the comments and insert these):
     
    BANNER:banner:\r\nser2net port \p device \d [\s] (Debian GNU/Linux)\r\n\r\n BANNER:z80mbc2:\r\nZ80-MBC2 via Telnet on Port [\p]\r\nDevice connected to [\d]\r\nConnection Speed [\s]\r\n # 2000:telnet:600:/dev/ttyS0:9600 8DATABITS NONE 1STOPBIT banner # 2001:telnet:600:/dev/ttyS1:9600 8DATABITS NONE 1STOPBIT banner # 3000:telnet:600:/dev/ttyS0:19200 8DATABITS NONE 1STOPBIT banner # 3001:telnet:600:/dev/ttyS1:19200 8DATABITS NONE 1STOPBIT banner 127.0.0.1,2023:telnet:0:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT z80mbc2  
    Now create a login "shell"/pogram for the new local user z80mbc2 as /usr/local/bin/z80mbc2 :
     
    #!/bin/sh /usr/bin/telnet 127.0.0.1 2023 exit Do a chmod 755  /usr/local/bin/z80mbc2
     
    Now we can create the new local user z80mbc2 as seen on
    http://www.lug-wr.de/wiki/index.php/Howto:Network:SerialConsoleServer
     
    adduser --shell /usr/local/bin/z80mbc2.sh -q z80mbc2  
    If you havent done - connect your TTL-USB-Dongle to your SBC - and it should show up as /dev/ttyUSB0 :
    [354660.047087] usb 7-1: Product: CP2102 USB to UART Bridge Controller [354660.047099] usb 7-1: Manufacturer: Silicon Labs [354660.047109] usb 7-1: SerialNumber: 0001 [354660.112318] usbcore: registered new interface driver usbserial_generic [354660.112414] usbserial: USB Serial support registered for generic [354660.131499] usbcore: registered new interface driver cp210x [354660.131617] usbserial: USB Serial support registered for cp210x [354660.131902] cp210x 7-1:1.0: cp210x converter detected [354660.141405] usb 7-1: cp210x converter now attached to ttyUSB0

    Now its time to reboot your SBC (I used my NanoPi K1 Plus) via
    reboot 
    to automatically let start ser2net-service while booting
     
    Now when you connect to your SBC via SSH and use the z80mbc2 User to login, you should generate a automatic and local (127.0.0.1) telnet-login to Port 2023 where /dev/ttyUSB0 a.k.a the Z80-MBC2 device is configured.
     
    PS: other (german) interesting Page about ser2net:
    http://www.nwlab.net/tutorials/ser2net/konsolenserver-linux.html
     

     

    Z80-MBC2_SSH_Ser2Net.zip
  12. Like
    guidol reacted to MichaIng in [Info] FriendlyARM PCM5102A-Hat with NanoPi Neo under mainline 4.x.x and dev 5.x.x   
    Instead of manipulating the main device tree, enabling i2s@1c22000 should be possible via overlay as well, like:
        fragment@0 {         target-path = "/soc/i2s@1c22000";         __overlay__ {             status = "okay";         };     };  
    Hence the whole overlay:
    /dts-v1/; /plugin/; / {     compatible = "allwinner,sun8i-h3";     fragment@0 {         target-path = "/soc/i2s@1c22000";         __overlay__ {             status = "okay";         };     };     fragment@1 {          target-path = "/";          __overlay__ {              pcm5102a: pcm5102a {                 #sound-dai-cells = <0>;                 compatible = "ti,pcm5102a";                 pcm510x,format = "i2s";             };         };      };     fragment@2 {         target = <&i2s0>;         __overlay__ {             status = "okay";             pinctrl-0 = <&i2s0_pins>;             sound-dai = <&pcm5102a>;             pinctrl-names = "default";         };     };     fragment@3 {         target-path = "/";         __overlay__ {             sound_i2s {                 compatible = "simple-audio-card";                 simple-audio-card,name = "I2S-master";                 simple-audio-card,mclk-fs = <256>;                 simple-audio-card,format = "i2s";                 status = "okay";                 simple-audio-card,cpu {                     sound-dai = <&i2s0>;                 };                 simple-audio-card,codec {                     sound-dai = <&pcm5102a>;                 };             };         };     }; };
    I will verify that the path /soc/i2s@1c22000 is correct, I guess there is a symbol for this as well, but obviously it is not <&i2s0>.
  13. Like
    guidol got a reaction from Dirk_P_Broer in The LED1 and LED2 on the BanabaPi Pro. How do I get them to show MMC card usage and the watchdog heart beat?   
    and before the
    exit 0
    in /etc/rc.local
  14. Like
    guidol reacted to Hans Kurscheidt in Where is "default_trigger" set at boot for red LED Allwinner H5   
    Thank-you, that did the trick!
  15. Like
    guidol reacted to Igor in Armbian 22.02 (Pig) Release Thread   
    Improved testing on hardware - its attached to nightly builds and currently needs to be run manually:
     

     
    connects to the device via SSH as root (ssh key must be there) runs apt update + upgrade reboots waits 3 minutes that machine is back true or false power cycle the board in case of false (where we have power control)  
    Currently 38 boards are attached, but its very simple to add more of them.
  16. Like
    guidol reacted to magic_sam in My pcDuino4 Nano wanted to say "Thank You" :)   
    Dear all,
     
    First post here
     
    I just wanted to thank you for the up-to-date image you made for the pcDuino4 Nano (a.k.a the NanoPI M1):
     
    https://armbian.hosthatch.com/archive/nanopim1/archive/
     
    It's much better than the stock image provided my LinkSprite, based upon Debian 8 "Jessie":
     
    https://www.linksprite.com/pcduino4-nano/
     
    I only had one issue so far with your image, certainly related to the default overclocking at 1368 MHz, which didn't play well with the CPU intensive, NEON optimized tasks I threw at it (BOINC)
     
    I lowered the frequency to 1296 MHz and it's been running stable for a couple of hours now
     
    So thanks again and keep up the good work !
     
    Best regards,
     
    Magic Sam from the Open Pandora / Dragonbox Pyra community
     
    https://www.openpandora.org/
    https://pyra-handheld.com/boards/pages/pyra/
  17. Like
    guidol reacted to MacBreaker in Orange Pi one two usb host ports possible?   
    Yes, that was the information what I was missing..
     
    I was thinking about that, but I didn't find that information.
     
    Thanks for sharing your DTB, but i'm on 5.10.60.
    I froze the kernel and changed my DTB, all is fine now!
     
    @guidol
     
    Liebe Grüsse aus Bishkek/Kirgistan wo ich zeitweise außer in Haiger/Hessen lebe..
  18. Like
    guidol got a reaction from MacBreaker in Orange Pi one two usb host ports possible?   
    As I read
    http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=3399
    it seems to be possible.
    At the URL is a information how to change the .DTB for the OPi Zero to use the USB-OTG as USB-HOST
     
    You have to find the right usb-port (usb@1c19000) in the .DTB/.DTS for the OPi One
     
    DTB to DTS decompile
    dtc -I dtb -O dts /boot/dtb/sun8i-h3-orangepi-one.dtb -o /boot/dtb/sun8i-h3-orangepi-one.dts
     
    EDIT
    change in the .DTS:
    change the line:
                            dr_mode = "otg";
    to                     dr_mode = "host";
    in the section
    usb@1c19000
     
    from: usb@1c19000 { compatible = "allwinner,sun8i-h3-musb"; reg = <0x1c19000 0x400>; clocks = <0x03 0x20>; resets = <0x03 0x11>; interrupts = <0x00 0x47 0x04>; interrupt-names = "mc"; phys = <0x10 0x00>; phy-names = "usb"; extcon = <0x10 0x00>; dr_mode = "otg"; status = "okay"; phandle = <0x48>; }; to: usb@1c19000 { compatible = "allwinner,sun8i-h3-musb"; reg = <0x1c19000 0x400>; clocks = <0x03 0x20>; resets = <0x03 0x11>; interrupts = <0x00 0x47 0x04>; interrupt-names = "mc"; phys = <0x10 0x00>; phy-names = "usb"; extcon = <0x10 0x00>; dr_mode = "host"; status = "okay"; phandle = <0x48>; };  
     
    DTS to DTB compile
    dtc -I dts -O dtb /boot/dtb/sun8i-h3-orangepi-one.dts -o /boot/dtb/sun8i-h3-orangepi-one.dtb
     
    then REBOOT
     
    As attachment the new compiled version (when you have the same kernel as I 5.15.4
     
    @MacBreaker
    PS: Liebe Gruesse nach Hessen - vor 6 Jahren habe ich in Babenhausen bei Frankfurt/Darmstadt gewohnt - nun in der Tuerkei....
    sun8i-h3-orangepi-one.dtb
  19. Like
    guidol got a reaction from Werner in Video : Armbian for the Raspberry Pi 4 ! ! ! Preview ! ! !   
    @NicoD
    why only for the RPI4?
    I commented out (like you said in the video) the 2GHz overclock out of the config.txt and booted the image on the RPI3b(+)
    for a headless-server-only version (No Desktop)
     
    Little problem was the /erc/rc.local where I mount my SAMBA from another pistyle-sbc, because the Network card is getting up very late.
    So I had to add a "sleep 20" at the beginning of my /etc/rc.local
     
    Armbian on my the RPi 3B v1.2 takes around 185MB for booting - so enough space to do something
     
    Because onboard audio doesnt work I used a USB-Audio with a proper /etc/asound.conf
     
    After a "dpkg-reconfigure console-setup" the RPi does copy many new/current modules again and seem to setup the system better.
     
    To gain back some memory from the RPi3 I changed the GPU memory in the config.txt from 256MB to 32MB to get 950MB useable for the headless-server
     
    armbianmonitor -u result at:
    http://ix.io/3Fly
     
     

  20. Like
    guidol got a reaction from NicoD in Video : Armbian for the Raspberry Pi 4 ! ! ! Preview ! ! !   
    @NicoD
    why only for the RPI4?
    I commented out (like you said in the video) the 2GHz overclock out of the config.txt and booted the image on the RPI3b(+)
    for a headless-server-only version (No Desktop)
     
    Little problem was the /erc/rc.local where I mount my SAMBA from another pistyle-sbc, because the Network card is getting up very late.
    So I had to add a "sleep 20" at the beginning of my /etc/rc.local
     
    Armbian on my the RPi 3B v1.2 takes around 185MB for booting - so enough space to do something
     
    Because onboard audio doesnt work I used a USB-Audio with a proper /etc/asound.conf
     
    After a "dpkg-reconfigure console-setup" the RPi does copy many new/current modules again and seem to setup the system better.
     
    To gain back some memory from the RPi3 I changed the GPU memory in the config.txt from 256MB to 32MB to get 950MB useable for the headless-server
     
    armbianmonitor -u result at:
    http://ix.io/3Fly
     
     

  21. Like
    guidol got a reaction from mahaju in Orange Pi 2G-IOT   
    as a normal armbian-image it should be root as user and 1234 as initial password
  22. Like
    guidol reacted to Gabor Hidvegi in Orange Pi 2G-IOT   
    Hello all,
     
    I bought one of these nice little devices, and and after a week of playing with it, I'm quite satisfied. Of course the software side is not the best, but the board itself is powerful, cheap, and it is full of features.
     
    Right now all I am missing is a working LCD under Linux. I bought the official phone display from Aliexpress, it works under Android, but no success so far in Linux. So I'm looking for some help here with it.
     
    I have cleaned and formatted the kernel source code (kernel/drivers/video/rda directory), it uses and registers the ILI9806g_mcu according to the dmesg output, but there is only garbage on the screen after it is initialized. So I think the FrameBuffer driver maps to a wrong RAM address. The rda-fb module outputs this: "rda-fb rda-fb: init done, 480 x 800 = 1540096, at cf028000, phys 0x8e200000"
    When I convert the 0x8e200000 to decimal, it is an insanely high number (around 2 terabytes), which is suspicious.
     
    Is there anyone here with kernel and LCD programming experience, who could help me with sorting this out?

    I also tried to compile a kernel from the released Android source code, which is a bit different, but it doesn't work either. My next project is to make working the Vivante driver, also found in the Android source.
  23. Like
    guidol got a reaction from NicoD in [Info] BASIC Engine NG (Next Generation) for H3-CPU Boards   
    If you have time and a spare Allwinner H3-CPU system (like the Orange Pi One or PC (not PC2 because of H3 CPU)
    you could try the BASIC Engine NG for H3-PiComputers/Boards.
     
    The - bare metall - BASIC seems to have very powerful commands - see the Online-Manual
     
    A forum in BETA state is at this URL
     
    I downloaded and booted the SDCard-Image from the 14.10.2021 (compressed size 5.4MB) from this directory
    Image was written with Balena Etcher to the SDCard
     
    Have fun and write new BASIC-programms!  
     

     

     

  24. Like
    guidol reacted to sockscap in What actions should I do to make sure bluetooth is completely disabled?   
    Thanks! lsmod / blacklist the modules resolves the issue.
  25. Like
    guidol reacted to Myron in The LED1 and LED2 on the BanabaPi Pro. How do I get them to show MMC card usage and the watchdog heart beat?   
    Thank-you everyone. I would mark multiple solutions, but the board only allows me to mark one.

    I got it working. Used the cron @reboot method on user root.  The LEDs are useful where on the screen it may look like it's got stuck, the LEDs will at least show if there is some activity and if the SOC is still got a heartbeat.  I'm still a noob on the higher technical issues of Linux.  I have one more question to ask and that will be in another thread.    (Yes, I will donate!  I've seen the donate link on the Armbian home page, but as you all know, the budget that keeps the roof over the head, electricity supplied, food on the table, etc... is priority. Shall donate what I can, when I can.)
     
    EDIT: I finally ended up using the /etc/rc.local method.  Thank-you @Werner and @guidol.
×
×
  • Create New...