U-boot on 64M pflash.

来源:互联网 发布:gif合成软件 编辑:程序博客网 时间:2024/06/05 02:18

为楼下的开发组做的开发, 64M 并行flash.

#cp ./cpu/mips/start.S

#cp ./lib_mips/board.c

    1>in board_init_r(), added the net config by gpio.

#cp ./drivers/mtd/cfi_flash.c

 

#include/configs/emma3slx.h

 

    1>#define PHYS_FLASH_1            0xbc000000 /* Flash Bank #1 */    改成了0xbc000000

    2>CONFIG_SYS_MAX_FLASH_SECT 256->512

#cp ./board/nec/emma3slx/lowlevel_init.S

    1>#define ROM_MODE_DATA       0x00080814   改为64M flash.

 

能保存env到flash了,ok了.