LoginSignup
1
0

MT7628のu-boot

Last updated at Posted at 2024-03-04

githubにあったソースを無理やりFreeBSDでビルドして焼いてみました。ファイルがなかったり、Linuxコマンド固有の処理があります。

ターゲットのDRAMはW9751G6KBなのでDDR2の16Bitで512MBitになります。

image.png

[04000D07][04000D07]
DDR Calibration DQS reg = 00008787


U-Boot 1.1.3 (Mar  4 2024 - 09:37:56)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb0000
******************************
Software System Reset Occurred
******************************
flash manufacture id: c2, device id 20 17
find flash: MX25L6405D
====================================================== 
Ralink UBoot Version: 4.3.0.0
-------------------------------------------------- 
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Mar  4 2024  Time:09:37:56
-------------------------------------------------- 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 
-------------------------------------------------- 
 ##### The CPU freq = 580 MHZ #### 
 ##### Memory size =64 Mbytes ####
====================================================== 


Press press WPS button for more than 2 seconds to run web failsafe mode

WPS button is pressed for:  0 second(s)

Catution: WPS button wasn't pressed or not long enough!
Continuing normal boot...

   *** ***         ** ** *****  ***   ***   ***    *    ** ***
  *  *  *          ** ** * * * *   * *   * *   *   *     *  * 
 *      *          ** **   *       * *   * *   *   **    ** * 
 *      *    ***** ** **   *     **  *   * *   *  * *    ** * 
 *  *** *          * * *   *       * *   * *   *  * *    * ** 
 *   *  *          * * *   *       * *   * *   *  ****   * ** 
  *  *  *   *      * * *   *   *   * *   * *   *  *  *   *  * 
   **  ******      * * *  ***   ***   ***   ***  **  ** *** * 


Hit SPACE to stop autoboot:  0 
gl-mt300an>   

なぜか起動がすごく遅いです。

ターゲットのオリジナルがZ-LOADERというu-bootのアプリケーションを使っていたのでシンプルなu-bootを試してみました。Z-LOADERはFlashの先頭の3Mを使っていて、8MのFlashだと5MしかOSに使えません。元々は32MのFlashがついていたので、それでもいいんでしょうが。

このu-bootはGL.iNet社のGPLで公開されたソースと思われますが、結構荒く手が入っているような感じなのであまりお勧めしません。

MT7628でFreeBSDが起動できないので、ブート依存の問題か確認のためにためしました。オリジナルに近いこのu-bootでも起動できないので、FreeBSD側の問題の可能性が濃厚です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0