您尚未登录。

楼主 #1 2020-04-10 09:58:35

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

V3S 32M flash mx25l25635e

目前想用32M flash mx25l25635e  替换16Mflash
改如何给该uboot  linux内核 以及其他相关配置?

离线

#2 2020-04-10 10:11:01

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: V3S 32M flash mx25l25635e

u-boot, linux代码什么都不用改, make menuconfig 配置好就行,

如果你用 sunxi-fel 的 spi nor flash 版本要改下切换bank的代码:

https://whycan.cn/t_444.html#p1560





离线

楼主 #3 2020-04-10 10:21:39

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

好的,我试试

离线

楼主 #4 2020-04-10 10:28:28

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

有没有具体的配置,可以参考 一下

离线

楼主 #5 2020-04-10 11:39:49

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

晕哥,该如何配置呢

离线

楼主 #6 2020-04-10 11:47:03

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

目前无法使用make  menuconfig 进去uboot配置界面

离线

#7 2020-04-10 11:57:19

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

离线

#8 2020-04-10 14:41:03

歌以咏志
会员
注册时间: 2019-09-21
已发帖子: 219
积分: 210

Re: V3S 32M flash mx25l25635e

64M spi nor flash MX25L51245G 驱动 OK

https://whycan.cn/t_4044.html#p38041

离线

楼主 #9 2020-04-10 15:05:21

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

beign to init dram
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
init dram ok
fes1 reg_val=7
[      2.368]

U-Boot 2011.09-rc1-00000-g63a73aff4-dirty (Apr 10 2020 - 14:53:13) Allwinner Technology

[      2.377]version: 1.1.0
[      2.384]pmbus:
===i2c gpio === 22777777
ready
axp read error
probe axp20x failed
axp_probe fail,run clock=912
set power on vol to default
axp_set_power_supply_output dcdc2_vol = 1250
axp set dcdc2_vol to 1250 failed
axp_set_power_supply_output dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
axp_set_power_supply_output aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
axp_set_power_supply_output aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
axp_set_power_supply_output ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
axp_set_power_supply_output ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
axp_set_power_supply_output ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
[      2.720]DRAM:  64 MiB
save config for small mem_size
workmode = 16
[debug_jaosn]:use the clock in sys_config
OK
spinor id is 1920c2
try nor successed
sunxi sprite has installed spi function
read flash error
env_relocate_spec storage_type = 3
In:    serial
Out:   serial
Err:   serial
mbr not exist
[      2.792]Hit any key to stop autoboot:  0
work mode=0x10
run usb efex
delay time 2500
usb init ok
set address 0x4
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi spinor is already inited
flash size =32 M


按照https://www.cnblogs.com/kinglaw/p/9003923.html网站教程
生成镜像文件,烧录过程串口打印数据如上,稍不进去,出现error4

离线

楼主 #10 2020-04-11 13:00:56

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 32M flash mx25l25635e

在芒果派V3S的基础上更改。16Mflash换成32M FLASH,目前,在uboot 目录下,无法使用make menuconfig 进入配置页面。sunxi_spinor.c中的源代码和网上的例程不一样,根据网上的某些教程更改,无法烧录32M flash.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn