Jump to content

olivier-b

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by olivier-b

  1. If that can help, I found the same error message ( spl: mmc init failed with error: -123 ) in the attached file (log1.txt) in this thread : http://forum.armbian.com/index.php/topic/1945-orange-pi-plus-2e/?p=15020

     

    I remove  linux-u-boot-orangepiplus-default package and upgrade. Now I can boot :

     

     

    U-Boot SPL 2016.03-armbian-sun8i (Apr 30 2016 - 23:26:36)
    DRAM: 1024 MiB
    Trying to boot from MMC
     
     
    U-Boot 2016.03-armbian-sun8i (Apr 30 2016 - 23:26:36 +0200) Allwinner Technology
     
    CPU:   Allwinner H3 (SUN8I)
    I2C:   ready
    DRAM:  1 GiB
    MMC:   SUNXI SD/MMC: 0 (SD), SUNXI SD/MMC: 1
    *** Warning - bad CRC, using default environment
     
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    starting USB...
    USB0:   USB EHCI 1.00
    USB1:   USB EHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
    scanning bus 1 for devices... 1 USB Device(s) found
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    2444 bytes read in 293 ms (7.8 KiB/s)
    ## Executing script at 43100000
    gpio: pin PL10 (gpio 298) value is 1
    gpio: pin PG11 (gpio 203) value is 1
    ** File not found /boot/.verbose **
    ** File not found /boot/.next **
    ** Unrecognized filesystem type **
    ** File not found .next **
    37328 bytes read in 529 ms (68.4 KiB/s)
    3139724 bytes read in 14661 ms (209 KiB/s)
    5025168 bytes read in 23461 ms (209 KiB/s)
    Kernel image @ 0x48000000 [ 0x000000 - 0x4cad90 ]
    ## Loading init Ramdisk from Legacy Image at 42000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    3139660 Bytes = 3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    Using machid 0x1029 from environment
     
    Starting kernel ...
     
    [sun8i_fixup]: From boot, get meminfo:
            Start:  0x40000000
            Size:   1024MB
    ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
    ion_reserve_select: ion chipid  [0x2004620!
    ion_reserve_common: ion reserve: [0x50000000, 0x60000000]!

     

     

     

    Thank you very much :)

     

    Now I have two sdcard so if you want help to test new image, no problem, feel free to ask me ;)

  2. I put the Armbian_5.20_Orangepiplus_Debian_jessie_3.4.112.img image on the card and I have the same problem


    U-Boot SPL 2016.09-armbian (Sep 15 2016 - 07:58:09)

    DRAM: 1024 MiB

    Trying to boot from MMC1

    MMC: no card present

    spl: mmc init failed with error: -123

    SPL: failed to boot from all boot devices

    ### ERROR ### Please RESET the board ###


     

    I remember that in April after installing version 5.10, I had already done an apt-get upgrade (5.16 I think) and I couldn't boot either. A this time, I had to put back to V5.10 img without any upgrade possible. I thought that was version that was bugged.

     

    I remember too that after, none of the official xunlong image, wouldn't boot on my card (except the android on MMC memory).

  3. Here is the console messages when I boot with the sdcard v5.20 :

     


    U-Boot SPL 2016.09-armbian (Sep 15 2016 - 07:58:09)

    DRAM: 1024 MiB

    Trying to boot from MMC1

    MMC: no card present

    spl: mmc init failed with error: -123

    SPL: failed to boot from all boot devices

    ### ERROR ### Please RESET the board ###


     

    I restored my backup image (v5.10), here is the serial console messages :


    U-Boot SPL 2016.03-armbian-sun8i (Apr 30 2016 - 23:26:36)

    DRAM: 1024 MiB

    Trying to boot from MMC

     

     

    U-Boot 2016.03-armbian-sun8i (Apr 30 2016 - 23:26:36 +0200) Allwinner Technology

     

    CPU:   Allwinner H3 (SUN8I)

    I2C:   ready

    DRAM:  1 GiB

    MMC:   SUNXI SD/MMC: 0 (SD), SUNXI SD/MMC: 1

    *** Warning - bad CRC, using default environment

     

    In:    serial

    Out:   serial

    Err:   serial

    Net:   No ethernet found.

    starting USB...

    USB0:   USB EHCI 1.00

    USB1:   USB EHCI 1.00

    scanning bus 0 for devices... 2 USB Device(s) found

    scanning bus 1 for devices... 1 USB Device(s) found

    Hit any key to stop autoboot:  0 

    switch to partitions #0, OK

    mmc0 is current device

    Scanning mmc 0:1...

    Found U-Boot script /boot/boot.scr

    2444 bytes read in 206 ms (10.7 KiB/s)

    ## Executing script at 43100000

    gpio: pin PL10 (gpio 298) value is 1

    gpio: pin PG11 (gpio 203) value is 1

    ** File not found /boot/.verbose **

    ** File not found /boot/.next **

    ** Unrecognized filesystem type **

    ** File not found .next **

    37052 bytes read in 614 ms (58.6 KiB/s)

    3115791 bytes read in 3292 ms (923.8 KiB/s)

    5116680 bytes read in 5349 ms (933.6 KiB/s)

    Kernel image @ 0x48000000 [ 0x000000 - 0x4e1308 ]

    ## Loading init Ramdisk from Legacy Image at 42000000 ...

       Image Name:   uInitrd

       Image Type:   ARM Linux RAMDisk Image (gzip compressed)

       Data Size:    3115727 Bytes = 3 MiB

       Load Address: 00000000

       Entry Point:  00000000

       Verifying Checksum ... OK

    Using machid 0x1029 from environment

     

    Starting kernel ...

     

    [sun8i_fixup]: From boot, get meminfo:

            Start:  0x40000000

            Size:   1024MB

    ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1

    ion_reserve_select: ion chipid  [0x2004620!

    ion_reserve_common: ion reserve: [0x50000000, 0x60000000]!


  4. Thank you for your answers

    Goldfish_paris : Thank you for the advice, if I can't find the solution I will try it. Before I'd like to understand why upgrade doesn't work.

    Igor :
    I don't try serial console. I just received, from mail, a USB-TTL module (an xcsource usb to ttl ch340g 3.3v and 5v) to connect my esp8266 modules (I have Arduino UNO too if needed).

    I will test this week-end to connect it to my orangepi+

    To connect it, I guess I have to use minicom. These documents are they OK ?
    TTL speed and serial parameter ? --> http://www.orangepi.org/Docs/LogintotheOrangePi.html#Using_TTL_serial_port
    UART location on orangepi+ ? --> http://linux-sunxi.org/File:Xunlong_Orange_Pi_Plus_uart.jpg
    UART documentation ? --> http://linux-sunxi.org/UART

  5. Hi,

     

    I'm Olivier, french engineer, and i have bought an orangepi plus card in april. I use linux (x86) since 1994 ;)

     

    Sorry for my bad english ...

     

    I was happy to find Armbian because linux images provided by xunlong have many security problems (example / and all system directory aren't owned by root  but by orangepi user). 

     

    Thank for your work on Armbian.

     

    My Orangepi + has been installed with a 5.10 armbian image (Armbian_5.10_Orangepiplus_Debian_jessie_3.4.112) and run perfectly.

     

    I wanted upgrade to 5.20 and since the card doesn't boot anymore. I can boot with the native android on NAND memory but I can't boot on SDcard. When I boot on sdcard, only green led is on (not red led) and I don't have any display on my HDMI screen.

     

    I can restore my sdcard image back up with v5.10 and boot again, the card is OK for me.

     

    I followed the upgrade documentation to pass from v5.10 to v5.20 :

     

    apt-get update

    apt-get upgrade

    apt-get install -f

    apt-get upgrade

    apt-get autoremove -y

     

    and i had an error message during first apt-get upgrade :  /boot/initrd.img-3.4.112-sun8i does not exist. Cannot update.

     

    I can mount the sdcard on my linux box (an archlinux) and list directories without problem :

     

     

    [olivier@pcolivier boot]$ ls -lrt

    total 13236
    -rw-r--r-- 1 root root    6944 30 avril 23:28 boot.bmp
    lrwxrwxrwx 1 root root      20 30 avril 23:28 script.bin -> bin/orangepiplus.bin
    -rw-r--r-- 1 root root    2372 30 avril 23:28 boot.cmd
    -rw-r--r-- 1 root root    2444 30 avril 23:28 boot.scr
    drwxr-xr-x 2 root root    4096 30 avril 23:28 bin.old
    -rwxr-xr-x 1 root root 5025168 14 sept. 20:29 vmlinuz-3.4.112-sun8i
    -rw-r--r-- 1 root root 2119429 14 sept. 20:29 System.map-3.4.112-sun8i
    -rw-r--r-- 1 root root   94749 14 sept. 20:29 config-3.4.112-sun8i
    drwxr-xr-x 2 root root    4096 29 sept. 22:20 bin
    lrwxrwxrwx 1 root root      21 29 sept. 22:21 zImage -> vmlinuz-3.4.112-sun8i
    -rw-r--r-- 1 root root 3139657 29 sept. 22:21 initrd.img-3.4.112-sun8i
    -rw-r--r-- 1 root root 3139721 29 sept. 22:21 uInitrd
    [olivier@pcolivier boot]$ pwd
    /run/media/olivier/62049b2c-66a0-468e-a7f7-7d30e350f08e/boot

    on my sdcard image backup (v5.10), in /boot I have :
     

    olivier@pcolivier boot]$ ls -lrt
    total 10240
    -rwxr-xr-x 1 root root 5116680 30 avril 19:49 vmlinuz-3.4.112-sun8i
    -rw-r--r-- 1 root root 2126271 30 avril 19:49 System.map-3.4.112-sun8i
    -rw-r--r-- 1 root root   94856 30 avril 19:49 config-3.4.112-sun8i
    lrwxrwxrwx 1 root root      21 30 avril 23:27 zImage -> vmlinuz-3.4.112-sun8i
    -rw-r--r-- 1 root root 3115791 30 avril 23:27 uInitrd
    -rw-r--r-- 1 root root    6944 30 avril 23:28 boot.bmp
    lrwxrwxrwx 1 root root      20 30 avril 23:28 script.bin -> bin/orangepiplus.bin
    -rw-r--r-- 1 root root    2372 30 avril 23:28 boot.cmd
    -rw-r--r-- 1 root root    2444 30 avril 23:28 boot.scr
    drwxr-xr-x 2 root root    4096 30 avril 23:28 bin

     

     

     

    Any idea ? 

     

    here is the all message of upgrade process :

     

     

     

      ___                               ____  _       

     / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  _   
    | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |_| |_ 
    | |_| | | | (_| | | | | (_| |  __/ |  __/| |_   _|
     \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_|  
                           |___/                      
     
    Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i 
     
    System load:   0.53             Up time:       44 sec
    Memory usage:  5 % of 1000Mb IP:            192.168.2.10
    CPU temp:      37°C          
    Usage of /:    25% of 7.4G  
     
    [ 5 updates to install: apt-get upgrade ]
     
    Last login: Thu Sep 29 21:59:20 2016 from pcolivier.lan
    root@orangepiplus:~# apt-get update
    Get:1 http://security.debian.orgjessie/updates InRelease [63.1 kB]
    Hit http://apt.armbian.comjessie InRelease                                    
    Ign http://httpredir.debian.orgjessie InRelease             
    Get:2 http://httpredir.debian.orgjessie-updates InRelease [142 kB]
    Hit http://apt.armbian.comjessie/main armhf Packages                             
    Get:3 http://security.debian.orgjessie/updates/main Sources [162 kB]                         
    Hit http://httpredir.debian.orgjessie Release.gpg                                                                       
    Hit http://httpredir.debian.orgjessie Release                                                               
    Get:4 http://httpredir.debian.orgjessie-updates/main Sources [15.5 kB]                                      
    Ign http://apt.armbian.comjessie/main Translation-en                                                
    Get:5 http://httpredir.debian.orgjessie-updates/contrib Sources [32 B]                              
    Get:6 http://httpredir.debian.orgjessie-updates/non-free Sources [920 B]                                                                                  
    Get:7 http://httpredir.debian.orgjessie-updates/contrib armhf Packages [32 B]                                                                 
    Get:8 http://httpredir.debian.orgjessie-updates/main armhf Packages/DiffIndex [5,440 B]                                             
    Get:9 http://security.debian.orgjessie/updates/contrib Sources [1,439 B]                             
    Get:10 http://httpredir.debian.orgjessie-updates/non-free armhf Packages/DiffIndex [736 B]
    Get:11 http://security.debian.orgjessie/updates/non-free Sources [14 B]                             
    Get:12 http://httpredir.debian.orgjessie-updates/contrib Translation-en [14 B]
    Get:13 http://security.debian.orgjessie/updates/main armhf Packages [295 kB]                            
    Get:14 http://httpredir.debian.orgjessie-updates/main Translation-en/DiffIndex [2,704 B]
    Get:15 http://httpredir.debian.orgjessie-updates/non-free Translation-en/DiffIndex [736 B]       
    Hit http://httpredir.debian.orgjessie/main Sources                                            
    Hit http://httpredir.debian.orgjessie/contrib Sources                  
    Hit http://httpredir.debian.orgjessie/non-free Sources                
    Hit http://httpredir.debian.orgjessie/main armhf Packages             
    Hit http://httpredir.debian.orgjessie/contrib armhf Packages          
    Hit http://httpredir.debian.orgjessie/non-free armhf Packages                        
    Get:16 http://security.debian.orgjessie/updates/contrib armhf Packages [1,138 B]     
    Get:17 http://security.debian.orgjessie/updates/non-free armhf Packages [14 B]                   
    Get:18 http://security.debian.orgjessie/updates/contrib Translation-en [1,211 B]            
    Hit http://httpredir.debian.orgjessie/contrib Translation-en                                                                 
    Get:19 http://security.debian.orgjessie/updates/main Translation-en [163 kB]                                                 
    Hit http://httpredir.debian.orgjessie/main Translation-en                                                                 
    Hit http://httpredir.debian.orgjessie/non-free Translation-en                                                             
    Get:20 http://security.debian.orgjessie/updates/non-free Translation-en [14 B]
    Fetched 855 kB in 27s (30.7 kB/s)                                                                                                                                                                                 
    Reading package lists... Done
    root@orangepiplus:~# apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... The following package was automatically installed and is no longer required:
      libnl-route-3-200
    Use 'apt-get autoremove' to remove it.
    Done
    The following packages will be upgraded:
      linux-firmware-image-sun8i linux-headers-sun8i linux-image-sun8i linux-jessie-root-orangepiplus linux-u-boot-orangepiplus-default
    5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/18.6 MB of archives.
    After this operation, 1,051 kB disk space will be freed.
    Do you want to continue? [Y/n] 
    (Reading database ... 59967 files and directories currently installed.)
    Preparing to unpack .../linux-firmware-image-sun8i_5.20_armhf.deb ...
    Unpacking linux-firmware-image-sun8i (5.20) over (5.10) ...
    Preparing to unpack .../linux-headers-sun8i_5.20_armhf.deb ...
    Unpacking linux-headers-sun8i (5.20) over (5.10) ...
    Preparing to unpack .../linux-image-sun8i_5.20_armhf.deb ...
    Unpacking linux-image-sun8i (5.20) over (5.10) ...
    Preparing to unpack .../linux-jessie-root-orangepiplus_5.20_armhf.deb ...
    Unpacking linux-jessie-root-orangepiplus (5.20) over (5.10) ...
    Preparing to unpack .../linux-u-boot-orangepiplus-default_5.20_armhf.deb ...
    Unpacking linux-u-boot-orangepiplus-default (5.20) over (5.10) ...
    Processing triggers for initramfs-tools (0.120+deb8u2) ...
    /boot/initrd.img-3.4.112-sun8i does not exist. Cannot update.
    Processing triggers for systemd (215-17+deb8u5) ...
    Setting up linux-firmware-image-sun8i (5.20) ...
    Setting up linux-headers-sun8i (5.20) ...
    Compiling headers - please wait ...
    Setting up linux-image-sun8i (5.20) ...
    update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
    Setting up linux-jessie-root-orangepiplus (5.20) ...
    Setting up linux-u-boot-orangepiplus-default (5.20) ...
    Processing triggers for initramfs-tools (0.120+deb8u2) ...
    update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
    root@orangepiplus:~# apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following package was automatically installed and is no longer required:
      libnl-route-3-200
    Use 'apt-get autoremove' to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@orangepiplus:~# apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... The following package was automatically installed and is no longer required:
      libnl-route-3-200
    Use 'apt-get autoremove' to remove it.
    Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@orangepiplus:~# apt-get autoremove -y
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be REMOVED:
      libnl-route-3-200
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 283 kB disk space will be freed.
    (Reading database ... 60164 files and directories currently installed.)
    Removing libnl-route-3-200:armhf (3.2.24-2) ...
    Processing triggers for libc-bin (2.19-18+deb8u6) ...
    root@orangepiplus:~# reboot

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines