1 1
Peter Hudak

OrangePi One v. 1.1 not booting

Recommended Posts

Hello,

 

I can't boot my new OrangePi One v.1.1.

I have used various SD cards including Sandisk Ultra 32GB. On the serial console I every time see:

U-Boot SPL 2018.05-armbian (Oct 26 2018 - 22:09:12 +0200)
DRAM: 512 MiB
Trying to boot from MMC1
MMC Device 0 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

 

Power supply is 5V 3A. Ethernet is unplugged and nothing is connected to USB. 

 

What I tried:

- Flashed on two different computers (MAC and Windows)

- used both etcher and dd

- checked cards with h2testw for errors (no errors found)

- formatted cards using SD card formatter (full format)

- checked checksums of downloaded images (all OK)

- tried all downloadable images for the board, including an ancient raspbian from orangepi.org. Android did not boot either.

 

To me it seems the board has something new on it that is not recognised by driver or there is a hardware issue with the OrangePi One. One of the cards was working fine in RaspberryPi.

 

I'd appreciate if you give me advice how to build a brand new bootloader from source and flash it, just to see if I get past the "error: -19".

 

thank you

Share this post


Link to post
Share on other sites
1 hour ago, Peter Hudak said:

I can't boot my new OrangePi One v.1.1.

 

 

I have tried with all downloadable images from Armbian as well as an ancient image from orangepi.org. Flashed with Etcher and dd.

Power supply is 5V 3A. Ethernet is unplugged and nothing is connected to USB. 

 

To me it seems the board has something new on it that is not recognised by driver or there is a hardware issue with the OrangePi One. One of the cards was working fine in RaspberryPi.

 

I got 5 OPi One v1.1 since a year and all of them do boot armbian from a 16GB Sandisk Ultra (up to 80MB/sec read -  Class 10).

They als do boot my selfbuild (via the armbian-build-system) acutal dev version:
Armbian_5.67_Orangepizero_Debian_stretch_dev_4.19.11.img

 

Some SBC does have hardware-problems with the  hardware-detection of the sdcard (connection inside the MicroSD-Slot fails) - and your u-boot log does show that the board didnt found MMC0 and MMC1

 

One of mine OPi One does show these lines - before starttig the kernel. see the lines in the hidden section below:
 

Spoiler

U-Boot SPL 2017.11-armbian (Apr 20 2018 - 12:19:20)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2017.11-armbian (Apr 20 2018 - 12:19:20 +0300) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3708 bytes read in 243 ms (14.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
201 bytes read in 198 ms (1000 Bytes/s)
5097109 bytes read in 595 ms (8.2 MiB/s)
6972808 bytes read in 772 ms (8.6 MiB/s)
Found mainline kernel configuration
32002 bytes read in 1792 ms (16.6 KiB/s)
4179 bytes read in 1263 ms (2.9 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5097045 Bytes = 4.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 49b23000, end 49fff655 ... OK
   reserving fdt memory region: addr=43000000 size=6e000
   Loading Device Tree to 49ab2000, end 49b22fff ... OK

Starting kernel ...
 

 

You did download the images from here? (and unzipped they before flashing?)

https://dl.armbian.com/orangepione/archive/

https://dl.armbian.com/orangepione/archive/Armbian_5.65_Orangepione_Debian_stretch_next_4.14.78.7z


Did you enable the verify in the etcher options?

Share this post


Link to post
Share on other sites

I have downloaded images from https://dl.armbian.com/orangepione/ and etched using the verify function, etcher also said it was verified. I tried the latest version from https://dl.armbian.com/orangepione/Debian_stretch_next.7z as well as https://dl.armbian.com/orangepione/archive/Armbian_5.59_Orangepione_Debian_stretch_next_4.14.65.7z . I have not used the 4.14.78 version but I will give it a try. Sure I have unzipped them and compared the checksums. After reading your output I see that I don't get to your line #4.

I'd like to try out your build Armbian_5.67_Orangepizero_Debian_stretch_dev_4.19.11, where can I get it?

 

Share this post


Link to post
Share on other sites
8 minutes ago, Peter Hudak said:

After reading your output I see that I don't get to your line #4.

If your issue is having a "broken sd card detect" , check my post here as a workaround :

 

 

 

Share this post


Link to post
Share on other sites

@martinayotte I'm afraid I won't be able to build the system on my mac right now, I will try to do it on RaspberryPi tomorrow. However I like the "soldering pin to ground" option better (I will not solder it right away, just connect it to the ground to see if it has any impact). I will try to find what to connect tomorrow as it is not straightforward.

Share this post


Link to post
Share on other sites
16 hours ago, Peter Hudak said:

I will try to find what to connect tomorrow as it is not straightforward.

The CD pin is the pin 9.

16 hours ago, Peter Hudak said:

I'm afraid I won't be able to build the system

You don't need to build everything, you only need to have DTC compiler, decompile the file /boot/dtb/sun8i-h3-orangepi-lite.dtb from SDCard into DTS, edit it to remove "cd-gpio" and add "cd-broken", and recompile it into DTB.

Share this post


Link to post
Share on other sites
6 minutes ago, martinayotte said:

You don't need to build everything, you only need to have DTC compiler, decompile the file /boot/dtb/sun8i-h3-orangepi-lite.dtb from SDCard into DTS, edit it to remove "cd-gpio" and add "cd-broken", and recompile it into DTB.

Changing DT will have no effect this early (in SPL), SPL relies on CONFIG_MMC0_CD_PIN configuration option.

And at least previous versions printed "mmc: no card present" when trying to access a card with broken CD pin.

Share this post


Link to post
Share on other sites
1 minute ago, zador.blood.stained said:

Changing DT will have no effect this early (in SPL), SPL relies on CONFIG_MMC0_CD_PIN configuration option.

You're right ! ... I was forgetting that my recipe works only if the DT of the U-Boot is edited and then U-Boot recompiled.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1