Jump to content

Rammwurst

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Rammwurst reacted to nopnop2002 in How to USB boot Orange Pi Zero with MX25L1606E NOR flash?   
    1.Update package
    $ sudo apt-get update $ sudo apt-get upgrade  
    2.Download flashrom-0.9.9.tar.bz2 from here.
    https://www.flashrom.org/Flashrom/0.9.9

    3.Install flashrom-0.9.9 to Opi-ZERO
    $ sudo apt-get install pciutils $ sudo apt-get install libftdi-dev $ sudo apt-get install libusb-dev $ sudo apt-get install libpci-dev $ bzip2 -d flashrom-0.9.9.tar.bz2 $ tar xvf flashrom-0.9.9.tar $ cd flashrom-0.9.9/ $ make $ sudo make install  
    4.Write SPI Flash image
    $ cd $ dd if=/dev/zero count=2048 bs=1K | tr '\000' '\377' > spi.img $ dd if=/usr/lib/linux-u-boot-orangepizero_5.31_armhf/u-boot-sunxi-with-spl.bin of=spi.img bs=1k conv=notrunc $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0 -c MX25L1605 -w spi.img  
    Note:
    linux-u-boot-orangepizero_5.31 depends on the version of the kernel.
     
    5.Writing an image to USB memory
    You will need to use an image writing tool (like Win32DiskImager.exe)
    to install the Armbian image on your USB memory.
     
    6.Shutdown 
    A SD card is removed from Opi-ZERO.
    A USB memory is stuck into Opi-ZERO.
     
    7.Power On
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines