Jump to content

gil44

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by gil44

  1. @Guest_Brezel_* : it depends of what you want to do with your sbc. Personally I use the c2 to develop a low cost open source and portable gps car navigation system.

    The system manages very large binary files (>2Go) and writes a lot of data. The C2/Armbian with Navit gives good results but before transferring the root partition out of the SD, I burned a lot of SD cards, quickly destroyed.

    USB storage devices or eMMC are good to be used to enhance the integrity of the system.

  2. it is curious...

    by my side, modifying the boot.ini file effectively modifies the screen resolution of the C2...

     

    @Guest_Brezel_* : did you edit the boot.ini file as sudo?

     

    with the C2, I also experienced some black windows using rsync directly to transfer the rootfs to a USB drive (-aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found",) The nand sata script resolved this and some other bugs...

     

    In the case of Guest_Brezel_*, because he uses directly the dd to load the SD/emmc card, it could also comes from somewhere else...

  3. The copy-procedures used would be at the origin of the graphical bug you observed. The dd && sync procedure is not really adapted to copy an entire functional partition. DD (and may be the windows procedure) can generate errors and data loss in the case for example, of some unreadable logical block addresses present in the source drive. The rsync procedure, a file-based copying procedure, is strongly recommended

     

    I never use the emmc storage devices and i don`t know how the odroid sbc manage them. Usually (structurally), with the Odroid-C2 as others arm-sbc, the boot file has to be on a SD slot but the rootfs can be externalised to other ports supporting USB drives or emmc cards.

     

    You can have the entire system on an emmc card, for example using the hardkernel SD/eMMC adapter but if you want to copy the root functional partition, from a SD cart to an emmc support, Igor and colleagues have integrated the rsync procedure in the Armbian OS as the "nand-sata-install script".

     

    To use it, just flash at fisrt, with dd or your win-program, the Armbian OS on a SD card. Proceed to the first boot on your Odroid-C2 with the SD, then directly run "sudo nand-sata-install" in a terminal with the eMMC card with an ext4 partition, inserted in your Od-C2 to the emmc port of the back of the board. The nand-sata- procedure will make automatically the job, transferring to your eMMC support the root partition of the OS. Rebooting with both inserted, the SD and the emmc cards, the OS will be with the root files on the emmc and could be without strange bugs.

     

    Exploring deeper this forum would give you more information (here for starting documentation).

  4. Hello

    Thank you for your attention and sorry for the delay... family time..

    The image before that was working fine was the 'Armbian_5.06_Odroidc2_Debian_jessie_3.14.65_desktop' version.

    To be installed, the root partition was transferred with the nand-sata-install script to an USB 3.0 storage device and the depository address was changed like suggested here somewhere, replacing 'http://httpredir.debian.org/debian' to 'http://ftp.uk.debian.org/debian' in the /etc/apt/sources.list file.

    Recently, after an upgrade, the wifi has been totally lost.

     

    I built today a new image from the last version of your software (http://mirror.igorpecovnik.com/Armbian_5.10_Odroidc2_Debian_jessie_3.14.67_desktop.7z), transferred the root partition of the SD to an USB 3.0 device with the incorporated nand -script, made an update/upgrade (keeping the http://httpredir.debian.org/debian address), installed different programs like the navit and gps-daemon and everything works now (again!) like a charm.

     

    So... It was well a bug before...

     

    A very good day-end!

  5. Hello

    I recently updated the kernel of Jessie on the Od-C2:
    # uname -a
    Linux odroidc2 3.14.65-odroidc2 #33 SMP PREEMPT Sat Mar 26 14:50:37 CET 2016 aarch64 GNU/Linux

    Consequently, with this new environment, the wifi connection fails:

    # iw wlan0 scan
    nl80211 not found.

    when started mannually, the wpa_supplicant starts +/-:
    # wpa_supplicant -B -i wlan0 -O /var/run/wpa_supplicant -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant

    But:
    # ifup wlan0
    wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
    run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
    Failed to bring up wlan0.

    # iwconfig returns:
    eth0      no wireless extensions.

    ip6tnl0   no wireless extensions.

    sit0      no wireless extensions.

    lo        no wireless extensions.
     

    The wireless (RT3072) dongle is well recognized:
    # lsusb
    Bus 001 Device 004: ID 1d57:fa60 Xenta
    Bus 001 Device 006: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
    Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 6557:5500  
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    And restarting the wicd service doesn't change nothing.

    (The wired internet-connection is full functional)

    I dig in many forums but I didn't found nothing similar...

    Seems to be a bug ?

  6. Great! Great!

    The nand-sata-install script installed ont he SD card works on the Od-C2 like a charm!

     

    Nothing to adjust, just to follow the instructions...

    All is done automatically and is ok.

    The ext4 partition of the SD card has been cloned to the USB-drive, the boot.ini and the fstab files adjusted automatically .

    The OS boots now fine ont he USB drive, is upgradable, all scripts are functionally installed.

    I am testing now how to run the gpsd daemon on the Od-C2 with the Armbian and everything seems to proceed well.

    Many thanks!

  7. @Igor, @zador

    Thanks for replying and for the info

     

    It is possible that this situation could be a multiple factorial one.

    Changing for http://ftp.uk.debian.org/debian and trying a 'gedit' installation returns similar errors like the precedent depository address:

     

    For ex. trying to install 'debconf' returns:

     

    #root@odroidc2:~# apt install debconf
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      dpkg gcc-4.9-base libacl1 libattr1 libbz2-1.0 libc6 libgcc1 liblzma5 libpcre3 libselinux1 multiarch-support
      perl-base tar zlib1g

    ...//...
    dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a4.9.2-10_arm64.deb (--unpack):
     pre-dependency problem - not installing libgcc1:arm64
    Errors were encountered while processing:
     /var/cache/apt/archives/libgcc1_1%3a4.9.2-10_arm64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)

     

    So it appears that the configuration would be transferred not correctly from the SD card to the USB-drive before...

     

    Haut les coeurs!

     

    I will try to clone the SD ext4 partition with the nand-sata-install script to the USB-drive

     

    ...


     

  8. Hi!

     

    Thanks a lot for your quick reply!

     

    It is strange...

     

    Removing the line 'deb <ftpmaster@debian.org>
    W: Failed to fetch http://apt.armbian.com/dists/jessie/InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
    E: Some index files failed to download. They have been ignored, or old ones used instead.

     

    #root@odroidc2:~# apt install gedit
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package gedit is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'gedit' has no installation candidate
     

  9. Hello

     

    At first, I would like to tell how I think your work you do on the arm boards is great.

     

    Looking actively for an alternative to the official Odroid Ubuntu image, I downloaded and installed the Armbian image on a SD card with dd and booted on the Odroid-C2 board. I made a first boot and a update/upgrade cycle on the SD card before to transfer the ext4 (root) partition with rsync (with the basic : -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found", options) to an empty, new made ext4-partition on a 16 Gb-USB 3.0-drive.

     

    The OS boots well on the USB device (changed the boot.ini and fstab files as below) and I connect the board by ssh as root or as common user.

    But as shown below, I am now unable to install new packages or run the updates:

    I have try to enable the automatic security update download for the basic system and the kernel without success.

     

    I think that the difficulty is how to manage the changes in the remote host identification...

    Any suggestion would be very welcome!

     

     

    _________________

    boot.ini file changes (SD card):

     

    # Boot Arguments
    setenv bootargs "root=UUID=45803055-e115-467d-80fd-037d4f812182 rootwait rootflags=data=writeback rw ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes loglevel=${verbosity} net.ifnames=0"
     

     

    ________________________

    fstab changes (on the USB-drive - UUID=45803055-e115-467d-80fd-037d4f812182):

     

    #/dev/mmcblk0p2 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
    UUID=45803055-e115-467d-80fd-037d4f812182 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
    /dev/mmcblk0p1 /boot vfat defaults 0 2
    tmpfs /tmp tmpfs defaults,rw,nosuid 0 0
    /var/swap none swap sw 0 0

     

    ____________________

    Connection to the board:

     

    $ ssh root@192.168.1.79
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
      ___      _           _     _    ____ ____  
     / _ \  __| |_ __ ___ (_) __| |  / ___|___ \
    | | | |/ _` | '__/ _ \| |/ _` | | |     __) |
    | |_| | (_| | | | (_) | | (_| | | |___ / __/
     \___/ \__,_|_|  \___/|_|\__,_|  \____|_____|
                                                 

    Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.14.65-odroidc2

    System load:   0.24                Up time:       4 min        
    Memory usage:  12 % of 1719Mb     IP:            192.168.1.49
    CPU temp:      39°C               
    Usage of /:    13% of 15G        storage/:      13% of 15G        

    Last login: Sun Apr  3 21:50:29 2016

    root@odroidc2:~# apt-get update
    Hit http://apt.armbian.comjessie InRelease                                
    0% [Waiting for headers] [Waiting for headers]Splitting up /var/lib/apt/lists/apt.armbian.com_dists_jessie_InRelease inGet:1 http://security.debian.orgjessie/updates InRelease [63.1 kB]
    Ign http://apt.armbian.comjessie InRelease   
    E: GPG error: http://apt.armbian.comjessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

     

    root@odroidc2:~# apt-get install unattended-upgrades apt-listchanges
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    E: Unable to locate package unattended-upgrades
    E: Unable to locate package apt-listchanges

     

    root@odroidc2:~# dpkg-reconfigure -plow unattended-upgrades
    dpkg-query: package 'unattended-upgrades' is not installed and no information is available
    Use dpkg --info (= dpkg-deb --info) to examine archive files,
    and dpkg --contents (= dpkg-deb --contents) to list their contents.
    /usr/sbin/dpkg-reconfigure: unattended-upgrades is not installed

     

    root@odroidc2:~# apt-get install unattended-upgrades apt-listchanges
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    E: Unable to locate package unattended-upgrades
    E: Unable to locate package apt-listchanges

     

     

     

     

    _________________
     

    post-1041-0-90488800-1459715971_thumb.jpg

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines