小弟初学嵌入式,一窍不通,还请各位前辈多多指教。能够提点一二,小弟亦感激不尽 ------------------------------------------------ 硬件:arm9 mini2440 ------------------------------------------------- 这样是可以正常启动的: uboot.bin装在norflash的0x00位置,linux的uimage(就是包含0x40的头的那个)装在nandflash的0x60000位置。文件系统装在0x560000位置。 其中,uboot的某个环境变量是bootargs=noinitrd root=/dev...
小弟初学嵌入式,一窍不通,还请各位前辈多多指教。能够提点一二,小弟亦感激不尽 ------------------------------------------------ 硬件:arm9 mini2440 ------------------------------------------------- 这样是可以正常启动的: uboot.bin装在norflash的0x00位置,linux的uimage(就是包含0x40的头的那个)装在nandflash的0x60000位置。文件系统装在0x560000位置。 其中,uboot的某个环境变量是bootargs=noinitrd root=/dev...
mini2440 开发板。uboot下nand flash和norflash都移植了。终端打印显示如下: U-Boot 2010.03 (Jun 03 2013 - 14:17:55) DRAM: 64 MB Flash: 2 MB NAND: 256 MiB In: serial Out: serial Err: serial Net: dm9000 Hit any key to stop autoboot: 0 uboot# nand info Device 0: NAND 256MiB 3,3V 8-bit, sector size 128 KiB uboot# flinfo Bank # 1: AMD: 1x S29AL016J70TFI02 (16Mbit,Bottom Boot Device) Siz...
本帖最后由 chenzf070720 于 2013-06-03 14:31 编辑 mini2440 开发板。uboot下nand flash和norflash都移植了。终端打印显示如下: U-Boot 2010.03 (Jun 03 2013 - 14:17:55) DRAM: 64 MB Flash: 2 MB NAND: 256 MiB In: serial Out: serial Err: serial Net: dm9000 Hit any key to stop autoboot: 0 uboot# nand info Device 0: NAND 256MiB 3,3V 8-bit, sector size 128 KiB uboot# flinfo Bank # 1: AMD: 1...
1、因为定义了CFG_NAND_LEGACY,因此主要修改saveenv中对nand的读写函数为nand_legacy的读写函数,修改common/env_nand.c如下: #include #if defined(CFG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */ #include #include #include #include #include #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND)) #define CMD_SAVEENV #elif defined(CFG_ENV_OFFSET_REDUND) #error C...
1、因为定义了CFG_NAND_LEGACY,因此主要修改saveenv中对nand的读写函数为nand_legacy的读写函数,修改common/env_nand.c如下: #include #if defined(CFG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */ #include #include #include #include #include #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND)) #define CMD_SAVEENV #elif defined(CFG_ENV_OFFSET_REDUND) #error C...
9260的芯片,测试中突然出现了一个问题。就是uboot启动的时候会报错。 好像uboot存在flash上的数据不稳定。 如下: U-Boot 1.1.5 (Mar 3 2009 - 10:37:59) DRAM: 64 MB MAN_ID: 0x00bf PRO_ID: 0x236d Flash: 8 MB NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (/狺
怎样删除uboot中的环境变量? 比如说设置错了一个环境变量,保存之后printenv显示错误的环境变量,怎样才能删除掉? 本人是设置console变量是少打了一个字母,设置新的console之后printenv错误的仍在。 导致uboot不能引导内核。 自动加载默认bootdelay=5,我改成3之后,printenv,无bootdelay显示。 想请教一下,怎样删除错误的,或是怎样把环境变量设为空重新进行设置。