C-Kermit> set line /dev/ttyUSB0 C-Kermit> set speed 57600 C-Kermit> set serial 8N1 C-Kermit> set carrier-watch off C-Kermit> set flow-control none C-Kermit> set prefixing all C-Kermit> set modem none C-Kermit> set file type bin C-Kermit> set file name lit C-Kermit> connect Connecting to /dev/ttyUSB0, speed 57600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ----------------------------------------------------
U-Boot for VoCore(based on RT5350).. Version: May 30 2014 20:52:36 Press 'x' to console... VoCore>
VoCore> loadb ## Ready for binary (kermit) download to 0x80100000 at 57600 bps...
C-Kermit> send vocore.bin
C-Kermit> connect Connecting to /dev/ttyUSB0, speed 57600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- ## Total Size = 0x00380004 = 3807876 Bytes ## Start Addr = 0x80100000
VoCore> erase linux Erase linux kernel block !! From 0x50000 length 0x7B0000 raspi_erase: offs:50000 len:7b0000 ...........................................................................................................................
VoCore> cp.linux 380004 current count: 3407876 Copy linux image[3807876 byte] to SPI Flash[0x00050000].... raspi_write: to:50000 len:340004 ..................................................... VoCore>
U-Boot for VoCore(based on RT5350).. Version: May 30 2014 20:52:36 Press 'x' to console... Booting image at bc050000 . Image Name: MIPS OpenWrt Linux-3.10.36 Created: 2014-07-21 20:50:55 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 982138 Bytes = 959.1 kB Load Address: 80000000 Entry Point: 80000000 Load Kernel: ............... Verifying Checksum ... OK Uncompressing Kernel Image ... OK
firstboot
Source: https://habr.com/ru/post/244213/
All Articles