OKMX6UL-C2板SD卡启动失败,也无法烧写NAND
OKMX6UL-C2板,256D256N。SD卡:16G class 10
使用近期飞凌嵌入式网盘里OKMX6UL-C2(eMMC&Nand版)->linux->工具->SD->启动->256Mnand下的createSdcard-sdrun.tar.bz2制作SD(启动)卡,在kernel已启动、将要引导文件系统时出错,贴出(部分)启动信息如下:。。。。。。。
[ 3.322282] Freeing unused kernel memory: 396K (80a87000 - 80aea000)
[ 3.347186] mmcblk0: error -84 transferring data, sector 16273400, nr 8, cmd response 0x900, card status 0xb00
[ 3.357302] mmcblk0: retrying using single block read
[ 3.391400] mmcblk0: error -84 transferring data, sector 21520160, nr 24, cmd response 0x900, card status 0xb00
[ 3.402092] mmcblk0: retrying using single block read
[ 3.415532] mmcblk0: error -84 transferring data, sector 21520165, nr 19, cmd response 0x900, card status 0x0
[ 3.425598] end_request: I/O error, dev mmcblk0, sector 21520165
[ 3.434661] mmcblk0: error -84 transferring data, sector 21520167, nr 17, cmd response 0x900, card status 0x0
[ 3.444708] end_request: I/O error, dev mmcblk0, sector 21520167
[ 3.452516] mmcblk0: error -84 transferring data, sector 21520168, nr 16, cmd response 0x900, card status 0x0
[ 3.462963] end_request: I/O error, dev mmcblk0, sector 21520168
[ 3.472042] mmcblk0: error -84 transferring data, sector 21520170, nr 14, cmd response 0x900, card status 0x0
[ 3.482081] end_request: I/O error, dev mmcblk0, sector 21520170
[ 3.489875] mmcblk0: error -84 transferring data, sector 21520171, nr 13, cmd response 0x900, card status 0x0
[ 3.499876] end_request: I/O error, dev mmcblk0, sector 21520171
[ 3.520524] mmcblk0: error -84 transferring data, sector 21520182, nr 2, cmd response 0x900, card status 0x0
[ 3.530444] end_request: I/O error, dev mmcblk0, sector 21520182
[ 3.538186] mmcblk0: error -84 transferring data, sector 21520183, nr 1, cmd response 0x900, card status 0x0
[ 3.548091] end_request: I/O error, dev mmcblk0, sector 21520183
[ 3.560551] mmcblk0: error -84 transferring data, sector 1104640, nr 24, cmd response 0x900, card status 0xb00
[ 3.570673] mmcblk0: retrying using single block read
[ 3.584944] mmcblk0: error -84 transferring data, sector 1104651, nr 13, cmd response 0x900, card status 0x0
[ 3.594855] end_request: I/O error, dev mmcblk0, sector 1104651
[ 3.609936] random: nonblocking pool is initialized
[ 3.615014] mmcblk0: error -84 transferring data, sector 21520088, nr 72, cmd response 0x900, card status 0xb00
[ 3.625159] mmcblk0: retrying using single block read
[ 3.631902] mmcblk0: error -84 transferring data, sector 21520088, nr 72, cmd response 0x900, card status 0x0
[ 3.641882] end_request: I/O error, dev mmcblk0, sector 21520088
[ 3.650828] mmcblk0: error -84 transferring data, sector 21520090, nr 70, cmd response 0x900, card status 0x0
[ 3.660801] end_request: I/O error, dev mmcblk0, sector 21520090
[ 3.668534] mmcblk0: error -84 transferring data, sector 21520091, nr 69, cmd response 0x900, card status 0x0
[ 3.680165] mmcblk0: error -84 transferring data, sector 21520092, nr 68, cmd response 0x900, card status 0x0
[ 3.696749] mmcblk0: error -84 transferring data, sector 21520097, nr 63, cmd response 0x900, card status 0x0
[ 3.709640] mmcblk0: error -84 transferring data, sector 21520099, nr 61, cmd response 0x900, card status 0x0
[ 3.723762] mmcblk0: error -84 transferring data, sector 21520102, nr 58, cmd response 0x900, card status 0x0
[ 3.737870] mmcblk0: error -84 transferring data, sector 21520105, nr 55, cmd response 0x900, card status 0x0
[ 3.755727] mmcblk0: error -84 transferring data, sector 21520111, nr 49, cmd response 0x900, card status 0x0
[ 3.767376] mmcblk0: error -84 transferring data, sector 21520112, nr 48, cmd response 0x900, card status 0x0
[ 3.782800] mmcblk0: error -84 transferring data, sector 21520116, nr 44, cmd response 0x900, card status 0x0
[ 3.794487] mmcblk0: error -84 transferring data, sector 21520117, nr 43, cmd response 0x900, card status 0x0
[ 3.807426] mmcblk0: error -84 transferring data, sector 21520119, nr 41, cmd response 0x900, card status 0x0
[ 3.819061] mmcblk0: error -84 transferring data, sector 21520120, nr 40, cmd response 0x900, card status 0x0
[ 3.837085] mmcblk0: error -84 transferring data, sector 21520126, nr 34, cmd response 0x900, card status 0x0
[ 3.851299] mmcblk0: error -84 transferring data, sector 21520129, nr 31, cmd response 0x900, card status 0x0
[ 3.869287] mmcblk0: error -84 transferring data, sector 21520135, nr 25, cmd response 0x900, card status 0x0
[ 3.880959] mmcblk0: error -84 transferring data, sector 21520136, nr 24, cmd response 0x900, card status 0x0
[ 3.892626] mmcblk0: error -84 transferring data, sector 21520137, nr 23, cmd response 0x900, card status 0x0
[ 3.908077] mmcblk0: error -84 transferring data, sector 21520141, nr 19, cmd response 0x900, card status 0x0
[ 3.922244] mmcblk0: error -84 transferring data, sector 21520144, nr 16, cmd response 0x900, card status 0x0
[ 3.935167] mmcblk0: error -84 transferring data, sector 21520146, nr 14, cmd response 0x900, card status 0x0
[ 3.949346] mmcblk0: error -84 transferring data, sector 21520149, nr 11, cmd response 0x900, card status 0x0
[ 3.961005] mmcblk0: error -84 transferring data, sector 21520150, nr 10, cmd response 0x900, card status 0x0
[ 3.985962] mmcblk0: error -84 transferring data, sector 21520096, nr 8, cmd response 0x900, card status 0xb00
[ 3.996038] mmcblk0: retrying using single block read
[ 4.004033] mmcblk0: error -84 transferring data, sector 21520097, nr 7, cmd response 0x900, card status 0x0
[ 4.021823] mmcblk0: error -84 transferring data, sector 21520103, nr 1, cmd response 0x900, card status 0x0
[ 4.032139] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[ 4.032139]
另一次启动信息:
。。。。。。。
[ 3.302081] Freeing unused kernel memory: 396K (80a87000 - 80aea000)
[ 3.347707] mmcblk0: error -84 transferring data, sector 1086336, nr 128, cmd response 0x900, card status 0xb00
[ 3.357915] mmcblk0: retrying using single block read
[ 3.366307] mmcblk0: error -84 transferring data, sector 1086339, nr 125, cmd response 0x900, card status 0x0
[ 3.376297] end_request: I/O error, dev mmcblk0, sector 1086339
[ 3.386209] mmcblk0: error -84 transferring data, sector 1086344, nr 120, cmd response 0x900, card status 0x0
[ 3.396190] end_request: I/O error, dev mmcblk0, sector 1086344
[ 3.405387] mmcblk0: error -84 transferring data, sector 1086348, nr 116, cmd response 0x900, card status 0x0
[ 3.415374] end_request: I/O error, dev mmcblk0, sector 1086348
[ 3.428090] mmcblk0: error -84 transferring data, sector 1086357, nr 107, cmd response 0x900, card status 0x0
[ 3.438079] end_request: I/O error, dev mmcblk0, sector 1086357
[ 3.445143] mmcblk0: error -84 transferring data, sector 1086358, nr 106, cmd response 0x900, card status 0x0
[ 3.455125] end_request: I/O error, dev mmcblk0, sector 1086358
[ 3.462185] mmcblk0: error -84 transferring data, sector 1086359, nr 105, cmd response 0x900, card status 0x0
[ 3.472154] end_request: I/O error, dev mmcblk0, sector 1086359
[ 3.479246] mmcblk0: error -84 transferring data, sector 1086360, nr 104, cmd response 0x900, card status 0x0
[ 3.489210] end_request: I/O error, dev mmcblk0, sector 1086360
[ 3.497015] mmcblk0: error -84 transferring data, sector 1086362, nr 102, cmd response 0x900, card status 0x0
[ 3.506983] end_request: I/O error, dev mmcblk0, sector 1086362
[ 3.516856] mmcblk0: error -84 transferring data, sector 1086367, nr 97, cmd response 0x900, card status 0x0
[ 3.526741] end_request: I/O error, dev mmcblk0, sector 1086367
[ 3.535228] mmcblk0: error -84 transferring data, sector 1086370, nr 94, cmd response 0x900, card status 0x0
[ 3.545111] end_request: I/O error, dev mmcblk0, sector 1086370
[ 3.557061] mmcblk0: error -84 transferring data, sector 1086378, nr 86, cmd response 0x900, card status 0x0
[ 3.568083] mmcblk0: error -84 transferring data, sector 1086379, nr 85, cmd response 0x900, card status 0x0
[ 3.579786] mmcblk0: error -84 transferring data, sector 1086381, nr 83, cmd response 0x900, card status 0x0
[ 3.594325] mmcblk0: error -84 transferring data, sector 1086387, nr 77, cmd response 0x900, card status 0x0
[ 3.606044] mmcblk0: error -84 transferring data, sector 1086389, nr 75, cmd response 0x900, card status 0x0
[ 3.622670] mmcblk0: error -84 transferring data, sector 1086398, nr 66, cmd response 0x900, card status 0x0
[ 3.637218] mmcblk0: error -84 transferring data, sector 1086404, nr 60, cmd response 0x900, card status 0x0
[ 3.649595] mmcblk0: error -84 transferring data, sector 1086407, nr 57, cmd response 0x900, card status 0x0
[ 3.676047] mmcblk0: error -84 transferring data, sector 1086430, nr 34, cmd response 0x900, card status 0x0
[ 3.698117] mmcblk0: error -84 transferring data, sector 1086447, nr 17, cmd response 0x900, card status 0x0
[ 3.711317] mmcblk0: error -84 transferring data, sector 1086451, nr 13, cmd response 0x900, card status 0x0
[ 3.730561] random: nonblocking pool is initialized
[ 3.739892] mmcblk0: error -84 transferring data, sector 21520088, nr 72, cmd response 0x900, card status 0xb00
[ 3.750094] mmcblk0: retrying using single block read
[ 3.758136] mmcblk0: error -84 transferring data, sector 21520089, nr 71, cmd response 0x900, card status 0x0
[ 3.771033] mmcblk0: error -84 transferring data, sector 21520091, nr 69, cmd response 0x900, card status 0x0
[ 3.782675] mmcblk0: error -84 transferring data, sector 21520092, nr 68, cmd response 0x900, card status 0x0
[ 3.798057] mmcblk0: error -84 transferring data, sector 21520096, nr 64, cmd response 0x900, card status 0x0
[ 3.809703] mmcblk0: error -84 transferring data, sector 21520097, nr 63, cmd response 0x900, card status 0x0
[ 3.821339] mmcblk0: error -84 transferring data, sector 21520098, nr 62, cmd response 0x900, card status 0x0
[ 3.834214] mmcblk0: error -84 transferring data, sector 21520100, nr 60, cmd response 0x900, card status 0x0
[ 3.845863] mmcblk0: error -84 transferring data, sector 21520101, nr 59, cmd response 0x900, card status 0x0
[ 3.857495] mmcblk0: error -84 transferring data, sector 21520102, nr 58, cmd response 0x900, card status 0x0
[ 3.871611] mmcblk0: error -84 transferring data, sector 21520105, nr 55, cmd response 0x900, card status 0x0
[ 3.889464] mmcblk0: error -84 transferring data, sector 21520111, nr 49, cmd response 0x900, card status 0x0
[ 3.901133] mmcblk0: error -84 transferring data, sector 21520112, nr 48, cmd response 0x900, card status 0x0
[ 3.912794] mmcblk0: error -84 transferring data, sector 21520113, nr 47, cmd response 0x900, card status 0x0
[ 3.930688] mmcblk0: error -84 transferring data, sector 21520119, nr 41, cmd response 0x900, card status 0x0
[ 3.942353] mmcblk0: error -84 transferring data, sector 21520120, nr 40, cmd response 0x900, card status 0x0
[ 3.957813] mmcblk0: error -84 transferring data, sector 21520124, nr 36, cmd response 0x900, card status 0x0
[ 3.970754] mmcblk0: error -84 transferring data, sector 21520126, nr 34, cmd response 0x900, card status 0x0
[ 3.991292] mmcblk0: error -84 transferring data, sector 21520134, nr 26, cmd response 0x900, card status 0x0
[ 4.002962] mmcblk0: error -84 transferring data, sector 21520135, nr 25, cmd response 0x900, card status 0x0
[ 4.014629] mmcblk0: error -84 transferring data, sector 21520136, nr 24, cmd response 0x900, card status 0x0
[ 4.026295] mmcblk0: error -84 transferring data, sector 21520137, nr 23, cmd response 0x900, card status 0x0
[ 4.037951] mmcblk0: error -84 transferring data, sector 21520138, nr 22, cmd response 0x900, card status 0x0
[ 4.050916] mmcblk0: error -84 transferring data, sector 21520140, nr 20, cmd response 0x900, card status 0x0
[ 4.075271] mmcblk0: error -84 transferring data, sector 21520151, nr 9, cmd response 0x900, card status 0x0
[ 4.095902] mmcblk0: error -84 transferring data, sector 21520159, nr 1, cmd response 0x900, card status 0x0
[ 4.107667] mmcblk0: error -84 transferring data, sector 21520088, nr 8, cmd response 0x900, card status 0xb00
[ 4.117781] mmcblk0: retrying using single block read
[ 4.129513] mmcblk0: error -84 transferring data, sector 21520092, nr 4, cmd response 0x900, card status 0x0
[ 4.143915] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[ 4.143915]
似乎是SD硬件问题。
请技术支持帮助判断一下 使用过多块SD卡,只这块16G Class 10还算好,其它4G低速、16G高速的都无法读出zImage或dtb。
以下是两次启动:
U-Boot 2015.04-g56889c6 (Dec 25 2018 - 09:54:12)
CPU: Freescale i.MX6UL rev1.1 at 396 MHz
CPU: Temperature 43 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM:256 MiB
force_idle_bus: sda=0 scl=0 sda.gp=0x1d scl.gp=0x1c
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: TFT70AB-800x480 (800x480)
Video: 800x480x24
Unknown command '' - try 'help'
Error: no valid bmp image at 83800000 cfb_console.c
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC1
Error: FEC1 address not set.
Normal Boot
Hit any key to stop autoboot:0
reading boot.scr
** Unable to read file boot.scr **
mmc boot..........
reading /sdrun/zImage
MMC: block number 0x781ca82 exceeds max(0x777800)
** Unable to read file /sdrun/zImage **
** Can't read partition table on 0:0 **
** Invalid partition 1 **
Bad Linux ARM zImage magic!
=>
U-Boot 2015.04-g56889c6 (Dec 25 2018 - 09:54:12)
CPU: Freescale i.MX6UL rev1.1 at 396 MHz
CPU: Temperature 48 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM:256 MiB
force_idle_bus: sda=0 scl=0 sda.gp=0x1d scl.gp=0x1c
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: TFT70AB-800x480 (800x480)
Video: 800x480x24
Unknown command '' - try 'help'
Error: no valid bmp image at 83800000 cfb_console.c
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC1
Error: FEC1 address not set.
Normal Boot
Hit any key to stop autoboot:0
reading boot.scr
** Unable to read file boot.scr **
mmc boot..........
reading /sdrun/zImage
** Unable to read file /sdrun/zImage **
** Can't read partition table on 0:0 **
** Invalid partition 1 **
Bad Linux ARM zImage magic!
=> 前面SD卡启动系统,应该多贴出一点儿信息(系统已知道SD卡二分区是ext3):
[ 3.240193] rtc-rx8010 0-0032: setting system clock to 1970-01-01 00:00:00 UTC (0)
[ 3.266820] ALSA device list:
[ 3.269829] No soundcards found.
[ 3.292919] kjournald starting.Commit interval 5 seconds
[ 3.298698] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 3.305764] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[ 3.318717] devtmpfs: mounted
[ 3.322529] Freeing unused kernel memory: 396K (80a87000 - 80aea000)
[ 3.434806] mmcblk0: error -84 transferring data, sector 1098368, nr 160, cmd response 0x900, card status 0xb00
[ 3.445281] mmcblk0: retrying using single block read
[ 3.453766] mmcblk0: error -84 transferring data, sector 1098370, nr 158, cmd response 0x900, card status 0x0
[ 3.463916] end_request: I/O error, dev mmcblk0, sector 1098370
[ 3.471882] mmcblk0: error -84 transferring data, sector 1098371, nr 157, cmd response 0x900, card status 0x0
[ 3.481953] end_request: I/O error, dev mmcblk0, sector 1098371
[ 3.491868] mmcblk0: error -84 transferring data, sector 1098375, nr 153, cmd response 0x900, card status 0x0
[ 3.501930] end_request: I/O error, dev mmcblk0, sector 1098375
[ 3.509880] mmcblk0: error -84 transferring data, sector 1098377, nr 151, cmd response 0x900, card status 0x0
[ 3.519895] end_request: I/O error, dev mmcblk0, sector 1098377
[ 3.527046] mmcblk0: error -84 transferring data, sector 1098378, nr 150, cmd response 0x900, card status 0x0
[ 3.537044] end_request: I/O error, dev mmcblk0, sector 1098378
[ 3.546452] mmcblk0: error -84 transferring data, sector 1098382, nr 146, cmd response 0x900, card status 0x0
[ 3.556459] end_request: I/O error, dev mmcblk0, sector 1098382
[ 3.563575] mmcblk0: error -84 transferring data, sector 1098383, nr 145, cmd response 0x900, card status 0x0
[ 3.573582] end_request: I/O error, dev mmcblk0, sector 1098383
[ 3.592047] mmcblk0: error -84 transferring data, sector 1098399, nr 129, cmd response 0x900, card status 0x0
[ 3.602068] end_request: I/O error, dev mmcblk0, sector 1098399
[ 3.612091] mmcblk0: error -84 transferring data, sector 1098404, nr 124, cmd response 0x900, card status 0x0
[ 3.622097] end_request: I/O error, dev mmcblk0, sector 1098404
[ 3.644080] mmcblk0: error -84 transferring data, sector 1098425, nr 103, cmd response 0x900, card status 0x0
[ 3.654096] end_request: I/O error, dev mmcblk0, sector 1098425
[ 3.661208] mmcblk0: error -84 transferring data, sector 1098426, nr 102, cmd response 0x900, card status 0x0
[ 3.674664] mmcblk0: error -84 transferring data, sector 1098430, nr 98, cmd response 0x900, card status 0x0
[ 3.686473] mmcblk0: error -84 transferring data, sector 1098432, nr 96, cmd response 0x900, card status 0x0
[ 3.697510] mmcblk0: error -84 transferring data, sector 1098433, nr 95, cmd response 0x900, card status 0x0
[ 3.711489] mmcblk0: error -84 transferring data, sector 1098438, nr 90, cmd response 0x900, card status 0x0
[ 3.724006] mmcblk0: error -84 transferring data, sector 1098441, nr 87, cmd response 0x900, card status 0x0
[ 3.740201] mmcblk0: error -84 transferring data, sector 1098449, nr 79, cmd response 0x900, card status 0x0
[ 3.756367] mmcblk0: error -84 transferring data, sector 1098457, nr 71, cmd response 0x900, card status 0x0
[ 3.768125] mmcblk0: error -84 transferring data, sector 1098459, nr 69, cmd response 0x900, card status 0x0
[ 3.782092] mmcblk0: error -84 transferring data, sector 1098464, nr 64, cmd response 0x900, card status 0x0
[ 3.793893] mmcblk0: error -84 transferring data, sector 1098466, nr 62, cmd response 0x900, card status 0x0
[ 3.807119] mmcblk0: error -84 transferring data, sector 1098470, nr 58, cmd response 0x900, card status 0x0
[ 3.819631] mmcblk0: error -84 transferring data, sector 1098473, nr 55, cmd response 0x900, card status 0x0
[ 3.846760] mmcblk0: error -84 transferring data, sector 1098496, nr 32, cmd response 0x900, card status 0x0
[ 3.859342] mmcblk0: error -84 transferring data, sector 1098499, nr 29, cmd response 0x900, card status 0x0
[ 3.871935] mmcblk0: error -84 transferring data, sector 1098502, nr 26, cmd response 0x900, card status 0x0
[ 3.888274] mmcblk0: error -84 transferring data, sector 1098510, nr 18, cmd response 0x900, card status 0x0
[ 3.904700] random: nonblocking pool is initialized
[ 3.911687] mmcblk0: error -84 transferring data, sector 1098521, nr 7, cmd response 0x900, card status 0x0
[ 3.926457] mmcblk0: error -84 transferring data, sector 1098527, nr 1, cmd response 0x900, card status 0x0
[ 3.965452] mmcblk0: error -84 transferring data, sector 1108992, nr 16, cmd response 0x900, card status 0xb00
[ 3.975575] mmcblk0: retrying using single block read
[ 3.987888] mmcblk0: error -84 transferring data, sector 1109000, nr 8, cmd response 0x900, card status 0x0
[ 3.998878] mmcblk0: error -84 transferring data, sector 1109001, nr 7, cmd response 0x900, card status 0x0
[ 4.012113] mmcblk0: error -84 transferring data, sector 1109005, nr 3, cmd response 0x900, card status 0x0
[ 4.059730] mmcblk0: error -84 transferring data, sector 1078960, nr 24, cmd response 0x900, card status 0xb00
[ 4.069843] mmcblk0: retrying using single block read
[ 4.084077] mmcblk0: error -84 transferring data, sector 1078971, nr 13, cmd response 0x900, card status 0x0
[ 4.131096] mmcblk0: error -84 transferring data, sector 1109008, nr 16, cmd response 0x900, card status 0xb00
[ 4.141277] mmcblk0: retrying using single block read
[ 4.147793] mmcblk0: error -84 transferring data, sector 1109008, nr 16, cmd response 0x900, card status 0x0
[ 4.166414] mmcblk0: error -84 transferring data, sector 1109019, nr 5, cmd response 0x900, card status 0x0
[ 4.178176] mmcblk0: error -84 transferring data, sector 1109021, nr 3, cmd response 0x900, card status 0x0
[ 4.189939] mmcblk0: error -84 transferring data, sector 1109023, nr 1, cmd response 0x900, card status 0x0
[ 4.201290] mmcblk0: error -84 transferring data, sector 1109016, nr 8, cmd response 0x900, card status 0xb00
[ 4.211311] mmcblk0: retrying using single block read
[ 4.217632] mmcblk0: error -84 transferring data, sector 1109016, nr 8, cmd response 0x900, card status 0x0
[ 4.233391] mmcblk0: error -84 transferring data, sector 1109023, nr 1, cmd response 0x900, card status 0x0
[ 4.243958] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[ 4.243958]
class10就已经算是高速卡了,您参考6ul的应用笔记文件夹下的“针对SD_class10卡不识别的问题解决方法”的文档,操作一下,或者您换一个class4的低速SD卡试一下 请问版主:参考6ul的应用笔记文件夹下的“针对SD_class10卡不识别的问题解决方法”的文档,
是在光盘里?还是在论坛里?我没有光盘。我始终没找到。望再明示。 借来一个8G、4C的卡,现在可以了!!
页:
[1]