guidol

Members
  • Posts

    1769
  • Joined

  • Last visited

Reputation Activity

  1. 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...
     
  2. 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.
  3. 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
  4. 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>.
  5. Like
  6. 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!
  7. 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.
  8. 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/
  9. 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..
  10. 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
  11. 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
     
     

  12. 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
     
     

  13. 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
  14. 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.
  15. 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!  
     

     

     

  16. 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.
  17. 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.
  18. Like
    guidol got a reaction from 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?   
    on my BananaPi M1 I can only control the green LED, but for that usage I do use the following command-line:
    echo 'mmc0' > /sys/class/leds/bananapi:green:usr/trigger only green LED available: # ls -l /sys/class/leds/ lrwxrwxrwx 1 root root 0 Sep 11 22:11 bananapi:green:usr -> ./../devices/platform/leds/leds/bananapi:green:usr  
  19. Like
    guidol got a reaction from Rabux in NanoPI M4: Disable LEDs and WiFi   
    for the LEDs you can try the following:

    ls -l /sys/class/leds
    (here as example from a NanoPi Neo2):
    lrwxrwxrwx 1 root root 0 Feb 20 21:50 nanopi:green:status -> ../../devices/platform/leds/leds/nanopi:green:status
    lrwxrwxrwx 1 root root 0 Feb 20 21:50 nanopi:red:pwr -> ../../devices/platform/leds/leds/nanopi:red:pwr
     
    then echo none to the trigger of the led-name: 
     
    echo 'none' > /sys/class/leds/[name_of_the_led]/trigger
     
    so it should look like this:
     
    echo 'none' > /sys/class/leds/nanopi:green:status/trigger
     
    You only have to check the led-names of your board and add the commands in /etc/rc.local before "exit 0"
  20. Like
    guidol reacted to lvmc in The repository 'http://apt.armbian.com xenial Release' does not have a Release file.   
    @guidol, I was talking with @Igor these days and I think the main issue is how slow (and prone to errors) is the repository generator scripts for generating packages for all releases... it's time consuming and requires a lot of efforts from him. I'm taking a look at the scripts to see if I find a way to optimize it. Older releases must be support as `csc` I think.
     
    And yes, I'm using exactly the repositories you suggested, thanks:
     
    deb http://ports.ubuntu.com/ xenial main restricted universe multiverse #deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse #deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse #deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse #deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse  
    By the way now it's clearly that the affected packages are only the ones that are build by Armbian, not the packages that are provided by the official Ubuntu repositories.
  21. Like
    guidol reacted to Elric in [Solved] Bananapi M1 doesn't boot when Wireless Desktop Reciever is plugged in   
    Downloaded new image Armbian_21.08.1_Bananapi_buster_current_5.10.60.img today, flashed it to sdcard and started with a Unifying reciever plugged-in. Everything was fine, kernel starts without any troubles. Thanks for providing a new installation image!
  22. Like
    guidol reacted to Werner in Armbian (Debian Bulleye) - supported or not?   
    Yes,  Bullseye will be supported while Buster phases out but may take a few additional month to get things prepared.
  23. Like
    guidol reacted to Igor in Problems with the RTL8192cu driver   
    Also for other reason. We keep well known and those a bit less known wireless drivers in best possible shape and bundled with kernels we provide. In theory - users should not need to compile exotic drivers that Linux doesn't support (well enough) on their own, but all dependencies are ready (kernel headers, compilers) - so you can. For things we don't cover, can't bundle (zfs) or for experimenting ...
     

    We all are 
     
    It is impossible to know everything, especially in this tech world full of complicated details.
  24. Like
    guidol reacted to Igor in Problems with the RTL8192cu driver   
    In fact it is. Starting with v197 systemd:
    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-understanding_the_predictable_network_interface_device_names
     
  25. Like
    guidol got a reaction from gounthar in How would you implement a super precise clock with a board running Armbian?   
    @gounthar also maybe here some other idea?
    https://hackaday.com/2021/08/16/new-part-day-raspberry-pi-hat-for-ieee1588-precision-time-protocol/