uboot
来源:互联网 发布:亚伦卡特 知乎 编辑:程序博客网 时间:2024/04/26 04:02
6410开发板上有nor芯片,但是u-boot没有做nor驱动,将u-boot保存在nor中比较安全,因为nand很有可能会被全部清空。
查看开发板硬件原理图,发现使用的nor flash芯片是am29lv160DB,2MByte,但是由于a20被ddr占用,只连接了a0-a18这19根数据线,也就是只能使用1Mbyte空间。
既然只有1Mbyte空间,应该和am29lv800这颗芯片的使用方法兼容,查看smdk6410.h,发现启动有AMD_LV800相关的定义,smdk6410文件夹中的flash.c文件也是针对AMD_LV800的,看来使用nor芯片的难度不大。
1 为u-boot添加nor驱动支持
1)修改smdk6410.h文件
确认打开宏定义#define CONFIG_AMD_LV800
修改#define CFG_FLASH_BASE 0x10000000
根据原理图,nor芯片使用CSn[0]片选,基址0x10000000
修改#define CFG_MAX_FLASH_
- uboot
- uboot
- UBOOT
- uboot
- uboot
- uboot
- uboot
- UBOOT
- uboot
- uboot
- uboot
- uboot
- uboot
- Uboot
- Uboot
- uboot
- uboot
- uboot
- $参数
- 0317版驱动审核
- 10.04上tftp配置
- touch more
- uImage zImage
- uboot
- uboot nand 2gb fix
- uboot中的TEXT_BASE
- Aircrack-ng的一些记录
- uboot打印
- unix shell book
- usb host
- wall
- whatever how, this should be record and be researched later. ---- about how to enable gpio value set in mach_smdk6410.c