|
本帖最后由 fyi2000 于 2019-5-18 06:20 编辑
楼主如果有CH341A编程器或USB2TTL,那麽不妨试试我的方法,反正有编程器和不死Breed,不怕刷不回来
- wget http://freize.net/scripts/loki.tar
- tar -xvf loki.tar uboot/mips/profiles/xiaomi_mi-3/
- cd uboot/mips/profiles/xiaomi_mi-3/
- md5sum -c uboot.md5
复制代码 以上可提取 uboot/mips/profiles/xiaomi_mi-3/uboot.bin
Windows安装tftpd32
IP: 192.168.1.2
从SPI闪存登陆Breed,把uboot.bin当作小米mini的固件刷入闪存 0xbc050000,注意,不是取代Breed
接好USB2TTL,波特率115200,上电,当看到 "U-Boot 1.1.3 (VORTEX)",立刻按下 "9" 不放,直到画面停止
- ## Booting image at bc050000 ...
- raspi_read: from:50000 len:40
- Image Name: NAND Fla
- Image Type: MIPS Linux Standalone Program (uncompressed)
- Data Size: 93320 Bytes = 91.1 kB
- Load Address: 80200000
- Entry Point: 80200000
- raspi_read: from:50040 len:16c88
- Verifying Checksum ... OK
- Uncompressing Kernel Image ...
- U-Boot 1.1.3 (VORTEX)
- Board: Ralink APSoC DRAM: 128 MB
- Power on memory test. Memory size= 128 MB...OK!
- relocate_code Pointer at: 87fb8000
- enable ephy clock...done. rf reg 29 = 5
- SSC disabled.
- !!! nand page size = 2048, addr len=4
- ..============================================
- Ralink UBoot Version: 4.2.S.1
- --------------------------------------------
- ASIC 7620_MP (Port5<->None)
- DRAM_CONF_FROM: Auto-detection
- DRAM_TYPE: DDR2
- DRAM component: 1024 Mbits
- DRAM bus: 16 bit
- Total memory: 128 MBytes
- Flash component: NAND Flash
- Date:Apr 15 2016 Time:17:46:32
- ============================================
- icache: sets:512, ways:4, linesz:32 ,total:65536
- dcache: sets:256, ways:4, linesz:32 ,total:32768
- ##### The CPU freq = 580 MHZ ####
- estimate memory size =128 Mbytes
- Please choose the operation:
- 1: Load system code to SDRAM via TFTP.
- 2: Load system code then write to Flash via TFTP.
- 3: Boot system code via Flash (default).
- 4: Entr boot command line interface.
- 9: Load Boot Loader code then write to Flash via TFTP.
- You choosed 9
- 0
- 9: System Load Boot Loader then write to Flash via TFTP.
- Warning!! Erase Boot Loader in Flash then burn new one. Are you sure?(Y/N)
复制代码 按下 "Y"
- Please Input new ones /or Ctrl-C to discard
- Input device IP (192.168.1.1) ==:192.168.1.1
- Input server IP () ==:192.168.1.2
- Input Bootloader filename () ==:uboot.bin
复制代码 注意直到重启,设法把画面停下来才关机,检查log是否刷成功
如果可以重启到Breed,那麽代表可能已经成功把uboot.bin刷入NAND闪存
你必须恢复两个电阻才能从NAND闪存启动,建议以双刀指拨开关切换
以上未经实际验证,如有问题,记得保存log |
|