Orange Pi 2G-IoT

flash image(nand)


參考資訊:
1. hacking-orangepi-2g

燒錄步驟:
1. NAND Boot Jumper
2. DIP(1~4 ON, 5~8 OFF)
3. 按住Button並插入USB
4. 2秒後放開
5. 執行如下命令

$ sudo apt-get install python3-serial -y
$ sudo python3 opi2g_nand_write.py -p /dev/ttyACM0 --format-flash --pdl1 pdl1.bin --pdl2 pdl2.bin bootloader:u-boot.rda nandroot:ubi.img
  Opening /dev/ttyACM0...
  Sending partition pdl1 (len 33016) to 0x00100100
  Sending partition pdl2 (len 451752) to 0x80008000
  Partition table: mtdparts=rda_nand:2M@0(bootloader),2M(factorydata),2M(misc),4M(modem),8M(boot),10M(recovery),145M(system),180M(vendor),-(userdata)
  Formatting flash memory...
  Partition table: mtdparts=rda_nand:2M(bootloader),510M(nandroot)
  Sending partition bootloader (len 525972) to 0x00000000
  Sending partition nandroot (len 402128896) to 0x00000000
  Done


返回上一頁