This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
各位好:
我们的板子是基于am335xboneblack制作的,DDR3和emmc都更换了,DDR3配置和leving都弄过了,spl,uboot,都可以正常启动了,可是到下面所示位置停止了。
[ 1.877929] mmc1: unrecognised EXT_CSD revision 7
[ 1.882965] mmc1: error -22 whilst initialising MMC card
[ 1.890106] create_regulator: DCDC2: Failed to create debugfs directory
[ 1.898162] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[ 1.913757] clock: disabling unused clocks to save power
[ 1.947967] Detected MACID=d0:5f:b8:fc:3:a0
[ 1.954620] cpsw: Detected MACID = d0:5f:b8:fc:03:a2
[ 1.962036] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.972045] Waiting for root device /dev/mmcblk0p2...
请问是因为更换emmc的原因吗?还是其他原因?
刘工您好:
我刚刚看了emmc的芯片手册是支持4.41的协议标准的,并且我们用的是4g的也是接在mmc1上的,我看了下手册,貌似那个bootsize变成以前的两倍,请问这个有关系吗?
刘工您好:
而且我用uniflash烧写emmc的时候也遇到了问题,烧到一半就退出了,log在下面。麻烦您帮忙看下哦。
Collected errors:
* opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such file o r directory.
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
****************************************************
****************************************************
Sitara Flash Fetcher Script - 07/28/2014
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Getting flasher script from server: 192.168.100.1
tftp: sendto: Network is unreachable
Unable to fetch debrick script! Exiting...
Stopping Bootlog daemon: bootlogd.
您好:
我说的bootsize是手册里规定的max bootsize,现在的是4M,还有我在网上查了一些帖子也做了修改现在貌似emmc能识别了但是还是不能完成,出现了新的log。我们t卡是8G的,这个应该是emmc识别了。
[ 2.003723] mmc1: new high speed MMC card at address 0001
[ 2.011108] mmcblk0: mmc1:0001 S10004 3.56 GiB
[ 2.016571] mmcblk0boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[ 2.023437] mmcblk0boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[ 2.032562] mmcblk0: unknown partition table
[ 2.042297] mmcblk0boot1: unknown partition table
[ 2.052551] mmcblk0boot0: unknown partition table
[ 2.076629] Detected MACID=d0:5f:b8:fc:3:a0
[ 2.083251] cpsw: Detected MACID = d0:5f:b8:fc:03:a2
[ 2.090820] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.101013] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
[ 2.108551] Please append a correct "root=" boot option; here are the availab le partitions:
[ 2.117492] b300 3735552 mmcblk0 driver: mmcblk
[ 2.123168] b310 4096 mmcblk0boot1 (driver?)
[ 2.128845] b308 4096 mmcblk0boot0 (driver?)
[ 2.134490] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno wn-block(179,2)
[ 2.143463] Backtrace:
[ 2.146148] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c0419d6c>] (dump_s tack+0x18/0x1c)
[ 2.155090] r6:00008001 r5:c04fcc20 r4:c0646708 r3:c05fc98c
[ 2.161224] [<c0419d54>] (dump_stack+0x0/0x1c) from [<c0419f68>] (panic+0x64/ 0x194)
[ 2.169403] [<c0419f04>] (panic+0x0/0x194) from [<c059ec88>] (mount_block_roo t+0x174/0x228)
[ 2.178253] r3:00000004 r2:00000000 r1:df02df40 r0:c04fcc20
[ 2.184295] r7:c04fcc88
[ 2.187042] [<c059eb14>] (mount_block_root+0x0/0x228) from [<c059eef0>] (moun t_root+0xc8/0xe8)
[ 2.196228] [<c059ee28>] (mount_root+0x0/0xe8) from [<c059f07c>] (prepare_nam espace+0x16c/0x1c0)
[ 2.205535] r4:c0643a60
[ 2.208251] [<c059ef10>] (prepare_namespace+0x0/0x1c0) from [<c059e8fc>] (ker nel_init+0xf4/0x120)
[ 2.217712] r5:c05d948c r4:c05d948c
[ 2.221557] [<c059e808>] (kernel_init+0x0/0x120) from [<c004126c>] (do_exit+0 x0/0x65c)
[ 2.229980] r5:c059e808 r4:00000000
如果是担心是硬件问题,建议你可以和BBB开发板上的作对比,特别注意下上拉电阻的设置,如果完全一致的话,还是要看软件配置。
BBB:http://elinux.org/Beagleboard:BeagleBoneBlack
另外你用uniflash烧写emmc,有参考过这个做吗?
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/73278.aspx
刘工您好:
现在我有两个问题:1:就是我用t卡启动的时候现在卡住了,在用镁光的emmc的可以正常启动,但是金士顿的不可以。log还是上面那个,硬件应该没问题。
2:就是emmc烧写的时候,因为eeprom那部分要删除,所以重新制作烧写的文件,两者兼顾,既能烧写,又去除了eeprom验证代码,现在镁光的板子和金士顿的板子都是烧到一半ethernet gaget这个驱动又要重新安装,但是又安装不了,所以就停止了烧写,log如下,麻烦您了《帮忙看下哦。
Collected errors:
* opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such file or directory.
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
****************************************************
****************************************************
Sitara Flash Fetcher Script - 07/28/2014
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Getting flasher script from server: 192.168.100.1
tftp: sendto: Network is unreachable
Unable to fetch debrick script! Exiting...