Jump to content

SPI boot failed.


Recommended Posts

Hi to you all. I've had a functional boot from USB flash drive on my OrangePi Zero and when I've updated kernel yesterday from main repository and reboot_ed boot stoped working. I've tried on another fully functional OrangePi Zero with same rom on it and still not working. I've tried to put new "virgin" image to USB flash drive and still nothing. Tried to erase spi and write it againe and still nothing.  Any idea what could happened. I'll try today to get serial console to see what is going on during the boot proces. 

Link to comment
Share on other sites

Which kernel? NEXT 4.y is still experimental/testing. 

Edit: I just checked DT bits for Zero - SPI is disabled.

/* Disable SPI NOR by default: it optional on Orange Pi Zero boards */

 

Link to comment
Share on other sites

Linux orangepizero 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l armv7l armv7l GNU/Linux

 

 

When I leave sd card in Orange Pi Zero boot from USB Flash. What can cause this?

 

/usr/lib/linux-u-boot-orangepizero_5.35_armhf/u-boot-sunxi-with-spl.bin

 

I've followed instructions from here:

 

 

This is output of spi-flash writing

 

root@orangepizero:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -c MX25L1605 -w spi.img
flashrom v0.9.9-rc1-r1942 on Linux 3.4.113-sun8i (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) on linux_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
 

Everything worked fine since last upgrade where I've upgraded initramfs-tools...

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines