Jump to content

kris777

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by kris777

  1. Is it possible to transfer the entire Armbian system from SD card to HDD? ... it is known that the SD card has a lower endurance than such a HDD dist (write, read etc.)
    I tried to transfer the system in such a way that I first upgraded the kernel to the newest one on the SD card and then moved the system files to a partition on the HDD:

    mount /dev/sda1 /mnt
    time tar --one-file-system -cpf - / | (cd /mnt && tar -xpf -)

    then knowing the sda1 partition information and ID

    lsblk -f

    then knowing the sda1 partition information and ID
    I changed the UUID / HDD number in two locations

    nano /boot/boot.ini
    Quote

    # default settings, will be overwritten from armbianEnv.txt
    setenv macaddr "01:1b:06:77:7a:44"
    setenv rootdev "UUID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxx"
    setenv rootfstype "ext4"
    setenv console "both"
    setenv bootlogo "false"
    setenv verbosity "1"

    and

    nano /etc/fstab
    Quote

    UUID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxx / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
    tmpfs /tmp tmpfs defaults,nosuid 0 0

    after rebooting the system ... surprisingly it works OK, but actually the samba / ftp network (server vsftpd).
    The update also seems to work OK, i.e.
    apt update / apt upgrade ...
    However, there are programs that cause the Armbian system to stop working completely, eg transmission when downloading files to the HDD? ... restarting the system helps, but is it the fault of the transmission program itself copied from the SD card or maybe the Armbian system cannot work properly on the HDD? ...
    or maybe something else needs to be done to correctly transfer the system from the SD card to the HDD?

    if I restore the settings and boot from the SD card, Armbian / transmission / download works OK? I haven't checked the option of uninstalling transmission from the system to HDD yet and setting everything up again ... but will it help? 

  2. In the Armbian system, I made such commands
    and the size of the image file saved on the miniSD was matched to the original size of the card  :-)

    sudo systemctl enable resize2fs
    sudo update-rc.d resize2fs defaults
    
     sudo reboot
    
    or
    poweroff

    /etc/init.d/resize2fs start

  3. with me the program has reduced the image from 30GB to 2.1GB ... great

    Theoretically, I can now burn the image onto a 3GB / ... 8GB e.t.c  mini SDHC !

    but the program Pishrink creates a minimal image .img ...
    that is, as much as there is data on it without a record
    what if we will install many programs in the future, etc.
    does not include free space for writing ...exceeding eg 2GB

    can not we determine the size of the created image ourselves ?

  4. thanks @tkaiser for the hint and link ... I will definitely check !

    But it's finally a new odroid HC1 . Not my six-year-old laptop ... in which I exchanged thermal grease :-)

    but thanks for the info ... 

     

    Ps. but if the above equipment works nonstop eg Seedbox / FTP / Samba ...this temperature can be the norm  ?    How much will the SD card withstand if I use it in this way? :-)  I will have to install the system on HDD / SATA ...
    if it can be done?

      ....  for now, I have changed the processor speed to max 1400 / update JMS578 firmware !

    regards .... thanks a lot !

  5. Quote

    Has anyone tried to use a fan with Odroid HC-1 ?

    I also thought about additional cooling ...but for me the temperature is in the range  59 C  -  69 C 

    and finally I gave up and it's OK for now .

    But maybe I can find a solution on the internet additional aluminum / copper radiotor or fan?  :-)

    a little high this temperature ?  

    regards!

  6. I have two Orange Pi lite .... which work 24 hours non stop
    I switched off and switched on the wifi network several times in the router option
    Always re-connected to the WiFi network to Orange Pilite automatically
    I restarted the router several times with similar effect

  7. I also had this result until we changed the order of the cables : SDA / SCL 

     

    i2cdetect -y 0

    i2cdetect -y 1

    Look here: 

    i2c--smbus-and-armbian-linux

    i2c interface on orange pi lite

     

    Orange Pi I2C

    orange pi / I2C / LCD 2x16 / internetradio

    Lcdproc also works .... but it requires compiling under the driver: hd44780

    hd44780.so-Armbian-5.25-Ubuntu-xenial-3.4.11

    Or your own compilation according to this howto 

    https://bbs.nextthing.co/t/lcdproc-with-20-character-by-4-line-lcd/8789

  8. Quote

    Yeah funny, dirt cheap electronics crap shows strange (expected) behaviour but people ask about 'kernel bugs'.

    You make strange conclusions....
    Some believe that all Orange Pi is just cheap gadgets

    So for the cheap gadget I plug in another cheap gadget  :-)

    I repeat my fix works and rather refers to the software......Armbian ? 

     

    Ps. I connected this sound card under another system linux /laptop samsung R780 / HTPC - Mobo AT5IONT-I 
    And  disabled / restarted the system 7 times....
    Has always been detected correctly .... (  LinuxMint 18 Sarah / LibreElec )

    Linux kris-samsung 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    Linux LibreELEC 4.4.13 #1 SMP Sat Dec 17 17:25:59 CET 2016 x86_64 GNU/Linux
     

    Oh..... these cheap gadgets ... OrangePi ? ... Armbian ? .. :-) ...... 

  9. Quote

    Anyway: I would check for physical issues first (dirt/dust on USB data and power lines of this specific device)

    Read carefully my posts above .....

    This issue is only added to this model of this version : 

    0d8c:013c C-Media Electronics, Inc. CM108

    I have two new Orange Pi Lite + two different power supplies + Two new usb sound cards

    This fix works for me :-)
    Maybe this is an mpd /mpc/pulseaudio / alsa .... configuration error ?

    If the card is not detected ....Just by ssh, issue the command: lsusb -v .... The card works OK again ? ... 

    regards!

     

  10. This is probably the only fault of this model :  

    0d8c:013c C-Media Electronics, Inc. CM108

    I have another company but the sound is strangely cracking sound ? .... but on this problem does not exist is always detected

    lsusb:Bus 007 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter

    I got rid of this card :-)
    The other one is always properly detected but the sound is not good for me  ???
    Bus 007 Device 018: ID 0c76: 1607 JMTek, LLC. Audio controller

     

    Ps. The Orange Pi Lite is also connected to a 16x2 LCD ( internetradio )

  11. I have an external audio card connected to usb

    lsusb
    Bus 007 Device 014: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller

    I have a problem that after rebooting the system ...
    Once it is detected and another time it is not :-(

    dmesg|tail
    [   40.820066] usb 7-1: device descriptor read/64, error -62
    [   41.110045] usb 7-1: device descriptor read/64, error -62
    [   41.400108] usb 7-1: new full-speed USB device number 11 using sunxi-ohci
    [   41.580056] usb 7-1: device descriptor read/64, error -62
    [   41.870068] usb 7-1: device descriptor read/64, error -62
    [   42.150067] usb 7-1: new full-speed USB device number 12 using sunxi-ohci
    [   42.570119] usb 7-1: device not accepting address 12, error -62
    [   42.750064] usb 7-1: new full-speed USB device number 13 using sunxi-ohci
    [   43.170071] usb 7-1: device not accepting address 13, error -62
    [   43.176856] hub 7-0:1.0: unable to enumerate USB device on port 1

    I observed that after some time itself connected ....About 5 - 30 min ? :-)

    dmesg

    The situation is repeated for two identical sound cards on two
    Same Armbian system :  and Orange Pi Lite 

    ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i

    Linux orangepilite 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l armv7l armv7l GNU/Linux

     

    Is not that a kernel bug ?

     

  12. I have Orange Pi lite / ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i
    And after the lsmod command:

    Module                  Size  Used by
    mali_drm                2732  1
    drm                   178255  2 mali_drm
    pcf8591                 3363  0
    bmp085                  3487  0
    mali                  123146  0
    ump                    29379  3 mali
    ir_lirc_codec           3650  3
    lirc_dev                7834  1 ir_lirc_codec
    ir_mce_kbd_decoder      2885  0
    snd_usb_audio          80352  2
    ir_sanyo_decoder        1480  0
    snd_hwdep               5562  1 snd_usb_audio
    ir_sony_decoder         1422  0
    snd_usbmidi_lib        17545  1 snd_usb_audio
    snd_seq_midi            4215  0
    snd_seq_midi_event      5340  1 snd_seq_midi
    ir_jvc_decoder          1452  0
    ir_rc6_decoder          1941  0
    snd_rawmidi            17134  2 snd_usbmidi_lib,snd_seq_midi
    ir_rc5_decoder          1412  0
    ir_nec_decoder          1556  0
    g_serial               27617  2
    sunxi_cir               1601  0

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines