mtk_openwrt 编译uboot

  1. 进入Uboot目录 (/home/lbo/work/furrion/code/openwrt7621/Uboot
  2. 配置BootLoader配置(make menuconfig
  3. 选择 单image。 ( [ ] Dual Image
  4. make

这里写图片描述

Mediatek BootLoader 5.0.0.0 Configuration
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  +--------------------------------------------------------------------------------------- Main Menu ---------------------------------------------------------------------------------------+
  |  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to   |  
  |  exit, <?> for Help.  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable                                                                                                |  
  |                                                                                                                                                                                         |  
  |                                                                                                                                                                                         |  
  | +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |  
  | |                                                                     Cross Compiler Path: "/opt/mips-2012.03/bin/"                                                                   | |  
  | |                                                                ---                                                                                                                  | |  
  | |                                                                (ASIC) Chip Type                                                                                                     | |  
  | |                                                                (MT7621) Chip ID                                                                                                     | |  
  | |                                                                (GMAC1) Use GE1 or GE2                                                                                               | |  
  | |                                                                (GE_RGMII_FORCE_1000) GE1 connected to                                                                               | |  
  | |                                                                (SPI) Flash Type                                                                                                     | |  
  | |                                                                (1024Mb) DDR Component                                                                                               | |  
  | |                                                                (800Mhz) DRAM Speed                                                                                                  | |  
  | |                                                                (880Mhz) CPU Frequency                                                                                               | |  
  | |                                                                ---                                                                                                                  | |  
  | |                                                                [ ] Tiny Uboot                                                                                                       | |  
  | |                                                                (ROM) Ram/Rom version                                                                                                | |  
  | |                                                                [ ] Dual Image                                                                                                       | |  
  | |                                                                [*] Dual Core Support                                                                                                | |  
  | |                                                                [*] Partition LAN/WAN                                                                                                | |  
  | |                                                                (LLLL/W) LAN/WAN Board Layout                                                                                        | |  
  | |                                                                [*] DDR ACTiming Setting                                                                                             | |  
  | |                                                                (DDR3_Default(4Gb)) DDR Chip                                                                                         | |  
  | |                                                                ---                                                                                                                  | |  
  | |                                                                Load an Alternate Configuration File                                                                                 | |  
  | |                                                                Save Configuration to an Alternate File                                                                              | |  
  | |                                                                                                                                                                                     | |  
  | |                                                                                                                                                                                     | |  
  | +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |  
  +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+  
  |                                                                            <Select>    < Exit >    < Help >                                                                             |  
  +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+  

lbo@donglebuild2:~/work/furrion/code/openwrt7621$ ls
branches  doc  tool  trunk  Uboot
lbo@donglebuild2:~/work/furrion/code/openwrt7621$ cd Uboot/
lbo@donglebuild2:~/work/furrion/code/openwrt7621/Uboot$ ls
autoconf.h  config.in  CREDITS  fs           MAINTAINERS     mkconfig              mt7621_stage_L2_noprint.bin    PT30.config  stage1      uboot.bin
board       config.mk  disk     include      MAKEALL         mt7621_ddr_param.txt  mt7621_stage_sram.bin          README       System.map  u-boot.map
CHANGELOG   COPYING    doc      lib_generic  Makefile        mt7621_ddr.sh         mt7621_stage_sram_noprint.bin  rtc          tools       u-boot.srec
common      cpu        drivers  lib_mips     mips_config.mk  mt7621_stage_L2.bin   net                            scripts      u-boot      uboot_version.h
lbo@donglebuild2:~/work/furrion/code/openwrt7621/Uboot$ make menuconfig 

猜你喜欢

转载自blog.csdn.net/linbounconstraint/article/details/80881319
今日推荐